Characteristic Polynomial

Solve the characteristic polynomial equation to find a matrix's eigenvalues—the scaling factors that reveal how the matrix transforms vectors.

det(AλI)=0\det(A - \lambda I) = 0

Solve a problem with Characteristic Polynomial

Type the problem. The solver will use Characteristic Polynomial where Characteristic Polynomial is the right tool, and tell you when it is not.

Drag one in or paste from the clipboard. JPEG, PNG or WebP. You get the transcription to check before anything is solved.

How to get a better answer
  • Paste the whole problem, including the instruction word — "simplify", "solve for x" and "factor" lead to three different answers.
  • Say what you have already tried. "I got x = 4 and the book says 2" turns a solution into a diagnosis.
  • Set the level in the settings button. A calculus shortcut is not a better answer if you have not met derivatives yet.
  • For a photo, get the whole problem in frame and hold the page flat — you get the transcription to fix before anything is solved.

What each symbol means

What Characteristic Polynomial takes
AA
λ\lambda
II
Characteristic Polynomial
SymbolMeaning
AAThe square matrix whose eigenvalues you want to find; if AA is not square, the characteristic polynomial does not exist.
λ\lambdaThe eigenvalue variable you are solving for; a scalar (real or complex) satisfying det(AλI)=0\det(A - \lambda I) = 0.
IIThe identity matrix of the same size as AA, with 1s on the diagonal and 0s elsewhere; using any other matrix here will produce the wrong eigenvalues.

When to use it

Use the characteristic polynomial when you need to find the eigenvalues of a matrix.

Level

Usually taught in: Linear Algebra

Worked examples

1. Find eigenvalues of an upper triangular matrix

Problem

Find all eigenvalues of the matrix A=(2103)A = \begin{pmatrix} 2 & 1 \\ 0 & 3 \end{pmatrix}.
  1. AλI=(2λ103λ)A - \lambda I = \begin{pmatrix} 2 - \lambda & 1 \\ 0 & 3 - \lambda \end{pmatrix}

    We form AλIA - \lambda I by subtracting λ\lambda from each diagonal entry.

  2. det(AλI)=(2λ)(3λ)(1)(0)\det(A - \lambda I) = (2 - \lambda)(3 - \lambda) - (1)(0)

    For a 2×2 matrix, the determinant is (top-left)(bottom-right) minus (top-right)(bottom-left).

  3. (2λ)(3λ)=65λ+λ2(2 - \lambda)(3 - \lambda) = 6 - 5\lambda + \lambda^2

    Expanding: 23=62 \cdot 3 = 6, 2(λ)+(λ)3=5λ2 \cdot (-\lambda) + (-\lambda) \cdot 3 = -5\lambda, (λ)(λ)=λ2(-\lambda)(-\lambda) = \lambda^2.

  4. λ25λ+6=0\lambda^2 - 5\lambda + 6 = 0

    Set the characteristic polynomial equal to zero.

  5. (λ2)(λ3)=0(\lambda - 2)(\lambda - 3) = 0

    Factor by finding two numbers that multiply to 6 and add to 5-5: these are 2-2 and 3-3.

  6. λ=2 or λ=3\lambda = 2 \text{ or } \lambda = 3

    Each factor gives one eigenvalue.

Answer: λ=2 or λ=3\lambda = 2 \text{ or } \lambda = 3

For upper triangular matrices (all entries below the diagonal are zero), the eigenvalues are exactly the diagonal entries—this is a special property that makes computation fast. Here we see it confirmed: the diagonal holds 2 and 3, matching our eigenvalues.

2. Find eigenvalues when entries are negative

Problem

