Skip to content

Diagonalization

Definition

Diagonalization is the process of finding an invertible matrix P\boldsymbol{P} and a diagonal matrix D\boldsymbol{D} such that A=PDP−1\boldsymbol{A}=\boldsymbol{P}\boldsymbol{D}\boldsymbol{P}^{-1}, equivalently P−1AP=D\boldsymbol{P}^{-1}\boldsymbol{A}\boldsymbol{P}=\boldsymbol{D}.


Interpretation

Diagonalization rewrites a linear transformation in an eigenbasis, where its action is simple coordinate-wise scaling.

A square diagram: A maps v to Av directly, or v is changed to eigen-coordinates by P inverse, scaled by the diagonal matrix D, and changed back by P.

The diagram shows two routes from v\boldsymbol{v} to Av\boldsymbol{A}\boldsymbol{v}. The top arrow applies A\boldsymbol{A} directly. The detour first computes the eigen-coordinates c=P−1v\boldsymbol{c}=\boldsymbol{P}^{-1}\boldsymbol{v}, then scales each coordinate by its eigenvalue with D=diag⁡(λ1,…,λn)\boldsymbol{D}=\operatorname{diag}(\lambda_1,\ldots,\lambda_n), and finally returns to standard coordinates with P\boldsymbol{P}. Both routes give the same vector, which is the equation A=PDP−1\boldsymbol{A}=\boldsymbol{P}\boldsymbol{D}\boldsymbol{P}^{-1} read from right to left.

Move tt: the grid drawn along the eigenvectors p1,p2\boldsymbol{p}_1,\boldsymbol{p}_2 keeps its directions and only stretches, by λ1\lambda_1 along p1\boldsymbol{p}_1 and λ2\lambda_2 along p2\boldsymbol{p}_2. That is A=PDP−1\boldsymbol{A}=\boldsymbol{P}\boldsymbol{D}\boldsymbol{P}^{-1} read in the basis p1,p2\boldsymbol{p}_1,\boldsymbol{p}_2.

In practice, find the eigenvalues as roots of the characteristic polynomial, find a basis of each kernel ker⁡(A−λI)\ker(\boldsymbol{A}-\lambda\boldsymbol{I}), and put these eigenvectors as the columns of P\boldsymbol{P}, with the eigenvalues in the same order on the diagonal of D\boldsymbol{D}. This succeeds exactly when there are nn independent eigenvectors. The result is not unique: reordering or rescaling the eigenvectors, with the eigenvalues following, gives another valid pair.

The payoff is in powers. The inner factors cancel in Ak=PDP−1PDP−1⋯\boldsymbol{A}^k=\boldsymbol{P}\boldsymbol{D}\boldsymbol{P}^{-1}\boldsymbol{P}\boldsymbol{D}\boldsymbol{P}^{-1}\cdots, leaving Ak=PDkP−1\boldsymbol{A}^k=\boldsymbol{P}\boldsymbol{D}^k\boldsymbol{P}^{-1}, where Dk\boldsymbol{D}^k raises each eigenvalue to the power kk. For (2112)\begin{pmatrix}2&1\\1&2\end{pmatrix}, with eigenvalues 33 and 11, this gives 12(3k+1)\tfrac{1}{2}(3^k+1) on the diagonal of Ak\boldsymbol{A}^k and 12(3k−1)\tfrac{1}{2}(3^k-1) off it. Powers of matrices return later in Math V, in linear difference systems.

A common slip is the order of the factors. With the eigenvectors as columns of P\boldsymbol{P}, the formula is A=PDP−1\boldsymbol{A}=\boldsymbol{P}\boldsymbol{D}\boldsymbol{P}^{-1}, not P−1DP\boldsymbol{P}^{-1}\boldsymbol{D}\boldsymbol{P}. Checking AP=PD\boldsymbol{A}\boldsymbol{P}=\boldsymbol{P}\boldsymbol{D} column by column, which says Api=λipi\boldsymbol{A}\boldsymbol{p}_i=\lambda_i\boldsymbol{p}_i, settles it.


Key Results

  • If A=PDP−1\boldsymbol{A}=\boldsymbol{P}\boldsymbol{D}\boldsymbol{P}^{-1}, then Ak=PDkP−1\boldsymbol{A}^k=\boldsymbol{P}\boldsymbol{D}^k\boldsymbol{P}^{-1}.
  • The columns of P\boldsymbol{P} are eigenvectors of A\boldsymbol{A}, and the diagonal entries of D\boldsymbol{D} are the corresponding eigenvalues.

Examples

  • A diagonal matrix is already diagonalized with P=I\boldsymbol{P}=\boldsymbol{I}.
  • If A\boldsymbol{A} has a basis of eigenvectors, then it is diagonalizable.

Prerequisites

Sources

Aliases: diagonalisation, matrix diagonalization, eigendecomposition, eigenvalue decomposition Symbols: lambda

Last updated: 20 October 2026 03:02