Diagonalizing 2×2 Matrices
What you'll learn: You'll master the complete step-by-step process to diagonalize a 2×2 matrix with distinct eigenvalues.
The Core Process
Diagonalizing a matrix means finding matrices P and D such that A = PDP⁻¹, where D is diagonal. For 2×2 matrices with two distinct eigenvalues, this process is straightforward and follows a clear recipe.
Step-by-Step Method
Step 1: Find the eigenvalues
Compute the characteristic polynomial det(A - λI) = 0 and solve for λ. You'll get two distinct values: λ₁ and λ₂.
Step 2: Find the eigenvectors
For each eigenvalue λᵢ, solve (A - λᵢI)v = 0 to find the corresponding eigenvector vᵢ.
Step 3: Construct matrix P
Place the eigenvectors as columns: P = [v₁ | v₂]. The order matches the eigenvalues.
Step 4: Construct matrix D
Create the diagonal matrix with eigenvalues on the diagonal: D = diag(λ₁, λ₂). The positions must match the eigenvectors in P.
Step 5: Verify (optional but recommended)
Check that AP = PD, or equivalently A = PDP⁻¹.
Practical Example Structure
Given A = [[3, 1], [0, 2]], you'd find λ₁ = 3, λ₂ = 2, then their eigenvectors, say v₁ = [1, 0] and v₂ = [1, -1]. Construct P = [[1, 1], [0, -1]] and D = [[3, 0], [0, 2]], and you're done!
Why This Works
Think of P as a "change of basis" matrix. In the eigenvector basis, the transformation A looks simple—it just scales each direction independently. That's what D captures.
Key Takeaway: To diagonalize a 2×2 matrix with distinct eigenvalues: find both eigenvalues, find their eigenvectors, build P from eigenvectors as columns, build D from eigenvalues on the diagonal in matching order.