Eigenvalues and Eigenvectors

Similar documents
Production of this 2015 edition, containing corrections and minor revisions of the 2008 edition, was funded by the sigma Network.

22.3. Repeated Eigenvalues and Symmetric Matrices. Introduction. Prerequisites. Learning Outcomes

Repeated Eigenvalues and Symmetric Matrices

Linear Algebra. Matrices Operations. Consider, for example, a system of equations such as x + 2y z + 4w = 0, 3x 4y + 2z 6w = 0, x 3y 2z + w = 0.

JUST THE MATHS UNIT NUMBER 9.8. MATRICES 8 (Characteristic properties) & (Similarity transformations) A.J.Hobson

22.4. Numerical Determination of Eigenvalues and Eigenvectors. Introduction. Prerequisites. Learning Outcomes

3 Matrix Algebra. 3.1 Operations on matrices

7.4. The Inverse of a Matrix. Introduction. Prerequisites. Learning Outcomes

FACULTY OF MATHEMATICAL STUDIES MATHEMATICS FOR PART I ENGINEERING. Lectures

Chapters 5 & 6: Theory Review: Solutions Math 308 F Spring 2015

Econ Slides from Lecture 7

Chapter 5. Linear Algebra. A linear (algebraic) equation in. unknowns, x 1, x 2,..., x n, is. an equation of the form

A matrix is a rectangular array of. objects arranged in rows and columns. The objects are called the entries. is called the size of the matrix, and

A matrix is a rectangular array of. objects arranged in rows and columns. The objects are called the entries. is called the size of the matrix, and

4. Linear transformations as a vector space 17

JUST THE MATHS SLIDES NUMBER 9.6. MATRICES 6 (Eigenvalues and eigenvectors) A.J.Hobson

Further Mathematical Methods (Linear Algebra) 2002

7.3. Determinants. Introduction. Prerequisites. Learning Outcomes

Announcements Wednesday, November 01

Some Notes on Linear Algebra

10.1 Complex Arithmetic Argand Diagrams and the Polar Form The Exponential Form of a Complex Number De Moivre s Theorem 29

and let s calculate the image of some vectors under the transformation T.

Systems of Algebraic Equations and Systems of Differential Equations

q n. Q T Q = I. Projections Least Squares best fit solution to Ax = b. Gram-Schmidt process for getting an orthonormal basis from any basis.

1. Linear systems of equations. Chapters 7-8: Linear Algebra. Solution(s) of a linear system of equations (continued)

Study Guide for Linear Algebra Exam 2

Chapter 3. Determinants and Eigenvalues

Numerical Linear Algebra Homework Assignment - Week 2

Linear Algebra Primer

OHSx XM511 Linear Algebra: Solutions to Online True/False Exercises

2 Eigenvectors and Eigenvalues in abstract spaces.

Linear Algebra: Matrix Eigenvalue Problems

MATRIX ALGEBRA AND SYSTEMS OF EQUATIONS. + + x 1 x 2. x n 8 (4) 3 4 2

Linear Algebra Primer

Remark 1 By definition, an eigenvector must be a nonzero vector, but eigenvalue could be zero.

Remark By definition, an eigenvector must be a nonzero vector, but eigenvalue could be zero.

c c c c c c c c c c a 3x3 matrix C= has a determinant determined by

LU Factorization. A m x n matrix A admits an LU factorization if it can be written in the form of A = LU

22.2. Applications of Eigenvalues and Eigenvectors. Introduction. Prerequisites. Learning Outcomes

Linear Algebra: Lecture Notes. Dr Rachel Quinlan School of Mathematics, Statistics and Applied Mathematics NUI Galway

Computationally, diagonal matrices are the easiest to work with. With this idea in mind, we introduce similarity:

Introduction to Matrices

What s Eigenanalysis? Matrix eigenanalysis is a computational theory for the matrix equation

Calculating determinants for larger matrices

Determinants by Cofactor Expansion (III)

Matrices and Deformation

Systems of Second Order Differential Equations Cayley-Hamilton-Ziebur

Recall : Eigenvalues and Eigenvectors

Review problems for MA 54, Fall 2004.