Find all eigenvalues of A=(1222)A = \begin{pmatrix} 1 & 2 \\ 2 & -2 \end{pmatrix}.
  1. AλI=(1λ222λ)A - \lambda I = \begin{pmatrix} 1 - \lambda & 2 \\ 2 & -2 - \lambda \end{pmatrix}

    Subtract λ\lambda from each diagonal entry.

  2. det(AλI)=(1λ)(2λ)(2)(2)\det(A - \lambda I) = (1 - \lambda)(-2 - \lambda) - (2)(2)

    Apply the 2×2 determinant formula.

  3. (1λ)(2λ)=2λ+2λ+λ2=λ2+λ2(1 - \lambda)(-2 - \lambda) = -2 - \lambda + 2\lambda + \lambda^2 = \lambda^2 + \lambda - 2

    Expand: 1(2)=21 \cdot (-2) = -2, 1(λ)+(λ)(2)=λ+2λ=λ1 \cdot (-\lambda) + (-\lambda) \cdot (-2) = -\lambda + 2\lambda = \lambda, (λ)(λ)=λ2(-\lambda)(-\lambda) = \lambda^2.

  4. λ2+λ24=λ2+λ6\lambda^2 + \lambda - 2 - 4 = \lambda^2 + \lambda - 6

    Subtract the off-diagonal product (2)(2)=4(2)(2) = 4.

  5. λ2+λ6=0\lambda^2 + \lambda - 6 = 0

    Set the characteristic equation to zero.

  6. (λ+3)(λ2)=0(\lambda + 3)(\lambda - 2) = 0

    Factor: find two numbers multiplying to 6-6 and adding to 1; these are 3 and 2-2.

  7. λ=3 or λ=2\lambda = -3 \text{ or } \lambda = 2

    Solve each factor.

Answer: λ=3 or λ=2\lambda = -3 \text{ or } \lambda = 2

This example shows that matrices with negative entries produce real eigenvalues just as easily—the characteristic polynomial correctly handles mixed signs. One eigenvalue is negative, which in applications means the matrix stretches vectors in one direction while flipping them in another.

3. Model concert ticket sales growth rates

Problem

A concert venue tracks monthly sales of regular and VIP tickets, represented by RR and VV (in tens of tickets). Monthly changes follow the coupled system Rnew=9R+VR_{\text{new}} = 9R + V and Vnew=R+9VV_{\text{new}} = R + 9V. This gives the transition matrix A=(9119)A = \begin{pmatrix} 9 & 1 \\ 1 & 9 \end{pmatrix}. Find the growth rates (eigenvalues) that determine long-term sales behavior.
  1. AλI=(9λ119λ)A - \lambda I = \begin{pmatrix} 9 - \lambda & 1 \\ 1 & 9 - \lambda \end{pmatrix}

    Form AλIA - \lambda I.

  2. det(AλI)=(9λ)2(1)(1)\det(A - \lambda I) = (9 - \lambda)^2 - (1)(1)

    Use the 2×2 determinant formula.

  3. (9λ)2=8118λ+λ2(9 - \lambda)^2 = 81 - 18\lambda + \lambda^2

    Expand using (ab)2=a22ab+b2(a-b)^2 = a^2 - 2ab + b^2 with a=9a = 9 and b=λb = \lambda.

  4. 8118λ+λ21=λ218λ+8081 - 18\lambda + \lambda^2 - 1 = \lambda^2 - 18\lambda + 80

    Subtract 1 from the expanded square.

  5. λ218λ+80=0\lambda^2 - 18\lambda + 80 = 0

    Set the characteristic polynomial equal to zero.

  6. λ=18±(18)24(1)(80)2(1)=18±3243202\lambda = \frac{18 \pm \sqrt{(-18)^2 - 4(1)(80)}}{2(1)} = \frac{18 \pm \sqrt{324 - 320}}{2}

    Apply the quadratic formula λ=b±b24ac2a\lambda = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a} with a=1a = 1, b=18b = -18, c=80c = 80.

  7. λ=18±42=18±22\lambda = \frac{18 \pm \sqrt{4}}{2} = \frac{18 \pm 2}{2}

    Simplify the discriminant: 4=2\sqrt{4} = 2.

  8. λ=202=10 or λ=162=8\lambda = \frac{20}{2} = 10 \text{ or } \lambda = \frac{16}{2} = 8

    Compute both solutions.

Answer: λ=10 or λ=8\lambda = 10 \text{ or } \lambda = 8

The eigenvalues λ=10\lambda = 10 and λ=8\lambda = 8 represent two independent growth modes: the dominant mode (λ=10\lambda = 10) means sales in both categories grow tenfold per month when they move together, while the secondary mode (λ=8\lambda = 8) captures balanced oscillations between regular and VIP. This analysis is crucial for predicting inventory needs and marketing strategy.

Common mistakes

