Characteristic Polynomial and Characteristic Equation

April 13, 2026

Problem

For A = [[3, 1],[0, 2]], find the characteristic polynomial, its roots, and factor it completely.

Explanation

The characteristic polynomial

For an n×nn \times n matrix AA, the characteristic polynomial is p(λ)=det⁡(A−λI)p(\lambda) = \det(A - \lambda I)

It is a polynomial of degree exactly nn in λ\lambda, and its roots are the eigenvalues of AA. Setting p(λ)=0p(\lambda) = 0 gives the characteristic equation.

Key facts about p(λ)p(\lambda)

For any n×nn \times n matrix: p(λ)=(−1)nλn+(−1)n−1tr⁡(A)λn−1+⋯+det⁡(A)p(\lambda) = (-1)^n \lambda^n + (-1)^{n-1} \operatorname{tr}(A) \lambda^{n-1} + \cdots + \det(A)

The leading coefficient alternates sign with nn. The constant term (value at λ=0\lambda = 0) is det⁡A\det A.

For 2×22 \times 2: p(λ)=λ2−tr⁡(A)λ+det⁡(A)p(\lambda) = \lambda^2 - \operatorname{tr}(A) \lambda + \det(A)

Memorizing this short form saves time for 2×22 \times 2 eigenvalue problems.

Step-by-step

A=(3102)A = \begin{pmatrix} 3 & 1 \\ 0 & 2 \end{pmatrix} (an upper triangular matrix).

Step 1 — Compute A−λIA - \lambda I. A−λI=(3−λ102−λ)A - \lambda I = \begin{pmatrix} 3 - \lambda & 1 \\ 0 & 2 - \lambda \end{pmatrix}

Step 2 — Compute the determinant. p(λ)=det⁡(A−λI)=(3−λ)(2−λ)−(1)(0)=(3−λ)(2−λ)p(\lambda) = \det(A - \lambda I) = (3 - \lambda)(2 - \lambda) - (1)(0) = (3 - \lambda)(2 - \lambda)

Step 3 — Expand and verify. p(λ)=λ2−5λ+6p(\lambda) = \lambda^2 - 5\lambda + 6

Quick sanity check via short form: tr⁡(A)=3+2=5\operatorname{tr}(A) = 3 + 2 = 5 and det⁡(A)=3⋅2−0=6\det(A) = 3 \cdot 2 - 0 = 6. So p(λ)=λ2−5λ+6p(\lambda) = \lambda^2 - 5\lambda + 6 ✓

Step 4 — Find the roots. λ2−5λ+6=0  ⟹  (λ−3)(λ−2)=0\lambda^2 - 5\lambda + 6 = 0 \implies (\lambda - 3)(\lambda - 2) = 0 λ1=3,λ2=2\lambda_1 = 3, \quad \lambda_2 = 2

These are the eigenvalues.

Triangular shortcut

For a triangular matrix (upper or lower), the eigenvalues are simply the diagonal entries. You can read them off without any calculation: A=(3102)  ⟹  λ=3,2A = \begin{pmatrix} 3 & 1 \\ 0 & 2 \end{pmatrix} \implies \lambda = 3, 2

This works because det⁡(A−λI)\det(A - \lambda I) for a triangular matrix is the product of diagonal entries (3−λ)(2−λ)(3 - \lambda)(2 - \lambda).

Algebraic vs. geometric multiplicity

If (λ−λi)k(\lambda - \lambda_i)^k divides the characteristic polynomial, λi\lambda_i has algebraic multiplicity kk. Its geometric multiplicity is dim⁡Null⁡(A−λiI)\dim \operatorname{Null}(A - \lambda_i I).

  • Geometric multiplicity ≤\le algebraic multiplicity always.
  • If equal for every eigenvalue, AA is diagonalizable.
  • If strictly less for some eigenvalue, AA is defective (not diagonalizable).

For our matrix, both eigenvalues have algebraic multiplicity 1 → diagonalizable.

Cayley-Hamilton theorem

Every matrix satisfies its own characteristic equation: p(A)=0p(A) = 0.

For our example: p(λ)=λ2−5λ+6p(\lambda) = \lambda^2 - 5\lambda + 6, so A2−5A+6I=0A^2 - 5A + 6 I = 0.

Check: A2=(9504)A^2 = \begin{pmatrix} 9 & 5 \\ 0 & 4 \end{pmatrix}, 5A=(155010)5 A = \begin{pmatrix} 15 & 5 \\ 0 & 10 \end{pmatrix}, 6I=(6006)6 I = \begin{pmatrix} 6 & 0 \\ 0 & 6 \end{pmatrix}. A2−5A+6I=(9−15+65−5+004−10+6)=(0000)✓A^2 - 5A + 6I = \begin{pmatrix} 9 - 15 + 6 & 5 - 5 + 0 \\ 0 & 4 - 10 + 6 \end{pmatrix} = \begin{pmatrix} 0 & 0 \\ 0 & 0 \end{pmatrix} ✓

This gives an easy way to compute A−1A^{-1}: A⋅(5I−A)=6IA \cdot (5I - A) = 6 I, so A−1=(5I−A)/6A^{-1} = (5 I - A)/6. (Works when det⁡A≠0\det A \ne 0, i.e. the constant term is non-zero.)

Common mistakes

  • Sign slip in A−λIA - \lambda I. The diagonal gets −λ-\lambda, nothing else.
  • Missing the (−1)n(-1)^n coefficient. For large matrices, the leading sign matters.
  • Assuming real roots. Real matrices can have complex eigenvalues (e.g. rotations), in conjugate pairs.
  • Using det⁡(λI−A)\det(\lambda I - A) instead of det⁡(A−λI)\det(A - \lambda I). These differ only by a sign of (−1)n(-1)^n — same roots, same polynomial up to an overall sign.

Try it in the visualization

Plot p(λ)=det⁡(A−λI)p(\lambda) = \det(A - \lambda I) against λ\lambda. Zero crossings = eigenvalues. Adjust AA's entries and watch the polynomial warp; the roots slide accordingly.

Interactive Visualization

Parameters

3.00
1.00
0.00
2.00
Your turn

Got your own math or physics problem?

Turn any problem into an interactive visualization like this one — powered by AI, generated in seconds. Free to try, no credit card required.

Sign Up Free to Try It30 free visualizations every day
Characteristic Polynomial and Characteristic Equation | MathSpin