Characteristic Polynomial Calculator

Find the polynomial whose roots are the eigenvalues of a matrix.

Matrix A
Size
2

Write rows separated by semicolons, like 1, 2; 3, 4.

Try

Result

You entereddet⁡(λI−(4123))\det\left(\lambda I - \begin{pmatrix} 4 & 1 \\ 2 & 3 \end{pmatrix}\right)

λ2−7λ+10\displaystyle \lambda^{2} - 7\lambda + 10

Eigenvalues

λ=2, λ=5\displaystyle \lambda = 2,\ \lambda = 5
Show the work
  1. Characteristic polynomial

    Subtract AA from λI\lambda I: λ\lambda goes on the diagonal and every entry of AA changes sign. The determinant of that matrix is the characteristic polynomial. This is the monic form det⁡(λI−A)\det\left(\lambda I - A\right), whose leading coefficient is 1; the form det⁡(A−λI)\det\left(A - \lambda I\right) differs only by the sign (−1)n\left(-1\right)^n. Its roots are the eigenvalues.

    Using p(λ)=det⁡(λI−A)p\left(\lambda\right) = \det\left(\lambda I - A\right)

    λI−A=(λ−4−1−2λ−3)\lambda I - A = \begin{pmatrix} \lambda - 4 & -1 \\ -2 & \lambda - 3 \end{pmatrix}
  2. Expand the determinant

    For a 2 by 2 matrix, multiply down the main diagonal and subtract the product of the other two entries. Then collect the terms by powers of λ\lambda.

    p(λ)=(λ−4)(λ−3)−(−1)×(−2)=λ2−7λ+10\begin{aligned} p\left(\lambda\right) &= \left(\lambda - 4\right)\left(\lambda - 3\right) - \left(-1\right) \times \left(-2\right) \\ &= \lambda^{2} - 7\lambda + 10 \end{aligned}
  3. Result

    So p(λ)=λ2−7λ+10p\left(\lambda\right) = \lambda^{2} - 7\lambda + 10. Setting it equal to 0 gives the eigenvalues of AA.

Worked examples