Characteristic Polynomial Calculator

What polynomial determines your matrix eigenvalues?

Find the characteristic polynomial of any square matrix by computing det(A - λI). Essential for eigenvalue problems in linear algebra, engineering systems, and data analysis.

Updated June 2026 · How this works

Example calculation — edit any field to use your own numbers

Worth knowing
How It Works
The formula, explained simply

Think of the characteristic polynomial as a fingerprint that reveals everything about how a matrix transforms space. When you subtract λ times the identity matrix from your original matrix A, you create A - λI. The determinant of this new matrix gives you a polynomial in λ that encodes the scaling behavior of A along its principal directions.

The magic happens because eigenvalues are precisely the values of λ that make this determinant zero. At these special values, the matrix A - λI becomes singular, meaning it squashes some direction down to zero dimension. This geometric collapse corresponds to eigenvectors that get scaled rather than rotated.

For a 2x2 matrix, the characteristic polynomial always takes the form λ² - (trace)λ + (determinant). The trace captures the sum of diagonal elements, while the determinant measures the area scaling factor. Together, these two numbers completely determine the polynomial and hence all eigenvalue information.

When To Use This
Right tool, right situation

Use characteristic polynomial calculations when you need exact symbolic expressions for eigenvalues, particularly in theoretical analysis or small-matrix problems. This approach excels for 2x2 and 3x3 systems where you can factor the resulting polynomial by hand or need explicit parameter dependence.

The method proves especially valuable in control theory for stability analysis, where you need to determine how system parameters affect eigenvalue locations. Similarly, in vibration analysis, the characteristic polynomial directly relates to natural frequencies and mode shapes of mechanical systems.

Avoid this method for matrices larger than 4x4 or when you only need numerical eigenvalue approximations. Modern eigenvalue algorithms vastly outperform polynomial root-finding for large matrices. Also skip this approach when working with matrices containing measurement noise or uncertain parameters, where symbolic precision offers no practical advantage over numerical methods.

Common Mistakes
Why results sometimes look wrong

The most common error is confusing the characteristic polynomial with the minimal polynomial. While related, these serve different purposes: the characteristic polynomial always has degree n for an n×n matrix, but the minimal polynomial may have lower degree. Using the minimal polynomial when you need eigenvalue multiplicities leads to incomplete analysis.

Another frequent mistake involves sign errors when expanding the determinant. Students often forget that det(A - λI) alternates signs systematically. For 2x2 matrices, the linear coefficient is always negative trace, not positive trace. This sign error propagates through eigenvalue calculations and stability analysis.

Perhaps the most serious mistake is attempting to use the characteristic polynomial for numerical eigenvalue computation. While theoretically correct, finding polynomial roots becomes numerically unstable for matrices larger than 4x4. Professional software uses iterative methods like QR decomposition instead of polynomial root-finding for this reason.

The Math
Worked examples and deeper derivation

The characteristic polynomial arises from the fundamental eigenvalue equation Av = λv, which can be rewritten as (A - λI)v = 0. For this equation to have non-trivial solutions, the matrix A - λI must be singular, meaning its determinant equals zero.

For a 2x2 matrix with elements [a, b; c, d], the characteristic polynomial becomes det([a-λ, b; c, d-λ]) = (a-λ)(d-λ) - bc = λ² - (a+d)λ + (ad-bc). Notice how the trace (a+d) appears as the negative coefficient of λ, while the determinant (ad-bc) becomes the constant term.

Higher-order matrices follow similar patterns but with increasing complexity. A 3x3 characteristic polynomial contains terms up to λ³, with coefficients related to traces of various submatrices. The coefficients encode invariant properties: they remain unchanged under similarity transformations, making them fundamental matrix descriptors.

Stability Analysis of 2x2 System
2x2 matrix with elements [3, 1; 0, 2]
The characteristic polynomial λ² - 5λ + 6 factors to (λ-2)(λ-3), giving eigenvalues 2 and 3. Both positive eigenvalues indicate an unstable system that grows exponentially.
Oscillator System Analysis
2x2 matrix with elements [0, 1; -4, 0]
The characteristic polynomial λ² + 4 has roots ±2i, indicating purely imaginary eigenvalues. This represents a stable oscillatory system with frequency 2 rad/s.
Damped System Check
2x2 matrix with elements [0, 1; -9, -6]
The characteristic polynomial λ² + 6λ + 9 equals (λ+3)², giving a repeated eigenvalue of -3. This indicates a critically damped system that returns to equilibrium without oscillation.
Expert Unlock
The thing most explanations skip

The characteristic polynomial coefficients encode deep geometric information about the matrix transformation. The coefficient of λ^(n-k) equals (-1)^k times the sum of all k×k principal minor determinants. This connection reveals why trace and determinant appear as they do, and extends to higher-order invariants for larger matrices.

What does the characteristic polynomial tell me about my matrix?

How do I find eigenvalues from the characteristic polynomial?
Set the characteristic polynomial equal to zero and solve for λ. The roots are your eigenvalues. For a 2x2 matrix with polynomial λ² - 5λ + 6, factor to get (λ-2)(λ-3) = 0, so eigenvalues are 2 and 3.
What does it mean when the constant term is zero?
A zero constant term means zero is an eigenvalue, indicating the matrix is singular (non-invertible). This often represents a system with a null space or degeneracy.
Why does my 3x3 matrix give a cubic polynomial?
An n×n matrix always produces a degree-n characteristic polynomial. The degree equals the number of eigenvalues (counting multiplicities). A 3x3 matrix has exactly 3 eigenvalues, so the characteristic polynomial is cubic.

Need something this doesn't cover?

Suggest a tool — we'll build it →