Characteristic Polynomial Calculator

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

Matrix A
Size
3

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

Try

Result

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

λ3−14λ2+35λ−22\displaystyle \lambda^{3} - 14\lambda^{2} + 35\lambda - 22

Eigenvalues

λ=1, λ=2, λ=11\displaystyle \lambda = 1,\ \lambda = 2,\ \lambda = 11
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=(λ−2000λ−3−40−4λ−9)\lambda I - A = \begin{pmatrix} \lambda - 2 & 0 & 0 \\ 0 & \lambda - 3 & -4 \\ 0 & -4 & \lambda - 9 \end{pmatrix}
  2. Coefficients from principal minors

    Expanding the determinant gives λ3\lambda^{3} minus E1λ2E_1 \lambda^{2}, plus E2λE_2 \lambda, and so on with alternating signs. Here EkE_k is the sum of all the kk by kk principal minors: the determinants of the blocks cut from the same kk rows and columns. So E1E_1 is the trace (the sum of the diagonal) and E3E_{3} is the determinant.

    Using p(λ)=λ3−E1λ2+E2λ−E3p\left(\lambda\right) = \lambda^{3} - E_1\lambda^{2} + E_2\lambda - E_3

    E1=tr⁡(A)=2+3+9=14,  E2=6+18+11=35,  E3=det⁡(A)=22E_1 = \operatorname{tr}\left(A\right) = 2 + 3 + 9 = 14,\ \ E_2 = 6 + 18 + 11 = 35,\ \ E_3 = \det\left(A\right) = 22
  3. Assemble the polynomial

    Put the sums into the pattern, then simplify the signs.

    p(λ)=λ3−14λ2+35λ−22p\left(\lambda\right) = \lambda^{3} - 14\lambda^{2} + 35\lambda - 22
  4. Result

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

Worked examples