Characteristic Polynomial Calculator

det(A − λI) polynomial

CalculatorsFreeNo Signup
4.8(497 reviews)
All Tools

Loading tool...

About Characteristic Polynomial Calculator

A characteristic polynomial calculator for square matrices. Computes det(A − λI) = (-1)ⁿ(λⁿ − tr(A)λⁿ⁻¹ + ... + (-1)ⁿdet(A)). Shows coefficients, eigenvalues (roots), trace, and determinant. Select from preset matrices. All calculations are client-side.

Characteristic Polynomial Calculator Features

  • Coefficients
  • Eigenvalues
  • Trace
  • det(A)
  • Presets
Characteristic polynomial: p(λ) = det(A − λI). For 2×2: λ² − tr(A)λ + det(A). Roots = eigenvalues. Coefficients encode: sum of eigenvalues = trace, product = determinant. Cayley-Hamilton: every matrix satisfies its own characteristic polynomial: p(A) = 0.

How to Use

Enter a matrix:

  • A: Square matrix
  • Output: p(λ) coefficients
  • Roots: Eigenvalues

Cayley-Hamilton

Every matrix satisfies its characteristic polynomial: if p(λ) = λ² − tr(A)λ + det(A), then A² − tr(A)·A + det(A)·I = 0. This allows computing A⁻¹ = (tr(A)·I − A)/det(A) for 2×2.

Coefficient Meanings

  • Leading: (−1)ⁿ
  • λⁿ⁻¹ coefficient: (−1)ⁿ⁻¹·trace
  • Constant: det(A)
  • Sum of k×k minor determinants

Step-by-Step Instructions

  1. 1Enter a matrix.
  2. 2View polynomial.
  3. 3Find eigenvalues.
  4. 4Check trace = sum(λᵢ).
  5. 5Check det = prod(λᵢ).

Characteristic Polynomial Calculator — Frequently Asked Questions

What does Cayley-Hamilton theorem mean practically?+

p(A) = 0 means any power of A can be expressed using lower powers. For 2×2: A² = tr(A)·A − det(A)·I. For n×n: Aⁿ is a combination of I, A, ..., Aⁿ⁻¹. This is how matrix exponentials and functions are computed.

How are trace and determinant related to eigenvalues?+

tr(A) = Σλᵢ (sum of eigenvalues). det(A) = Πλᵢ (product). These come from Vieta's formulas applied to the characteristic polynomial. They hold even for complex eigenvalues.

Can the characteristic polynomial have complex roots?+

Yes! Real matrices can have complex eigenvalues, always in conjugate pairs a±bi. For 2×2: complex roots when discriminant tr²−4det < 0. This corresponds to rotation-like behavior.

Share this tool: