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
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.
This browser did not allow copying. The sentence is in the box below, already selected: copy it with your keyboard or the menu.
How to use this calculator
Fill in the fields in this order; each step takes you to its field.
- Matrix size: choose 3 × 3 or 2 × 2 (uses the top-left four entries).
- Row 1, column 1: enter a number.
- Row 1, column 2: enter a number.
- Row 1, column 3 (3 × 3 only): enter a number.
- Row 2, column 1: enter a number.
- Row 2, column 2: enter a number.
- Row 2, column 3 (3 × 3 only): enter a number.
- Row 3, column 1 (3 × 3 only): enter a number.
- Row 3, column 2 (3 × 3 only): enter a number.
- Row 3, column 3 (3 × 3 only): enter a number.
- 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
| Symbol | Meaning |
|---|---|
| Matrix size (3: 3 × 3; 2: 2 × 2 (uses the top-left four entries)) | |
| Row 1, column 1 | |
| Row 1, column 2 | |
| Row 1, column 3 (3 × 3 only) | |
| Row 2, column 1 | |
| Row 2, column 2 | |
| Row 2, column 3 (3 × 3 only) | |
| Row 3, column 1 (3 × 3 only) | |
| Row 3, column 2 (3 × 3 only) | |
| Row 3, column 3 (3 × 3 only) | |
| Coefficient of λ |
Worked example
| Matrix size | 3 × 3 |
|---|---|
| Row 1, column 1 | 2 |
| Row 1, column 2 | 1 |
| Row 1, column 3 (3 × 3 only) | 0 |
| Row 2, column 1 | 1 |
| Row 2, column 2 | 3 |
| 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 |
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.