Home · Math · Algebra · Characteristic Polynomial Calculator

Characteristic Polynomial Calculator

The characteristic polynomial of a 2×2 matrix: λ² − (trace)λ + determinant, with the trace and determinant computed here.

Your figures

Example result — edit the figures to make it yours

5

Determinant (constant term)

Trace (a + d)6.00
Discriminant tr² − 4·det16.00

What this calculator does

The characteristic polynomial of a 2×2 matrix: λ² − (trace)λ + determinant, with the trace and determinant computed here. Every figure on this page is computed from the formula or definition stated below, with no hidden rounding steps, and the method notes name the exact convention where more than one exists.

The formula and method

p(λ) = λ² − (a + d)λ + (ad − bc)

For the matrix [[a, b], [c, d]] the characteristic polynomial is λ² − tr·λ + det, and its roots are the eigenvalues. The discriminant tr² − 4·det, also shown, decides whether the eigenvalues are real (≥ 0) or complex.

Worked example

With the example inputs this page opens with (a (row 1, col 1) 2, b (row 1, col 2) 1, c (row 2, col 1) 3, d (row 2, col 2) 4), the result is 5.00 — determinant (constant term). Change any figure and the result updates with the same formula.

Quick reference

Quick reference — varying a (row 1, col 1)
a (row 1, col 1)Determinant (constant term)
11.00
1.63.40
25.00
2.57.00
39.00
413.00

Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.

Common questions

How does the Characteristic Polynomial Calculator work?

The characteristic polynomial of a 2×2 matrix: λ² − (trace)λ + determinant, with the trace and determinant computed here. Matrix entries a, b, c, d → Determinant, trace, discriminant. The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.

What inputs does the Characteristic Polynomial Calculator need?

Matrix entries a, b, c, d → Determinant, trace, discriminant. Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.

Is the Characteristic Polynomial Calculator free to use?

Yes. It runs entirely in your browser with no sign-up, and the same calculator is available as an embeddable widget via the Embed button, so it can be placed on another site with its calculation intact.