Eigenvalues and Eigenvectors


Eigenvalues and Eigenvectors

Corey
Welcome back, everyone. In this chapter, we're starting a major new topic: eigenvalues and eigenvectors of a matrix. These ideas begin with a simple question: are there any nonzero vectors that a matrix transforms without changing their direction?

Maria
Exactly. An eigenvector of a matrix A is a nonzero vector v that gets scaled when A acts on it. In symbols, A times v equals lambda times v. The scalar lambda is called the eigenvalue associated with that eigenvector.

Corey
So the important feature is that the output is a multiple of the original vector. The matrix might stretch the vector, shrink it, or reverse its direction if the scalar is negative, but it cannot send it in some completely different direction.

Maria
Let's verify that with an example. Take the matrix A with rows negative 1, 1 and 4, negative 1, and start with the vector v equal to the column vector 1, negative 2. Multiplying gives negative 1 plus negative 2, which is negative 3, in the first entry, and 4 plus 2, which is 6, in the second.

Corey
The result is the vector negative 3, 6. That is exactly negative 3 times the original vector 1, negative 2. Therefore, this vector is an eigenvector, and its associated eigenvalue is negative 3.

Maria
The same matrix gives us another useful example. If we use the vector 1, 2, the product is 1 in the first entry and 2 in the second, so A times v equals the original vector itself. That means the eigenvalue is 1.

Corey
Right. A scalar of 1 means the vector is left unchanged. In general, to check whether a given nonzero vector is an eigenvector, multiply it by the matrix and ask whether the result is some scalar multiple of that same vector.

Maria
But what if we aren't given the eigenvectors or eigenvalues? How do we find them from scratch?

Corey
We begin with the defining equation, A v equals lambda v. Subtract lambda v from both sides to get A v minus lambda v equals the zero vector. Both terms contain v, so we would like to factor it out—but we have to be careful.

Maria
The expression A minus lambda, multiplied by v, is not valid as written. A is a matrix and lambda is a scalar, so subtracting the scalar directly from the matrix creates a type mismatch. Matrix minus scalar is not defined.

Corey
The fix is to use the identity matrix. Since the identity matrix leaves every vector unchanged, lambda times v can be written as lambda times the identity matrix times v. Then the equation becomes A minus lambda I, all multiplied by v, equals the zero vector.

Maria
Now the expression is well-defined because A and lambda I are both matrices of the same size. We have effectively factored out v: the matrix A minus lambda I acts on v and produces zero. So v lies in the null space of A minus lambda I.

Corey
And remember, an eigenvector must be nonzero. Therefore, A minus lambda I has a nonzero vector in its null space. A matrix with a nontrivial null space is not invertible, so it is singular. By the invertible matrix theorem, a singular matrix has determinant zero.

Maria
That gives us the key equation: the determinant of A minus lambda I equals zero. Any value of lambda that satisfies this equation is an eigenvalue of A. This determinant equation is called the characteristic polynomial, or more precisely, the characteristic equation when we set it equal to zero.

Corey
Let's work through the full calculation using A equal to the matrix with rows negative 1, negative 4 and negative 3, negative 2. First, form A minus lambda I. That means subtract lambda from each diagonal entry, giving the matrix with entries negative 1 minus lambda, negative 4, negative 3, and negative 2 minus lambda.

Maria
Next, calculate its determinant. The product of the diagonal entries is negative 1 minus lambda times negative 2 minus lambda. Then we subtract the product of the off-diagonal entries, which is negative 4 times negative 3, or 12.

Corey
Expanding and simplifying gives lambda squared plus 3 lambda minus 10. The characteristic equation is therefore lambda squared plus 3 lambda minus 10 equals zero. Factoring gives lambda plus 5 times lambda minus 2 equals zero.

Maria
So the two eigenvalues are lambda equal to 2 and lambda equal to negative 5. The general procedure is: subtract lambda from the diagonal, find the determinant, set it equal to zero, and solve for lambda.

Corey
Once the eigenvalues are known, we find the eigenvectors one eigenvalue at a time. For lambda equal to 2, calculate A minus 2I. The result is the matrix with rows negative 3, negative 4 and negative 3, negative 4.

Maria
To find the eigenvectors, find the null space of that matrix. The two rows are scalar multiples, so after row reduction only one meaningful equation remains: negative 3 x1 minus 4 x2 equals zero. The variable x2 is free.

Corey
Solving for x1 gives x1 equal to negative 4 over 3 times x2. Therefore, every vector in the null space has the form x2 times the vector negative 4 over 3, 1. Since eigenvectors cannot be zero, x2 can be any nonzero value.

Maria
So the eigenspace for eigenvalue 2 is the span of the vector negative 4 over 3, 1. In other words, there is an entire line of eigenvectors associated with that eigenvalue, not just one particular vector. Every nonzero scalar multiple of that vector is also an eigenvector for eigenvalue 2.

Corey
Now consider the other eigenvalue, negative 5. We calculate A minus negative 5I, which is the same as A plus 5I. Adding 5 to the diagonal entries gives the matrix with rows 4, negative 4 and negative 3, 3.

Maria
Again, find the null space. The rows are redundant, and the meaningful equation is 4x1 minus 4x2 equals zero. Therefore, x1 equals x2, with x2 free. Every vector in this null space has the form x2 times the vector 1, 1.

Corey
Thus, the eigenspace for eigenvalue negative 5 is the span of 1, 1. All nonzero multiples of 1, 1 are eigenvectors associated with negative 5.

Maria
It's worth emphasizing the connection between the determinant and the null space. The determinant equation identifies the values of lambda for which A minus lambda I becomes singular. Then, for each such lambda, the null space of A minus lambda I gives all the corresponding eigenvectors.

Corey
And because that collection of vectors is a null space, the complete set of eigenvectors associated with a particular eigenvalue is often called an eigenspace. For the example, the eigenspace for 2 is the span of negative 4 over 3, 1, and the eigenspace for negative 5 is the span of 1, 1.

Maria
Let's put the whole method into a checklist. First, write A minus lambda I, which means subtract lambda from every diagonal entry. Second, compute its determinant and set the result equal to zero. Third, solve for the eigenvalues.

Corey
Then, for each eigenvalue, substitute it into A minus lambda I and find that matrix's null space. That null space is the eigenspace, containing all the eigenvectors associated with that eigenvalue. Just remember to exclude the zero vector, because eigenvectors are defined to be nonzero.

Maria
And if you're only checking a proposed eigenvector, you don't need the determinant procedure. Simply multiply the matrix by the vector. If the result is a scalar multiple of the original vector, it is an eigenvector, and that scalar is the eigenvalue.

Corey
So the central idea is simple: eigenvectors are special directions that a matrix only scales. The characteristic equation finds the possible scaling factors, and the null-space calculation finds the vectors that go with each factor.

Ask anything
We've read this whole study set, so questions about it get the best answers.