Eigenvalue and Eigenvector Calculator
If analyzing matrices gives you a headache, this eigenvalue and eigenvector calculator is the perfect tool for you. It will allow you to find the eigenvalues of a matrix of size 2x2 or 3x3 matrix and will even save you time by finding the eigenvectors as well. In this article, we will provide you with explanations and handy formulas to ensure you understand how this calculator works and how to find eigenvalues and eigenvectors in general.
Let's dive right in!
2x2 matrix
A 2x2 matrix A has the following form:
where a₁, a₂, b₁ and b₂ are the elements of the matrix. Our eigenvalue and eigenvector calculator uses the form above, so make sure to input the numbers properly – don't mix them up!
Calculating the trace and determinant
In the case of a 2x2 matrix, in order to find the eigenvectors and eigenvalues, it's helpful first to get two very special numbers: the trace and the determinant of the array. Lucky for us, the eigenvalue and eigenvector calculator will find them automatically, and if you'd like to see them, click on the advanced mode
button. In case you want to check if it gave you the correct answer or simply perform the calculations by hand, follow the steps below:

Trace: the trace of a matrix is defined as the sum of the elements on the main diagonal (from the upper left to the lower right). It is also equal to the sum of the eigenvalues (counted with their multiplicities). In the case of a 2x2 matrix, it is:
tr(A) = a₁ + b₂

