Eigenvalues and Eigenvectors


Eigenvalues and Eigenvectors

Corey
Let’s build our understanding of eigenvalues and eigenvectors from the geometric idea first. For a given square matrix A, an eigenvector is a nonzero vector v whose direction does not change when A acts on it. The vector may be stretched, shrunk, or reversed, but it is only scaled, not rotated.

Anna
So the defining equation is Av equals lambda v, where v is the eigenvector and lambda is the corresponding eigenvalue?

Corey
Exactly. The matrix transforms v into a scalar multiple of itself. That scalar, lambda, tells us the scaling: values greater than one stretch the vector, values between zero and one shrink it, a negative value reverses its direction, and zero sends the vector to the zero vector.

Anna
And the formal test uses the matrix A minus lambda I, right?

Corey
Yes. A complex number lambda is an eigenvalue of a linear transformation, or equivalently of its representing matrix A, if A minus lambda I is singular. For a square matrix, singular means its determinant is zero, so we solve det(A minus lambda I) equals zero.

Anna
Why does that determinant condition identify eigenvalues?

Corey
Start with Av equals lambda v and move everything to one side: Av minus lambda v equals zero. Since lambda v is the same as lambda I v, this becomes A minus lambda I, multiplied by v, equals zero. A nonzero solution v exists precisely when A minus lambda I has a nontrivial null space, and for a square matrix that happens when its determinant is zero.

Anna
The definition says lambda can be complex. Does that mean we only deal with imaginary values?

Corey
No. Every real number is also a complex number. A complex number can be written as x plus i y, but its imaginary part can be zero. So real eigenvalues are included in the definition.

Anna
Once we solve the determinant equation, we substitute each eigenvalue back to find its eigenvectors?

Corey
Correct. The determinant produces a polynomial in lambda, often called the characteristic polynomial. Solve that polynomial to obtain the eigenvalues. Then, for each eigenvalue lambda, solve the homogeneous system (A minus lambda I)v equals zero.

Anna
And the solution set of that homogeneous system is the eigenspace?

Corey
Yes. If lambda is an eigenvalue, the null space of A minus lambda I is called the eigenspace corresponding to lambda. It contains the zero vector because every subspace contains zero, but the zero vector is not itself an eigenvector. Eigenvectors must always be nonzero.

Anna
Let’s work through the first example. Suppose T maps (x, y) to (x plus y, 2y). How do we represent T as a matrix?

Corey
Using the standard basis, T of (1, 0) is (1, 0), and T of (0, 1) is (1, 2). These become the columns of the matrix, so A is the matrix with rows (1, 1) and (0, 2).

Anna
Then A minus lambda I is the matrix with diagonal entries 1 minus lambda and 2 minus lambda, while the off-diagonal entries stay unchanged.

Corey
Right. Its determinant is (1 minus lambda)(2 minus lambda), because the lower-left entry is zero. Setting that equal to zero gives lambda equal to 1 or lambda equal to 2.

Anna
For lambda equal to 1, A minus I becomes the matrix with first row zero, one and second row zero, one. Solving (A minus I)v equals zero gives y equal to zero, while x is unrestricted.

Corey
So the eigenspace for lambda equal to 1 is all vectors of the form (x, 0). In span notation, it is span of (1, 0). Any nonzero vector on that x-axis is an eigenvector corresponding to lambda equal to 1. The eigenvector is not unique; (1, 0), (-2, 0), and (100, 0) all work.

Anna
We can verify it directly: A times (1, 0) gives (1, 0), which is 1 times (1, 0).

Corey
Exactly. Now use lambda equal to 2. Then A minus 2I gives equations that reduce to negative x plus y equals zero, so x equals y. The eigenspace is span of (1, 1), and any nonzero multiple of (1, 1) is an eigenvector for lambda equal to 2.

Anna
The direct check is A times (1, 1), which gives (2, 2), equal to 2 times (1, 1). So each eigenvalue has its own corresponding eigenspace and eigenvectors.

Corey
That is an important point. Eigenvectors corresponding to different eigenvalues are generally different vectors, and in this example the eigenspaces are different lines: the x-axis for eigenvalue 1 and the line x equals y for eigenvalue 2.

Anna
And those two eigenvectors are linearly independent because they do not lie on the same line.

Corey
Yes. More formally, if a v1 plus b v2 equals zero, linear independence means that a and b must both be zero. A key theorem is that eigenvectors associated with distinct eigenvalues are linearly independent.

