Eigenvalue and Eigenvector Calculator

Find eigenvalues and eigenvectors from the characteristic polynomial.

Matrix A
Size
2

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

Try

Result

You entered(1221)\begin{pmatrix} 1 & 2 \\ 2 & 1 \end{pmatrix}

λ=−1, λ=3\displaystyle \lambda = -1,\ \lambda = 3

Characteristic polynomial

λ2−2λ−3\displaystyle λ^{2} - 2λ - 3

Eigenvector for λ = -1

(1,−1)\displaystyle \left(1, -1\right)

Eigenvector for λ = 3

(1,1)\displaystyle \left(1, 1\right)
Show the work
  1. The matrix A minus lambda I

    Subtract λ\lambda from each entry on the diagonal of AA; the other entries stay as they are.

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

    For a 2 by 2 matrix, multiply down the diagonal and subtract the product of the other two entries. Expanding gives the characteristic polynomial.

    det⁡(A−λI)=(1−λ)(1−λ)−2×2=λ2−2λ−3\begin{aligned} \det\left(A - \lambda I\right) &= \left(1 - \lambda\right)\left(1 - \lambda\right) - 2 \times 2 \\ &= \lambda^{2} - 2\lambda - 3 \end{aligned}
  3. Characteristic equation

    A number λ\lambda is an eigenvalue exactly when A−λIA - \lambda I is singular, that is, when its determinant is 0. So set the characteristic polynomial equal to 0.

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

    λ2−2λ−3=0\lambda^{2} - 2\lambda - 3 = 0
  4. Factor the characteristic equation

    Find two numbers whose sum is 22 and whose product is −3-3. They are the roots, and they give the factors (λ−r)\left(\lambda - r\right).

    λ2−2λ−3=(λ+1)(λ−3)=0\begin{aligned} \lambda^{2} - 2\lambda - 3 &= \left(\lambda + 1\right)\left(\lambda - 3\right) \\ &= 0 \end{aligned}
  5. Eigenvalues

    Setting each factor equal to 0 gives the two eigenvalues.

    λ=−1, λ=3\lambda = -1,\ \lambda = 3
  6. The matrix A minus lambda I for this eigenvalue

    For the eigenvalue λ=−1\lambda = -1, subtract −1-1 from each diagonal entry of AA. An eigenvector v\mathbf{v} satisfies (A−λI)v=0\left(A - \lambda I\right)\mathbf{v} = \mathbf{0}.

    A−(−1)I=(1−(−1)221−(−1))=(2222)A - \left(-1\right)I = \begin{pmatrix} 1 - \left(-1\right) & 2 \\ 2 & 1 - \left(-1\right) \end{pmatrix} = \begin{pmatrix} 2 & 2 \\ 2 & 2 \end{pmatrix}
  7. Solve the system for the eigenvector

    Row reduce the system. 1 equation remains, and one variable is free (it can take any value).

    x1+x2=0x_1 + x_2 = 0
  8. Eigenvector

    Set the free variable to 1 and solve for the others, scaling to clear any fractions. This gives the eigenvector below. Any non-zero multiple of it is also an eigenvector.

    v=(1−1)\mathbf{v} = \begin{pmatrix} 1 \\ -1 \end{pmatrix}
  9. The matrix A minus lambda I for this eigenvalue

    For the eigenvalue λ=3\lambda = 3, subtract 33 from each diagonal entry of AA. An eigenvector v\mathbf{v} satisfies (A−λI)v=0\left(A - \lambda I\right)\mathbf{v} = \mathbf{0}.

    A−3I=(1−3221−3)=(−222−2)A - 3I = \begin{pmatrix} 1 - 3 & 2 \\ 2 & 1 - 3 \end{pmatrix} = \begin{pmatrix} -2 & 2 \\ 2 & -2 \end{pmatrix}
  10. Solve the system for the eigenvector

    Row reduce the system. 1 equation remains, and one variable is free (it can take any value).

    x1−x2=0x_1 - x_2 = 0
  11. Eigenvector

    Set the free variable to 1 and solve for the others, scaling to clear any fractions. This gives the eigenvector below. Any non-zero multiple of it is also an eigenvector.

    v=(11)\mathbf{v} = \begin{pmatrix} 1 \\ 1 \end{pmatrix}
  12. Result

    So the eigenvalues are λ=−1, λ=3\lambda = -1,\ \lambda = 3, and the eigenvectors are the ones found above.

Worked examples