Quick answer

For an n×n matrix A, the characteristic polynomial is p(λ) = det(A − λI). Its roots are eigenvalues of A (over ℂ).

Formula

  • p(λ) = det(A − λI)
  • Characteristic equation: p(λ) = 0
  • deg p(λ) = n

Introduction

When a course asks for the characteristic polynomial of a matrix, you are building a single polynomial in λ from a determinant. That object connects matrix entries to eigenvalues, stability questions, and later topics such as diagonalization. Use the Characteristic Polynomial Calculator on our home page to compare numeric output while you study the ideas below.

In introductory linear algebra, p(λ) is usually the first place eigenvalues appear as roots of an equation rather than as vectors in a definition. Keeping the vocabulary straight (polynomial versus equation, determinant versus eigenvector) prevents many homework errors.

This article focuses on definition and meaning. After you are comfortable with the object itself, move to the formula identities and the manual expansion checklist in the guides linked throughout the sections below.

Definition, meaning, and matrix polynomial idea

Start with a square matrix A. Form A − λI by subtracting λ from each diagonal entry while leaving off-diagonal entries unchanged. The characteristic polynomial is p(λ) = det(A − λI), a polynomial of degree n in the indeterminate λ.

Meaning: p(λ) records which scalars λ make A − λI singular. Equivalently, those λ satisfy (A − λI)v = 0 for some nonzero vector v. That is the eigenvalue condition in polynomial form.

Matrix polynomial viewpoint: although λ is a scalar symbol, det(A − λI) is built from the entries of A using determinant algebra. Coefficients summarize invariants such as trace and determinant, which is why the characteristic polynomial formula article is the natural next read after definitions.

Relationship to eigenvalues is direct: eigenvalues are roots of p(λ). Algebraic multiplicity counts how many times a linear factor appears when p(λ) factors over ℂ.

Real-world applications include checking whether a 2×2 or 3×3 model from engineering class has real or complex modes, verifying software linear algebra output, and preparing for stability analysis in differential equations where exponential rates come from eigenvalues.

Students often confuse p(λ) with the characteristic equation p(λ) = 0. The polynomial is the expanded determinant; the equation is what you solve for eigenvalues. Both belong to the same topic, but exam questions may ask for only one of them.

Core identities

  • p(λ) = det(A − λI)
  • p(λ) = det(λI − A) (same roots; related by (−1)^n)
  • Constant term: p(0) = det(A)

These identities hold for every square size assigned in a typical linear algebra course. Complex-number courses may use different adjoint language later; here λ is a real or complex scalar indeterminate.

The constant term check is a fast sanity test: plug λ = 0 into the expanded polynomial and you should obtain det(A). If not, revisit the expansion before factoring.

Some instructors define p(λ) = det(λI − A). Eigenvalues agree because an overall sign does not change roots. Match your textbook when using the home calculator variant toggle.

Once notation is stable, practice constructing A − λI on paper for a 3×3 matrix. The step-by-step method for finding p(λ) turns the definition into a repeatable checklist.

Step-by-step overview

  1. Confirm A is square (n×n). Characteristic polynomials are not defined for rectangular matrices. Note the size n because degree and cofactor work depend on it.
  2. Write A − λI explicitly. Subtract λ from each diagonal entry. Off-diagonal entries copy from A. Label positions to avoid row-column swaps.
  3. Expand det(A − λI). Use cofactor expansion or determinant rules that preserve the determinant. Keep λ symbolic throughout.
  4. Collect powers of λ. Combine like terms into standard form cnλn + … + c0. Degree should be n.
  5. Read off det(A) and trace checks. Constant term equals det(A). For 2×2, coefficient of λ links to trace once you fix the monic convention your class uses.
  6. Connect roots to eigenvalues when required. Solve p(λ) = 0 only after the polynomial is correct. Factoring is a separate skill from expansion.

Numeric illustration

Let A = [[2, 1], [1, 2]]. Then A − λI = [[2−λ, 1], [1, 2−λ]] and p(λ) = (2−λ)² − 1 = λ² − 4λ + 3.

Factor to (λ − 1)(λ − 3). Eigenvalues are 1 and 3 with algebraic multiplicity one each.

For a 3×3 diagonal matrix, expansion collapses to a product of diagonal factors. That pattern appears often in exams because it rewards structure recognition.

Enter the same matrices on the home calculator to confirm expansions before you invest time in eigenvector computation.