Lecture Notes: Eigenvalues and Eigenvectors. 1 Definitions. 2 Finding All Eigenvalues

Question: Given an n x n matrix A, how do we find its eigenvalues? Idea: Suppose c is an eigenvalue of A, then what is the determinant of A-cI?

Lec 2: Mathematical Economics

PY 351 Modern Physics Short assignment 4, Nov. 9, 2018, to be returned in class on Nov. 15.

(b) If a multiple of one row of A is added to another row to produce B then det(b) =det(a).

Linear Algebra, part 2 Eigenvalues, eigenvectors and least squares solutions

Elementary Linear Algebra

EIGENVALUES AND EIGENVECTORS 3

Solution Set 7, Fall '12

LS.2 Homogeneous Linear Systems with Constant Coefficients

MTH Linear Algebra. Study Guide. Dr. Tony Yee Department of Mathematics and Information Technology The Hong Kong Institute of Education

From Lay, 5.4. If we always treat a matrix as defining a linear transformation, what role does diagonalisation play?

Matrices and Linear Algebra

LS.1 Review of Linear Algebra

z-transforms 21.1 The z-transform Basics of z-transform Theory z-transforms and Difference Equations 36

1. Let m 1 and n 1 be two natural numbers such that m > n. Which of the following is/are true?

Lecture Summaries for Linear Algebra M51A

Linear algebra II Tutorial solutions #1 A = x 1

4. Determinants.

2. Every linear system with the same number of equations as unknowns has a unique solution.

Introduction to Quantitative Techniques for MSc Programmes SCHOOL OF ECONOMICS, MATHEMATICS AND STATISTICS MALET STREET LONDON WC1E 7HX

Linear Algebra- Final Exam Review

Properties of Linear Transformations from R n to R m

Symmetric and anti symmetric matrices

Eigenvalues and Eigenvectors

ANSWERS. E k E 2 E 1 A = B

Chapter 2:Determinants. Section 2.1: Determinants by cofactor expansion

[Disclaimer: This is not a complete list of everything you need to know, just some of the topics that gave people difficulty.]

Math 315: Linear Algebra Solutions to Assignment 7

Eigenvalues and Eigenvectors 7.1 Eigenvalues and Eigenvecto

1. General Vector Spaces

3.3 Eigenvalues and Eigenvectors

MTH 464: Computational Linear Algebra

MATRICES. knowledge on matrices Knowledge on matrix operations. Matrix as a tool of solving linear equations with two or three unknowns.

Review of Linear Algebra

Math 3191 Applied Linear Algebra

Eigenvectors. Prop-Defn

Eigenvalues and Eigenvectors

Linear Algebra: Sample Questions for Exam 2

Linear Systems and Matrices

Announcements Wednesday, November 01

Chapter 3 Transformations

Chapter 5 Eigenvalues and Eigenvectors

Massachusetts Institute of Technology Department of Economics Statistics. Lecture Notes on Matrix Algebra

Chapter Two Elements of Linear Algebra

16.4. Power Series. Introduction. Prerequisites. Learning Outcomes

Appendix A: Matrices

Online Exercises for Linear Algebra XM511

a11 a A = : a 21 a 22

Math Matrix Algebra

Diagonalisierung. Eigenwerte, Eigenvektoren, Mathematische Methoden der Physik I. Vorlesungsnotizen zu

Transcription:

Contents Eigenvalues and Eigenvectors. Basic Concepts. Applications of Eigenvalues and Eigenvectors 8.3 Repeated Eigenvalues and Symmetric Matrices 3.4 Numerical Determination of Eigenvalues and Eigenvectors 46 Learning outcomes In this Workbook you will learn about the matrix eigenvalue problem AX = kx where A is a square matrix and k is a scalar (number). You will learn how to determine the eigenvalues (k) and corresponding eigenvectors (X) for a given matrix A. You will learn of some of the applications of eigenvalues and eigenvectors. Finally you will learn how eigenvalues and eigenvectors may be determined numerically.

