Eigenvalue Calculator
Eigenvalues and eigenvectors of a 2 × 2 or 3 × 3 matrix from its characteristic equation, with the trace and determinant and complex pairs a ± bi. How it works
Use the Eigenvalue Calculator
About the Eigenvalue Calculator
The matrix [1 2; 2 1] has eigenvalues 3 and −1, the roots of its characteristic equation λ² − 2λ − 3 = 0. This eigenvalue calculator takes a 2 × 2 or 3 × 3 matrix, shows the trace, determinant and characteristic equation (with the working step by step for a 2 × 2), gives complex eigenvalues as a ± bi, and lists an eigenvector for each real eigenvalue: (1, 1) for 3 and (1, -1) for −1 here.
Eigenvalues of 2 × 2 matrices
| Matrix [a b; c d] | Trace | Determinant | Characteristic equation | λ₁ | λ₂ |
|---|---|---|---|---|---|
| [1 2; 2 1] | 2 | -3 | λ² - 2λ - 3 = 0 | 3 | -1 |
| [2 0; 0 3] | 5 | 6 | λ² - 5λ + 6 = 0 | 3 | 2 |
| [4 1; 2 3] | 7 | 10 | λ² - 7λ + 10 = 0 | 5 | 2 |
| [2 1; 1 2] | 4 | 3 | λ² - 4λ + 3 = 0 | 3 | 1 |
| [5 4; 1 2] | 7 | 6 | λ² - 7λ + 6 = 0 | 6 | 1 |
| [1 2; 3 4] | 5 | -2 | λ² - 5λ - 2 = 0 | 5.3722813 | -0.37228132 |
| [0.9 0.2; 0.1 0.8] | 1.7 | 0.7 | λ² - 1.7λ + 0.7 = 0 | 1 | 0.7 |
| [1 1; 0 1] | 2 | 1 | λ² - 2λ + 1 = 0 | 1 | 1 |
| [0 -1; 1 0] | 0 | 1 | λ² + 1 = 0 | 0 + 1i | 0 - 1i |
| [3 -2; 4 -1] | 2 | 5 | λ² - 2λ + 5 = 0 | 1 + 2i | 1 - 2i |
Enter a and b in the top row of the tool and c and d in the bottom row. Values are shown to 8 significant digits.
Eigenvalues and eigenvectors of 3 × 3 matrices
| Matrix [a b c; d e f; g h i] | Characteristic equation | Eigenvalues | Eigenvectors |
|---|---|---|---|
| [2 -1 0; -1 2 -1; 0 -1 2] | λ³ - 6λ² + 10λ - 4 = 0 | 3.4142136, 2, 0.58578644 | (0.5, -0.707107, 0.5); (1, 0, -1); (0.5, 0.707107, 0.5) |
| [1 5 7; 0 2 9; 0 0 3] | λ³ - 6λ² + 11λ - 6 = 0 | 3, 2, 1 | (26, 9, 1); (5, 1, 0); (1, 0, 0) |
| [2 0 0; 0 2 0; 0 0 3] | λ³ - 7λ² + 16λ - 12 = 0 | 3, 2, 2 | (0, 0, 1); (1, 0, 0) and (0, 1, 0) |
| [0 -1 0; 1 0 0; 0 0 1] | λ³ - λ² + λ - 1 = 0 | 1, 0 + 1i, 0 - 1i | (0, 0, 1); none shown for the complex pair |
Eigenvectors are listed in the order of the eigenvalues, a repeated eigenvalue once. Rational eigenvalues get exact whole-number vectors; 2 ± √2 in the first row gets unit-length decimal vectors to 6 significant digits.
Frequently asked questions
- How do you find the eigenvalues of a 2x2 matrix step by step?
- Solve det(A − λI) = 0, which for [a b; c d] is λ² − (a + d)λ + (ad − bc) = 0. For [4 1; 2 3] the trace is 7 and the determinant 10, so λ² − 7λ + 10 = 0, which factors as (λ − 5)(λ − 2) = 0: the eigenvalues are 5 and 2. The Steps panel under a 2 × 2 result shows the same working with your numbers: for [1 2; 2 1] the trace is 2, the determinant −3, the discriminant 2² − 4·(−3) = 16, its square root 4, and λ = (2 ± 4) / 2 gives 3 and −1.
- Is there a shortcut formula for 2x2 eigenvalues?
- λ = tr/2 ± √((tr/2)² − det). For [1 2; 3 4], tr/2 = 2.5 and det = -2, so λ = 2.5 ± √8.25, which the tool shows as 5.3722813 and -0.37228132.
- When are the eigenvalues complex?
- When the discriminant tr² − 4·det is negative. For [3 -2; 4 -1] it is 2² − 4×5 = -16, so the eigenvalues are 1 + 2i and 1 − 2i. The rotation matrix [0 -1; 1 0] gives ±i.
- What does a repeated eigenvalue mean?
- The discriminant is 0 and both roots are equal. [1 1; 0 1] has the eigenvalue 1 twice. The tool computes the discriminant exactly, so a repeated eigenvalue is shown as repeated, not as a complex pair.
- Does it find eigenvectors?
- Yes, one or more for each real eigenvalue, from solving (A − λI)v = 0. For [1 2; 2 1] and λ = 3, A − 3I = [-2 2; 2 -2], so v = (1, 1); for λ = -1, v = (1, -1). Check: [1 2; 2 1] times (1, 1) is (3, 3). A rational eigenvalue gets an exact whole-number vector, an irrational one a unit-length decimal vector, and complex eigenvalues get none.
- Can it do 3x3 matrices?
- Yes. Press 3 × 3 and fill in the nine entries. The characteristic equation is the cubic λ³ − tr·λ² + m·λ − det = 0, with m the sum of the principal 2 × 2 minors: [2 -1 0; -1 2 -1; 0 -1 2] gives λ³ - 6λ² + 10λ - 4 = 0 and the eigenvalues 3.4142136, 2 and 0.58578644, which are 2 + √2, 2 and 2 − √2.
Related Tools
View all toolsSystem of Equations Solver
Solve 2 or 3 linear equations exactly, with Gauss-Jordan or Cramer’s rule steps and a graph of two lines. Says when there is no solution or infinitely many.
Matrix Calculator
Add, subtract and multiply matrices up to 10 × 10, or get the determinant, inverse, transpose, rank and row-reduced form. Answers are exact fractions.
RREF Calculator
Reduce a matrix of up to 6 × 6 to reduced row echelon form by Gauss-Jordan elimination, with rank, pivot columns and row steps, as decimals or exact fractions.
Determinant Calculator
Determinant of a square matrix up to 10 × 10 as an exact fraction and a decimal, with the cofactor working shown for 2 × 2 and 3 × 3.
Quadratic Equation Solver
Solve ax² + bx + c = 0 for real or complex roots, with the discriminant, vertex, axis of symmetry, step list and a parabola plot.
Slope Calculator
Enter two points for the slope (also as a fraction), y-intercept, distance, angle and line equation, or find a missing coordinate from a point and a slope.