Lec 10
Lec 10
Linear Algebra
Similar Matrices
Diagonalization of a Matrix
Lecture # 10
Dr. Ahmad Moursy
Eigenvalues and Eigenvectors
Main Objectives
• Define Similar matrices.
• Introduce diagonalization of matrices.
Recommended Reading
• D. Lay, S. Lay, J. McDonald, Linear Algebra and Its Applications.
• To increase your knowledge, you can consult “Elementary Linear
algebra” by H. Anton & C. Rorres: Chapter 5
Dr. Ahmad Moursy 2
Similar Matrices and Diagonalization
Definition 1: A matrix B is said to be similar to another matrix A if there is a nonsingular
matrix P such that B = P–1A P.
Definition 2: We shall say that the matrix A is diagonalizable if it is similar to a diagonal
matrix. In this case we also say that A can be diagonalized.
1 1
Example: Let A= and P = 1 1
then 2 − 1
P −1 =
and
− 2 4 1 2 − 1 1
2 −1 1 1 1 1 2 0
𝐵 = 𝑃−1 𝐴𝑃 = =
−1 1 −2 4 1 2 0 3
It follows that the matrix A is diagonlalizable.
Dr. Ahmad Moursy 3
Theorem: A matrix A is diagonalizable if all its eigenvalues are distinct real numbers.
Moreover, 𝐵 = 𝑃−1 𝐴𝑃 = diag 𝜆1 , 𝜆2 , ⋯ , 𝜆𝑛 Sufficient Condition
for Diagonalization
Theorem: 1- The eigenvalues of any real symmetric matrix are all real numbers.
2- The eigenvectors of any real symmetric matrix are orthogonal.
Then they are
Consequences: Any real symmetric matrix is diagonalizable. linearly independent
Solution
Since A is a triangular matrix, its eigenvalues are the main diagonal entries.
𝜆1 = 1, 𝜆2 = 0, 𝜆3 = −3
which are distinct, so A is diagonalizable.
Remark:
The order of the eigenvalues used to form P will determine the order
in which the eigenvalues appear on the main diagonal of D.
0 − 1 2 Eigenvectors
Hence, the required matrix P is P = 1 0 0 are orthogonal,
then they are
0 2 1 linearly
independent
⇒ 𝐴𝑘 = 𝑃 𝐴𝑑 𝑘 𝑃−1
Solution
Eigenvalues of A are 1, 2, 3 (why?). Calculating the eigenvectors for the
distinct eigenvalues, we obtain
1 0 0
𝑃 = [𝑋1 𝑋2 𝑋3 ] = 1 1 1
1 1 2
and
1 0 0
D = 𝑃−1 𝐴𝑃 = 0 2 0
0 0 3
1 0 0 1 0 0 1 0 0
𝐴5 = 1 1 1 0 32 0 −1 2 −1
1 1 2 0 0 729 0 −1 1
1 0 0
= −31 665 697
−31 −1394 1426
Example: In example 3 of slide 10 in lecture 9, the eigenvalues are not distinct with 𝜆1
having multiplicity 2, so we need to check eigenvectors. In that case the eigenvectors were
linearly independent. Hence the matrix A is diagonalizable.