Logo
CloutCalculator
Free Online Calculators
Math

Eigenvalue Calculator

Find eigenvalues, characteristic polynomial, trace, determinant, and real eigenvectors for 2×2 and 3×3 matrices.

Matrix size

Matrix A

A

[

4

1

2

3

]

trace(A)

7

det(A)

10

p(λ)

λ² − 7λ + 10 = 0

λ1

5

v1

[-0.7071, -0.7071]

λ2

2

v2

[0.4472, -0.8944]

Type

complex conjugate eigenvalues

Complex pair.

What is an Eigenvalue?

An eigenvalue is a scalar value. Just a number. But it tells you something important about what a matrix does when it transforms a vector.

Here's the idea. When you multiply a matrix by most vectors, the result points in a completely different direction. The vector gets rotated, stretched, squished, maybe all three at once.

But some vectors are special. When the matrix acts on them, they don't rotate at all. They just get scaled. Stretched or compressed along the same line they were already pointing.

The eigenvalue is that scaling factor. It tells you how much the vector gets stretched or shrunk during the transformation.

The equation looks like this:

Av = λv

A is your matrix. v is the special vector that doesn't change direction. λ (lambda) is the eigenvalue.

What this equation says: multiplying matrix A by vector v gives you the exact same result as just multiplying v by the number λ. The matrix transformation and the scalar multiplication produce identical outputs.

That's pretty remarkable when you think about it. A whole matrix operation collapses down to simple multiplication for these particular vectors.

What is an Eigenvector?

The eigenvector is that special vector we just talked about. The one that doesn't change direction when the matrix transformation happens.

Most vectors rotate when you apply a matrix to them. Eigenvectors don't. They stay pointed the same way. They just get longer or shorter.

The eigenvector only scales by its eigenvalue factor. If the eigenvalue is 3, the eigenvector triples in length. If the eigenvalue is 0.5, it shrinks to half. If the eigenvalue is -2, it doubles in length AND flips to point the opposite direction.

Important thing to remember: eigenvectors and eigenvalues always come in pairs. You can't have one without the other. Every eigenvalue has at least one eigenvector associated with it. Every eigenvector belongs to exactly one eigenvalue.

An eigenvector must be nonzero. The zero vector technically satisfies Av = λv for any λ, but that's not useful. We only care about actual vectors with direction and magnitude.

The Eigenvalue Equation

The fundamental equation again:

Av = λv

Let me break down each piece.

A is the matrix. Usually square. A 2x2 matrix, a 3x3 matrix, whatever size you're working with. This matrix represents some linear transformation.

v is the eigenvector. A column vector with the same number of rows as A has columns. This is what we're transforming.

λ is the eigenvalue. Lambda. Just a number. Could be positive, negative, zero, even complex.

The equation means: when you do the full matrix multiplication Av, you get the same vector you'd get by just multiplying v by the scalar λ.

Left side: matrix times vector. Right side: scalar times vector. Same result.

That's the whole thing. Finding eigenvalues and eigenvectors means finding the λ's and v's that make this equation true for a given matrix A.

How to Use the Eigenvalue Calculator

Using the calculator takes about 30 seconds once you know what you're doing.

Step 1: Choose your matrix size. The calculator handles 2x2 or 3x3 matrices. Pick whichever matches your problem.

Step 2: Enter your matrix elements row by row. Fill in each cell with the corresponding number from your matrix.

Step 3: Click calculate. That's it. One button.

Step 4: View your results. The calculator displays eigenvalues and their corresponding eigenvectors.

Results show up instantly. No waiting. The calculator handles both real and complex eigenvalues automatically. You don't need to know ahead of time which type you'll get.

Input Your Matrix

The calculator uses a grid layout matching standard matrix notation. First row inputs across the top. Second row below that. Third row if you're doing 3x3.

For a matrix like:

Copy

| 4 2 |

| 1 3 |

You'd enter 4, then 2 in the first row. Then 1, then 3 in the second row.

Be careful not to mix up your elements. Easy to accidentally swap row and column positions. Double check before hitting calculate.

The calculator accepts decimal numbers. You can enter 2.5 or -0.75 or whatever your matrix contains. Fractions work too if you convert them to decimals first.

Understanding Your Results

The calculator displays several pieces of information.

