Maths WorkshopMaths problems with full solutions
Exercise 1766Linear algebra › Matrices and linear systemsL1Added 3 Nov 2026

When is a matrix diagonalizable?

#diagonalization#eigenspaces#multiplicity

Statement

Let AA be an n×nn \times n matrix. Show that AA is diagonalizable if and only if the sum of the dimensions of its eigenspaces equals nn.

Hint

A diagonalization A=PDP−1A = PDP^{-1} means that the columns of PP form a basis of eigenvectors.

Show solutionHide solution

Solution

Forward direction. If A=PDP−1A = PDP^{-1} with DD diagonal, then the columns of PP are eigenvectors of AA (since AP=PDAP = PD). They form a basis of Rn\mathbb{R}^n, so the sum of the dimensions of the eigenspaces is at least nn. But each eigenspace is a subspace, and their sum is direct (eigenspaces for distinct eigenvalues are in direct sum). So the sum of dimensions is exactly nn.

Converse. Conversely, if the sum of the dimensions of the eigenspaces equals nn, choose a basis of each eigenspace. The union of these bases has nn vectors, and since eigenspaces for distinct eigenvalues are in direct sum, the union is a basis of Rn\mathbb{R}^n. In this basis, the matrix of AA is diagonal. So AA is diagonalizable.

Remark. This criterion is equivalent to saying that the characteristic polynomial of AA splits and the algebraic multiplicity of each eigenvalue equals its geometric multiplicity.