Characteristic Polynomial Calculator
Work out det(λI − A) as a polynomial with exact coefficients from matrix (rows on separate lines). Det(λI − A) = λⁿ + c₁λⁿ⁻¹ + … + cₙ, by Faddeev–LeVerrier, and the page prints the substitution so the result can be checked by hand.
Characteristic Polynomial Calculator
Work out det(λI − A) as a polynomial with exact coefficients from matrix (rows on separate lines). Det(λI − A) = λⁿ + c₁λⁿ⁻¹ + … + cₙ, by Faddeev–LeVerrier, and the page prints the substitution so the result can be checked by hand.
How this page computes
Det(λI − A) = λⁿ + c₁λⁿ⁻¹ + … + cₙ, by Faddeev–LeVerrier
The λⁿ⁻¹ coefficient is −trace(A) and the constant term is (−1)ⁿ det(A). The page prints both so the polynomial can be checked against facts computed another way.
Cayley–Hamilton says the matrix satisfies its own polynomial, which is why these coefficients are what a matrix power or an inverse is built from.
The calculation runs entirely in this browser tab; nothing is uploaded.
Characteristic Polynomial Calculator computes det(λI − A) as a polynomial with exact coefficients. Det(λI − A) = λⁿ + c₁λⁿ⁻¹ + … + cₙ, by Faddeev–LeVerrier. The page prints the rule, the numbers substituted into it and the result, so the arithmetic can be checked by hand.
The λⁿ⁻¹ coefficient is −trace(A) and the constant term is (−1)ⁿ det(A). The page prints both so the polynomial can be checked against facts computed another way. Pressed with matrix 1 2; 3 4, it answers: Characteristic polynomial: λ^2 − 5λ − 2
How to use Characteristic Polynomial Calculator
Enter matrix 1 2; 3 4, then press Run: the page evaluates det(λI − A) as a polynomial with exact coefficients and prints every line of the working. Typed input is read exactly as written, and a blank field is refused with its name.
Read the first line as the answer and the lines below it as the substitution. If a value is out of range the page refuses it by field and reason instead of printing a number.
With matrix 1 2; 3 4, the answer is Characteristic polynomial: λ^2 − 5λ − 2.
Two coefficients are checks
The λⁿ⁻¹ coefficient is −trace(A) and the constant term is (−1)ⁿ det(A). The page prints both so the polynomial can be checked against facts computed another way.
Cayley–Hamilton says the matrix satisfies its own polynomial, which is why these coefficients are what a matrix power or an inverse is built from.
What to Expect
Best for
- Working out det(λI − A) as a polynomial with exact coefficients without a spreadsheet
- Checking a figure someone else quoted
- Seeing the formula behind an answer
Not ideal for
- A non-square matrix is refused, and so is a matrix above 6 by 6.
- A quantity the page cannot compute, which it refuses instead of estimating
- Rounding an answer that has an exact form
What this tool keeps
- Det(λI − A) = λⁿ + c₁λⁿ⁻¹ + … + cₙ, by Faddeev–LeVerrier
- Every input exactly as typed
What may need cleanup
- Nothing: the printed answer is the final output
- A unit conversion, if the inputs were entered in different units
Common errors
- A non-square matrix is refused, and so is a matrix above 6 by 6.
- An empty field is refused with the field's name
Example use cases
- Work out det(λI − A) as a polynomial with exact coefficients for one set of inputs
- Check the result against the formula by hand
- See which input the answer is most sensitive to
Sample input
Characteristic Polynomial Calculator: matrix 1 2; 3 4
Sample output
Characteristic polynomial: λ^2 − 5λ − 2 — det(λI − A) = λ^2 − 5λ − 2, with coefficients from Faddeev–LeVerrier.
Who this is for
- Students checking a formula
- Anyone who needs the number and the working
Frequently asked questions
What formula does this page use?
Det(λI − A) = λⁿ + c₁λⁿ⁻¹ + … + cₙ, by Faddeev–LeVerrier. The page prints the substitution as well, so the answer can be checked against the rule.
What does Characteristic Polynomial Calculator refuse?
A non-square matrix is refused, and so is a matrix above 6 by 6.
What does the default example give?
Matrix 1 2; 3 4 gives Characteristic polynomial: λ^2 − 5λ − 2. Every line below that restates the same arithmetic.
Build custom tools for your store
Join the SDK program to create useful ecommerce utilities for your store.