Skip to content
FiftyCalc Free calculators for all 50 states

Characteristic Polynomial Calculator

Test cases replayed : 3 of 3 match · Methodology · No outside source listed

Choose the size and enter the matrix; the result is the polynomial det(λI − A), whose roots are the eigenvalues.

Result

Sample figures

Coefficient of λ—

Coefficient of λ³ —

  • Coefficient of λ²—
  • Constant term—

Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.

Characteristic Polynomial Calculator

Matrix size: choose 3 × 3 or 2 × 2 (uses the top-left four entries). Prefilled example: 3 × 3.

Row 1, column 1: enter a number. Prefilled example: 2.

Row 1, column 2: enter a number. Prefilled example: 1.

Row 1, column 3 (3 × 3 only): enter a number. Prefilled example: 0.

Row 2, column 1: enter a number. Prefilled example: 1.

Row 2, column 2: enter a number. Prefilled example: 3.

Row 2, column 3 (3 × 3 only): enter a number. Prefilled example: 1.

Row 3, column 1 (3 × 3 only): enter a number. Prefilled example: 0.

Row 3, column 2 (3 × 3 only): enter a number. Prefilled example: 1.

Row 3, column 3 (3 × 3 only): enter a number. Prefilled example: 4.

How to use this calculator

Fill in the fields in this order; each step takes you to its field.

  1. Matrix size: choose 3 × 3 or 2 × 2 (uses the top-left four entries).
  2. Row 1, column 1: enter a number.
  3. Row 1, column 2: enter a number.
  4. Row 1, column 3 (3 × 3 only): enter a number.
  5. Row 2, column 1: enter a number.
  6. Row 2, column 2: enter a number.
  7. Row 2, column 3 (3 × 3 only): enter a number.
  8. Row 3, column 1 (3 × 3 only): enter a number.
  9. Row 3, column 2 (3 × 3 only): enter a number.
  10. Row 3, column 3 (3 × 3 only): enter a number.
  11. Read the result: Coefficient of λ; the panel also shows Coefficient of λ³, Coefficient of λ² and Constant term.

How this calculator works

For a 2 × 2 matrix: det(λI − A) = λ² − (trace A) λ + det A.

For a 3 × 3 matrix: det(λI − A) = λ³ − (trace A) λ² + (sum of the three principal 2 × 2 minors) λ − det A. The principal minors are a₁₁a₂₂ − a₁₂a₂₁, a₁₁a₃₃ − a₁₃a₃₁ and a₂₂a₃₃ − a₂₃a₃₂.

Its roots are the eigenvalues of A. Some books use det(A − λI), which differs by the factor (−1)ⁿ.

The formula

  1. K1={a11×a22−a12×a21+(a11×a33−a13×a31)+(a22×a33−a23×a32)+0if s=3−(a11+a22)+0otherwise
Symbols used in the formula
SymbolMeaning
sMatrix size (3: 3 × 3; 2: 2 × 2 (uses the top-left four entries))
a11Row 1, column 1
a12Row 1, column 2
a13Row 1, column 3 (3 × 3 only)
a21Row 2, column 1
a22Row 2, column 2
a23Row 2, column 3 (3 × 3 only)
a31Row 3, column 1 (3 × 3 only)
a32Row 3, column 2 (3 × 3 only)
a33Row 3, column 3 (3 × 3 only)
K1Coefficient of λ

Worked example

Matrix size3 × 3
Row 1, column 12
Row 1, column 21
Row 1, column 3 (3 × 3 only)0
Row 2, column 11
Row 2, column 23
Row 2, column 3 (3 × 3 only)1
Row 3, column 1 (3 × 3 only)0
Row 3, column 2 (3 × 3 only)1
Row 3, column 3 (3 × 3 only)4
Coefficient of λ³1
Coefficient of λ²-9
Constant term-18
  1. K1=2×3−1×1+(2×4−0×0)+(3×4−1×1)+0=24

Coefficient of λ 24

Each step uses the unrounded value of the step before it; figures on this page are rounded for display.

Frequently asked questions

What is the characteristic polynomial of [[4, 1], [2, 3]]?

λ² − 7λ + 10, whose roots 5 and 2 are the eigenvalues.

What does the constant term tell me?

It is (−1)ⁿ × det A, so the matrix is invertible exactly when it is not 0.

Related calculators