Eigenvalues and Eigenvectors Calculator

Find eigenvalues and eigenvectors of a square matrix.

FreeNo accountOn your device

Runs in your browser. How to verify

Loading tool…

About this tool

Enter a square matrix to get its eigenvalues and eigenvectors. [2 1; 1 2] has eigenvalues 1 and 3 with eigenvectors (0.707107, −0.707107) and (0.707107, 0.707107).

How to use

1
Step 1
Type a square matrix.
2
Step 2
Choose eigen.
3
Step 3
Press Calculate to see the eigenvalues and the eigenvector for each.

How it works

An eigenvector v of A satisfies Av = λv for some scalar λ, the eigenvalue. The eigenvalues are the roots of det(A − λI) = 0. A rotation matrix such as [0 −1; 1 0] has no real eigenvalues and returns the complex pair i and −i.

Av = λv      det(A − λI) = 0      trace(A) = Σλ      det(A) = Πλ

Worked example

A 2×2 with distinct eigenvalues

Input
[4 1; 2 3]
Output
λ = 2 and λ = 5
Walkthrough
det(A − λI) = (4 − λ)(3 − λ) − 2 = λ² − 7λ + 10 = (λ − 2)(λ − 5). Check: the trace 7 = 2 + 5 and the determinant 10 = 2 × 5.

Limitations

  • The matrix must be square.
  • A defective matrix such as [1 1; 0 1] has eigenvalue 1 twice but only one independent eigenvector, which is what the tool returns.
  • Eigenvectors are returned as columns and are not always scaled to length 1 (for [4 1; 2 3] the second has length 2.53), so normalise them if you need unit vectors.

Questions

What are the eigenvalues of [2 1; 1 2]?
1 and 3.
What are the eigenvalues of [4 1; 2 3]?
2 and 5.
What are the eigenvalues of [0 −1; 1 0]?
The complex pair i and −i, because the matrix is a 90° rotation.
What are the eigenvalues of [1 2; 3 4]?
−0.372281 and 5.37228.

Features

  • Real and complex eigenvalues
  • Eigenvectors as columns
  • Runs in your browser

Related resources

Guides and videos from around the web—opens on YouTube or the publisher’s site.

  • Derivative as a concept

    Khan Academy

    When general calculators hand off to calculus tools.

    Watch on YouTube
  • Variables, expressions, and equations

    Khan Academy

    Expression language for scientific and expression calculators.

    Watch on YouTube
  • Percentages

    Math is Fun

    Percent of / percent change patterns for everyday calculators.

  • Math is Fun

    Math is Fun

    Clear explainers that pair well with calculator-style tools.