MTH 210 · Linear Algebra
Our notes
2 min readThe idea
A square matrix A is diagonalisable if there is an invertible P and a diagonal D with
P⁻¹AP = D, equivalently A = PDP⁻¹.
The columns of P are eigenvectors of A; the diagonal of D holds the matching eigenvalues. In the basis of eigenvectors, the map just stretches each axis.
When it works
An n × n matrix is diagonalisable if and only if it has n linearly independent eigenvectors, i.e. for every eigenvalue the geometric multiplicity equals the algebraic multiplicity.
- n distinct eigenvalues ⟹ diagonalisable (sufficient, not necessary).
- Real symmetric matrices are always diagonalisable, even with an orthogonal P (P⁻¹ = Pᵀ).
- [2 1; 0 2] is not diagonalisable: λ = 2 twice, but only one independent eigenvector.
Steps
- Find eigenvalues.
- Find a basis of each eigenspace.
- If there are n independent eigenvectors, put them as the columns of P, in any order.
- D = diag(λ₁, ..., λₙ) in the same order.
- Check AP = PD (easier than computing P⁻¹AP).
Worked example. A = [4 1; 2 3] (eigenvalues 5 and 2 with eigenvectors (1, 1) and (1, −2)).
P = [1 1; 1 −2], D = [5 0; 0 2].
Check AP: A(1, 1) = (5, 5), A(1, −2) = (2, −4), so AP = [5 2; 5 −4]. PD = [1·5 1·2; 1·5 −2·2] = [5 2; 5 −4]. ✓
Powers of a matrix
Aᵏ = PDᵏP⁻¹, and Dᵏ just raises each diagonal entry to the k.
Worked example. Find A³ for A = [4 1; 2 3].
P⁻¹ = (1/(−3))[−2 −1; −1 1] = (1/3)[2 1; 1 −1].
D³ = [125 0; 0 8].
PD³ = [125 8; 125 −16].
A³ = (1/3)[125 8; 125 −16][2 1; 1 −1] = (1/3)[258 117; 234 141] = [86 39; 78 47].
Check directly: A² = [4 1; 2 3][4 1; 2 3] = [18 7; 14 11]; A³ = A²A = [18·4 + 7·2, 18 + 21; 14·4 + 11·2, 14 + 33] = [86 39; 78 47]. ✓
Uses
- Powers and limits of matrices (Markov chains: long-run shares of customers between two networks).
- Solving systems of linear differential equations x′ = Ax (each eigen-direction grows like e^(λt)).
- Functions of matrices (e^A).
- Quadratic forms: an orthogonal diagonalisation removes the cross terms (next topics).
Exams usually ask: show a matrix is or is not diagonalisable; find P and D; compute a high power such as A¹⁰ using PDP⁻¹; orthogonally diagonalise a symmetric matrix.
Common mistake: putting the eigenvalues in D in a different order from the eigenvector columns in P. The k-th column of P must go with the k-th diagonal entry of D.
Written by the UniHive team in our own words. Spotted a mistake? Tell us on WhatsApp.
Read
-
Best pick Interactive Linear Algebra, 5.4 Diagonalization
(opens textbooks.math.gatech.edu in a new tab)
Margalit and Rabinoff, Interactive Linear Algebra, Interactive Linear Algebra, 5.4 Diagonalization, GNU FDL · licence
-
Diagonalizable matrix
(opens en.wikipedia.org in a new tab)
Wikipedia, Diagonalizable matrix, CC BY-SA 4.0 · licence
Watch
-
Diagonalization
9 min · ≈ 41 MB · about ₦23
(opens youtube.com in a new tab)
-
Diagonalizing Matrices and Diagonalizability | Linear Algebra
20 min · ≈ 90 MB · about ₦51
(opens youtube.com in a new tab)
-
Determine if Matrix is Diagonalizable from Rank | Linear Algebra Exercises
4 min · ≈ 18 MB · about ₦10
(opens youtube.com in a new tab)
-
Diagonalizing a Matrix
12 min · ≈ 54 MB · about ₦30
(opens youtube.com in a new tab)
-
Powers of a Matrix | MIT 18.06SC Linear Algebra, Fall 2011
9 min · ≈ 41 MB · about ₦23
(opens youtube.com in a new tab)
-
22. Diagonalization and Powers of A
52 min · ≈ 234 MB · about ₦131
(opens youtube.com in a new tab)
We link to free material and never copy it. Every link was opened by our team before it went up; video data is a rough guide at 360p.