Eigenvalue and eigenvector calculator

Enter your values. The answer and the full worked solution update as you type.

Result

λ15
λ23
λ32
Characteristic polynomialλ³ − 10λ² + 31λ − 30
Trace10
Determinant30
EigenvalueMultiplicityEigenvectorUnit eigenvector
51(2, 0, 1)(0.8944, 0, 0.4472)
31(1, 1, −1)(0.5774, 0.5774, −0.5774)
21(1, 0, −1)(0.7071, 0, −0.7071)

Find the eigenvalues and eigenvectors of a 2×2 or 3×3 matrix. The calculator expands det(A − λI) into the characteristic polynomial, solves it for real or complex eigenvalues with their multiplicity, and finds the eigenvectors of every real eigenvalue by solving (A − λI)v = 0. Each eigenvector is checked by computing A·v, and for repeated eigenvalues it shows whether the matrix can be diagonalised.

Step-by-step solution

Characteristic equation det(A − λI) = 0

det(A − λI) = (4 − λ)[(3 − λ)(3 − λ) − 0·(−1)] − 1[0(3 − λ) − 0·1] + 2[0·(−1) − (3 − λ)·1]
= −(λ³ − 10λ² + 31λ − 30)
tr A = 10, sum of the principal 2×2 minors = 31, det A = 30
λ³ − (tr A)λ² + (ΣM)λ − det A = λ³ − 10λ² + 31λ − 30 = 0

Eigenvalues

(λ − 5)(λ − 3)(λ − 2) = 0
λ = 5, 3, 2
Check: Σλ = 10 = tr A

Eigenvector (λ = 5)

A − λI = [−1 1 2; 0 −2 0; 1 −1 −2]
(A − λI)·v = 0 → v = (2, 0, 1)
A·(2, 0, 1) = (10, 0, 5) = 5·(2, 0, 1) ✓

Eigenvector (λ = 3)

A − λI = [1 1 2; 0 0 0; 1 −1 0]
(A − λI)·v = 0 → v = (1, 1, −1)
A·(1, 1, −1) = (3, 3, −3) = 3·(1, 1, −1) ✓

Eigenvector (λ = 2)

A − λI = [2 1 2; 0 1 0; 1 −1 1]
(A − λI)·v = 0 → v = (1, 0, −1)
A·(1, 0, −1) = (2, 0, −2) = 2·(1, 0, −1) ✓

Key formulas

Eigenvalues
det(A − λI) = 0

How to find eigenvalues and eigenvectors

  1. Subtract λ from every diagonal entry of A to get A − λI.
  2. Set the determinant to zero: det(A − λI) = 0. For a 2×2 matrix this is λ² − (tr A)λ + det A = 0; for a 3×3 matrix it is a cubic equation.
  3. Solve the characteristic equation. Check: the eigenvalues add up to the trace and multiply to the determinant.
  4. For each eigenvalue, solve (A − λI)v = 0 by row reduction. The solutions form a line (or a plane); any non-zero vector in it is an eigenvector.
  5. Check every eigenvector: A·v must equal λ·v.

Questions and answers

How do I enter the matrix?

Type the rows separated by semicolons and the numbers in each row separated by spaces, for example 4 1 2; 0 3 0; 1 -1 3 for a 3×3 matrix. Decimals and negative numbers are allowed.

Why can a matrix have complex eigenvalues?

The characteristic polynomial can have complex roots, and for a real matrix they always come in conjugate pairs. The rotation matrix 0 -1; 1 0 has the eigenvalues ±i, because no real vector keeps its direction under a rotation.

What does a repeated eigenvalue mean?

A root of the characteristic polynomial with multiplicity 2 or 3. The matrix may still have that many independent eigenvectors, like the identity matrix, or fewer. With fewer it is defective and cannot be diagonalised.

Is the eigenvector unique?

No. Any non-zero multiple of an eigenvector is also an eigenvector. The calculator shows a simple form, with whole numbers where possible, and the unit vector of length 1.

What are eigenvalues used for?

They give the natural frequencies of vibrating systems, the principal stresses of a stress tensor, the stability of systems of differential equations and the main directions in principal component analysis.

Practise it yourself

Practise Matrices & determinants

A calculator gives the answer. In the exam you need the method: practise it with new problems, hints and worked solutions.

</> Embed

Free for teachers and schools: paste this code into your course page, LMS or website. Students can use the calculator and its worked solution without an account.

More calculators