Introduction
This eigenvector calculator finds the eigenvalues and eigenvectors of any square matrix, from 1×1 up to 8×8. Type your numbers into the grid, press Calculate, and you get the answer with every step shown.
An eigenvector is a special vector. When you multiply it by a matrix, it does not change direction. It only gets longer or shorter. The number that tells you how much it stretches is called the eigenvalue. In math symbols, we write this as Av = λv.
The calculator shows you the characteristic polynomial, the roots of that polynomial (your eigenvalues), and the row reduction work that gives each eigenvector. You can pick the characteristic polynomial method or the direct row reduction method. Each step has an "Explain this step" button if you want to know why it works.
You can enter plain numbers, fractions like 1/3, square roots like sqrt(2), or even complex numbers with i. Results can show as decimals or exact fractions. For 2×2 and 3×3 matrices with real answers, a graph draws the eigenvector directions so you can see what is happening.
There is also a check tool. Enter your own vector and the calculator will tell you if it is a true eigenvector. That makes it handy for homework, class study, and linear algebra practice.
How to use our Eigenvector Calculator
Type the numbers of a square matrix into the grid, then press Calculate. The tool gives you the characteristic polynomial, the eigenvalues, the eigenvectors, step-by-step work, and a plot.
What do you want to compute: Pick "Eigenvalues & Eigenvectors" for the full answer, "Characteristic Polynomial only" for just the polynomial, or "Eigenvalues only" for just the roots.
Rows: Enter how many rows your matrix has, from 1 to 8.
Columns: Enter how many columns your matrix has, from 1 to 8. It must match the rows, since only square matrices have eigenvalues.
Size picker: Click a square in the small grid to set the matrix size fast, up to 8×8.
Matrix A cells: Type one value in each box. You can use whole numbers, decimals, fractions like 1/3, roots like sqrt(2), pi, e, or i. Type I to fill the identity matrix. You can also paste rows from a spreadsheet.
Plus and minus buttons: Use them to add or remove a row or a column without retyping your matrix.
Math keyboard: Open it to tap symbols like √, ^, π, and i straight into the box you clicked last.
Image upload: Add a photo or picture of your matrix to read the numbers from, then type them into the grid.
Examples: Click any example to load a ready-made matrix and see a full solution.
Show results as exact fractions: Turn this on for fractions like 1/3. Leave it off for decimals.
Precision mode: Choose significant figures or decimal places for your answers.
Digits: Pick how many digits to show, from 1 to 15.
Complex number format: Choose rectangular (a + bi) or polar (r·e^(iθ)) for complex eigenvalues.
Solution method: In the steps card, pick "Characteristic Polynomial" or "Direct Substitution / Row Reduction" to change how the work is shown.
Verify Your Answer: Open it, type your own eigenvector, choose an eigenvalue, and press Check to see if Av = λv.
Calculate and Reset: Press Calculate to solve. Press Reset to start over with the default matrix.
What Are Eigenvalues and Eigenvectors?
A matrix can move a vector. It can turn the vector, stretch it, or shrink it. But some special vectors never turn. They only get longer or shorter, or flip to point the other way. Those special vectors are called eigenvectors. The number that tells how much the vector was stretched is called an eigenvalue.
The Main Rule
Eigenvectors and eigenvalues follow one simple equation:
Av = λv
- A is a square matrix (same number of rows and columns).
- v is the eigenvector. It can never be all zeros.
- λ (lambda) is the eigenvalue, just a single number.
In plain words: multiplying the matrix by the vector gives the same answer as multiplying the vector by one number.
How You Find Them
- Subtract λ down the diagonal. Build the matrix A − λI, where I is the identity matrix.
- Take the determinant and set it to zero. This gives det(A − λI) = 0, called the characteristic equation. The left side is the characteristic polynomial.
- Solve for λ. The roots of that polynomial are the eigenvalues. An n×n matrix has n of them, counting repeats.
- Plug each λ back in. Row-reduce (A − λI)v = 0 and solve. The answers are the eigenvectors for that eigenvalue.
Multiplicity: Two Kinds
Algebraic multiplicity is how many times an eigenvalue shows up as a root of the polynomial. Geometric multiplicity is how many independent eigenvectors that eigenvalue actually gives you.
When the geometric number is smaller than the algebraic number, the matrix is called defective. A defective matrix cannot be diagonalized, because it does not have enough independent eigenvectors to fill the space.
Complex Eigenvalues
Some real matrices have eigenvalues with an imaginary part, like 2 + 3i. This happens when the matrix rotates vectors, so no real vector keeps its direction. For a real matrix, these always come in pairs: if a + bi is an eigenvalue, then a − bi is one too. Their eigenvectors are pairs as well.
Quick Facts That Help You Check Your Work
- Add up all the eigenvalues, and you get the trace (the sum down the diagonal of A).
- Multiply all the eigenvalues, and you get the determinant of A.
- If one eigenvalue is 0, the matrix has no inverse.
- A triangular or diagonal matrix has its eigenvalues sitting right on the diagonal.
- A symmetric matrix with real entries always has real eigenvalues and a full set of eigenvectors.
- Any eigenvector can be scaled. If v works, then 2v, −v, and 0.5v all work with the same eigenvalue.
Why They Matter
Eigenvalues and eigenvectors show the hidden directions inside a transformation. Engineers use them to find how bridges and buildings shake. Google's PageRank used them to rank web pages. Data scientists use them in Principal Component Analysis (PCA) to shrink big data sets. Physicists use them in quantum mechanics to find energy levels. Computer graphics uses them for scaling and shape analysis.