Calculate matrix eigenvalues
Select a matrix size, enter its values, and calculate the eigenvalues. This calculator supports real-valued matrices of size 1×1 and 2×2.
What are matrix eigenvalues?
An eigenvalue is a number that describes how a square matrix acts on a particular nonzero vector. If multiplying a matrix by a vector produces a scalar multiple of that vector, the scalar is an eigenvalue.
Here, A is a square matrix, v is a nonzero eigenvector, and λ is its corresponding eigenvalue. Rearranging gives (A − λI)v = 0. A nonzero solution exists only when the matrix A − λI is singular.
This equation is called the characteristic equation. Its roots are the eigenvalues of A.
Formula for 2×2 matrix eigenvalues
For the matrix
[ c d ]
The characteristic equation is
The trace is a + d and the determinant is ad − bc. Applying the quadratic formula gives:
Understanding the discriminant
Positive
Δ > 0: two distinct real eigenvalues.
Zero
Δ = 0: a repeated real eigenvalue.
Negative
Δ < 0: a complex-conjugate pair.
Worked example: find two eigenvalues
Consider the matrix
[ 2 3 ]
Step 1: Find the trace and determinant
det(A) = (4 × 3) − (1 × 2) = 10
Step 2: Form the characteristic equation
Step 3: Factor the polynomial
Step 4: Read the eigenvalues
The eigenvalues sum to 7, which is the trace, and multiply to 10, which is the determinant. Select the 2×2 option and load the example above to check the result.
Example with complex eigenvalues
A real matrix can have eigenvalues that are complex numbers. Consider a rotation matrix:
[ 1 0 ]
Its trace is 0 and its determinant is 1. Therefore, its characteristic equation is:
These eigenvalues are a complex-conjugate pair. The calculator displays the real and imaginary parts of such eigenvalues.
Properties of eigenvalues
Sum of eigenvalues
For a 2×2 matrix, the eigenvalues counted with multiplicity add up to the trace of the matrix.
Product of eigenvalues
The product of the eigenvalues, counted with multiplicity, equals the determinant.
Triangular matrices
For an upper- or lower-triangular matrix, the eigenvalues are its diagonal entries.
Frequently asked questions
What is an eigenvalue of a matrix?
An eigenvalue is a scalar λ for which a square matrix A has a nonzero vector x satisfying Ax = λx. The matrix transforms that vector by scaling it by λ.
How do you calculate eigenvalues of a 2×2 matrix?
Find the trace and determinant, then solve λ² − tr(A)λ + det(A) = 0 using the quadratic formula.
Can eigenvalues be complex numbers?
Yes. A real matrix can have complex eigenvalues. For a real 2×2 matrix, a negative characteristic-equation discriminant produces a complex-conjugate pair.
What does a repeated eigenvalue mean?
A repeated eigenvalue appears more than once as a root of the characteristic polynomial. A repeated eigenvalue does not necessarily mean there are multiple independent eigenvectors.
What is the characteristic equation?
The characteristic equation is det(A − λI) = 0. Its roots are the eigenvalues of the square matrix A.
Can this calculator solve a 3×3 or larger matrix?
This version supports 1×1 and 2×2 matrices. General eigenvalue calculations for larger matrices require more advanced numerical methods, so those sizes are not offered by this calculator.
What is the relationship between eigenvalues, trace, and determinant?
For a 2×2 matrix, the sum of its two eigenvalues equals the trace, and their product equals the determinant, counting repeated eigenvalues with multiplicity.
Explore more matrix calculators
Continue learning about matrix operations and linear algebra.