Courses / Mathematics I
Linear Algebra

Diagonalization

Mathematics I 248 words Free to read

Diagonalization Basics

Eigenvectors give a matrix its natural axes. Diagonalization exploits this: if a matrix has enough independent eigenvectors to form a basis, the transformation is simply scaling along each axis via a diagonal matrix.

A square matrix AA is diagonalizable if it can be written as:

A=PDP1A = P D P^{-1}

ComponentMeaning
DDDiagonal matrix containing eigenvalues on its diagonal
PPMatrix with corresponding eigenvectors as columns
P1P^{-1}Inverse of matrix PP, reversing the coordinate change

An n×nn \times n matrix is diagonalizable if and only if it has nn linearly independent eigenvectors. A sufficient condition is having nn distinct eigenvalues, as their eigenvectors are automatically independent.

Powers and Pitfalls

The true payoff of diagonalization is computational. Raising a matrix to a power becomes trivial using the formula:

Ak=PDkP1A^k = P D^k P^{-1}

Here, DkD^k just raises each diagonal entry to the power kk. This avoids enormous multiplication work when computing A100A^{100}, enabling fast solutions to linear recurrences and differential equations.

PropertyStatus
Distinct EigenvaluesAlways diagonalizable (Sufficient)
Repeated EigenvaluesMay or may not be diagonalizable (Must check)
Defective MatrixMatrix with repeated eigenvalue lacking enough independent eigenvectors. Cannot be diagonalized.
Common pitfall: Assuming every square matrix is diagonalizable. You must always check the actual number of independent eigenvectors.
Diagonalization

Practise this lesson

The explanation above is free to read. The graded practice for this lesson lives in the Tryals app.

10practice questions
2interactive scenes

Linear Algebra