93. Diagonalization

A square matrix 𝐴 is diagonalizable if it can be written as

𝐴=𝑃𝐷𝑃1

where 𝐷 is a diagonal matrix and 𝑃 is an invertible matrix.

The diagonal entries of 𝐷 are the eigenvalues of 𝐴, and the columns of 𝑃 are the corresponding eigenvectors.

93.1. When is 𝐴 diagonalizable?

An 𝑛×𝑛 matrix is diagonalizable iff it has 𝑛 linearly independent eigenvectors.

Equivalent conditions:

Some matrices are not diagonalizable — e.g., [1101] has only one eigenvalue (1) of algebraic multiplicity 2 but geometric multiplicity 1. For non-diagonalizable matrices, see Jordan Canonical Form.

93.2. How to diagonalize

  1. Find the eigenvalues 𝜆1,,𝜆𝑛 from det(𝐴𝜆𝐼)=0.
  2. For each 𝜆𝑖, find a basis for ker(𝐴𝜆𝑖𝐼) — the eigenvectors.
  3. Assemble eigenvectors into columns of 𝑃, eigenvalues into the diagonal of 𝐷 (in matching order).
  4. Verify by computing 𝑃𝐷𝑃1.
Example

𝐴=[4211].

Characteristic polynomial: det(𝐴𝜆𝐼)=(4𝜆)(1𝜆)(2)(1)=𝜆25𝜆+6=(𝜆2)(𝜆3).

Eigenvalues: 𝜆1=2,𝜆2=3.

Eigenvectors: solve (𝐴2𝐼)𝑣=𝟎𝑣1=[11]. And (𝐴3𝐼)𝑣=𝟎𝑣2=[21].

𝑃=[1211]𝐷=[2003]

93.3. Why it matters: power and exponential

In diagonal form, matrix arithmetic is trivial:

𝐴𝑘=(𝑃𝐷𝑃1)𝑘=𝑃𝐷𝑘𝑃1

with 𝐷𝑘 just powering each diagonal entry. This makes:

93.4. Spectral decomposition (real symmetric case)

If 𝐴 is real and symmetric, then it’s always diagonalizable and can be done with an orthogonal 𝑃:

𝐴=𝑄𝐷𝑄𝑇,where𝑄𝑇𝑄=𝐼

This is the Spectral Theorem — the gold standard of diagonalization.

93.5. Failure: non-diagonalizable matrices

𝐴=[1101]

has only the eigenvalue 1 (with algebraic multiplicity 2) and only one independent eigenvector [10]. Not diagonalizable — the best you can do is the Jordan form.

93.6. See also