Eigenvalues and Eigenvectors
During our lesson about the image and range of linear transformations, we learnt that a linear transformation re-scales a vector without changing its direction. Now it is time to talk about that vector , an eigenvector, where does it come from and how is it related to the given matrix .
What are eigenvalues and eigenvectors
In order to understand what an eigenvalue is we have to define an eigenvector first.
For any given square matrix , an eigenvector is a non-zero vector such that , for some scalar . In other words, an eigenvector is a non-zero characteristic vector (column vector) which changes by a constant factor (which we name "lambda"= ) when a square matrix is applied to it through matrix multiplication.
Then the eigenvalue is this constant factor, the eigenvalue is .
Given this, now we know that all nxn matrices happen to have an eigenvector that corresponds to an eigenvalue. And so, for this condition of correspondence between an eigenvector and eigenvalue is defined as:
we say that the eigenvector corresponds to the eigenvalue .
- Verifying Eigenvectors
First, the column vector given MUST have the same amount of entries as the matrix has rows, if not, the multiplication is not possible. Second, the vector cannot be a zero vector. This second requirement will come back when we are verifying eigenvalues in the next part of this section.
The steps to verify if a given column vector happens to be an eigenvector of the matrix are:
- Multiply the matrix times the vector .
- The resulting vector should be equal to the multiplication of times the vector .
- A constant value should be possible to be factored out of the resulting vector in order to leave the multiplication of this constant value times the vector . This value will be .
- In other words, you should be able to factor out the vector x from the vector resulting from .
- Once you have factored out the vector , there will be a constant factor multiplying it.
- This constant factor will be the eigenvalue .
- If there is no constant value that can be factored out of the resulting vector from Ax, which will produce a multiplication with the vector x, then it means that x is NOT an eigenvector.
We will demonstrate this process with a few exercises on a later section of this article, for now, let us look at the verification process for eigenvectors.
- Verifying Eigenvalues
And find a non-trivial solution. Here the represents the identity matrix, therefore, the multiplication I always produces a diagonal square matrix where the elements of its diagonal are all and the rest of the values in the matrix are all zeros.
In order for the value of to be an eigenvalue the resulting vector must contain a non-trivial solution because a trivial solution means that this resulting vector is a zero vector. It so happens that this resulting vector is the column vector (from equation 1) which is the corresponding eigenvector of the value provided. Therefore, if the result is a trivial solution this would mean that is a zero vector, which we know (from the last part of this section) that it cannot be a zero vector.
And so, the value of is an eigenvalue of the matrix ONLY when the resulting vector has a non-trivial solution.
The steps to verify if a given happens to be an eigenvalue of the matrix are:
- Perform the subtraction between the matrices and (dont forget to substitute with its constant value) to obtain a new matrix.
- The multiplication of the new matrix with vector can be rewritten into an augmented matrix.
- Row reduce the augmented matrix into an echelon form in order to find the components of the vector .
- Once you find the components of , if the result is a non-trivial solution, then it means is an eigenvalue of and its corresponding eigenvector is .
- If a trivial solution is found, then it means is not an eigenvalue of .
Once more, the verification process process will be shown in the exercises later during our lesson.
Calculating eigenvalues and eigenvectors
The calculation of eigenvalues is done through an algebraic expression called the characteristic polynomial equation:
We will dedicate our next lesson to learn all about the characteristic equation, still, we will briefly explain the way how to do the calculations to obtain eigenvectors and eigenvalues using it, but will not go into detail of its origin or its usage in other cases.
Notice in equation 3 that inside of the determinant of the characteristic equation, there is a subtraction of the given square matrix and the scalar multiplication of the identity matrix and the eigenvalue . That subtraction will produce another matrix, therefore, once we compute the determinant of that matrix the result will be an algebraic second degree expression where will appear as a variable, and for which we have to solve its roots.
And so, the computation of eigenvalues happens to be a simple calculation that can be done using the quadratic formula.
But this lesson is called eigenvalues and eigenvectors for a reason: Since an eigenvalue is a root of a quadratic equation, we can automatically understand there is usually more than one eigenvalue associated to a given square matrix. With that in mind, you should know that for each eigenvalue there is a corresponding eigenvector. And so, the main purpose of obtaining the eigenvalues of a matrix is to then produce its set of corresponding characteristic column vectors, its eigenvectors. For that we go back to equation 2.
Once you have calculated the eigenvalues associated to an square matrix, the process to obtain its corresponding eigenvectors is just what we have called the steps for verifying eigenvalues in our last section (remember you will be computing the components of vector x during that process? That is basically finding the vector x which is the eigenvector associated to the given eigenvalue). In summary, the complete steps to find all eigenvalues and eigenvectors of the given matrix are:
- Find the eigenvalues using the characteristic equation described in equation 3
- Calculate the roots for the resulting quadratic equation from the determinant using the quadratic formula.
- Use the eigenvalues found in order to compute the eigenvectors through equation 2.
- Transform the matrix equation into an augmented matrix.
- Use the row-reduction method in order to obtain the final column vector .
- x is the eigenvector associated to .
- Repeat step 2 for each eigenvalue we found in step 1, and so, produce at least the same amount of eigenvectors as eigenvalues found.
That pretty much sums up the complete process to calculate eigenvalues and eigenvectors, as you can see, there is really not much more to say about how to find the eigenvalues and eigenvectors of the matrix . Still, we will retake this topic in our next lesson, since the characteristic equation in linear algebra is mainly used to find eigenvalues and eigenvectors, thus, the process will be re-described adding any appropriate detail that may not be useful for the moment.
Before we continue onto our next section where we will be working through eigenvalues and eigenvectors examples, let us talk a little bit about what is an eigenspace:
The eigenspace is the set of all the solutions for the equation , thus, its basis is represented as the general solution containing the collection of all of the vectors x that satisfy that equation (equation 2). Therefore, an eigenspace provides a look at all of the possible eigenvalues and their corresponding eigenvectors by conforming a set of vectors where the elements inside of it are the zero vector and all of the possible eigenvectors of the given matrix. In simple words, the eigenspace of a matrix is the null space of the matrix resulting from .
The general steps to follow in order to find the basis for the eigenspace corresponding to a given matrix and an eigenvalue are:
- Set up the equation .
- Calculate the resulting matrix from .
- Use such matrix to form an augmented matrix in order to solve for
- When finding the components of vector , use all of the free variables to conform the set of possible vectors for the general solution of .
- Repeat this for every eigenvalue available for the given matrix.
This process will be shown in example 4 in our next section.
Eigenvalues and eigenvectors examples
Example 1
If the square matrix and the vector x are defined as follows:- Is an eigenvector of ? If so, find the eigenvalue.
The column vector resulting from equation 5 is equal to , and so, we need to find a scalar that can be factored out of the vector in order for this condition (equation 1) to be satisfied:
And so, is the eigenvalue corresponding to vector , proving that is an eigenvector.
- If we are to have another column vector named y which is defined as:
Is an eigenvector of ?
We work with the correspondence condition once more as follows:
Notice there is no possible value of that could satisfy the condition, and so, vector is NOT and eigenvector for matrix .
Example 2
Having the following 3x3 matrix and column vector :Is an eigenvector of ? If so, find the corresponding eigenvalue.
Once more, we start by computing the left hand side of the condition :
Using the resulting column vector, lets see if we can factor out a scalar to satisfy the condition of correspondence, and find an eigenvalue:
Therefore, is an eigenvector, and its corresponding eigenvalue is.
And this is how we find the eigenvalues and eigenvectors for the coefficient matrix . The next example shows a similar problem, but instead of starting with a known eigenvector, we start with a potential eigenvalue:
Example 3
Having the following 3x3 matrix:Is an eigenvalue of ? If so, find its corresponding eigenvector of .
In order to verify an eigenvalue, we use equation 2: . Therefore, let us start by computing the subtraction of matrices :
Notice how we have equated the subtraction to zero, this is because in order for to be an eigenvector, must be a non-zero vector. Therefore, to satisfy it means that the matrix resulting from the subtraction shown in equation 12 MUST be equal to zero:
And so, we can convert the relationship into an augmented matrix to solve for :
Row reducing the augmented matrix in order to find the vector :
From equation 14 notice that is a free variable since it doesnt have a corresponding pivot, and so, we have obtained the components for vector :
Since is a free variable, we can set it up to any value we want, in this case, for practicality, we set and our resulting vector is:
As we can observe from example 2 and 3, that finding eigenvalues and eigenvectors go hand in hand, and so, most problems expect you to find either the eigenvalues and eigenvector associated to them, or vice versa.
Example 4
Find a basis for the corresponding eigenspace if:We calculate the matrix subtraction
Using equation 2: , we set up an augmented matrix in order to solve for the vector :
From equation 20 we can observe that and are both free variables. So we solve for :
And we can finally write down vector by setting the free variables both equal to 1.
And the basis for the eigenspace is:
Now that we have seen the definition of eigenvalues and eigenvectors, along with what an eigenspace is, let us comment a little bit about the uses of eigenvalues and eigenvectors: When studying rotational motion of rigid objects, the concept of eigenvectors determines the principal axes through which a body can be rotated (change its state) following the principles of Newton laws of motion, thus, the concepts of eigenvalues and eigenvectors contribute to the toolbox when working on problems for the mechanics of bodies.
And so, after learning the core process on how to find eigenvalues and eigenvectors of a matrix, we finalize this section by providing you with a few recommendations on links we think may be useful for your independent studies: First we suggest you to visit this review on eigenvalues and eigenvectors, since it contains a set of extensively explained problems. This other linear algebra article on eigenvalues and eigenvectors shows the process using symmetric matrices.
This is it for this lesson, see you on the next one!
An eigenvector of an matrix is a non-zero vector such that , for some scalar . The scalar is called the eigenvalue.
We say the eigenvector corresponds to the eigenvalue .
Given an eigenvalue of matrix , we can find a corresponding eigenvector by solving
And finding a non-trivial solution .
The eigenspace is the null space of the matrix . In other words, the eigenspace is a set of all solutions for the equation
Of course, we can find the basis for the eigenspace by finding the basis of the null space of .
We say the eigenvector corresponds to the eigenvalue .
Given an eigenvalue of matrix , we can find a corresponding eigenvector by solving
The eigenspace is the null space of the matrix . In other words, the eigenspace is a set of all solutions for the equation
Of course, we can find the basis for the eigenspace by finding the basis of the null space of .