Matrix Size:
2
Matrix A
Advertisement Slot

What Does it Mean for a Matrix to be Diagonalizable?

A matrix \(A\) is diagonalizable if it is similar to a diagonal matrix \(D\). That is, there exists an invertible matrix \(P\) such that:

Diagonalization Condition:

\(P^{-1} A P = D = \begin{bmatrix} \lambda_1 & 0 & \dots \\ 0 & \lambda_2 & \dots \\ \vdots & \vdots & \ddots \end{bmatrix}\)

The columns of \(P\) are the linearly independent eigenvectors of \(A\), and the diagonal entries of \(D\) are the corresponding eigenvalues.

When is a Matrix Diagonalizable?

  • Distinct Eigenvalues (Sufficient Condition): If an \(n \times n\) matrix has \(n\) distinct eigenvalues, it is guaranteed to be diagonalizable.
  • Multiplicity Equality (Necessary & Sufficient): If eigenvalues repeat, the matrix is diagonalizable if and only if for each eigenvalue \(\lambda_i\), its geometric multiplicity (dimension of the nullspace of \(A - \lambda_i I\)) equals its algebraic multiplicity (multiplicity as a root of the characteristic polynomial).
  • Defective Matrices: If any eigenvalue produces fewer eigenvectors than its algebraic multiplicity, the matrix is defective and cannot be diagonalized.

Solved Examples: Diagonalizable vs. Defective

Solved Example 1: Distinct Eigenvalues (Verdict: YES)

Check if \(A = \begin{bmatrix} 1 & 1 \\ 0 & 2 \end{bmatrix}\) is diagonalizable:

Because \(A\) is upper triangular, its eigenvalues are simply the diagonal entries:

\(\lambda_1 = 1, \quad \lambda_2 = 2\)

Since the \(2 \times 2\) matrix has 2 distinct eigenvalues, their eigenvectors are guaranteed to be linearly independent.

Verdict: YES — Matrix is diagonalizable.

Solved Example 2: Defective Shear Matrix (Verdict: NO)

Check if the Jordan block \(B = \begin{bmatrix} 2 & 1 \\ 0 & 2 \end{bmatrix}\) is diagonalizable:

The characteristic equation is \((\lambda - 2)^2 = 0\), so \(\lambda = 2\) is a repeated eigenvalue with algebraic multiplicity 2.

Find the eigenspace by solving \((B - 2I)v = 0\):

\begin{bmatrix} 0 & 1 \\ 0 & 0 \end{bmatrix} \begin{bmatrix} x \\ y \end{bmatrix} = \begin{bmatrix} 0 \\ 0 \end{bmatrix} \implies y = 0

Eigenvectors must be of the form \(v = \begin{bmatrix} x \\ 0 \end{bmatrix} = x \begin{bmatrix} 1 \\ 0 \end{bmatrix}\). There is only 1 linearly independent eigenvector! Because geometric multiplicity (\(1\)) < algebraic multiplicity (\(2\)), the matrix is defective.

Verdict: NO — Matrix is defective (not diagonalizable).

Eigenvalues & Eigenvectors Solver

Calculate characteristic polynomials and exact nullspace eigensystems on our dedicated eigenvalue tool.

Explore our step-by-step Eigenvalue & Eigenvector Calculator →
Advertisement Slot

Frequently Asked Questions

An n x n matrix is diagonalizable if and only if it has n linearly independent eigenvectors. When this condition holds, there exists an invertible matrix P such that P^(-1) A P = D, where D is a diagonal matrix of eigenvalues.
Yes. If an n x n matrix has n distinct eigenvalues, eigenvectors corresponding to different eigenvalues are guaranteed to be linearly independent, making the matrix immediately diagonalizable.
A defective matrix is a square matrix that fails to be diagonalizable because it does not possess a full basis of n eigenvectors. This occurs when the geometric multiplicity of an eigenvalue is strictly less than its algebraic multiplicity.
Yes. By the Spectral Theorem, every real symmetric matrix is orthogonally diagonalizable (P^(-1) = P^T), even if eigenvalues are repeated.