Eigenvalues & EigenvectorsTopic #24 of 30

Diagonalization

Diagonalizable matrices, P⁻¹AP = D, conditions for diagonalization.

Overview

Diagonalization is the process of finding a diagonal matrix DD similar to AA. A diagonalizable matrix can be written as A=PDP1A = PDP^{-1}, where PP contains eigenvectors and DD contains eigenvalues.

Definition

A square matrix AA is diagonalizable if there exists an invertible matrix PP such that:

P1AP=DP^{-1}AP = D

where DD is diagonal. Equivalently:

A=PDP1A = PDP^{-1}

The Matrices P and D

  • P: columns are linearly independent eigenvectors of AA
  • D: diagonal entries are the corresponding eigenvalues

P=[v1v2vn]P = \begin{bmatrix} \mathbf{v}_1 & \mathbf{v}_2 & \cdots & \mathbf{v}_n \end{bmatrix}

D=[λ1000λ2000λn]D = \begin{bmatrix} \lambda_1 & 0 & \cdots & 0 \\ 0 & \lambda_2 & \cdots & 0 \\ \vdots & \vdots & \ddots & \vdots \\ 0 & 0 & \cdots & \lambda_n \end{bmatrix}

Diagonalization Process

Step 1: Find Eigenvalues

Solve det(AλI)=0\det(A - \lambda I) = 0

Step 2: Find Eigenvectors

For each eigenvalue λi\lambda_i, solve (AλiI)v=0(A - \lambda_i I)\mathbf{v} = \mathbf{0}

Step 3: Form P and D

  • PP: eigenvectors as columns (order matches DD)
  • DD: corresponding eigenvalues on diagonal

Step 4: Verify (Optional)

Check that P1AP=DP^{-1}AP = D

Example

Diagonalize:

A=[4213]A = \begin{bmatrix} 4 & 2 \\ 1 & 3 \end{bmatrix}

Eigenvalues:

p(λ)=λ27λ+10=(λ5)(λ2)p(\lambda) = \lambda^2 - 7\lambda + 10 = (\lambda-5)(\lambda-2)

λ1=5\lambda_1 = 5, λ2=2\lambda_2 = 2

Eigenvectors:

For λ=5\lambda = 5: v1=[21]\mathbf{v}_1 = \begin{bmatrix} 2 \\ 1 \end{bmatrix}

For λ=2\lambda = 2: v2=[11]\mathbf{v}_2 = \begin{bmatrix} 1 \\ -1 \end{bmatrix}

Matrices:

P=[2111],D=[5002]P = \begin{bmatrix} 2 & 1 \\ 1 & -1 \end{bmatrix}, \quad D = \begin{bmatrix} 5 & 0 \\ 0 & 2 \end{bmatrix}

P1=13[1112]=[1/31/31/32/3]P^{-1} = \frac{1}{-3}\begin{bmatrix} -1 & -1 \\ -1 & 2 \end{bmatrix} = \begin{bmatrix} 1/3 & 1/3 \\ 1/3 & -2/3 \end{bmatrix}

Verify: P1AP=DP^{-1}AP = D

Conditions for Diagonalizability

AA is diagonalizable if and only if:

  1. AA has nn linearly independent eigenvectors
  2. For each eigenvalue: geometric = algebraic multiplicity
  3. Sum of geometric multiplicities = nn

When NOT Diagonalizable

Defective Matrix

A=[2102]p(λ)=(λ2)2A = \begin{bmatrix} 2 & 1 \\ 0 & 2 \end{bmatrix} \quad p(\lambda) = (\lambda-2)^2

Only one eigenvector [10]\begin{bmatrix} 1 \\ 0 \end{bmatrix} for λ=2\lambda = 2

Not diagonalizable (defective)

Applications of Diagonalization

Computing Matrix Powers

If A=PDP1A = PDP^{-1}:

An=PDnP1A^n = PD^n P^{-1}

where DnD^n is easy to compute (raise diagonal entries to power nn).

Example: Matrix Square

A2=(PDP1)(PDP1)=PD(P1P)DP1=PD2P1A^2 = (PDP^{-1})(PDP^{-1}) = PD(P^{-1}P)DP^{-1} = PD^2 P^{-1}

Solving Systems of ODEs

For dxdt=Ax\frac{d\mathbf{x}}{dt} = A\mathbf{x}:

x(t)=PeDtP1x0\mathbf{x}(t) = Pe^{Dt}P^{-1}\mathbf{x}_0

Special Cases

Symmetric Matrices

Real symmetric matrices are always diagonalizable:

  • Eigenvalues are real
  • Eigenvectors can be chosen orthonormal
  • A=QDQTA = QDQ^T where QQ is orthogonal

Distinct Eigenvalues

If all nn eigenvalues are distinct, AA is diagonalizable.

Summary Table

ConditionDiagonalizable?
nn distinct eigenvaluesYes
Symmetric matrixYes
All geometric = algebraic mult.Yes
Has nn lin. indep. eigenvectorsYes
Defective (fewer eigenvectors)No