Eigenvalue and Eigenvector Calculator

Find the real eigenvalues and normalized eigenvectors of a 2 by 2 matrix.

Matrix calculator
Enter every element of a 2 by 2 matrix.

About eigenvalues and eigenvectors

An eigenvalue and eigenvector describe a direction that a linear transformation does not rotate away from itself. When a square matrix multiplies an eigenvector, the result points along the same line as the original vector. The eigenvalue is the scale factor applied in that direction. A positive eigenvalue preserves direction, a negative eigenvalue reverses it, and a zero eigenvalue collapses that direction to the zero vector. These ideas make complicated matrix transformations easier to understand through a few important directions and scale factors. For a 2 by 2 matrix, the calculator forms the characteristic polynomial from the trace and determinant. Solving that quadratic equation produces up to two real eigenvalues. For each eigenvalue, it solves the homogeneous system created by subtracting that eigenvalue from the diagonal. The displayed eigenvector is normalized so its Euclidean length is one. An eigenvector can be multiplied by any nonzero constant and remain valid, so your textbook or software may show an equivalent vector with different signs or magnitudes. Eigenvalues appear throughout linear algebra, differential equations, statistics, data science, physics, engineering, and computer graphics. They reveal stable and unstable behavior in dynamic systems, principal directions in covariance matrices, vibration modes in structures, and long-term patterns in repeated matrix multiplication. Distinct eigenvalues of a 2 by 2 matrix generally provide two independent eigenvectors and make the matrix diagonalizable. A repeated eigenvalue may provide either one or two independent directions, depending on the matrix. This calculator focuses on real eigenvalues for 2 by 2 matrices and reports when the characteristic polynomial has a negative discriminant. Complex eigenvalues are mathematically valid, but they require complex-number notation beyond this focused tool. Decimal results are rounded for display, while calculations use full JavaScript floating-point precision. For exact classroom work, use the displayed result as a numerical check and retain radicals or fractions when the characteristic equation factors neatly. Always verify an eigenpair by multiplying the original matrix by the vector and comparing that product with the eigenvalue times the vector.

Eigenvalue examples

MatrixEigenvaluesInterpretation
[2, 0; 0, 3]3 and 2A diagonal matrix uses its diagonal entries.
[2, 1; 1, 2]3 and 1The principal directions are the two diagonals.
[4, 2; 1, 3]5 and 2Two distinct real eigenvalues are produced.

How to calculate eigenvalues

  1. Enter the four matrix elements by row.
  2. Select Calculate eigenvalues to solve the characteristic equation.
  3. Read each real eigenvalue and its corresponding normalized eigenvector.
  4. Verify a result by multiplying the matrix by the displayed vector.

Frequently asked questions

What is an eigenvalue?

An eigenvalue is the factor by which a matrix scales a special direction. It may be positive, negative, or zero.

What is an eigenvector?

An eigenvector is a nonzero vector whose direction is preserved by a matrix transformation. Any nonzero scalar multiple represents the same eigenvector direction.

Why can eigenvectors look different?

Eigenvectors are not unique in length or sign. Two proportional vectors describe the same eigenspace and are equally correct.

Can a matrix have complex eigenvalues?

Yes, a real matrix can have a conjugate pair of complex eigenvalues. This focused calculator identifies that case but displays only real eigenpairs.

How do I check an eigenpair?

Multiply the matrix by the proposed eigenvector. The result should equal the eigenvalue multiplied by that same vector, apart from rounding.