Lesson 8 Diagonalization of Matrices: Module 1: Matrices and Linear Algebra
Lesson 8 Diagonalization of Matrices: Module 1: Matrices and Linear Algebra
Lesson 8
Diagonalization of Matrices
8.1 Introduction
Diagonalizable matrices are defined through similar matrices. Two square matrices
A and B are said to be similar if there exists an invertible matrix P such that A = P−
1
B P or equivalently PA = BP.
3 5 2 4
Example 8.2.1: (i) Matrices A = and B = are similar because PA
3 1 4 2
4 0
= PB, where P = . Note that P is invertible as det P = 20 ≠ 0. However
1 5
2 0 2 1
matrices R = and S = are not similar because otherwise the
0 2 0 2
a b
matrix P1 satisfying P1R = SP1 will be of the form and is a non-invertible
0 0
(or singular) matrix.
Theorem 8.2.1: Similar matrices have the same characteristic equation (and hence
the same eigenvalues).
The above theorem also gives a criteria for checking that the given matrices are
similar or not.
1 2 4 1
Example 8.2.1: Matrices A = and B = are not similar because
4 3 3 2
their characteristic polynomials are λ2 − 4λ – 5 and λ2 − 6λ + 5 respectively.
−3 1 −1
Example 8.3.1: Consider the matrix A = −7 5 −1 . Characteristic polynomial
−6 6 −2
of A is det (A − λI) = (λ + 2)2 (λ − 4). So − 2 is an eigenvalue of multiplicity two
and therefore algebraic multiplicity of the eigenvalue − 2 is equal to 2. One can
check that rank of (A + 2I) is equal to two hence its nullity is equal to one. So
geometric multiplicity of the eigenvalue − 2 is equal to 1. The following theorem
gives a relation between these two multiplicities.
Theorem 8.3.1: The algebraic multiplicity of an eigenvalue is not less than its
geometric multiplicity.
Theorem 8.4.1: Let An×n be an square matrix with eigenvalues λ1, λ2, . . . , λk. Let
γ1, γ2, . . . , γk be the geometric multiplicity of λ1, λ2, . . . , λk respectively. Then A is
diagonalizable if and only if γ1 + γ2 + . . . + γk = n.
(6) P− 1 A P = diag(λ1, λ1,… ,λ1, λ2, λ2,. . . λ2 , ….λk ,λk , … λk ) is the diagonal
matrix similar to A.
Diagonalization of Matrices
5 4 2
Example 8.5.1: Consider the matrix A = 4 5 2 .
2 2 2
10 0 0
−1
One checks that P A P = 0 1 0 and is similar A.
0 0 1
Not all matrices are diagonalizable and we will see such an example below.
Example 8.5.2: As we have seen in Example 8.3.1 that for the matrix A =
−3 1 −1
−7 5 −1 the eigenvalues are λ1 = − 2, λ2 = 4, λ1 is of multiplicity 2. Also the
−6 6 −2
algebraic multiplicity of λ1 is 2 and the geometric multiplicity of it is 1. Therefore
A is not a diagonalizable matrix.
Theorem 8.6.1: The following are true for a diagonal or a diagonalizable matrix
D:
a 0
(I) If D = 0 b is a diagonal matrix the kth power of D is equal to
n x n
ak 0
.
0 bk n x n
0 1
Example 8.6.1: Here, We compute A30 for A = . This matrix is
−2 3
1 1 1 0
diagonalizable as A = M D M , where M =
−1
and D = . Thus by
1 2 0 2
1 1 1 0 2 −1
Theorem 8.6.1(i) and (ii), A30 = M D30 M− 1 = 30 .
1 2 0 2 −1 1
2 − 230 230 − 1
= .
2−2 231 − 1
31
Example 8.6.2: If P(x) = x17 – 3x5+2x2+1 then we find the value of P(A) = A17 –
3A5 + 2A2 + I, for the same matrix A in Example 8.6.2. By Theorem 8.6.1 (iii) ,
and Example 8.61, P(A)=A17 – 3A5 + 2A2 + I
2 − 217 217 − 1 2 − 25 25 − 1 2 − 2 2 22 − 1 1 0
= − 3 + 2 + .
2−2 218 − 1 2 − 26 2 6 − 1 2 − 23 23 − 1 0 1
18
8.7 Conclusions
Here we have seen that finding higher powers of a diagonalizable matrix or value
of any polynomial on a diagonalizable matrix can be computed easily.
Diagonalization of Matrices
Suggested Readings:
Linear Algebra, Kenneth Hoffman and Ray Kunze, PHI Learning pvt. Ltd., New
Delhi, 2009.
Linear Algebra and Its Applications, Fourth Edition, Gilbert Strang, Thomson
Books/Cole, 2006.