Basic Concepts. Introduction From an applications viewpoint, eigenvalue problems are probably the most important problems that arise in connection with matrix analysis. In this Section we discuss the basic concepts. We shall see that eigenvalues and eigenvectors are associated with square matrices of order n n. If n is small ( or 3), determining eigenvalues is a fairly straightforward process (requiring the solutiuon of a low order polynomial equation). Obtaining eigenvectors is a little strange initially and it will help if you read this preliminary Section first. Prerequisites Before starting this Section you should... Learning Outcomes On completion you should be able to... have a knowledge of determinants and matrices have a knowledge of linear first order differential equations obtain eigenvalues and eigenvectors of and 3 3 matrices state basic properties of eigenvalues and eigenvectors HELM (8): Workbook : Eigenvalues and Eigenvectors

. Basic concepts Determinants A square matrix possesses an associated determinant. Unlike a matrix, which is an array of numbers, a determinant has a single value. [ c c A two by two matrix C = has an associated determinant c c det (C) = c c c c = c c c c (Note square or round brackets denote a matrix, straight vertical lines denote a determinant.) A three by three matrix has an associated determinant c c c 3 det(c) = c c c 3 c 3 c 3 c 33 Among other ways this determinant can be evaluated by an expansion about the top row : c det(c) = c c 3 c 3 c 33 c c c 3 c 3 c 33 + c 3 c c c 3 c 3 Note the minus sign in the second term. Task Evaluate the determinants det(a) = 4 6 3 det(b) = 4 8 det(c) = 6 5 4 7 3 Your solution Answer det A = 4 6 3 = 4 det B = 4 8 = det C = 6 7 5 7 3 + 4 3 = 6 ( 4) 5() + 4(4 3) = 85 [ 4 8 A matrix such as B = in the previous task which has zero determinant is called a singular matrix. The other two matrices A and C are non-singular. The key factor to be aware of is as follows: HELM (8): Section.: Basic Concepts 3

Key Point Any non-singular n n matrix C, for which det(c), possesses an inverse C i.e. CC = C C = I where I denotes the n n identity matrix A singular matrix does not possess an inverse. Systems of linear equations We first recall some basic results in linear (matrix) algebra. Consider a system of n equations in n unknowns x, x,..., x n : c x + c x +... + c n x n = k c x + c x +... + c n x n = k. +. +... +. =. c n x + c n x +... + c nn x n = k n We can write such a system in matrix form: c c... c n x k c c... c n x....... = k, or equivalently CX = K.. c n c n... c nn x n k n We see that C is an n n matrix (called the coefficient matrix), X = {x, x,..., x n } T is the n column vector of unknowns and K = {k, k,..., k n } T is an n column vector of given constants. The zero matrix will be denoted by O. If K O the system is called inhomogeneous; if K = O the system is called homogeneous. Basic results in linear algebra Consider the system of equations CX = K. We are concerned with the nature of the solutions (if any) of this system. We shall see that this system only exhibits three solution types: The system is consistent and has a unique solution for X The system is consistent and has an infinite number of solutions for X The system is inconsistent and has no solution for X 4 HELM (8): Workbook : Eigenvalues and Eigenvectors

There are two basic cases to consider: det(c) or det(c) = Case : det(c) In this case C exists and the unique solution to CX = K is X = C K Case : det(c) = In this case C does not exist. (a) If K O the system CA = K has no solutions. (b) If K = O the system CX = O has an infinite number of solutions. We note that a homogeneous system CX = O has a unique solution X = O if det(c) (this is called the trivial solution) or an infinite number of solutions if det(c) =. Example (Case ) Solve the inhomogeneous system of equations x + x = x + x = which can be expressed as CX = K where [ [ x C = X = K = x [ Solution Here det(c)=. The system of equations has the unique solution: X = [ x x [ =. HELM (8): Section.: Basic Concepts 5

Example (Case a) Examine the following inhomogeneous system for solutions x + x = 3x + 6x = Solution Here det (C) = 3 6 =. In this case there are no solutions. To see this we see the first equation of the system states x + x = whereas the second equation (after dividing through by 3) states x + x =, a contradiction. Example 3 (Case b) Solve the homogeneous system x + x = x + x = Solution Here det(c) = =. The solutions are any pairs of numbers {x, x } such that x = x, [ α i.e. X = where α is arbitrary. α There are an infinite number of solutions. A simple eigenvalue problem We shall be interested in simultaneous equations of the form: AX = λx, where A is an n n matrix, X is an n column vector and λ is a scalar (a constant) and, in the first instance, we examine some simple examples to gain experience of solving problems of this type. 6 HELM (8): Workbook : Eigenvalues and Eigenvectors

Example 4 Consider the following system with n = : x + 3y = λx 3x + y = λy so that A = [ 3 3 and X = [ x y. It appears that there are three unknowns x, y, λ. The obvious questions to ask are: can we find x, y? what is λ? Solution To solve this problem we firstly re-arrange the equations (take all unknowns onto one side); ( λ)x + 3y = 3x + ( λ)y = () () Therefore, from equation (): ( λ) x = y. 3 Then when we substitute this into () (3) ( λ) y + 3y = which simplifies to [ ( λ) + 9 y =. 3 We conclude that either y = or 9 = ( λ). There are thus two cases to consider: Case If y = then x = (from (3)) and we get the trivial solution. (We could have guessed this solution at the outset.) Case 9 = ( λ) which gives, on taking square roots: ±3 = λ giving λ = ± 3 so λ = 5 or λ =. Now, from equation (3), if λ = 5 then x = +y and if λ = then x = y. We have now completed the analysis. We have found values for λ but we also see that we cannot obtain unique values for x and y: all we can find is the ratio between these quantities. This behaviour is typical, as we shall now see, of an eigenvalue problem. HELM (8): Section.: Basic Concepts 7

. General eigenvalue problems Consider a given square matrix A. If X is a column vector and λ is a scalar (a number) then the relation. AX = λx is called an eigenvalue problem. Our purpose is to carry out an analysis of this equation in a manner similar to the example above. However, we will attempt a more general approach which will apply to all problems of this kind. Firstly, we can spot an obvious solution (for X) to these equations. The solution X = is a possibility (for then both sides are zero). We will not be interested in these trivial solutions of the eigenvalue problem. Our main interest will be in the occurrence of non-trivial solutions for X. These may exist for special values of λ, called the eigenvalues of the matrix A. We proceed as in the previous example: take all unknowns to one side: (A λi)x = where I is a unit matrix with the same dimensions as A. (Note that AX λx = does not simplify to (A λ)x = as you cannot subtract a scalar λ from a matrix A). This equation (5) is a homogeneous system of equations. In the notation of the earlier discussion C A λi and K. For such a system we know that non-trivial solutions will only exist if the determinant of the coefficient matrix is zero: det(a λi) = Equation (6) is called the characteristic equation of the eigenvalue problem. We see that the characteristic equation only involves one unknown λ. The characteristic equation is generally a polynomial in λ, with degree being the same as the order of A (so if A is the characteristic equation is a quadratic, if A is a 3 3 it is a cubic equation, and so on). For each value of λ that is obtained the corresponding value of X is obtained by solving the original equations (4). These X s are called eigenvectors. N.B. We shall see that eigenvectors are only unique up to a multiplicative factor: i.e. if X satisfies AX = λx then so does kx when k is any constant. (4) (5) (6) 8 HELM (8): Workbook : Eigenvalues and Eigenvectors

Example 5 Find the eigenvalues and eigenvectors of the matrix A = [ Solution The eigenvalues and eigenvectors are found by solving the eigenvalue probelm [ x AX = λx X = i.e. (A λi)x =. y Non-trivial solutions will exist if det (A λi) = {[ [ } that is, det λ =, λ λ =, expanding this determinant: ( λ)( λ) =. Hence the solutions for λ are: λ = and λ =. So we have found two values of λ for this matrix A. Since these are unequal they are said to be distinct eigenvalues. To each value of λ there corresponds an eigenvector. We now proceed to find the eigenvectors. Case λ = (smaller eigenvalue). Then our original eigenvalue problem becomes: AX = X. is In full this x = x x + y = y Simplifying x = x x + y = All we can deduce here is that x = y X = [ x x for any x (We specify x as, otherwise, we would have the trivial solution.) [ So the eigenvectors corresponding to eigenvalue λ = are all proportional to [ etc., e.g. Sometimes we write the eigenvector in normalised form that is, with modulus or magnitude. Here, the normalised form of X is [ which is unique. [ (a) (b), HELM (8): Section.: Basic Concepts 9

Solution (contd.) Case Now we consider the larger eigenvalue λ =. Our original eigenvalue problem AX = λx becomes AX = X which gives the following equations: [ [ [ x x = y y i.e. x = x x + y = y These equations imply that x = whilst the variable y may take any value whatsoever (except zero as this gives the trivial solution). [ [ [ Thus the eigenvector corresponding to eigenvalue λ = has the form, e.g., etc. [ y The normalised eigenvector here is. [ In conclusion: the matrix A = has two eigenvalues and two associated normalised eigenvectors: λ =, λ = X = [ X = [ Example 6 Find the eigenvalues and eigenvectors of the 3 3 matrix A = Solution The eigenvalues and eigenvectors are found by solving the eigenvalue problem x AX = λx X = y z Proceeding as in Example 5: (A λi)x = and non-trivial solutions for X will exist if det (A λi) = HELM (8): Workbook : Eigenvalues and Eigenvectors

Solution (contd.) that is, det i.e. λ λ λ λ =. = Expanding this determinant we find: ( λ) λ λ + λ = that is, ( λ) {( λ) } ( λ) = Taking out the common factor ( λ): ( λ) {4 4λ + λ } which gives: ( λ) [λ 4λ + =. This is easily solved to give: λ = or λ = 4 ± 6 8 = ±. So (typically) we have found three possible values of λ for this 3 3 matrix A. To each value of λ there corresponds an eigenvector. Case : λ = (lowest eigenvalue) Then AX = ( )X implies x y = ( )x x + y z = ( )y y + z = ( )z Simplifying x y = x + y z = y + z = (a) (b) (c) We conclude the following: (c) y = z (a) y = x these two relations give x = z then (b) x + x x = The last equation gives us no information; it simply states that =. HELM (8): Section.: Basic Concepts

Solution (contd.) x X = x for any x (otherwise we would have the trivial solution). x eigenvectors corresponding to eigenvalue λ = are all proportional to. In normalised form we have an eigenvector Case : λ = Here AX = X implies i.e. x y z. = x y z So the x y = x x + y z = y y + z = z After simplifying the equations become: y = x z = y = (a) (b) (c) (a), (c) imply y = : (b) implies x = z eigenvector has the form x for any x. x That is, eigenvectors corresponding to λ = are all proportional to In normalised form we have an eigenvector.. HELM (8): Workbook : Eigenvalues and Eigenvectors

Solution (contd.) Case 3: λ = + (largest eigenvalue) Proceeding along similar lines to cases, above we find that the eigenvectors corresponding to λ = + are each proportional to with normalised eigenvector. In conclusion the matrix A has three distinct eigenvalues: λ =, λ = λ 3 = + and three corresponding normalised eigenvectors: X =, X =, X 3 = Exercise Find the eigenvalues and eigenvectors of each of the following matrices A: [ [ 4 4 (a) (b) (c) 4 (d) 4 8 5 3 6 3 Answer (eigenvectors are written in normalised form) (a) 3 and ; (b) 3 and 9; [ / 5 / and 5 [ and [ / / 7 [ 4 (c), 4 and 6; (d), and ; ; ; 5 5 5 ; ; 6 5 5 HELM (8): Section.: Basic Concepts 3

3. Properties of eigenvalues and eigenvectors There are a number of general properties of eigenvalues and eigenvectors which you should be familiar with. You will be able to use them as a check on some of your calculations. Property : Sum of eigenvalues For any square matrix A: sum of eigenvalues = sum of diagonal terms of A (called the trace of A) n Formally, for an n n matrix A: λ i = trace(a) (Repeated eigenvalues must be counted according to their multiplicity.) 3 Thus if λ = 4, λ = 4, λ 3 = then λ i = 9). i= Property : Product of eigenvalues For any square matrix A: i= product of eigenvalues = determinant of A n Formally: λ λ λ 3 λ n = λ i = det(a) i= The symbol simply denotes multiplication, as denotes summation. Example 7 Verify Properties and for the 3 3 matrix: A = whose eigenvalues were found earlier. Solution The three eigenvalues of this matrix are: Therefore λ =, λ =, λ 3 = + λ + λ + λ 3 = ( ) + + ( + ) = 6 = trace(a) whilst λ λ λ 3 = ( )()( + ) = 4 = det(a) 4 HELM (8): Workbook : Eigenvalues and Eigenvectors

Property 3: Linear independence of eigenvectors Eigenvectors of a matrix A corresponding to distinct eigenvalues are linearly independent i.e. one eigenvector cannot be written as a linear sum of the other eigenvectors. The proof of this result is omitted but we illustrate this property with two examples. We saw earlier that the matrix [ A = has distinct eigenvalues λ = λ = with associated eigenvectors X () = [ [ X () = respectively. Clearly X () is not a constant multiple of X () and these eigenvectors are linearly independent. We also saw that the 3 3 matrix A = had the following distinct eigenvalues eigenvectors of the form shown: X () =, X () = λ =, λ =, λ 3 = + with corresponding, X (3) = Clearly none of these eigenvectors is a constant multiple of any other. Nor is any one obtainable as a linear combination of the other two. The three eigenvectors are linearly independent. Property 4: Eigenvalues of diagonal matrices A diagonal matrix D has the form [ a D = d The characteristic equation D λi = is a λ d λ = i.e. (a λ)(d λ) = So the eigenvalues are simply the diagonal elements a and d. Similarly a 3 3 diagonal matrix has the form a D = b c having characteristic equation HELM (8): Section.: Basic Concepts 5

D λi = (a λ)(b λ)(c λ) = so again the diagonal elements are the eigenvalues. We can see that a diagonal matrix is a particularly simple matrix to work with. In addition to the eigenvalues being obtainable immediately by inspection it is exceptionally easy to multiply diagonal matrices. Task Obtain the products D D and D D of the diagonal matrices a e D = b D = f c g Your solution Answer D D = D D = ae bf cg which of course is also a diagonal matrix. Exercise If λ, λ,... λ n are the eigenvalues of a matrix A, prove the following: (a) A T has eigenvalues λ, λ,... λ n. (b) If A is upper triangular, then its eigenvalues are exactly the main diagonal entries. (c) The inverse matrix A has eigenvalues,,.... λ λ λ n (d) The matrix A ki has eigenvalues λ k, λ k,... λ n k. (e) (Harder) The matrix A has eigenvalues λ, λ,... λ n. (f) (Harder) The matrix A k (k a non-negative integer) has eigenvalues λ k, λ k,... λ k n. Verify the above results for any matrix and any 3 3 matrix found in the previous Exercises on page 3. N.B. Some of these results are useful in the numerical calculation of eigenvalues which we shall consider later. 6 HELM (8): Workbook : Eigenvalues and Eigenvectors

Answer (a) Using the property that for any square matrix A, det(a) = det(a T ) we see that if det(a λi) = then det(a λi) T = This immediately tells us that det(a T λi) = which shows that λ is also an eigenvalue of A T. (b) Here simply write down a typical upper triangular matrix U which has terms on the leading diagonal u, u,..., u nn and above it. Then construct (U λi). Finally imagine how you would then obtain det(u λi) =. You should see that the determinant is obtained by multiplying together those terms on the leading diagonal. Here the characteristic equation is: (u λ)(u λ)... (u nn λ) = This polynomial has the obvious roots λ = u, λ = u,..., λ n = u nn. (c) Here we begin with the usual eigenvalue problem AX = λx. If A has an inverse A we can multiply both sides by A on the left to give A (AX) = A λx which gives X = λa X or, dividing through by the scalar λ we get A X = X which shows that if λ and X are respectively eigenvalue and eigenvector of A then λ and X are respectively eigenvalue and eigenvector of A. λ [ 3 As an example consider A =. This matrix has eigenvalues λ 3 =, λ = 5 [ [ with corresponding eigenvectors X = and X =. The reader should verify (by direct multiplication) that A = [ 3 has eigenvalues and [ 5 3 [ 5 with respective eigenvectors X = and X =. (d) (e) and (f) are proved in similar way to the proof outlined in (c). HELM (8): Section.: Basic Concepts 7