Diagonalization and Similarity
Rewriting a matrix in an eigenbasis so that acting, powering, and exponentiating become elementwise operations.
Leads to: The spectral theorem (4.6) guarantees orthogonal diagonalization for symmetric matrices; matrix exponentials drive linear ODEs.
Learning Objectives
Click a status chip to cycle: Not started → In progress → Studied → Practiced → Needs review → Mastered.
- Define similarity and explain which quantities it preserves.
- Diagonalize a matrix with a full set of independent eigenvectors.
- Use diagonalization to compute matrix powers and functions.
- Diagnose when a matrix is not diagonalizable (defective).
Key Vocabulary
- Similar matrices
- \(A\) and \(B=P^{-1}AP\) for invertible \(P\); same map in different bases.
- Diagonalizable
- \(A=PDP^{-1}\) with \(D\) diagonal; the columns of \(P\) are eigenvectors.
- Eigenbasis
- A basis of the space consisting entirely of eigenvectors of \(A\).
- Algebraic multiplicity
- The multiplicity of \(\lambda\) as a root of the characteristic polynomial.
- Geometric multiplicity
- The dimension \(\dim\ker(A-\lambda I)\) of the eigenspace.
- Defective matrix
- One lacking a full eigenbasis (some eigenvalue’s geometric < algebraic multiplicity); not diagonalizable.
Intuition & Motivation
Similarity
Diagonalization
Diagonalization makes functions of a matrix trivial. Since \(A^k=PD^kP^{-1}\) and \(D^k\) just powers the diagonal, and more generally for any analytic \(f\), \(f(A)=P\,f(D)\,P^{-1}\) with \(f(D)\) applying \(f\) entrywise on the diagonal.
When diagonalization fails
If some eigenvalue’s geometric multiplicity is strictly less than its algebraic multiplicity, there are too few eigenvectors to fill a basis and the matrix is defective. The canonical example is \(\begin{bmatrix}1&1\\0&1\end{bmatrix}\): eigenvalue \(1\) has algebraic multiplicity 2 but only a one-dimensional eigenspace. Such matrices still admit the Jordan form, but not diagonalization.
Explore the map: when two eigen-directions exist and are distinct, the action decomposes into two independent stretches - that is exactly diagonalizability. Tune the entries toward a shear and the eigen-directions merge, previewing a defective matrix.
- Assuming every matrix is diagonalizable - defective matrices (repeated eigenvalues, deficient eigenspaces) are not.
- Ordering the columns of \(P\) inconsistently with the diagonal of \(D\); the \(j\)-th column must match \(\lambda_j\).
- Believing similarity preserves the individual entries; it preserves the eigenvalues/trace/det, not the numbers themselves.
- Using \(A^k=PD^kP^{-1}\) but forgetting to invert \(P\) on the right.
- Distinct eigenvalues ⇒ automatically diagonalizable - you need not even check eigenspaces.
- To power or exponentiate a matrix, diagonalize once and act on the diagonal; this is how linear ODE solutions \(e^{At}\) are computed.
- Symmetric matrices (covariances!) are always diagonalizable, and by an orthogonal \(P\) - the spectral theorem in 4.6.
Knowledge Check
Practical Exercise
Let \(A=\begin{bmatrix}3&0\\1&2\end{bmatrix}\). (a) Find eigenvalues and eigenvectors. (b) Write \(A=PDP^{-1}\). (c) Use it to compute \(A^{3}\).
(a) Triangular, so eigenvalues are the diagonal: \(\lambda=3,2\). For \(\lambda=3\): \((A-3I)=\begin{bmatrix}0&0\\1&-1\end{bmatrix}\Rightarrow x=y\), eigenvector \((1,1)\). For \(\lambda=2\): \(\begin{bmatrix}1&0\\1&0\end{bmatrix}\Rightarrow x=0\), eigenvector \((0,1)\).
(b) \(P=\begin{bmatrix}1&0\\1&1\end{bmatrix},\ D=\begin{bmatrix}3&0\\0&2\end{bmatrix},\ P^{-1}=\begin{bmatrix}1&0\\-1&1\end{bmatrix}\).
(c) \(A^3=PD^3P^{-1}\) with \(D^3=\operatorname{diag}(27,8)\): \(A^3=\begin{bmatrix}27&0\\19&8\end{bmatrix}\) (since the (2,1) entry is \(27-8=19\)). Distinct eigenvalues guaranteed diagonalizability.
Lesson Summary
Formula Sheet Additions
Retrieval Practice
Close the lesson and answer from memory before checking. This is deliberate, effortful recall - the single highest-yield study action.
A: Powers and analytic functions become elementwise on the diagonal: A^k=P D^k P^{-1}, f(A)=P f(D) P^{-1}.
A: When it is defective: some eigenvalue's geometric multiplicity is less than its algebraic multiplicity, so there is no full eigenbasis.
Completion Checklist
- I can explain the core ideas in my own words
- I worked the derivations/examples by hand
- I completed the interactive workbench(es)
- I passed the knowledge check