Where Characteristic Polynomial usually goes wrong
Answer came out wrong
Computing det(A)=0\det(A) = 0 instead of det(AλI)=0\det(A - \lambda I) = 0
Always subtract λI\lambda I from AA before taking the determinant: the equation must be det(AλI)=0\det(A - \lambda I) = 0, not det(A)=0\det(A) = 0.
Assuming the eigenvalues are the diagonal entries of AA
Solve det(AλI)=0\det(A - \lambda I) = 0 fully by expanding and factoring or using the quadratic formula; do not assume any entry is an eigenvalue just because it is on the diagonal.
Expanding det(AλI)\det(A - \lambda I) incorrectly, such as writing det(A)nλ\det(A) - n\lambda (where nn is the matrix size)
Compute the full determinant carefully: expand products and collect all powers of λ\lambda from λ0\lambda^0 up to λn\lambda^n, then solve the resulting polynomial equation.
The mistakeWhy it is wrongThe fix
Computing det(A)=0\det(A) = 0 instead of det(AλI)=0\det(A - \lambda I) = 0The determinant of AA alone is just a number—it has no dependence on λ\lambda, so it cannot produce the eigenvalues.Always subtract λI\lambda I from AA before taking the determinant: the equation must be det(AλI)=0\det(A - \lambda I) = 0, not det(A)=0\det(A) = 0.
Assuming the eigenvalues are the diagonal entries of AADiagonal entries equal eigenvalues only when AA is already diagonal; for general matrices, eigenvalues come from solving the polynomial, not reading them off.Solve det(AλI)=0\det(A - \lambda I) = 0 fully by expanding and factoring or using the quadratic formula; do not assume any entry is an eigenvalue just because it is on the diagonal.
Expanding det(AλI)\det(A - \lambda I) incorrectly, such as writing det(A)nλ\det(A) - n\lambda (where nn is the matrix size)The determinant det(AλI)\det(A - \lambda I) is a polynomial of degree nn in λ\lambda, not a linear expression; this mistake loses the coupling terms.Compute the full determinant carefully: expand products and collect all powers of λ\lambda from λ0\lambda^0 up to λn\lambda^n, then solve the resulting polynomial equation.

Tips and when to use something else

  • The sum of all eigenvalues equals the trace of AA (sum of diagonal entries), and their product equals det(A)\det(A)—use these as quick sanity checks on your answer.
  • An n×nn \times n matrix always has exactly nn eigenvalues when counted with multiplicity and including complex numbers; if you found fewer, check your algebra.
  • The characteristic polynomial only finds eigenvalues; to find eigenvectors, solve (AλI)v=0(A - \lambda I)\mathbf{v} = \mathbf{0} separately for each eigenvalue using Gaussian elimination.
  • If you only need to determine whether a matrix is invertible, skip the characteristic polynomial and just compute det(A)0\det(A) \neq 0 directly—a matrix is invertible if and only if zero is not an eigenvalue.

Frequently asked questions

Why do we subtract λI\lambda I instead of just subtracting λ\lambda from each entry of AA?
Subtracting λ\lambda from each entry would not be matrix arithmetic; we need to subtract the scalar λ\lambda only from the diagonal, which is exactly what subtracting the matrix λI\lambda I does. If we subtracted λ\lambda from every entry, we would lose information and get the wrong eigenvalues.
Can a matrix have repeated eigenvalues?
Yes. For example, the identity matrix I=(1001)I = \begin{pmatrix} 1 & 0 \\ 0 & 1 \end{pmatrix} has characteristic polynomial (λ1)2=0(\lambda - 1)^2 = 0, so λ=1\lambda = 1 is a repeated eigenvalue with multiplicity 2. Repeated eigenvalues are common in applications like vibration analysis and differential equations.
Do eigenvalues always have to be real numbers?
No. Rotation matrices and other real matrices often have complex eigenvalues. For instance, the 90° rotation matrix (0110)\begin{pmatrix} 0 & -1 \\ 1 & 0 \end{pmatrix} has characteristic polynomial λ2+1=0\lambda^2 + 1 = 0 with solutions λ=±i\lambda = \pm i. Complex eigenvalues encode information about oscillation and rotation.
What is the characteristic polynomial actually used for in real applications?
Eigenvalues determine stability in differential equations (medicine, engineering), natural frequencies in vibrating systems (buildings, bridges), ranking in search algorithms (Google PageRank), compression in data analysis (principal component analysis), and long-term behavior in Markov chains (finance, genetics). The characteristic polynomial is the gateway to all these applications.

Need a different method?

The full solver is not scoped to one formula — type any problem and it will pick the method.

Open the math solver

Reviewed 2026-09-18