Diagonalizing a matrix
If a square matrix has a full eigenvector basis, A=PΛP⁻¹. This changes coordinates to independent eigenvector directions and makes powers of A easy to compute.
What you will learn
- Match columns of P with Λ
- Verify a similarity factorization
- Use diagonalization for powers
Work through one complete example
- Let A=[[2,1,0],[0,3,0],[0,0,4]], with independent eigenvectors v₁=(1,0,0), v₂=(1,1,0), and v₃=(0,0,1).
- P=[[1,1,0],[0,1,0],[0,0,1]] and Λ=diag(2,3,4). Verify AP=PΛ, so A=PΛP⁻¹.
- Then Aⁿ=P diag(2ⁿ,3ⁿ,4ⁿ)P⁻¹. For n=2, A²=[[4,5,0],[0,9,0],[0,0,16]].
- A repeated eigenvalue may still have too few independent eigenvectors. Diagonalization requires a basis, not merely a list of eigenvalues.
Objective 1: Match columns of P with Λ
- Column 2 of P belongs to λ=3. What is Λ₂₂?
- It must be 3; the column and diagonal ordering must match.
Objective 2: Verify a similarity factorization
- Why does AP=PΛ imply A=PΛP⁻¹?
- Independent columns make P invertible; multiply on the right by P⁻¹.
Objective 3: Use diagonalization for powers
- Find entry (1,2) of A².
- 2·1+1·3=5, agreeing with PΛ²P⁻¹.
A common mistake
State the assumptions before using the formula.
Review first
Continue learning
Interactive diagnosis and practice load in the learning app. You can read these lesson notes without JavaScript.