Eigen Decomposition — Definition, Formula & Examples
Eigen decomposition (also called eigendecomposition) is a way of breaking a square matrix into a product of three matrices built from its eigenvalues and eigenvectors. It reveals the fundamental stretching directions and magnitudes encoded in the matrix.
A square matrix that has linearly independent eigenvectors admits the factorization , where is the matrix whose columns are the eigenvectors of and is the diagonal matrix whose diagonal entries are the corresponding eigenvalues.
Key Formula
Where:
- = The original n×n square matrix
- = Matrix whose columns are the linearly independent eigenvectors of A
- = Diagonal matrix with the eigenvalues of A on the diagonal
- = The inverse of the eigenvector matrix P
How It Works
First, find the eigenvalues of by solving the characteristic equation . Next, for each eigenvalue , solve to get the eigenvector . Form by placing these eigenvectors as columns, and form by placing the eigenvalues along the diagonal. Verify that . This decomposition exists only when has linearly independent eigenvectors (i.e., is diagonalizable).
Worked Example
Problem: Find the eigen decomposition of A = [[4, 1], [2, 3]].
Find eigenvalues: Solve det(A − λI) = 0.
Solve for λ: Factor the characteristic polynomial.
Find eigenvectors: For λ₁ = 5: (A − 5I)v = 0 gives v₁ = (1, 1). For λ₂ = 2: (A − 2I)v = 0 gives v₂ = (1, −2).
Write decomposition: Compute P⁻¹ and express A = PDP⁻¹.
Answer: A = PDP⁻¹ with P = [[1, 1], [1, −2]], D = diag(5, 2), confirming the eigen decomposition.
Why It Matters
Eigen decomposition makes computing matrix powers trivial: , since raising a diagonal matrix to a power is just raising each diagonal entry. This is essential in solving systems of differential equations, principal component analysis in data science, and stability analysis in engineering.
Common Mistakes
Mistake: Assuming every square matrix can be eigen-decomposed.
Correction: A matrix must have n linearly independent eigenvectors (be diagonalizable) for the decomposition to exist. Defective matrices—those with repeated eigenvalues that lack a full set of eigenvectors—cannot be eigen-decomposed.