Determinant: the determinant of a matrix is useful in multiple further operations – for example, finding the inverse of a matrix. For a 2x2 matrix, the determinant is:
A = a₁b₂  a₂b₁
How to find eigenvalues
Each 2x2 matrix A has two eigenvalues: λ₁ and λ₂. These are defined as numbers that fulfill the following condition for a nonzero column vector v = (v₁, v₂), which we call an eigenvector:
A × v = λ × v
You can also find another equivalent version of the equation above:
(A  λI)v = 0
where I
is the 2x2 identity matrix.
Knowing the trace and determinant, it is a trivial task to find the eigenvalues of a matrix – all you have to do is input these values into the following equations:
λ₁ = tr(A)/2 + √((tr(A)²/4  A)
λ₂ = tr(A)/2  √(tr(A)²/4  A)
Some matrices have only one eigenvalue. Examples of such arrays include matrices of the form:
or...
Make sure to experiment with our calculator to see which matrices have only one eigenvalue!
Eigenvalue and eigenvector calculator – 2x2 matrices
You can also use our calculator for finding eigenvectors. In essence, learning how to find eigenvectors boils down to directly solving the equation:
(q  λI)v = 0
Note that if a matrix has only one eigenvalue, it can still have multiple eigenvectors corresponding to it. For instance, the identity matrix:
...has only one (double) eigenvalue λ = 1
, but two eigenvectors: v₁ = (1,0)
and v₂ = (0,1)
.
Remember that if a vector v is an eigenvector, then the same vector multiplied by a scalar is also an eigenvector of the same matrix. If you would like to simplify the solution provided by our calculator, head over to the unit vector calculator.
How to find eigenvalues and eigenvectors of 3x3 matrices
Let's now try to translate all this into the language of 3x3 matrices. First of all, let's see an example of such an object:
where for us, the entries a₁, a₂, up to c₃ are real numbers.
In general, most of the definitions above are the same for 3x3 matrices. For instance, the trace is the sum of the cells on the main diagonal:
tr(A) = a₁ + b₂ + c₃
However, the determinant is now a more complicated manner:
A = a₁×b₂×c₃ + a₂×b₃×c₁ + a₃×b₁×c₂  a₃×b₂×c₁  a₂×b₁×c₃  a₁×b₃×c₂
Now, when it comes to how to find eigenvectors and eigenvalues, the definition is again the same: they are the numbers λ
and vectors v
that satisfy the matrix equation:
A × v = λ × v
where the multiplication on the left is matrix multiplication. However, the trick is that this time the equation is far more complicated. In particular, the formulas from above don't work here.
In the case of 2x2 matrices, it all boils down to the quadratic formula. However, when the arrays are of size 3x3, we obtain a cubic equation, i.e., an equation with the variable to the third power. And such things are not so easy to calculate.
Fortunately, we have the eigenvalue and eigenvector calculator that can hide all these ugly formulas and effortlessly give us a pretty answer.
But is the answer always a pretty one?
Complex eigenvalues and eigenvectors
Quadratic and cubic equations sometimes have no real solutions. This means that there is no real number (the kind of number that we learned when we were little kids) that satisfies this formula. Therefore, in the field of real numbers, it's not always possible to find the eigenvalues of a matrix. However, in mathematics, there is an extension in which that can never happen: every equation has as many solutions (counted with their multiplicities) as its degree.
Complex numbers, formally speaking, are pairs of real numbers. The first of the pair is called the real part, and the second the imaginary part (yup, that's exactly what professional mathematicians called it). The second one has the mysterious number i
, which we define as the square root of (1)
. They told us at school that such things don't exist, didn't they? Well, they do, but they're imaginary.
For us, this means that the calculator will always know how to find the eigenvectors and eigenvalues of a matrix. Once it does that, it's crucial to know if the problem you're solving uses complex numbers or just the real ones. Just to be on the safe side, our eigenvalue and eigenvector calculator will show you all the values and their corresponding eigenvectors, be they real or complex.
However, if you only need the real ones, feel free to ignore all that have an i
in them. Just keep in mind that they do exist, even though they're imaginary.
FAQ
How do I find eigenvalues and eigenvectors?
To find an eigenvalue, λ
, and its eigenvector, v
, of a square matrix, A
, you need to:
 Write the determinant of the matrix, which is
A  λI
withI
as the identity matrix.  Solve the equation
det(A  λI) = 0
forλ
(these are the eigenvalues).  Write the system of equations
Av = λv
with coordinates ofv
as the variable.  For each
λ
, solve the system of equations,Av = λv
.  Write the solution of
Av = λv
with parameters.  For each parameter, its coefficient is the coordinate of an eigenvector.
 Group the coefficients corresponding to each parameter to form an eigenvector
v
.
How do I find eigenvalues of a 3x3 matrix?
To find the eigenvalues λ₁
, λ₂
, λ₃
of a 3x3 matrix, A
, you need to:
 Subtract
λ
(as a variable) from the main diagonal ofA
to getA  λI
.  Write the determinant of the matrix, which is
A  λI
.  Solve the cubic equation, which is
det(A  λI) = 0
, forλ
.  The (at most three) solutions of the equation are the eigenvalues of
A
.  If needed, proceed to find the eigenvectors of the eigenvalues.
How do I find eigenvectors from eigenvalues?
When you have an eigenvalue, λ
, of a square matrix, A
, and you want to find its corresponding eigenvector, v
, you need to:
 Denote the coordinates of
v
as variables (e.g.,v = (x,y,z)
for 3x3 matrices).  Write the system of equations,
Av = λv
(each coordinate gives one equation).  Solve the system of equations for the coordinates of
v
.  Write the solution using parameters.
 For each parameter, its coefficient is the coordinate of an eigenvector.
 Group the coefficients corresponding to each parameter to form an eigenvector,
v
.
How many eigenvalues does a matrix have?
A square matrix with n
rows and columns can have at most n
eigenvalues. If we don't allow complex numbers, it may happen that it will have none (i.e., when the characteristic polynomial has no real solutions).
Are eigenvectors orthogonal?
In general, no. If the initial matrix is symmetric, then the eigenvectors of distinct eigenvalues are always orthogonal.
Can 0 be an eigenvalue?
Yes, it can. For that to happen, there must exist a nonzero vector, v
, such that Av = 0
(as a matrix multiplication).
A  = 
