Feg 202 Module 3 Notes
Feg 202 Module 3 Notes
Module 3
Eigenvalues, Eigenvectors and
Diagonalization of a Matrix.
Module Learning Outcomes
• Obtain the characteristic equation of a given
matrix.
• Solve a given matrix to find its eigenvalues and its
eigenvectors.
• Determine the modal matrix of a given vector.
• Determine the spectral matrix of a given vector.
• the derivative of a
• Solve a system of linear equations using the
inverse method.
Introduction
Consider the system of ′𝑛′ linear equations with ′𝑛′ unknowns
given by:
𝐴𝑋 = 𝐵
∴ 𝐴 − λ𝐼 𝑋 = 0 𝐸𝑞𝑛1
𝐴 − λ𝐼 =0 𝐸𝑞𝑛2
∴ If
𝑎11 𝑎12 ⋯ 𝑎1𝑛
𝑎21 𝑎22 … 𝑎2𝑛
𝐴= ⋮ ⋮ ⋮
𝑎𝑛1 𝑎𝑛2 … 𝑎𝑛𝑛
The roots of the characteristic equation are called eigenvalues of 𝐴 or characteristic values of 𝐴.
If the ‘𝑛’ eigenvectors 𝑥𝑖 are arranged as columns of a square matrix, the modal matrix of 𝐴 is obtained
and denoted by M as:
𝑀 = 𝑥1 , 𝑥2 , ⋯ , 𝑥𝑛 𝐸𝑞𝑛4
The spectral matrix of A, denoted as ‘𝑆’ is the diagonal matrix with eigenvalues only on the main
diagonal
λ1 𝑎12 ⋯ 𝑎1𝑛
𝑎 λ2 − λ … 𝑎2𝑛
𝑆 = 21 𝐸𝑞𝑛5
⋮ ⋮ ⋮
𝑎𝑛1 𝑎𝑛2 … λ𝑛
1 3 0
Example 1: Given that : 𝐴 = 1 2 1 Determine the:
2 1 −1
(i) eigenvalues (ii) eigenvectors (iii) modal matrix (iv) spectral matrix.
Solution:
(i) The characteristic equation is given by:
𝐴 − λ𝐼 = 0
1 3 0 1 0 0 1−λ 3 0
𝐴 − λ𝐼 = 1 2 1 −λ 0 1 0 = 1 2−λ 1
2 1 −1 0 0 1 −2 1 −1 − λ
1−λ 3 0
∴ 𝐴 − λ𝐼 = 1 2−λ 1
−2 1 1−λ
2−λ 1 1 1
= 1−λ −3 +0
1 1−λ −2 1 − λ
2−λ 1 1 1
= 1−λ −3 +0
1 1−λ −2 1 − λ
1−λ 2 − λ −1 − λ − 1 − 3[ −1 − λ + 2] = 0
1 − λ −2 − 2λ + λ + λ2 − 1 − 3 1 − λ = 1 − λ λ2 − λ − 3 − 3 + 3λ = 0
λ2 − λ − 3 − λ3 + λ2 + 3λ − 3 + 3λ = 0
λ3 − 2λ2 − 5λ + 6 = 0
λ3 − 2λ2 − 5λ + 6 = λ − 1 (λ 2 − λ − 6)
λ3 − 2λ2 − 5λ + 6 = 0 = λ − 1 λ − 2 λ − 3 = 0
𝐴 − λ𝐼 𝑋 = 0
And let:
𝑥1
𝑋 = 𝑥2 𝑏𝑒 𝑡ℎ𝑒 𝑒𝑖𝑔𝑒𝑛𝑣𝑒𝑐𝑡𝑜𝑟𝑠 𝑐𝑜𝑟𝑟𝑒𝑠𝑝𝑜𝑛𝑑𝑖𝑛𝑔 𝑡𝑜 λ
𝑥3
If 𝐴 − λ𝐼 𝑋 = 0;
1−λ 3 0 𝑥1 0
1 2−λ 1 𝑥2 = 0
−2 1 −1 − λ 𝑥3 0
For λ1 = 1,
1 3 0 𝑥1 0
1 1 1 𝑥2 = 0
−2 1 −2 𝑥3 0
3𝑥2 = 0, 𝑥2 = 0
3𝑥2 = 0, 𝑥2 = 0
𝑥1 + 𝑥2 + 𝑥3 = 0, 𝑥1 +𝑥3 = 0, 𝑥3 = −𝑥1
Recall, 𝑥3 = −𝑥1
∴ 𝑥1 = 1 𝑎𝑛𝑑 𝑥3 = −1
1
𝑋1 = 0
−1
For λ2 = −2,
3 3 0 𝑥1 0
1 4 1 𝑥2 = 0
−2 1 −1 𝑥3 0
1
𝑋2 = −1
3
For λ3 = 3,
−2 3 0 𝑥1 0
1 −1 1 𝑥2 = 0
−2 1 −4 𝑥3 0
2
−2𝑥1 + 3𝑥2 = 0, 𝑥2 = − 𝑥1
3
2 1
𝑥1 − 𝑥2 + 𝑥3 = 0, 𝑥1 − 𝑥1 + 𝑥3 = 0, 𝑥1 + 𝑥3 = 0
3 3
1
𝑥1 = − 𝑥1
3
∴ 𝑥1 = 3, 𝑡ℎ𝑒𝑛 𝑥2 = 2 𝑎𝑛𝑑 𝑥3 = −1
3
𝑋3 = 2
−1
iii) The Modal Matrix
1 1 3
𝑀 = 𝑋1 , 𝑋2 , 𝑋3 = 0 −1 2
−1 3 −1
Hence, λ1 = 1.
0
𝑇
Let 𝐾2 = 0 1 1 = 1 ,
1
Then,
3 −2 2 0 0 0
6 −4 6 1 = 2 = 2 × 1
2 −1 3 1 2 1
Hence, λ2 = 2.
1
𝑇
Let 𝐾3 = 1 2 0 = 2 ,
0
Then,
3 −2 2 1 −1 1
6 −4 6 2 = −2 = −1 × 2
2 −1 3 0 0 0
Hence, λ3 = −1.
Example 3:
5 −1 0
If 𝐴 = 0 −5 9 , find the eigenvalues of 2𝐴3 + 6𝐴2 − 3𝐴 + 2𝐼.
5 −1 0
Solution:
5−λ −1 0
0 −5 − λ 9 = 0
5 −1 −λ
𝜆3 − 16𝜆 = 0
First eigenvalue = 3 0 + 6 0 − 3 0 + 2 1 = 2
2, 214, 𝑎𝑛𝑑 − 18
Cayley-Hamilton Theorem
Every square matrix satisfies its own characteristic equation.
For a square matrix ′𝐴′ of order 𝑛 × 𝑛,
𝑎𝑜 𝐴𝑛 + 𝑎1 𝐴𝑛−1 + 𝑎2 𝐴𝑛−2 + ⋯ + 𝑎𝑛 𝐼 = 0
∴ 𝐴3 = 3𝐴2 + 2𝐴 + 5𝐼 − 6𝐴−1 = 0
1
∴ 𝐴−1 = 3𝐴2 + 2𝐴 + 5𝐼 − 6𝐴−1
6
7 −1 3
𝐴= 6 1 4
2 4 8
Solution:
7−λ −1 3
6 1−λ 4 =0
2 4 8−λ
7−λ 1 − λ 8 − λ − 16 + 6 8 − λ − 8 + 3 24 − 2 1 − λ =0
7 −1 3 7 −1 3 49 4 41
𝐴2 = 6 1 4 = 6 1 4 = 56 11 54
2 4 8 2 4 8 54 34 86
49 4 41 7 −1 3 1 0 0
𝐴3 = 16 56 11 54 − 55 6 1 4 + 50 0 1 0
54 34 86 2 4 8 0 0 1
49 4 41 7 −1 3 1 0 0
𝐴3 = 16 56 11 54 − 55 6 1 4 + 50 0 1 0
54 34 86 2 4 8 0 0 1
49 4 41 7 −1 3 1 0 0
50𝐴−1 = 56 11 54 − 16 6 1 4 + 55 0 1 0
54 34 86 2 4 8 0 0 1
49 4 41 7 −1 3 1 0 0
𝐴3 = 16 56 11 54 − 55 6 1 4 + 50 0 1 0
54 34 86 2 4 8 0 0 1
49 4 41 7 −1 3 1 0 0
50𝐴−1 = 56 11 54 − 16 6 1 4 + 55 0 1 0
54 34 86 2 4 8 0 0 1
49 4 41 7 −1 3 1 0 0
50𝐴−1 = 56 11 54 − 16 6 1 4 + 55 0 1 0
54 34 86 2 4 8 0 0 1
1 49 4 41
𝐴−1 = 56 11 54
50
54 34 86
Diagonalization of Matrices
A matrix 𝐴 is said to be similar to the matrix 𝐷, if
there exists a non-singular matrix ‘𝑀′, such that
𝐷 = 𝑀−1 𝐴𝑀
This transformation of 𝐴 to 𝐷 is known as similarity
transformation.
Note: 𝐷 is the diagonal matrix and 𝑀 is the modal
matrix having linearly independent eigenvectors of
𝑋1 , 𝑋2 , … 𝑋𝑛 as the 𝑛 column matrix.
Where 𝑋1 , 𝑋2 , … 𝑋𝑛 are linearly independent eigenvectors of 𝐴.
λ1 0 ⋯ 0
0 λ2 … 0
𝐷=
⋮ ⋮ ⋮
0 0 … λ𝑛
𝐴𝑛 = 𝑀𝐷𝑛 𝑀−1
Example 5:
1 3 0
Diagonalize the matrix 𝐴 = 1 2 1
−2 1 −1
Also obtain 𝐴5 .
Solution:
Matrix A was examined in example 1 and shown to have
λ1 = 1, λ2 = −2, λ3 = 3 and the corresponding eigenvectors of:
1 1 3
𝑋1 = 0 , 𝑋2 = −1 , 𝑎𝑛𝑑 𝑋3 = 2
−1 3 1
The modal matrix becomes:
1 1 3
M = 0 −1 2
−1 3 −1
−1
1 −5 10 5
M =− −2 2 −2
10
−1 −4 −1
1 −5 10 5 1 3 0 1 1 3
−1
D=M AM = − −2 2 −2 1 2 1 0 −1 2
10
−1 −4 −1 −2 1 −1 −1 3 −1
1 0 0
D = 0 −2 0
0 0 3
5 5
−1 −
5 10 10
1 3 0 1 0 0 2 2 2 67 297 66
∴ 𝐴5 = 𝑀𝐷5 𝑀−1 = 1 2 1 0 −25 0 = 55 188 55
10 10 10
−2 1 −1 0 0 35 1 4 1 −44 −77 −43
10 10 10