Anna
Can we see why that theorem is true for two eigenvectors?

Corey
Suppose Tv1 equals lambda1 v1 and Tv2 equals lambda2 v2, where lambda1 and lambda2 are distinct, and suppose a v1 plus b v2 equals zero. Apply T to both sides. Linearity gives a lambda1 v1 plus b lambda2 v2 equals zero. Multiply the original equation by lambda2 and subtract; the result is a(lambda1 minus lambda2)v1 equals zero.

Anna
Since lambda1 and lambda2 are different, lambda1 minus lambda2 is not zero. Also v1 is nonzero because it is an eigenvector, so a must be zero. Substituting that into the original relation leaves b v2 equal to zero, and therefore b is zero too.

Corey
Exactly. That proves the two eigenvectors are linearly independent. This property becomes especially important when studying diagonalization, because independent eigenvectors can be used to form a basis.

Anna
Let’s consider the second matrix example, with A equal to the matrix whose rows are (1, 3) and (2, 6).

Corey
The characteristic equation is det(A minus lambda I) equals zero. That determinant is (1 minus lambda)(6 minus lambda) minus 6, which simplifies to lambda squared minus 7 lambda. Factoring gives lambda(lambda minus 7) equals zero, so the eigenvalues are 0 and 7.

Anna
For lambda equal to zero, we solve Av equals zero. The equation is x plus 3y equals zero, so x equals negative 3y. Choosing y equal to 1 gives the eigenvector (-3, 1), and the eigenspace is span of (-3, 1).

Corey
Good. For lambda equal to 7, A minus 7I is the matrix with rows (-6, 3) and (2, -1). The two equations are multiples of one another, and they reduce to y equal to 2x. Choosing x equal to 1 gives the eigenvector (1, 2), so the eigenspace is span of (1, 2).

Anna
Again, (-3, 1) and (1, 2) are linearly independent because neither is a scalar multiple of the other. The determinant of this matrix is zero, which matches the fact that zero is one of its eigenvalues.

Corey
That leads to an important property. If det(A) equals zero, then zero is an eigenvalue. If A is invertible, meaning det(A) is not zero, then none of its eigenvalues can be zero.

Anna
That follows from the determinant-eigenvalue relationship, doesn’t it?

Corey
Yes. For an n by n matrix, if lambda1 through lambdan are the eigenvalues, counted with their multiplicities, then det(A) equals the product lambda1 through lambdan. If the determinant is zero, at least one eigenvalue must be zero. If the determinant is nonzero, every eigenvalue must be nonzero.

Anna
There is a similar relationship for the trace. The trace is the sum of the diagonal entries, written as the sum of a subscript i i from i equals 1 to n.

Corey
Right. The sum of the eigenvalues equals the trace of the matrix. For the first example, the eigenvalues were 1 and 2, and the trace is also 1 plus 2, or 3. For the second example, the eigenvalues 0 and 7 add to 7, which is the sum of the diagonal entries 1 and 6.

Anna
This also resembles the root relationships for a quadratic equation. For a polynomial x squared minus 7x plus 0, the sum of the roots is 7 and their product is 0.

Corey
Exactly. The characteristic polynomial encodes the same kinds of relationships: the sum of its roots corresponds to the trace, and the product of the eigenvalues corresponds to the determinant. That is why the two examples agree with both the trace and determinant rules.

Anna
Let’s test the ideas. If a matrix has two distinct eigenvalues, does that automatically mean one of them is zero?

Corey
No. Distinct only means the eigenvalues are not equal. In the first example, the eigenvalues 1 and 2 are distinct, but neither is zero. Whether zero is an eigenvalue depends on the determinant: zero must be an eigenvalue when the matrix is singular.

Anna
If the eigenvalues are 4 and negative 1, then the trace is their sum, which is 3.

Corey
Correct. And if the eigenvalues are 4 and 4, the determinant is their product, 16. In general, once all eigenvalues are known, their sum gives the trace and their product gives the determinant.

Anna
So the complete workflow is: write the matrix of the transformation, form A minus lambda I, set its determinant to zero, solve for the eigenvalues, and then solve a homogeneous system for each eigenspace.

Corey
That is the essential procedure. Always remember the distinction at the end: the eigenspace includes the zero vector, but an eigenvector must be nonzero. Also remember that an eigenvalue can have many eigenvectors, because every nonzero vector in its eigenspace is an eigenvector for that eigenvalue.

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