Eigenvalues appear as λ₁, λ₂, and λ₃ if you're doing a 3x3. These are the scaling factors we talked about earlier.

Eigenvectors show up paired with their eigenvalues. Each eigenvalue has at least one corresponding eigenvector.

Some eigenvalues are real numbers. Straightforward. Others are complex, meaning they have an imaginary part. Complex eigenvalues display with the imaginary unit i.

A result like "2 + 3i" means the eigenvalue has real part 2 and imaginary part 3.

If your application only needs real eigenvalues, you can ignore complex results. They're mathematically valid but might not be relevant to what you're working on.

How to Calculate Eigenvalues Manually

Maybe you want to understand what's happening under the hood. Or your professor requires showing work. Either way, here's how the math works.

Finding Eigenvalues of a 2x2 Matrix

For a 2x2 matrix, there's a nice shortcut using trace and determinant.

The formula:

λ₁,₂ = (trace ± √(trace² - 4×determinant)) / 2

Recognize that? It's basically the quadratic formula. Makes sense because the characteristic equation for a 2x2 matrix is quadratic.

Example calculation:

Take the matrix:

Copy

| 4 2 |

| 1 3 |

First, find the trace: 4 + 3 = 7

Then the determinant: (4 × 3) - (2 × 1) = 12 - 2 = 10

Plug into the formula:

  • λ = (7 ± √(49 - 40)) / 2
  • λ = (7 ± √9) / 2
  • λ = (7 ± 3) / 2

So λ₁ = (7 + 3)/2 = 5 and λ₂ = (7 - 3)/2 = 2

The eigenvalues are 5 and 2.

What are Trace and Determinant?

Trace is the sum of diagonal elements. For a 2x2 matrix:

Copy

| a b |

| c d |

Trace = a + d. Just add the top-left and bottom-right numbers.

Determinant for a 2x2 matrix is (a × d) - (b × c). Multiply diagonals and subtract.

Here's something cool. The trace equals the sum of the eigenvalues. The determinant equals the product of the eigenvalues. These relationships give you a quick sanity check on your answers.

In our example: eigenvalues 5 and 2. Sum is 7 (matches trace). Product is 10 (matches determinant). Good.

Finding Eigenvalues of a 3x3 Matrix

This gets messier. Much messier.

For 3x3 matrices, you're solving a cubic equation. Three potential solutions. The characteristic polynomial has degree three.

The method: subtract λ from each diagonal element to get (A - λI). Calculate the determinant of that matrix. Set equal to zero. Solve.

That determinant calculation alone involves several terms. Then you're solving a cubic, which doesn't always have nice closed-form solutions.

This is exactly why calculators exist for this stuff. Manual 3x3 eigenvalue calculation is tedious and error-prone. Professors assign it to make sure you understand the concept. In practice, nobody does this by hand.

How to Find Eigenvectors

Once you have eigenvalues, finding eigenvectors is a separate step. You're solving a system of linear equations.

Step-by-Step Eigenvector Calculation

For each eigenvalue λ, do this:

Step 1: Write out (A - λI). Subtract your eigenvalue from each diagonal element of the original matrix.

Step 2: Set up the equation (A - λI)v = 0. You're looking for vectors v that make this true.

Step 3: Solve the resulting system of linear equations. Usually one variable will be free.

Step 4: Express the solution using a parameter. The coefficient vector for that parameter is your eigenvector.

Example:

Using our matrix with eigenvalue λ = 5:

Copy

| 4 2 | | 5 0 | | -1 2 |

| 1 3 | - | 0 5 | = | 1 -2 |

Now solve:

Copy

-1v₁ + 2v₂ = 0

 1v₁ - 2v₂ = 0

Both equations say the same thing: v₁ = 2v₂

Let v₂ = 1 (our free parameter). Then v₁ = 2.

Eigenvector for λ = 5 is [2, 1]. Or any scalar multiple of that.

Properties of Eigenvectors

If v is an eigenvector, then any scalar multiple of v is also an eigenvector with the same eigenvalue.

Double it, halve it, multiply by -17. Still an eigenvector. Same eigenvalue.

This makes sense geometrically. We only care about direction. A vector twice as long still points the same way. It still doesn't rotate under the transformation.

