Characteristic Polynomial Calculator

Find the characteristic polynomial, eigenvalues, trace, and determinant of a 2×2 or 3×3 matrix with step-by-step computation and eigenvalue visualization.

Matrix A

Characteristic Polynomial
λ² − 4λ + 3
det(A − λI) expanded
Eigenvalues
3.00, 1.00
Roots of the characteristic polynomial
Trace
4.00
Sum of diagonal elements = sum of eigenvalues
Determinant
3.00
Product of eigenvalues
Number of Eigenvalues
2
A 2×2 matrix has at most 2 eigenvalues (counting multiplicity)
Matrix Size
2 × 2
Polynomial degree: 2

Eigenvalue Magnitudes

λ1
3.0000
λ2
1.0000
Positive   Negative

Step-by-Step Computation

StepDetail
A − λI[[2−λ, 1], [1, 2−λ]]
det(A − λI)(2−λ)(2−λ) − (1)(1)
Expandλ² − (2+2)λ + (2·2 − 1·1)
Simplifyλ² − 4λ + 3
Eigenvalues3.00, 1.00

Matrix A

21
12
Planning notes, formulas, and examples

About the Characteristic Polynomial Calculator

The characteristic polynomial of a square matrix A is defined as det(A − λI), where λ is a variable and I is the identity matrix. The roots of this polynomial are the eigenvalues of A — the special scalars for which the equation Av = λv has non-trivial solutions.

For a 2×2 matrix, the characteristic polynomial is always a quadratic: λ² − (trace)λ + det = 0, and its roots can be found via the quadratic formula. For a 3×3 matrix, you get a cubic polynomial whose coefficients involve the trace, the sum of 2×2 principal minors, and the determinant. Solving a cubic is more involved but this calculator handles it automatically.

Computing the characteristic polynomial is central to linear algebra and its applications in physics, engineering, data science, and differential equations. Eigenvalues determine the stability of dynamical systems, the principal components in data analysis, the natural frequencies of vibrating structures, and much more. This calculator lets you enter any 2×2 or 3×3 matrix and see its characteristic polynomial in expanded form, all eigenvalues (real and complex), the trace, determinant, and a step-by-step breakdown of the computation.

When This Page Helps

Characteristic Polynomial Calculator helps you solve characteristic polynomial problems quickly while keeping each step transparent. Instead of redoing long algebra by hand, you can enter your inputs once and immediately inspect Characteristic Polynomial, Eigenvalues, Trace to validate your work.

How to Use the Inputs

  1. Select the mode, method, or precision options that match your characteristic polynomial problem.
  2. Read Characteristic Polynomial first, then use Eigenvalues to confirm your setup is correct.
  3. Try a preset such as "2 × 2" to test a known case quickly.
  4. Compare the result with the formula and worked example so you can catch input, rounding, or setup mistakes.
Formula used
2×2: p(λ) = λ² − (a+d)λ + (ad−bc); 3×3: p(λ) = −λ³ + tr(A)λ² − (sum of 2×2 minors)λ + det(A)

Example Calculation

Result: Characteristic Polynomial shown by the calculator

Using the preset "2 × 2", the calculator evaluates the characteristic polynomial setup, applies the selected algebra rules, and reports Characteristic Polynomial with supporting checks so you can verify each transformation.

Tips & Best Practices

  • The sum of eigenvalues equals the trace of the matrix.
  • The product of eigenvalues equals the determinant.
  • A symmetric matrix always has real eigenvalues.
  • Complex eigenvalues of real matrices come in conjugate pairs.
  • The characteristic polynomial is monic of degree n for an n×n matrix.

How This Characteristic Polynomial Calculator Works

This calculator takes the problem inputs and applies the relevant characteristic polynomial relationships from your chosen method. It returns both final and intermediate values so you can audit the process instead of treating it as a black box.

Interpreting Results

Start with the primary output, then use Characteristic Polynomial, Eigenvalues, Trace, Determinant to confirm signs, magnitude, and internal consistency. If anything looks off, change one input and compare the updated outputs to isolate the issue quickly.

Study Strategy

Sources & Methodology

Last updated:

Frequently Asked Questions

  • It is det(A − λI), a polynomial in λ whose roots are the eigenvalues of the matrix A.