Eigenvalue and Eigenvector Calculator (2×2 and 3×3)
AlgebraFreeNo sign-up
An eigenvalue calculator solves det(A − λI) = 0. For A = [[4, 1], [2, 3]], the trace is 7 and the determinant is 10, so the characteristic polynomial is λ² − 7λ + 10 = (λ − 5)(λ − 2). The eigenvalues are 5 and 2. Solving (A − λI)v = 0 gives the eigenvectors (1, 1) for λ = 5 and (1, −2) for λ = 2.
det(A − λI) = 0 → λ² − 7λ + 10 = 0
The 2×2 matrix has characteristic polynomial λ² − 7λ + 10 and eigenvalues 5, 2. For λ = 5: eigenvector (1, 1). For λ = 2: eigenvector (1, −2).
Eigenvalues and eigenvectors
| Eigenvalue | Alg. mult. | Geo. mult. | Eigenvector(s) |
|---|---|---|---|
| λ₁ = 5 | 1 | 1 | (1, 1) |
| λ₂ = 2 | 1 | 1 | (1, −2) |
Show steps
- Subtract λ from each diagonal entry to get A − λI:
4 − λ 1 2 3 − λ - det(A − λI) = (4 − λ)(3 − λ) − (1)(2) = λ² − (trace)λ + det = λ² − 7λ + 10, with trace = 7 and det(A) = 10.
- Look for rational roots: try divisors of the constant term (over divisors of the leading coefficient). p(2) = 0 and p(5) = 0, so λ = 2 and λ = 5 are eigenvalues.
- All roots found: λ = 5, 2. Factored: (λ − 5)(λ − 2) = 0.
- For λ₁ = 5, solve (A − 5I)v = 0. The matrix
row-reduces to−1 1 2 −2
One free variable (y). Set it to 1, solve for the others and clear any fractions: (1, 1).1 −1 0 0 - For λ₂ = 2, solve (A − 2I)v = 0. The matrix
row-reduces to2 1 2 1
One free variable (y). Set it to 1, solve for the others and clear any fractions: (1, −2).1 1/2 0 0 - Check: the eigenvalues (counted with multiplicity) add up to the trace 7 and multiply to the determinant 10. ✓
Every eigenvector can be multiplied by any nonzero number and is still an eigenvector, so your answer may be a multiple of the one shown. Check it with Av = λv.
How to use the eigenvalue calculator
- Choose a 2 × 2 or 3 × 3 matrix and type the entries row by row. Whole numbers, decimals and fractions such as 3/4 all work.
- Read the eigenvalues, the characteristic polynomial (factored when possible), the trace, the determinant and whether the matrix is diagonalizable.
- Use the table for each eigenvalue’s algebraic multiplicity, geometric multiplicity and eigenvectors. Exact fractions, square roots and complex numbers are kept exact.
- Open Show steps to see A − λI, the determinant, how the polynomial was solved, and the row reduction for every eigenvector.
How eigenvalues and eigenvectors work
An eigenvector of a square matrix A is a nonzero vector v that A only stretches: Av = λv. The number λ is its eigenvalue. Rewriting the equation as (A − λI)v = 0 shows that A − λI must send a nonzero vector to 0, which happens exactly when its determinant is 0. That gives the characteristic equation det(A − λI) = 0, a polynomial equation in λ of the same degree as the size of the matrix.
The 2 × 2 shortcut
For A = [[a, b], [c, d]], the characteristic polynomial is λ² − (a + d)λ + (ad − bc), that is λ² − (trace)λ + det. Then λ = (trace ± √(trace² − 4·det))/2. The discriminant trace² − 4·det tells you the type: positive gives two real eigenvalues, zero gives one repeated eigenvalue, and negative gives a complex conjugate pair.
The 3 × 3 formula
For a 3 × 3 matrix, det(λI − A) = λ³ − (trace)λ² + Mλ − det(A), where M is the sum of the three principal 2 × 2 minors (delete row i and column i, take the determinant, add the three results). Look for rational roots among the divisors of det(A), divide them out, and solve the remaining quadratic.
Worked examples
Example 1: a 2 × 2 matrix with whole-number eigenvalues
A = [[4, 1], [2, 3]] has trace 7 and determinant 4 · 3 − 1 · 2 = 10, so λ² − 7λ + 10 = 0 and λ = 5 or 2. For λ = 5, A − 5I = [[−1, 1], [2, −2]] gives −x + y = 0, so v = (1, 1). For λ = 2, A − 2I = [[2, 1], [2, 1]] gives 2x + y = 0, so v = (1, −2). Check: 5 + 2 = 7 is the trace and 5 · 2 = 10 is the determinant.
Example 2: complex eigenvalues
A = [[2, −1], [1, 2]] has trace 4 and determinant 5, so λ² − 4λ + 5 = 0. The discriminant is 16 − 20 = −4, so λ = (4 ± 2i)/2 = 2 ± i. For λ = 2 + i, the first row of A − λI is (−i, −1), which gives the eigenvector (1, −i). The eigenvector for 2 − i is its conjugate, (1, i).
Example 3: a 3 × 3 matrix with a repeated eigenvalue
A = [[2, 0, 0], [1, 3, 1], [1, 1, 3]] has trace 8, principal minors 8, 6 and 6 (sum 20) and determinant 16, so p(λ) = λ³ − 8λ² + 20λ − 16 = (λ − 2)²(λ − 4). For λ = 2, A − 2I has rank 1, so there are two free variables and two independent eigenvectors, (1, −1, 0) and (1, 0, −1). For λ = 4 the eigenvector is (0, 1, 1). Every eigenvalue has as many eigenvectors as its multiplicity, so A is diagonalizable.
Example 4: a triangular matrix
For A = [[2, 1, 0], [0, 3, 4], [0, 0, 5]], everything below the diagonal is 0, so det(A − λI) is the product of the diagonal entries (2 − λ)(3 − λ)(5 − λ). The eigenvalues are simply 2, 3 and 5.
Algebraic and geometric multiplicity
The algebraic multiplicity of an eigenvalue is how many times it is a root of the characteristic polynomial. The geometric multiplicity is how many independent eigenvectors it has, which is the number of free variables when you row-reduce A − λI. The geometric multiplicity is always at least 1 and never more than the algebraic one. When they are equal for every eigenvalue, A is diagonalizable: A = PDP⁻¹ with the eigenvectors as the columns of P.
| Matrix | Eigenvalues | Eigenvectors | Diagonalizable? |
|---|---|---|---|
| [[4, 1], [2, 3]] | 5, 2 | (1, 1), (1, −2) | yes |
| [[3, 1], [0, 3]] | 3 (twice) | (1, 0) only | no |
| [[5, 0], [0, 5]] | 5 (twice) | (1, 0), (0, 1) | yes |
| [[1, 1], [1, 0]] | (1 ± √5)/2 | (1 ± √5, 2) | yes |
| [[2, −1], [1, 2]] | 2 ± i | (1, ∓i) | yes, over ℂ |
Common mistakes with eigenvalues
- Subtracting λ from every entry. Only the diagonal entries change: A − λI subtracts λ on the diagonal.
- Sign errors in the determinant. For 2 × 2, it is (a − λ)(d − λ) − bc. Check your polynomial: its λ coefficient must be −trace and its constant must be det(A).
- Giving the zero vector as an eigenvector. v = 0 always solves (A − λI)v = 0, but it is never an eigenvector.
- Thinking your eigenvector is wrong because it differs from the book. Any nonzero multiple of an eigenvector is also an eigenvector. Check it with Av = λv.
- Assuming a repeated eigenvalue gives two eigenvectors. [[3, 1], [0, 3]] has λ = 3 twice but only one independent eigenvector.
Eigenvalue practice quiz: 10 questions
Test yourself with 10 multiple-choice questions. Choose an answer and press Submit to see if you are right and why. Your score appears at the end.
Trace = 7 and det = 10 − 4 = 6, so λ² − 7λ + 6 = (λ − 6)(λ − 1) = 0. The diagonal entries are eigenvalues only for triangular matrices.
For a triangular matrix, det(A − λI) is the product of the diagonal entries minus λ, so the eigenvalues are the diagonal entries.
A − 5I = [[−3, 3], [0, 0]] gives −3x + 3y = 0, so y = x. Check: A(1, 1) = (5, 5) = 5(1, 1). (1, 0) belongs to λ = 2.
Trace 0 and det 1 give λ² + 1 = 0, so λ = ±i. This matrix rotates the plane by 90°, so no real vector keeps its direction.
λ = 4 has algebraic multiplicity 2, but A − 4I = [[0, 1], [0, 0]] has only one free variable, so there is one independent eigenvector, (1, 0). The matrix is not diagonalizable.
The determinant is the product of the eigenvalues: 2 × (−1) × 5 = −10. Their sum, 6, is the trace.
A(2v) = 2Av = 2(3v) = 6v. Any nonzero multiple of an eigenvector is an eigenvector with the same eigenvalue.
Trace 2 and det 1 − 4 = −3 give λ² − 2λ − 3 = (λ − 3)(λ + 1) = 0. The matrix is symmetric, so its eigenvalues are real.
Quiz complete
Frequently asked questions
How do you calculate eigenvalues?
Subtract λ from the diagonal of A, take the determinant, and set it equal to 0. The roots of that characteristic polynomial are the eigenvalues. For a 2 × 2 matrix, solve λ² − (trace)λ + det = 0.
What is the eigenvalue equation?
Av = λv, where v is a nonzero vector and λ is a number. It says that A acting on v only scales it by λ. Its consequence det(A − λI) = 0 is the characteristic equation used to find λ.
How do you calculate eigenvalues and eigenvectors?
First find each eigenvalue from det(A − λI) = 0. Then, for each λ, solve the system (A − λI)v = 0 by row reduction. The free variables give the eigenvectors: set one free variable to 1 at a time and solve for the rest.
How do you find the eigenvalues of a 3 × 3 matrix?
Write the cubic λ³ − (trace)λ² + Mλ − det(A), where M is the sum of the principal 2 × 2 minors. Test rational candidates (divisors of det(A)), divide out each root you find, and solve the quadratic that is left. If the cubic has no rational roots, the roots must be found numerically.
What is eigenvalue analysis?
It is the study of a matrix through its eigenvalues and eigenvectors. Engineers use it to find natural vibration frequencies, statisticians use it in principal component analysis, and in systems of differential equations or Markov chains the eigenvalues decide whether solutions grow, decay or settle to a steady state.
Related calculators
- Matrix calculator
- Cramer's rule calculator
- System of equations calculator
- Vector calculator
- Complex number calculator
More algebra calculators
Related to This Article
More math articles
- Geometry Puzzle – Challenge 67
- Courts, Civil Liberties, and Equal Protection
- Ideal Gas Law Calculator: Solve PV = nRT for Pressure, Volume, Moles or Temperature
- Long Division by One Digit for 4th Grade
- The Intermediate Value Theorem
- For a price taker, price equals marginal revenue
- Free Grade 3 English Worksheets for ACT Aspire
- The Best Grade 5 ELA Practice Tests for Alabama Students
- Political violence
- ASVAB Math Knowledge: Why It’s the Hardest Section (and How to Crush It)









What people say about "Eigenvalue and Eigenvector Calculator: 2×2, 3×3, Steps"?
No one replied yet.