That's why eigenvectors are often normalized or written with the simplest integer components. [2, 1] and [4, 2] and [1, 0.5] are all the same eigenvectors fundamentally.

Eigenvectors must be nonzero by definition. The zero vector has no direction. It can't be an eigenvector.

Real vs Complex Eigenvalues

Not every matrix has nice real number eigenvalues. Sometimes you end up in complex number territory.

When Do Complex Eigenvalues Occur?

Remember solving quadratics? Sometimes the discriminant is negative. No real solutions. Same thing happens with eigenvalue calculations.

The characteristic equation might not have real roots. When that happens, eigenvalues become complex numbers.

Complex numbers have two parts: a real part and an imaginary part. Written as a + bi, where i = √-1.

Rotation matrices are a common example. A pure 90-degree rotation matrix has eigenvalues i and -i. No real eigenvalues at all. Makes geometric sense. Rotating a vector 90 degrees means nothing stays pointed the same direction. No real eigenvectors exist.

The calculator finds eigenvalues regardless. Real or complex, it returns the answer.

Complex Eigenvalues and Eigenvectors

When eigenvalues are complex, eigenvectors become complex too. The components contain imaginary parts.

Complex eigenvalues always appear in conjugate pairs. If 2 + 3i is an eigenvalue, then 2 - 3i is also an eigenvalue. For matrices with real entries, anyway.

The calculator displays both parts. Real and imaginary. You'll see something like "eigenvalue: 2 + 3i" with a corresponding complex eigenvector.

For many applications, only real eigenvalues matter. Stability analysis, principal component analysis, certain physics problems. If you're in that situation, focus on the real eigenvalues and don't worry about complex results.

What matrix sizes does the calculator support?

The calculator works for 2x2 and 3x3 matrices.

These sizes cover most educational needs. Linear algebra courses focus heavily on 2x2 examples. 3x3 matrices appear in multivariable problems and three-dimensional applications.

Larger matrices exist, obviously. But 4x4 and beyond involve the same concepts. If you understand eigenvalues for 2x2 and 3x3, the principles extend to larger sizes.

Can the calculator find complex eigenvalues?

Yes. The calculator finds both real and complex eigenvalues automatically.

Complex eigenvalues display with their real and imaginary parts separated. You'll see both components clearly labeled.

No special settings needed. Input your matrix, get all eigenvalues regardless of type.

How accurate is the eigenvalue calculator?

The calculator uses precise mathematical algorithms. Standard numerical methods that have been refined over decades.

For matrices with exact integer or simple decimal entries, results are accurate. You can trust them.

Very large numbers might introduce floating-point considerations. Same with matrices that are nearly singular or have other special properties. But for typical homework and practical applications, accuracy isn't a concern.

What is the difference between eigenvalue and eigenvector?

Eigenvalue is a scalar. A single number. It tells you the scaling factor.

Eigenvector is a vector. Multiple components. It tells you the direction that doesn't rotate during transformation.

They're paired together. Each eigenvalue has associated eigenvectors. Each eigenvector belongs to one eigenvalue.

Think of it this way: the eigenvector says "this direction is special" and the eigenvalue says "here's what happens along that direction."

Can a matrix have negative eigenvalues?

Absolutely. Eigenvalues can be positive, negative, or zero.

Negative eigenvalues mean the eigenvector gets scaled AND flipped to point the opposite direction. An eigenvalue of -2 doubles the length while reversing direction.

Geometrically, negative eigenvalues indicate reflection is happening along that eigenvector direction.

Zero eigenvalues are interesting too. They mean the eigenvector gets crushed to the zero vector. The matrix is singular when any eigenvalue equals zero.

Why use an eigenvalue calculator?

Time savings, mainly. Even 2x2 calculations take a few minutes by hand. 3x3 matrices involve cubic equations that are genuinely tedious.

Error reduction matters too. Easy to mess up a sign or arithmetic step during manual calculation. The calculator doesn't make arithmetic mistakes.

Complex number handling happens automatically. Finding complex eigenvalues by hand requires extra steps. The calculator just does it.

For 3x3 matrices especially, calculators make sense. Solving cubic equations manually is educational once. After that, let the computer do it.

Focus on understanding instead of arithmetic. Eigenvalue concepts matter more than your ability to grind through determinant calculations.