Eigenvalues and Eigenvectors
Eigenvalues and Eigenvectors: The Hidden Structure of a Matrix
A matrix is more than a rectangular grid of numbers. It represents an action: a rule that takes an input vector and produces an output vector. Understanding eigenvalues and eigenvectors means discovering the special directions that reveal how that action behaves.
The central equation is
Av=λv.This equation says that when matrix A acts on a special nonzero vector v, the result points along the same line. The vector may become longer, shorter, or reverse direction, but it does not turn away from its original line.
An eigenvector is a nonzero direction that a transformation leaves on the same line, and its eigenvalue is the factor by which the transformation scales that direction.
1. A Matrix as a Transformation
Suppose a vector is written as
v=[xy].A matrix A transforms it into a new vector v′:
v′=Av.Depending on the matrix, this transformation may:
- rotate vectors,
- stretch or shrink them,
- shear them,
- reflect them,
- or combine several of these effects.
The important point is that most vectors change both their length and their direction. Eigenvectors are unusual because their direction remains stable.
Example: A shear transformation
Consider
A=[1011],v=[23].The transformed vector is
Av=[1011][23].Matrix multiplication gives
Av=[1(2)+1(3)0(2)+1(3)]=[53].The original vector was
[23],and the transformed vector is
[53].The direction has changed. The vector has been pushed to the right, which is characteristic of a shear.
Think About It
A shear transformation changes many vectors’ directions. Is it possible that some particular directions remain unchanged even though the transformation affects the plane overall?
2. Eigenvectors: Directions That Do Not Turn
The question above leads directly to the idea of an eigenvector.
A nonzero vector v is an eigenvector of A if applying A produces only a scaled version of that same vector:
Av=λv.The vector on the left, Av, must lie on the same line as v. The transformation is allowed to change the vector’s length or orientation along that line, but it cannot move it to a different line.
Return to the shear matrix:
A=[1011].First test the vertical vector
vup=[01].Then
Avup=[1011][01]=[11].The vector
[01]has changed direction, so it is not an eigenvector.
Now test the horizontal vector
vright=[10].The result is
Avright=[1011][10]=[10].This vector is unchanged. Therefore,
[10]is an eigenvector.
In fact, every nonzero vector on the horizontal axis is also an eigenvector. For example,
[30]and[−500]remain on the horizontal axis after transformation. The entire collection of these vectors forms an eigenspace for the eigenvalue associated with that direction.
3. Eigenvalues: Stretch Factors Along Eigenvector Directions
For the shear example,
A[10]=[10].The result is the original vector multiplied by 1:
Av=1v.Therefore, the eigenvalue is
λ=1.An eigenvalue describes what the transformation does to an eigenvector’s length and orientation along its line.
- If ∣λ∣>1, the vector is stretched.
- If 0<∣λ∣<1, the vector is shrunk.
- If λ=1, the vector remains unchanged.
- If λ=0, the vector is sent to the zero vector.
- If λ<0, the vector reverses direction by 180∘ while remaining on the same line.
For example, if
Av=4v,then the vector becomes four times as long in the same direction. If
Av=−2v,then it becomes twice as long and points in the opposite direction.
The eigenvector provides the special direction; the eigenvalue provides the scaling behavior.
4. Why the Identity Matrix Is Needed
The eigenvalue equation can be rearranged algebraically:
Av=λv.Subtracting λv from both sides gives
Av−λv=0.The goal is to factor out v. However, there is a problem: A is a matrix, while λ is a scalar. Matrix subtraction requires objects of compatible sizes.
The solution is the identity matrix, denoted by I. The identity matrix plays the same role for matrices that the number 1 plays for ordinary multiplication:
Iv=v.Because multiplying by I changes nothing,
λv=λIv.Therefore,
Av−λIv=0.Now both A and λI are matrices, so they can be subtracted:
(A−λI)v=0.This is the standard form used to find eigenvalues and eigenvectors.
The identity matrix allows the scalar eigenvalue λ to be converted into a matrix expression λI, making the subtraction A−λI mathematically valid.
For a 2×2 matrix,
I=[1001].Thus,
λI=[λ00λ].Only the diagonal entries are affected when λI is subtracted from A.
Think About It
Why would replacing λ with λI make it possible to factor the vector from the equation?
5. The Determinant and the Characteristic Equation
Let
M=A−λI.Then the eigenvector equation becomes
Mv=0.There is always one obvious solution:
v=0.That solution is not useful because eigenvectors must be nonzero. The important question is:
When does this equation have a nonzero solution?
A nonzero solution exists only when M is singular. A singular matrix fails to have an ordinary inverse because it collapses space into a lower-dimensional structure. For example, a transformation may flatten a two-dimensional plane onto a single line. In that situation, many nonzero vectors can be sent to the zero vector.
The determinant provides the test for singularity:
det(M)=0.Since M=A−λI, the condition becomes
det(A−λI)=0.This equation is called the characteristic equation.
Its solutions are the eigenvalues of A.
The characteristic equation is
det(A−λI)=0,
and its roots are the eigenvalues.
The determinant is useful because it temporarily removes the eigenvector from the problem. Instead of solving for λ and v simultaneously, the determinant first identifies the possible eigenvalues.
6. The General Eigenvalue–Eigenvector Algorithm
For a square matrix A, the standard procedure is:
Step 1: Find the eigenvalues
Construct
A−λI.Then solve
det(A−λI)=0.The resulting polynomial is the characteristic polynomial. Its roots are the eigenvalues.
Step 2: Find the eigenvectors
For each eigenvalue λ, substitute it into
(A−λI)v=0.Solve the resulting homogeneous system. Any nonzero solution is an eigenvector associated with λ.
This procedure works because the determinant identifies exactly when the matrix A−λI becomes singular, which is exactly when a nonzero eigenvector can exist.
7. Complete Example
Consider
A=[3113].This matrix is symmetric because it equals its transpose:
AT=A.The symmetry will later explain important geometric properties of its eigenvectors.
Finding the eigenvalues
First construct A−λI:
A−λI=[3113]−[λ00λ].Therefore,
A−λI=[3−λ113−λ].For a 2×2 matrix
[acbd],the determinant is
ad−bc.Thus,
det(A−λI)=(3−λ)(3−λ)−1(1).Set this equal to zero:
(3−λ)2−1=0.Expanding gives
λ2−6λ+8=0.Factoring:
(λ−4)(λ−2)=0.Therefore, the two eigenvalues are
λ1=4,λ2=2.The transformation has two special directions, with scaling factors 4 and 2.
Finding the eigenvector for λ1=4
Substitute λ=4 into
(A−λI)v=0.Let
v=[xy].Then
([3113]−4[1001])[xy]=[00].This becomes
[−111−1][xy]=[00].The equations are
−x+y=0and
x−y=0.Both equations express the same relationship:
y=x.Choose the simplest nonzero value, x=1. Then y=1, giving
v1=[11].The eigenspace consists of all nonzero vectors on the line y=x.
Finding the eigenvector for λ2=2
Now substitute λ=2:
[3−2113−2][xy]=[00].This becomes
[1111][xy]=[00].The resulting equation is
x+y=0,or
y=−x.Choosing x=1 gives y=−1, so an eigenvector is
v2=[1−1].The eigenspace consists of vectors on the line y=−x.
Verifying the first eigenpair
To verify that v1 belongs to λ1=4, calculate the two sides of the eigenvalue equation.
The left side is
Av1=[3113][11]=[44].The right side is
λ1v1=4[11]=[44].Since both sides agree,
Av1=λ1v1.The pair is correct.
8. Symmetric Matrices and Orthogonal Eigenvectors
The example matrix is symmetric. Symmetric matrices have especially clean eigenvalue and eigenvector behavior:
- Their eigenvalues are real numbers.
- Eigenvectors associated with distinct eigenvalues are orthogonal.
The two eigenvectors found above are
v1=[11],v2=[1−1].Their dot product is
v1⋅v2=(1)(1)+(1)(−1)=0.A zero dot product means that the vectors are perpendicular. Thus, the two eigenvector directions form a pair of axes meeting at a 90∘ angle.
This is geometrically valuable. Instead of describing the transformation using ordinary horizontal and vertical directions, the eigenvectors provide its natural axes:
- along the line y=x, the transformation scales by 4;
- along the line y=−x, the transformation scales by 2.
The matrix does not shear these special axes away from themselves. It simply stretches them by different amounts.
Think About It
Why are perpendicular eigenvector directions especially useful when trying to understand a transformation geometrically?
9. Eigenvalues and Long-Term Behavior
Eigenvalues become especially powerful when a system is repeatedly transformed.
Suppose a state vector changes once according to
v1=Av0.After two steps,
v2=Av1=A2v0.After k steps,
vk=Akv0.Directly calculating a large matrix power can be difficult and may not reveal the behavior of the system. Eigenvectors provide a more informative approach.
If the initial vector is itself an eigenvector, then repeated application is simple:
Av=λv,so
A2v=A(Av)=A(λv)=λAv=λ2v.Continuing this pattern,
Akv=λkv.Repeated transformation changes only the scale factor, from 1 to λk.
Decomposing a general starting vector
Most starting vectors are not individual eigenvectors. However, when the eigenvectors form a basis, any starting vector can be written as a linear combination of them:
v0=c1v1+c2v2.Here, c1 and c2 describe how much of the starting state lies along each eigenvector direction.
Applying Ak gives
vk=Akv0.Substitute the decomposition:
vk=Ak(c1v1+c2v2).By linearity,
vk=c1Akv1+c2Akv2.Since each vi is an eigenvector,
Akv1=λ1kv1and
Akv2=λ2kv2.Therefore,
vk=c1λ1kv1+c2λ2kv2.This formula separates the system into independent modes. Each eigenvector direction evolves according to its own eigenvalue.
10. Population Model: City and Suburbs
Consider a population divided into two groups: a city population and a suburban population. A state vector records the populations at year k:
vk=[city population at year ksuburban population at year k].Suppose the yearly transition is represented by
A=[0.950.050.100.90].The population after k years is
vk=Akv0.The challenge is to understand the state after many years, such as
v50=A50v0.Rather than multiply the matrix by itself fifty times, the eigenvector method examines the system’s natural modes. Suppose the matrix has two eigenpairs:
λ1=1.0,λ2=0.85,with corresponding eigenvectors v1 and v2.
Assuming these eigenvectors form a basis, the starting state can be decomposed as
v0=c1v1+c2v2.After 50 years,
v50=c1(1.0)50v1+c2(0.85)50v2.Because
(1.0)50=1and
(0.85)50≈0.000296,the second term becomes very small:
c2(0.85)50v2≈c2(0.000296)v2.Thus,
v50≈c1v1.The component in the v2 direction decays away, while the component in the v1 direction remains. The long-term population distribution becomes approximately aligned with v1.
The dominant eigenvalue
The eigenvalue with the greatest long-term influence is called the dominant eigenvalue. In this example,
1.0>0.85,so λ1=1.0 is dominant.
The corresponding eigenvector v1 describes the stable pattern toward which the system moves. The initial state determines the coefficient c1, which affects the overall size of the final state, but the dominant eigenvector determines the eventual direction or distribution.
This is why the dominant eigenvector can be viewed as the system’s long-term destiny. A component associated with an eigenvalue less than 1 continually shrinks under repeated application. A component associated with an eigenvalue equal to 1 persists.
More generally:
- Eigenvalues with magnitude less than 1 produce decaying behavior.
- An eigenvalue with magnitude equal to 1 produces persistent behavior.
- Eigenvalues with magnitude greater than 1 produce growing behavior.
- A negative eigenvalue introduces alternating reversals while its magnitude controls growth or decay.
Think About It
If one component of a system is multiplied by 0.85 at every step, why does that component eventually become much less important than a component multiplied by 1.0?
11. Connection to Data Science and PCA
Eigenvalues and eigenvectors are not only tools for analyzing matrix transformations. They also reveal important directions in data.
Principal component analysis, or PCA, finds the most important axes within a data set. Imagine a cloud of data points. The points may be spread out more strongly in one direction than another.
PCA identifies:
- PC1, the first principal component, as the direction of maximum variance;
- PC2, the second principal component, as the next most important direction, orthogonal to PC1.
In the eigenvalue framework, the direction of maximum variance corresponds to the eigenvector associated with the largest eigenvalue of the relevant data matrix. The next largest eigenvalue identifies the next important direction, and its eigenvector is orthogonal to the first in the symmetric setting used by PCA.
The eigenvalue measures how much variation is captured along a direction. A large eigenvalue means that the data varies substantially along its corresponding eigenvector. A smaller eigenvalue means that the data varies less in that direction.
This makes PCA useful for reducing the number of dimensions while preserving the most significant patterns. Instead of describing data using every original coordinate, the data can be described using its most informative eigenvector directions.
The same conceptual structure appears in many applications, including ranking systems, image analysis, facial recognition, and other methods that rely on identifying stable or dominant patterns in numerical data.
Comprehensive Review
A matrix represents a transformation of vectors:
v′=Av.Most vectors change direction when transformed. An eigenvector is different because it remains on its original line:
Av=λv.The eigenvalue λ tells how the eigenvector is scaled. Values greater than 1 stretch, values between 0 and 1 shrink, negative values reverse direction, and repeated powers of λ determine long-term growth or decay.
Rearranging the eigenvalue equation produces
(A−λI)v=0.The identity matrix I is essential because it converts the scalar λ into the matrix λI. A nonzero eigenvector exists only when A−λI is singular, so its determinant must vanish:
det(A−λI)=0.This characteristic equation finds the eigenvalues. Each eigenvalue is then substituted back into
(A−λI)v=0to find its eigenvectors.
When eigenvectors form a basis, any starting state can be decomposed into eigenvector components. Repeated matrix application then scales each component independently:
vk=i∑ciλikvi.The component associated with the dominant eigenvalue eventually controls the system’s behavior. In population models, it describes the stable long-term distribution. In PCA, the largest eigenvalues identify the directions containing the greatest variation in a data set, turning eigenvectors into the natural axes for understanding both transformations and data.

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