What this lesson covers
Every square matrix has a polynomial equation attached to it, its characteristic equation, and the matrix itself satisfies that equation. This lesson shows how to write the characteristic equation of a 3 × 3 3 \times 3 3 × 3 matrix quickly, states the resulting matrix equations for 2 × 2 2 \times 2 2 × 2 and 3 × 3 3 \times 3 3 × 3 matrices, and uses them to find inverses without cofactors.
Characteristic equation
If A A A is a matrix of order n × n n \times n n × n , the equation
∣ A − λ I ∣ = 0 |A - \lambda I| = 0 ∣ A − λ I ∣ = 0
is called the characteristic equation of A A A . For A = [ a 11 a 12 a 13 a 21 a 22 a 23 a 31 a 32 a 33 ] A = \begin{bmatrix} a_{11} & a_{12} & a_{13} \\ a_{21} & a_{22} & a_{23} \\ a_{31} & a_{32} & a_{33} \end{bmatrix} A = a 11 a 21 a 31 a 12 a 22 a 32 a 13 a 23 a 33 , it takes the form
λ 3 − S 1 λ 2 + S 2 λ − S 3 = 0 , \lambda^3 - S_1\lambda^2 + S_2\lambda - S_3 = 0, λ 3 − S 1 λ 2 + S 2 λ − S 3 = 0 ,
where
S 1 = a 11 + a 22 + a 33 S_1 = a_{11} + a_{22} + a_{33} S 1 = a 11 + a 22 + a 33 , the sum of the leading diagonal elements (the trace);
S 2 = ∣ a 11 a 12 a 21 a 22 ∣ + ∣ a 22 a 23 a 32 a 33 ∣ + ∣ a 11 a 13 a 31 a 33 ∣ S_2 = \begin{vmatrix} a_{11} & a_{12} \\ a_{21} & a_{22} \end{vmatrix} + \begin{vmatrix} a_{22} & a_{23} \\ a_{32} & a_{33} \end{vmatrix} + \begin{vmatrix} a_{11} & a_{13} \\ a_{31} & a_{33} \end{vmatrix} S 2 = a 11 a 21 a 12 a 22 + a 22 a 32 a 23 a 33 + a 11 a 31 a 13 a 33 , the sum of the minors of the leading diagonal elements;
S 3 = ∣ A ∣ S_3 = |A| S 3 = ∣ A ∣ , the determinant of A A A .
The matrix satisfies its characteristic equation
Replacing λ \lambda λ by A A A (and the constant term c c c by c I cI c I ) gives a true matrix equation. This is the Cayley Hamilton theorem.
If A = [ a b c d ] A = \begin{bmatrix} a & b \\ c & d \end{bmatrix} A = [ a c b d ] , then
A 2 − ( a + d ) A + ( a d − b c ) I = O . A^2 - (a + d)A + (ad - bc)I = O. A 2 − ( a + d ) A + ( a d − b c ) I = O .
If A = [ a i j ] 3 × 3 A = [a_{ij}]_{3 \times 3} A = [ a ij ] 3 × 3 , then
A 3 − ( a 11 + a 22 + a 33 ) A 2 + { ∣ a 22 a 23 a 32 a 33 ∣ + ∣ a 11 a 13 a 31 a 33 ∣ + ∣ a 11 a 12 a 21 a 22 ∣ } A − ∣ A ∣ I = O . A^3 - (a_{11} + a_{22} + a_{33})A^2 + \left\{\begin{vmatrix} a_{22} & a_{23} \\ a_{32} & a_{33} \end{vmatrix} + \begin{vmatrix} a_{11} & a_{13} \\ a_{31} & a_{33} \end{vmatrix} + \begin{vmatrix} a_{11} & a_{12} \\ a_{21} & a_{22} \end{vmatrix}\right\}A - |A|\,I = O. A 3 − ( a 11 + a 22 + a 33 ) A 2 + { a 22 a 32 a 23 a 33 + a 11 a 31 a 13 a 33 + a 11 a 21 a 12 a 22 } A − ∣ A ∣ I = O .
Finding the inverse from the equation
If ∣ A ∣ ≠ 0 |A| \neq 0 ∣ A ∣ = 0 , multiply the equation by A − 1 A^{-1} A − 1 . For a 3 × 3 3 \times 3 3 × 3 matrix, A 3 − S 1 A 2 + S 2 A − S 3 I = O A^3 - S_1A^2 + S_2A - S_3I = O A 3 − S 1 A 2 + S 2 A − S 3 I = O gives
A − 1 = 1 S 3 ( A 2 − S 1 A + S 2 I ) . \displaystyle A^{-1} = \frac{1}{S_3}\left(A^2 - S_1A + S_2I\right). A − 1 = S 3 1 ( A 2 − S 1 A + S 2 I ) .
For a 2 × 2 2 \times 2 2 × 2 matrix, A − 1 = 1 a d − b c [ ( a + d ) I − A ] \displaystyle A^{-1} = \dfrac{1}{ad - bc}\left[(a + d)I - A\right] A − 1 = a d − b c 1 [ ( a + d ) I − A ] , which is the same as the quick formula of the first lesson.
Example 1
Find the characteristic equation of A = [ 1 0 2 0 1 0 2 0 1 ] A = \begin{bmatrix} 1 & 0 & 2 \\ 0 & 1 & 0 \\ 2 & 0 & 1 \end{bmatrix} A = 1 0 2 0 1 0 2 0 1 and use it to find A − 1 A^{-1} A − 1 .
S 1 = 3 S_1 = 3 S 1 = 3 . S 2 = ∣ 1 0 0 1 ∣ + ∣ 1 0 0 1 ∣ + ∣ 1 2 2 1 ∣ = 1 + 1 − 3 = − 1 S_2 = \begin{vmatrix} 1 & 0 \\ 0 & 1 \end{vmatrix} + \begin{vmatrix} 1 & 0 \\ 0 & 1 \end{vmatrix} + \begin{vmatrix} 1 & 2 \\ 2 & 1 \end{vmatrix} = 1 + 1 - 3 = -1 S 2 = 1 0 0 1 + 1 0 0 1 + 1 2 2 1 = 1 + 1 − 3 = − 1 . S 3 = ∣ A ∣ = 1 ( 1 ) − 0 + 2 ( 0 − 2 ) = − 3 S_3 = |A| = 1(1) - 0 + 2(0 - 2) = -3 S 3 = ∣ A ∣ = 1 ( 1 ) − 0 + 2 ( 0 − 2 ) = − 3 .
So the characteristic equation is λ 3 − 3 λ 2 − λ + 3 = 0 \lambda^3 - 3\lambda^2 - \lambda + 3 = 0 λ 3 − 3 λ 2 − λ + 3 = 0 , and A 3 − 3 A 2 − A + 3 I = O A^3 - 3A^2 - A + 3I = O A 3 − 3 A 2 − A + 3 I = O . Hence
A − 1 = 1 − 3 ( A 2 − 3 A − I ) . \displaystyle A^{-1} = \frac{1}{-3}\left(A^2 - 3A - I\right). A − 1 = − 3 1 ( A 2 − 3 A − I ) .
Now A 2 = [ 5 0 4 0 1 0 4 0 5 ] A^2 = \begin{bmatrix} 5 & 0 & 4 \\ 0 & 1 & 0 \\ 4 & 0 & 5 \end{bmatrix} A 2 = 5 0 4 0 1 0 4 0 5 , so A 2 − 3 A − I = [ 1 0 − 2 0 − 3 0 − 2 0 1 ] A^2 - 3A - I = \begin{bmatrix} 1 & 0 & -2 \\ 0 & -3 & 0 \\ -2 & 0 & 1 \end{bmatrix} A 2 − 3 A − I = 1 0 − 2 0 − 3 0 − 2 0 1 and
A − 1 = [ − 1 3 0 2 3 0 1 0 2 3 0 − 1 3 ] . \displaystyle A^{-1} = \begin{bmatrix} -\frac13 & 0 & \frac23 \\ 0 & 1 & 0 \\ \frac23 & 0 & -\frac13 \end{bmatrix}. A − 1 = − 3 1 0 3 2 0 1 0 3 2 0 − 3 1 .
Example 2
Show that S = [ 2 1 1 1 ] S = \begin{bmatrix} 2 & 1 \\ 1 & 1 \end{bmatrix} S = [ 2 1 1 1 ] satisfies S 2 − 3 S + I = O S^2 - 3S + I = O S 2 − 3 S + I = O and find S − 1 S^{-1} S − 1 .
Here a + d = 3 a + d = 3 a + d = 3 and a d − b c = 1 ad - bc = 1 a d − b c = 1 , so S 2 − 3 S + I = O S^2 - 3S + I = O S 2 − 3 S + I = O . Multiplying by S − 1 S^{-1} S − 1 : S − 3 I + S − 1 = O S - 3I + S^{-1} = O S − 3 I + S − 1 = O , so
S − 1 = 3 I − S = [ 1 − 1 − 1 2 ] . S^{-1} = 3I - S = \begin{bmatrix} 1 & -1 \\ -1 & 2 \end{bmatrix}. S − 1 = 3 I − S = [ 1 − 1 − 1 2 ] .
Practice
Write the characteristic equation of [ 4 1 2 3 ] \begin{bmatrix} 4 & 1 \\ 2 & 3 \end{bmatrix} [ 4 2 1 3 ] .
Find S 1 S_1 S 1 , S 2 S_2 S 2 , S 3 S_3 S 3 for T = [ 1 1 1 1 2 3 1 4 9 ] T = \begin{bmatrix} 1 & 1 & 1 \\ 1 & 2 & 3 \\ 1 & 4 & 9 \end{bmatrix} T = 1 1 1 1 2 4 1 3 9 and write its characteristic equation.
Using question 2, write T − 1 T^{-1} T − 1 in terms of T 2 T^2 T 2 , T T T and I I I .
If A 2 − 5 A + 7 I = O A^2 - 5A + 7I = O A 2 − 5 A + 7 I = O , express A − 1 A^{-1} A − 1 in terms of A A A and I I I .
Use the matrix equation to find the inverse of [ 3 1 2 1 ] \begin{bmatrix} 3 & 1 \\ 2 & 1 \end{bmatrix} [ 3 2 1 1 ] .
Answers
Show answers
λ 2 − 7 λ + 10 = 0 \lambda^2 - 7\lambda + 10 = 0 λ 2 − 7 λ + 10 = 0 .
S 1 = 12 S_1 = 12 S 1 = 12 ; S 2 = ( 2 − 1 ) + ( 18 − 12 ) + ( 9 − 1 ) = 15 S_2 = (2 - 1) + (18 - 12) + (9 - 1) = 15 S 2 = ( 2 − 1 ) + ( 18 − 12 ) + ( 9 − 1 ) = 15 ; S 3 = 2 S_3 = 2 S 3 = 2 . So λ 3 − 12 λ 2 + 15 λ − 2 = 0 \lambda^3 - 12\lambda^2 + 15\lambda - 2 = 0 λ 3 − 12 λ 2 + 15 λ − 2 = 0 .
T − 1 = 1 2 ( T 2 − 12 T + 15 I ) \displaystyle T^{-1} = \frac12\left(T^2 - 12T + 15I\right) T − 1 = 2 1 ( T 2 − 12 T + 15 I ) .
A − 5 I + 7 A − 1 = O A - 5I + 7A^{-1} = O A − 5 I + 7 A − 1 = O , so A − 1 = 1 7 ( 5 I − A ) \displaystyle A^{-1} = \frac17(5I - A) A − 1 = 7 1 ( 5 I − A ) .
A 2 − 4 A + I = O A^2 - 4A + I = O A 2 − 4 A + I = O , so A − 1 = 4 I − A = [ 1 − 1 − 2 3 ] A^{-1} = 4I - A = \begin{bmatrix} 1 & -1 \\ -2 & 3 \end{bmatrix} A − 1 = 4 I − A = [ 1 − 2 − 1 3 ] .