Chapter 4 Section 4.4 Eigenvalues and the Characteristic Polynomial Characteristic Polynomial If A is an π × π matrix the characteristic polynomial is a function of the variable t we call π π‘ that is the determinant of π΄ − π‘πΌ. π π‘ = det π΄ − π‘πΌ Characteristic Equation If π π‘ is the characteristic polynomial of a matrix A, setting π π‘ = 0 is the characteristic equation of the matrix A. The solutions to this equation are the eigenvalues of matrix A. Example For the matrix A given to the right find its characteristic polynomial and its eigenvalues. 9 5 2 π΄ = −10 −6 1 0 0 3 Since the 3rd row has two zeros we compute det π΄ − π‘πΌ by expanding across the third row. 9−π‘ −10 0 5 −6 − π‘ 0 2 9−π‘ 1 = 3−π‘ −10 3−π‘ 5 = 3−π‘ −6 − π‘ 9 − π‘ −6 − π‘ − −50 = 3 − π‘ π‘ 2 − 3π‘ − 54 + 50 = 3 − π‘ π‘ 2 − 3π‘ − 4 = 3 − π‘ π‘ − 4 π‘ + 1 Since the object of these problems is to find the roots of this polynomial we very often will leave the characteristic polynomial in factored form and do not multiply it out so we can tell what the solutions to π π‘ = 0 are by just looking at it. Characteristic Equation: π π‘ = 3 − π‘ π‘ − 4 π‘ + 1 Eigenvalues are: -1, 3, 4 Example Find the characteristic polynomial and the eigenvalues for the matrix A given to the right. (Sometimes called Fibonacci matrix.) Characteristic Polynomial is: π π‘ = det π΄ − π‘πΌ = −π‘ 1 π΄= 0 1 1 1 1 = −π‘ 1 − π‘ − 1 = π‘ 2 − π‘ − 1 1−π‘ This polynomial does not factor so use the quadratic formula to get π‘ = 1± 12 − −4 2 = 1± 5 2 If A is a π × π matrix and π π‘ = det π΄ − π‘πΌ is the characteristic polynomial for A then π π‘ is a polynomial of degree n with the coefficient of π‘ π being ±1. Using algebraic methods to solve a general polynomial of degree n can be difficult (in fact, sometimes impossible), but there are some techniques that will often work. Factoring and Solving Polynomials If π π‘ = π‘ π + ππ−1 π‘ π−1 + β― + π1 π‘ + π0 is a polynomial with integer coefficients sometimes the following method will work for factoring the polynomial π π‘ . 1. Find the factors of the constant term π0 say they are ±1, ±π1 , β― ± ππ . 2. Plug each factor into π π‘ till you find one that is zero say ππ (i.e. π ππ = 0), that means that π‘ − ππ is one of the factors. 3. Use long division to find π π‘ ÷ π‘ − ππ = π π‘ that means that π π‘ = π‘ − ππ π π‘ . This gives one factor of π π‘ . 4. Apply the same thing to π π‘ until you get down to degree 1 or 2 polynomial. Example 12 4 6 Find the characteristic polynomial and eigenvalues for the π΄ = −19 −6 −11 matrix A given to the right. −9 −4 −3 12 − π‘ 4 6 π π‘ = det π΄ − π‘πΌ = −19 −6 − π‘ −11 −9 −4 −3 − π‘ Use a 1st −6 − π‘ −11 −19 −11 −19 −6 − π‘ column = 12 − π‘ −4 +6 −4 −3 − π‘ −9 −3 − π‘ −9 −4 expansion = 12 − π‘ −6 − π‘ −3 − π‘ − 44 − 4 19π‘ + 57 − 99 + 6 76 − 54 + 9π‘ then 2 = 12 − π‘ π‘ + 9π‘ + 18 − 44 − 4 19π‘ − 42 + 6 −9π‘ + 22 simplify 2 = 12 − π‘ π‘ + 9π‘ − 26 − 76π‘ + 168 − 54π‘ + 132 the 2 3 2 polynomial = 12π‘ + 108π‘ − 312 − π‘ − 9π‘ + 26π‘ − 130π‘ + 300 = −π‘ 3 + 3π‘ 2 + 4π‘ − 12 = − π‘ 3 − 3π‘ 2 − 4π‘ + 12 1. The constant term is 12, and the factors of 12 are: ± 1, ±2, ±3, ±4, ±6, ±12 2. Plugging in we get π 1 = −6, π −1 = −12, π 2 = 0 π‘2 − π‘ − 6 π‘−2 π‘ 3 −3π‘ 2 −4π‘+12 Use long division to get π‘−2 Now we know π π‘ = − π‘ − 2 π‘ 2 − 3. 4. π‘−6 5. Factor π π‘ = − π‘ − 2 π‘ + 2 π‘ − 3 The characteristic polynomial is: π π‘ = −π‘ 3 + 3π‘ 2 + 4π‘ − 12 Eigenvalues are: −2,2,3 π‘ 3 − 3π‘ 2 − 4π‘ + 12 − π‘ 3 − 2π‘ 2 −π‘ 2 − 4π‘ + 12 − −π‘ 2 + 2π‘ −6π‘ + 12 − −6π‘ + 12 0 In general the problem of finding the characteristic polynomial and corresponding eigenvalues for a matrix can be very difficult. If the matrix has a certain pattern or contains a lot of zeros there are quick and easy ways to find the characteristic polynomial and eigenvalues. Characteristic Polynomials for Diagonal, Lower and Upper Triangular Matrices If π΄ = πππ diagonal or triangular: π π‘ = π11 − π‘ π22 − π‘ β― πππ − π‘ The characteristic polynomial of a diagonal, upper or lower triangular matrix π΄ = πππ is the product of each factor πππ − π‘ and the eigenvalues are the main diagonal entries. The Eigenvalues are: π11 , π22 , β― , πππ Example Find the characteristic polynomial and eigenvalues for the matrix A below to the right. 0 0 0 0 5 The matrix is upper triangular. 6 0 0 0 3 π π‘ = 5 − π‘ 8 − π‘ −1 − π‘ 6 − π‘ 2 π΄ = −1 1 8 0 0 0 −2 4 −1 0 Eigenvalues: −1, 5, 6, 8 7 0 9 6 6 Example Find three different 3 × 3 upper triangular matrices whose only eigenvalues are 1 and 4. Give all the possibilities for the characteristic polynomial 1 ∗ ∗ 1 ∗ ∗ 1 ∗ ∗ πΆ= 0 4 ∗ π΄= 0 1 ∗ π΅= 0 4 ∗ 0 0 1 0 0 4 0 0 4 Characteristic polynomial π π‘ = − π‘ − 1 2 π‘ − 4 or π π‘ = − π‘ − 1 π‘ − 4 2 The number of times an eigenvalue is a root of the characteristic equation will tell us some information about the matrix when it is compared to another number that will be discussed later. This number is important enough we give it a name. Algebraic Multiplicity If A is a π × π matrix and π π‘ is the characteristic polynomial of the matrix A (i.e. π π‘ = det π΄ − π‘πΌ ) and π is an eigenvalue for A, then π − π‘ is a factor of the polynomial π π‘ and the number of times that π − π‘ is a factor of π π‘ is called the algebraic multiplicity of the eigenvalue π. Algebraic multiplicity is the largest value π such that: π π‘ = det π΄ − π‘πΌ = π − π‘ π π π‘ Example For the π × π matrix to the right find the characteristic polynomial, all of the eigenvalues for the matrix along with the algebraic multiplicity of each of the eigenvalues that you found. The matrix A is diagonal so the characteristic polynomial is: 3 0 0 0 0 0 π π‘ = 3−π‘ 7−π‘ 7−π‘ 3−π‘ 3−π‘ 3−π‘ = 3−π‘ 0 7 0 0 0 0 4 0 0 0 3 0 0 0 0 7 0 0 0 7−π‘ 0 0 0 0 3 0 0 0 0 0 0 3 2 The algebraic multiplicity of the eigenvalue 3 is equal to 4. The eigenvalues for A are : 3,7 The algebraic multiplicity of the eigenvalue 7 is equal to 2. Example Find the characteristic polynomial and eigenvalues for the matrix A to the right. 5 π΄= 0 0 0 6 8 0 0 1 7 1 3 2 4 3 1 Even though A is not triangular take advantage of the zeros in the first two columns. 6 1 2 5−π‘ 8−π‘ 7 4 8 − π‘ 7 4 0 π π‘ = = 5−π‘ 0 1−π‘ 3 0 1−π‘ 3 0 0 3 1−π‘ 0 3 1−π‘ 0 1−π‘ 3 = 5−π‘ 8−π‘ = 5−π‘ 8−π‘ 1−π‘ 1−π‘ −9 3 1−π‘ = 5 − π‘ 8 − π‘ π‘ 2 − 2π‘ − 8 = 5−π‘ 8−π‘ π‘−4 π‘+2 1st column expansion 2nd column expansion factor Characteristic polynomial π π‘ = 5 − π‘ 8 − π‘ π‘ − 4 π‘ + 2 , Eigenvalues: −2, 4, 5, 8 Properties of the Characteristic Polynomial We will now look at a few of the more important properties of the characteristic polynomial of a matrix A. Characteristic Polynomials and Determinants The value of the characteristic polynomial at zero is the determinant of the matrix. If A is π × π matrix and π π‘ = det π΄ − π‘πΌ then: π 0 = det π΄ = π΄ Evaluating Matrix Functions If you want to plug a π × π matrix A into a polynomial π π‘ (i.e. evaluate π π΄ ) this is done by replacing all constant terms π by ππΌ in the polynomial where πΌ is the π × π identity matrix. The rest of the polynomial is evaluated using ordinary matrix arithmetic. Being able to evaluate matrices in polynomials allows fro matrix functions trigonometric, exponential and logarithmic functions. Example For the matrix A to the right find the characteristic polynomial π π‘ then evaluate π π΄ . 2−π‘ π π‘ = 3 1 = −2 − π‘ 2 − π‘ −2 − π‘ − 3 = 2 1 2 π π΄ = π΄ − 7πΌ = −7 3 −2 7 0 7 = − 0 7 7 2 π‘2 −4−3= π΄= π‘2 −7 1 0 2 1 2 1 7 0 = − 0 1 3 −2 3 −2 0 7 0 0 0 = =πͺ 0 0 0 Evaluating a Matrix in its Characteristic Polynomial Its is always true that if you plug a matrix into its characteristic polynomial you will get the zero matrix. 2 3 1 −2 Characteristic Equation The result is the zero matrix ! If π π‘ = det π΄ − π‘πΌ then: π π΄ =πͺ This result has many applications. One in particular is a more efficient way to compute the inverse of a matrix than augmenting with the identity and row reducing. Example Find the characteristic polynomial of the matrix A to the right and use this to compute π΄−1 . 1 2 −2 π΄ = 0 −1 4 0 0 2 Take advantage of the fact that the matrix A is upper triangular so : π π‘ = 1 − π‘ −1 − π‘ 2 − π‘ = π‘ 2 − 1 2 − π‘ = −π‘ 3 + 2π‘ 2 + π‘ − 2 π π΄ =πͺ −π΄3 + 2π΄2 + π΄ − 2πΌ = πͺ −π΄3 + 2π΄2 + π΄ = 2πΌ π΄ −π΄2 + 2π΄ + πΌ = 2πΌ 1 π΄ −π΄2 + 2π΄ + πΌ = πΌ 2 π΄ −12π΄2 + π΄ + 12πΌ = πΌ π΄−1 π΄−1 = = 1 −2 1 −2 1 0 0 1. The idea here is to move the constant times identity matrix to one side of the equation. 2. Factor the matrix A out from the other side. 3. Divide by the constant if not 1. 4. Collect all terms in factor other than A. 1 2 −2 1 2 −2 1 2 −2 1 0 0 1 0 −1 4 0 −1 4 + 0 −1 4 + 2 0 1 0 0 0 2 0 0 2 0 0 2 0 0 1 1 0 0 1 2 −3 2 0 2 1 2 −2 1 1 4 + 0 −1 4 + 0 2 0 = 0 −1 2 1 0 0 0 4 0 0 2 0 0 12 2 If π1 , β― , ππ eigenvalues for A then the eigenvalues for π΄2 are: π12 , β― , π2π Eigenvalues and the Square of a Matrix If π is an eigenvalue for the matrix A then π2 is an eigenvalue of the matrix π΄2 . The reason for this is as follows. Let v be the eigenvector corresponding to π. π΄2 π― = π΄ β π΄ π― = π΄ π΄π― = π΄ ππ― = π π΄π― = π β ππ― = π2 π― Eigenvalues and a Power of a Matrix This is true for any positive integer p, if π is an eigenvalue for the matrix A then ππ is an eigenvalue of the matrix π΄π . If π1 , β― , ππ eigenvalues for A then the eigenvalues for π΄π are: π π π1 , β― , ππ The reason for this is as follows. Let v be the eigenvector corresponding to π. π΄π π― = π΄ β β― β π΄ π― = π΄ β β― β π΄ π΄π― = π΄ β β― β π΄ ππ― = π π΄ β β― β π΄ π― = β― = ππ π― π π‘ππππ π−1 π‘ππππ π−1 π‘ππππ Eigenvalues and a Function of a Matrix If π is an eigenvalue for the matrix A and π π‘ is any polynomial then π π is an eigenvalue of the matrix π π΄ . π−1 π‘ππππ If π1 , β― , ππ eigenvalues for A and π π‘ is a polynomial then the eigenvalues for π π΄ are: π π1 , β― , π ππ The reason for this is as follows. Let v be the eigenvector corresponding to π. Let the polynomial π π‘ = ππ π‘ π + β― + π1 π‘ + π0 . π π΄ π― = ππ π΄π + β― + π1 π΄ + π0 πΌ π― = ππ π΄π π― + β― + π1 π΄π― + π0 πΌπ― = ππ ππ π― + β― + π1 ππ― + π0 π― = ππ ππ + β― + π1 π + π0 π― = π π π― Example A 3 × 3 matrix A has eigenvalues of: − 1, 1, 3. Find the eigenvalues of the matrices π΄2 , π΄3 and π΄2 − 4π΄ + 3πΌ. Eigenvalues of π΄2 − 4π΄ + 3πΌ are: −1 The eigenvalues of π΄2 are: −1 2 , 12 , 32 = 1,9 The eigenvalues of π΄3 are: −1 3 , 13 , 33 = −1,1,27 2 − 4 −1 + 3, 12 − 4 β 1 + 3, 32 − 4 β 3 + 3 = 0,7 Eigenvalues and the Inverse of a Matrix If π is an eigenvalue for the matrix A then π1 is an eigenvalue of the matrix π΄−1 . If π1 , β― , ππ eigenvalues for A then the eigenvalues for π΄−1 are: 1 1 , β― , π π 1 π The reason for this is as follows. Let v be the eigenvector corresponding to π ≠ 0. ππ΄−1 π― = π΄−1 ππ― = π΄−1 π΄π― = π΄−1 π΄ π― = πΌπ― = π― divide by π: π΄−1 π― = π1π― Eigenvalues and the Transpose of a Matrix The characteristic equation π π‘ of a matrix A is equal to the characteristic equation π π‘ of the matrix π΄π . This means a matrix and its transpose will have the same eigenvalues. If π1 , β― , ππ eigenvalues for A then the eigenvalues for π΄π are: π1 , β― , ππ The characteristic equation of π΄ and π΄π are equal. The reason for this is as follows. Remember det π = det ππ and πΌ π = πΌ. π π‘ = det π΄π − π‘πΌ = det π΄π − π‘πΌ π = det π΄ − π‘πΌ π = det π΄ − π‘πΌ = π π‘