When is a square matrix A∈Rn×n diagonalisable, why can repeated eigenvalues break diagonalisability, and how do you tell whether A=(3103) and B=(3003) are diagonalisable?

Linear algebra and optimisation, Diagonalisation
Level L3 Intermediate. Length Medium. Nature Th+Mat Both.

What's being asked

Whether you understand the difference between algebraic and geometric multiplicity and know when a matrix lacks a full eigenbasis.

Key idea

A matrix A is diagonalisable (A=PΛP−1) if and only if it has n linearly independent eigenvectors, which holds if and only if every eigenvalue's geometric multiplicity (dim⁡N(A−λI)) equals its algebraic multiplicity.

Steps

  1. State the general condition: A=PΛP−1 requires P to be invertible, so its n columns must form a basis of n linearly independent eigenvectors of A (over R for real diagonalisation, or over C if complex eigenvalues are allowed).
  2. Relate to multiplicities: eigenvectors from distinct eigenvalues are always linearly independent, so having n distinct real eigenvalues is sufficient over R. When all eigenvalues are real and an eigenvalue λ repeats with algebraic multiplicity ma>1, its eigenspace dimension mg=dim⁡N(A−λI) satisfies 1≤mg≤ma; diagonalisability fails whenever mg<ma.
  3. Test A=(3103): the characteristic polynomial is (3−λ)2=0, so λ=3 has ma=2. Solving (A−3I)v=(0100)v=0 gives v2=0, so the eigenspace is 1-dimensional (mg=1<2). Hence A is defective (not diagonalisable).
  4. Test B=3I: λ=3 again has ma=2, but B−3I=0 has null space R2, so mg=2=ma. B is already diagonal.
  5. Add the key ML contrast: every real symmetric matrix is guaranteed to have mg=ma for every eigenvalue, so real symmetric matrices (covariances, Hessians, kernel matrices) are always orthogonally diagonalisable.

Common mistakes

How long your answer should be

Half a page; 3–4 minutes.

Last checked on 4 December 2026.

Read this

Previous in Linear algebra and optimisation: How do you classify the quadratic form q(x1,x2,x3)=x12+x22+x32+4x1x2+4x1x3+4x2x3 as positive definite, semidefinite or indefinite, and how do you write it in diagonal form via an orthogonal change of variables x=Qy?
Next in Linear algebra and optimisation: How is the Moore–Penrose pseudoinverse A+ defined from the SVD A=UΣV⊤, what does x∗=A+b compute in general, and what are A+ and x∗ for A=(1224) and b=(36)?