Diagonalizable Matrix — Definition, Formula & Examples
A diagonalizable matrix is a square matrix that can be written in the form , where is a diagonal matrix and is an invertible matrix whose columns are the eigenvectors of the original matrix.
An matrix is diagonalizable if and only if there exists an invertible matrix and a diagonal matrix such that . Equivalently, is diagonalizable if and only if it has linearly independent eigenvectors.
Key Formula
Where:
- = The original n × n matrix
- = Invertible matrix whose columns are linearly independent eigenvectors of A
- = Diagonal matrix with eigenvalues of A on the diagonal
How It Works
To diagonalize a matrix , first find its eigenvalues by solving . Then find the eigenvectors for each eigenvalue. If you obtain linearly independent eigenvectors for an matrix, form by placing those eigenvectors as columns and by placing the corresponding eigenvalues along the diagonal. The factorization makes computing powers of especially efficient, since and raising a diagonal matrix to a power simply raises each diagonal entry to that power.
Worked Example
Problem: Determine whether the matrix A is diagonalizable, and if so, find P and D.
Given: Let A be the following 2×2 matrix.
Step 1: Find eigenvalues by solving det(A − λI) = 0.
Step 2: The eigenvalues are λ₁ = 5 and λ₂ = 2. Find an eigenvector for each. For λ₁ = 5, solve (A − 5I)v = 0.
Step 3: For λ₂ = 2, solve (A − 2I)v = 0.
Step 4: Since there are 2 linearly independent eigenvectors for a 2×2 matrix, A is diagonalizable. Form P and D.
Answer: A is diagonalizable with P = [[1,1],[1,−2]] and D = diag(5, 2), so A = PDP⁻¹.
Why It Matters
Diagonalization simplifies computing matrix powers, which appears in solving systems of linear differential equations, analyzing Markov chains, and modeling population dynamics. Many numerical algorithms in data science and engineering rely on diagonalizing matrices (or the closely related spectral decomposition) to reduce computational cost.
Common Mistakes
Mistake: Assuming every square matrix is diagonalizable.
Correction: A matrix is diagonalizable only if it has n linearly independent eigenvectors. For example, some matrices with repeated eigenvalues lack enough independent eigenvectors and are therefore not diagonalizable (these are called defective matrices).
