Compute the characteristic polynomial to find all eigenvalues λ1,…,λk∈K along with their algebraic multiplicities μA(λ1),…,μA(λk).
This step finds the eigenvalue information that determines whether the matrix can be diagonalized. The absolute requirement that must be satisfied is that the characteristic polynomial χA(t) must factor completely into linear factors, meaning:
If not, then the matrix cannot be diagonalized at all.
Compute the eigenspaces for each eigenvalue by solving the homogeneous linear system:
Here we look for all vectors that "survive" when the matrix A acts on them, only changing their length by a factor of without changing their direction.
Check the diagonalization conditions by verifying whether the algebraic multiplicity equals the geometric multiplicity for all eigenvalues. Mathematically, for all i=1,…,k we must have μA(λi)=dimEigA(λi).