1. Home
  2. Explore
  3. Mathematics
  4. Eigenvalues and Eigenvectors

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

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.A\mathbf{v}=\lambda \mathbf{v}.Av=λv.

This equation says that when matrix AAA acts on a special nonzero vector v\mathbf{v}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].\mathbf{v}= \begin{bmatrix} x\\ y \end{bmatrix}.v=[xy​].

A matrix AAA transforms it into a new vector v′\mathbf{v}'v′:

v′=Av.\mathbf{v}'=A\mathbf{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=[1101],v=[23].A= \begin{bmatrix} 1&1\\ 0&1 \end{bmatrix}, \qquad \mathbf{v}= \begin{bmatrix} 2\\ 3 \end{bmatrix}.A=[10​11​],v=[23​].

The transformed vector is

Av=[1101][23].A\mathbf{v} = \begin{bmatrix} 1&1\\ 0&1 \end{bmatrix} \begin{bmatrix} 2\\ 3 \end{bmatrix}.Av=[10​11​][23​].

Matrix multiplication gives

Av=[1(2)+1(3)0(2)+1(3)]=[53].A\mathbf{v} = \begin{bmatrix} 1(2)+1(3)\\ 0(2)+1(3) \end{bmatrix} = \begin{bmatrix} 5\\ 3 \end{bmatrix}.Av=[1(2)+1(3)0(2)+1(3)​]=[53​].

The original vector was

[23],\begin{bmatrix} 2\\ 3 \end{bmatrix},[23​],

and the transformed vector is

[53].\begin{bmatrix} 5\\ 3 \end{bmatrix}.[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\mathbf{v}v is an eigenvector of AAA if applying AAA produces only a scaled version of that same vector:

Av=λv.A\mathbf{v}=\lambda\mathbf{v}.Av=λv.

The vector on the left, AvA\mathbf{v}Av, must lie on the same line as v\mathbf{v}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=[1101].A= \begin{bmatrix} 1&1\\ 0&1 \end{bmatrix}.A=[10​11​].

First test the vertical vector

vup=[01].\mathbf{v}_{\text{up}}= \begin{bmatrix} 0\\ 1 \end{bmatrix}.vup​=[01​].

Then

Avup=[1101][01]=[11].A\mathbf{v}_{\text{up}} = \begin{bmatrix} 1&1\\ 0&1 \end{bmatrix} \begin{bmatrix} 0\\ 1 \end{bmatrix} = \begin{bmatrix} 1\\ 1 \end{bmatrix}.Avup​=[10​11​][01​]=[11​].

The vector

[01]\begin{bmatrix} 0\\ 1 \end{bmatrix}[01​]

has changed direction, so it is not an eigenvector.

Now test the horizontal vector

vright=[10].\mathbf{v}_{\text{right}}= \begin{bmatrix} 1\\ 0 \end{bmatrix}.vright​=[10​].

The result is

Avright=[1101][10]=[10].A\mathbf{v}_{\text{right}} = \begin{bmatrix} 1&1\\ 0&1 \end{bmatrix} \begin{bmatrix} 1\\ 0 \end{bmatrix} = \begin{bmatrix} 1\\ 0 \end{bmatrix}.Avright​=[10​11​][10​]=[10​].

This vector is unchanged. Therefore,

[10]\begin{bmatrix} 1\\ 0 \end{bmatrix}[10​]

is an eigenvector.

In fact, every nonzero vector on the horizontal axis is also an eigenvector. For example,

[30]and[−500]\begin{bmatrix} 3\\ 0 \end{bmatrix} \quad\text{and}\quad \begin{bmatrix} -50\\ 0 \end{bmatrix}[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].A \begin{bmatrix} 1\\ 0 \end{bmatrix} = \begin{bmatrix} 1\\ 0 \end{bmatrix}.A[10​]=[10​].

The result is the original vector multiplied by 111:

Av=1v.A\mathbf{v}=1\mathbf{v}.Av=1v.

Therefore, the eigenvalue is

λ=1.\lambda=1.λ=1.

An eigenvalue describes what the transformation does to an eigenvector’s length and orientation along its line.

  • If ∣λ∣>1\lvert\lambda\rvert>1∣λ∣>1, the vector is stretched.
  • If 0<∣λ∣<10<\lvert\lambda\rvert<10<∣λ∣<1, the vector is shrunk.
  • If λ=1\lambda=1λ=1, the vector remains unchanged.
  • If λ=0\lambda=0λ=0, the vector is sent to the zero vector.
  • If λ<0\lambda<0λ<0, the vector reverses direction by 180∘180^\circ180∘ while remaining on the same line.

For example, if

Av=4v,A\mathbf{v}=4\mathbf{v},Av=4v,

then the vector becomes four times as long in the same direction. If

Av=−2v,A\mathbf{v}=-2\mathbf{v},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.A\mathbf{v}=\lambda\mathbf{v}.Av=λv.

Subtracting λv\lambda\mathbf{v}λv from both sides gives

Av−λv=0.A\mathbf{v}-\lambda\mathbf{v}=\mathbf{0}.Av−λv=0.

The goal is to factor out v\mathbf{v}v. However, there is a problem: AAA is a matrix, while λ\lambdaλ is a scalar. Matrix subtraction requires objects of compatible sizes.

The solution is the identity matrix, denoted by III. The identity matrix plays the same role for matrices that the number 111 plays for ordinary multiplication:

Iv=v.I\mathbf{v}=\mathbf{v}.Iv=v.

Because multiplying by III changes nothing,

λv=λIv.\lambda\mathbf{v}=\lambda I\mathbf{v}.λv=λIv.

Therefore,

Av−λIv=0.A\mathbf{v}-\lambda I\mathbf{v}=\mathbf{0}.Av−λIv=0.

Now both AAA and λI\lambda IλI are matrices, so they can be subtracted:

(A−λI)v=0.(A-\lambda I)\mathbf{v}=\mathbf{0}.(A−λI)v=0.

This is the standard form used to find eigenvalues and eigenvectors.

The identity matrix allows the scalar eigenvalue λ\lambdaλ to be converted into a matrix expression λI\lambda IλI, making the subtraction A−λIA-\lambda IA−λI mathematically valid.

For a 2×22\times22×2 matrix,

I=[1001].I= \begin{bmatrix} 1&0\\ 0&1 \end{bmatrix}.I=[10​01​].

Thus,

λI=[λ00λ].\lambda I= \begin{bmatrix} \lambda&0\\ 0&\lambda \end{bmatrix}.λI=[λ0​0λ​].

Only the diagonal entries are affected when λI\lambda IλI is subtracted from AAA.

Think About It

Why would replacing λ\lambdaλ with λI\lambda IλI make it possible to factor the vector from the equation?

5. The Determinant and the Characteristic Equation

Let

M=A−λI.M=A-\lambda I.M=A−λI.

Then the eigenvector equation becomes

Mv=0.M\mathbf{v}=\mathbf{0}.Mv=0.

There is always one obvious solution:

v=0.\mathbf{v}=\mathbf{0}.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 MMM 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.\det(M)=0.det(M)=0.

Since M=A−λIM=A-\lambda IM=A−λI, the condition becomes

det⁡(A−λI)=0.\det(A-\lambda I)=0.det(A−λI)=0.

This equation is called the characteristic equation.

Its solutions are the eigenvalues of AAA.

The characteristic equation is

det⁡(A−λI)=0,\det(A-\lambda I)=0,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 λ\lambdaλ and v\mathbf{v}v simultaneously, the determinant first identifies the possible eigenvalues.

6. The General Eigenvalue–Eigenvector Algorithm

For a square matrix AAA, the standard procedure is:

Step 1: Find the eigenvalues

Construct

A−λI.A-\lambda I.A−λI.

Then solve

det⁡(A−λI)=0.\det(A-\lambda I)=0.det(A−λI)=0.

The resulting polynomial is the characteristic polynomial. Its roots are the eigenvalues.

Step 2: Find the eigenvectors

For each eigenvalue λ\lambdaλ, substitute it into

(A−λI)v=0.(A-\lambda I)\mathbf{v}=\mathbf{0}.(A−λI)v=0.

Solve the resulting homogeneous system. Any nonzero solution is an eigenvector associated with λ\lambdaλ.

This procedure works because the determinant identifies exactly when the matrix A−λIA-\lambda IA−λI becomes singular, which is exactly when a nonzero eigenvector can exist.

7. Complete Example

Consider

A=[3113].A= \begin{bmatrix} 3&1\\ 1&3 \end{bmatrix}.A=[31​13​].

This matrix is symmetric because it equals its transpose:

AT=A.A^T=A.AT=A.

The symmetry will later explain important geometric properties of its eigenvectors.

Finding the eigenvalues

First construct A−λIA-\lambda IA−λI:

A−λI=[3113]−[λ00λ].A-\lambda I = \begin{bmatrix} 3&1\\ 1&3 \end{bmatrix} - \begin{bmatrix} \lambda&0\\ 0&\lambda \end{bmatrix}.A−λI=[31​13​]−[λ0​0λ​].

Therefore,

A−λI=[3−λ113−λ].A-\lambda I = \begin{bmatrix} 3-\lambda&1\\ 1&3-\lambda \end{bmatrix}.A−λI=[3−λ1​13−λ​].

For a 2×22\times22×2 matrix

[abcd],\begin{bmatrix} a&b\\ c&d \end{bmatrix},[ac​bd​],

the determinant is

ad−bc.ad-bc.ad−bc.

Thus,

det⁡(A−λI)=(3−λ)(3−λ)−1(1).\det(A-\lambda I) = (3-\lambda)(3-\lambda)-1(1).det(A−λI)=(3−λ)(3−λ)−1(1).

Set this equal to zero:

(3−λ)2−1=0.(3-\lambda)^2-1=0.(3−λ)2−1=0.

Expanding gives

λ2−6λ+8=0.\lambda^2-6\lambda+8=0.λ2−6λ+8=0.

Factoring:

(λ−4)(λ−2)=0.(\lambda-4)(\lambda-2)=0.(λ−4)(λ−2)=0.

Therefore, the two eigenvalues are

λ1=4,λ2=2.\lambda_1=4, \qquad \lambda_2=2.λ1​=4,λ2​=2.

The transformation has two special directions, with scaling factors 444 and 222.

Finding the eigenvector for λ1=4\lambda_1=4λ1​=4

Substitute λ=4\lambda=4λ=4 into

(A−λI)v=0.(A-\lambda I)\mathbf{v}=\mathbf{0}.(A−λI)v=0.

Let

v=[xy].\mathbf{v}= \begin{bmatrix} x\\ y \end{bmatrix}.v=[xy​].

Then

([3113]−4[1001])[xy]=[00].\left( \begin{bmatrix} 3&1\\ 1&3 \end{bmatrix} - 4 \begin{bmatrix} 1&0\\ 0&1 \end{bmatrix} \right) \begin{bmatrix} x\\ y \end{bmatrix} = \begin{bmatrix} 0\\ 0 \end{bmatrix}.([31​13​]−4[10​01​])[xy​]=[00​].

This becomes

[−111−1][xy]=[00].\begin{bmatrix} -1&1\\ 1&-1 \end{bmatrix} \begin{bmatrix} x\\ y \end{bmatrix} = \begin{bmatrix} 0\\ 0 \end{bmatrix}.[−11​1−1​][xy​]=[00​].

The equations are

−x+y=0-x+y=0−x+y=0

and

x−y=0.x-y=0.x−y=0.

Both equations express the same relationship:

y=x.y=x.y=x.

Choose the simplest nonzero value, x=1x=1x=1. Then y=1y=1y=1, giving

v1=[11].\mathbf{v}_1= \begin{bmatrix} 1\\ 1 \end{bmatrix}.v1​=[11​].

The eigenspace consists of all nonzero vectors on the line y=xy=xy=x.

Finding the eigenvector for λ2=2\lambda_2=2λ2​=2

Now substitute λ=2\lambda=2λ=2:

[3−2113−2][xy]=[00].\begin{bmatrix} 3-2&1\\ 1&3-2 \end{bmatrix} \begin{bmatrix} x\\ y \end{bmatrix} = \begin{bmatrix} 0\\ 0 \end{bmatrix}.[3−21​13−2​][xy​]=[00​].

This becomes

[1111][xy]=[00].\begin{bmatrix} 1&1\\ 1&1 \end{bmatrix} \begin{bmatrix} x\\ y \end{bmatrix} = \begin{bmatrix} 0\\ 0 \end{bmatrix}.[11​11​][xy​]=[00​].

The resulting equation is

x+y=0,x+y=0,x+y=0,

or

y=−x.y=-x.y=−x.

Choosing x=1x=1x=1 gives y=−1y=-1y=−1, so an eigenvector is

v2=[1−1].\mathbf{v}_2= \begin{bmatrix} 1\\ -1 \end{bmatrix}.v2​=[1−1​].

The eigenspace consists of vectors on the line y=−xy=-xy=−x.

Verifying the first eigenpair

To verify that v1\mathbf{v}_1v1​ belongs to λ1=4\lambda_1=4λ1​=4, calculate the two sides of the eigenvalue equation.

The left side is

Av1=[3113][11]=[44].A\mathbf{v}_1 = \begin{bmatrix} 3&1\\ 1&3 \end{bmatrix} \begin{bmatrix} 1\\ 1 \end{bmatrix} = \begin{bmatrix} 4\\ 4 \end{bmatrix}.Av1​=[31​13​][11​]=[44​].

The right side is

λ1v1=4[11]=[44].\lambda_1\mathbf{v}_1 = 4 \begin{bmatrix} 1\\ 1 \end{bmatrix} = \begin{bmatrix} 4\\ 4 \end{bmatrix}.λ1​v1​=4[11​]=[44​].

Since both sides agree,

Av1=λ1v1.A\mathbf{v}_1=\lambda_1\mathbf{v}_1.Av1​=λ1​v1​.

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].\mathbf{v}_1= \begin{bmatrix} 1\\ 1 \end{bmatrix}, \qquad \mathbf{v}_2= \begin{bmatrix} 1\\ -1 \end{bmatrix}.v1​=[11​],v2​=[1−1​].

Their dot product is

v1⋅v2=(1)(1)+(1)(−1)=0.\mathbf{v}_1\cdot\mathbf{v}_2 = (1)(1)+(1)(-1) = 0.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∘90^\circ90∘ 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=xy=xy=x, the transformation scales by 444;
  • along the line y=−xy=-xy=−x, the transformation scales by 222.

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.\mathbf{v}_1=A\mathbf{v}_0.v1​=Av0​.

After two steps,

v2=Av1=A2v0.\mathbf{v}_2=A\mathbf{v}_1=A^2\mathbf{v}_0.v2​=Av1​=A2v0​.

After kkk steps,

vk=Akv0.\mathbf{v}_k=A^k\mathbf{v}_0.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,A\mathbf{v}=\lambda\mathbf{v},Av=λv,

so

A2v=A(Av)=A(λv)=λAv=λ2v.A^2\mathbf{v} = A(A\mathbf{v}) = A(\lambda\mathbf{v}) = \lambda A\mathbf{v} = \lambda^2\mathbf{v}.A2v=A(Av)=A(λv)=λAv=λ2v.

Continuing this pattern,

Akv=λkv.A^k\mathbf{v}=\lambda^k\mathbf{v}.Akv=λkv.

Repeated transformation changes only the scale factor, from 111 to λk\lambda^kλ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.\mathbf{v}_0=c_1\mathbf{v}_1+c_2\mathbf{v}_2.v0​=c1​v1​+c2​v2​.

Here, c1c_1c1​ and c2c_2c2​ describe how much of the starting state lies along each eigenvector direction.

Applying AkA^kAk gives

vk=Akv0.\mathbf{v}_k = A^k\mathbf{v}_0.vk​=Akv0​.

Substitute the decomposition:

vk=Ak(c1v1+c2v2).\mathbf{v}_k = A^k(c_1\mathbf{v}_1+c_2\mathbf{v}_2).vk​=Ak(c1​v1​+c2​v2​).

By linearity,

vk=c1Akv1+c2Akv2.\mathbf{v}_k = c_1A^k\mathbf{v}_1+c_2A^k\mathbf{v}_2.vk​=c1​Akv1​+c2​Akv2​.

Since each vi\mathbf{v}_ivi​ is an eigenvector,

Akv1=λ1kv1A^k\mathbf{v}_1=\lambda_1^k\mathbf{v}_1Akv1​=λ1k​v1​

and

Akv2=λ2kv2.A^k\mathbf{v}_2=\lambda_2^k\mathbf{v}_2.Akv2​=λ2k​v2​.

Therefore,

vk=c1λ1kv1+c2λ2kv2.\mathbf{v}_k = c_1\lambda_1^k\mathbf{v}_1 + c_2\lambda_2^k\mathbf{v}_2.vk​=c1​λ1k​v1​+c2​λ2k​v2​.

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 kkk:

vk=[city population at year ksuburban population at year k].\mathbf{v}_k= \begin{bmatrix} \text{city population at year }k\\ \text{suburban population at year }k \end{bmatrix}.vk​=[city population at year ksuburban population at year k​].

Suppose the yearly transition is represented by

A=[0.950.100.050.90].A= \begin{bmatrix} 0.95&0.10\\ 0.05&0.90 \end{bmatrix}.A=[0.950.05​0.100.90​].

The population after kkk years is

vk=Akv0.\mathbf{v}_k=A^k\mathbf{v}_0.vk​=Akv0​.

The challenge is to understand the state after many years, such as

v50=A50v0.\mathbf{v}_{50}=A^{50}\mathbf{v}_0.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,\lambda_1=1.0, \qquad \lambda_2=0.85,λ1​=1.0,λ2​=0.85,

with corresponding eigenvectors v1\mathbf{v}_1v1​ and v2\mathbf{v}_2v2​.

Assuming these eigenvectors form a basis, the starting state can be decomposed as

v0=c1v1+c2v2.\mathbf{v}_0=c_1\mathbf{v}_1+c_2\mathbf{v}_2.v0​=c1​v1​+c2​v2​.

After 505050 years,

v50=c1(1.0)50v1+c2(0.85)50v2.\mathbf{v}_{50} = c_1(1.0)^{50}\mathbf{v}_1 + c_2(0.85)^{50}\mathbf{v}_2.v50​=c1​(1.0)50v1​+c2​(0.85)50v2​.

Because

(1.0)50=1(1.0)^{50}=1(1.0)50=1

and

(0.85)50≈0.000296,(0.85)^{50}\approx 0.000296,(0.85)50≈0.000296,

the second term becomes very small:

c2(0.85)50v2≈c2(0.000296)v2.c_2(0.85)^{50}\mathbf{v}_2 \approx c_2(0.000296)\mathbf{v}_2.c2​(0.85)50v2​≈c2​(0.000296)v2​.

Thus,

v50≈c1v1.\mathbf{v}_{50} \approx c_1\mathbf{v}_1.v50​≈c1​v1​.

The component in the v2\mathbf{v}_2v2​ direction decays away, while the component in the v1\mathbf{v}_1v1​ direction remains. The long-term population distribution becomes approximately aligned with v1\mathbf{v}_1v1​.

The dominant eigenvalue

The eigenvalue with the greatest long-term influence is called the dominant eigenvalue. In this example,

1.0>0.85,1.0>0.85,1.0>0.85,

so λ1=1.0\lambda_1=1.0λ1​=1.0 is dominant.

The corresponding eigenvector v1\mathbf{v}_1v1​ describes the stable pattern toward which the system moves. The initial state determines the coefficient c1c_1c1​, 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 111 continually shrinks under repeated application. A component associated with an eigenvalue equal to 111 persists.

More generally:

  • Eigenvalues with magnitude less than 111 produce decaying behavior.
  • An eigenvalue with magnitude equal to 111 produces persistent behavior.
  • Eigenvalues with magnitude greater than 111 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.850.850.85 at every step, why does that component eventually become much less important than a component multiplied by 1.01.01.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.\mathbf{v}'=A\mathbf{v}.v′=Av.

Most vectors change direction when transformed. An eigenvector is different because it remains on its original line:

Av=λv.A\mathbf{v}=\lambda\mathbf{v}.Av=λv.

The eigenvalue λ\lambdaλ tells how the eigenvector is scaled. Values greater than 111 stretch, values between 000 and 111 shrink, negative values reverse direction, and repeated powers of λ\lambdaλ determine long-term growth or decay.

Rearranging the eigenvalue equation produces

(A−λI)v=0.(A-\lambda I)\mathbf{v}=\mathbf{0}.(A−λI)v=0.

The identity matrix III is essential because it converts the scalar λ\lambdaλ into the matrix λI\lambda IλI. A nonzero eigenvector exists only when A−λIA-\lambda IA−λI is singular, so its determinant must vanish:

det⁡(A−λI)=0.\det(A-\lambda I)=0.det(A−λI)=0.

This characteristic equation finds the eigenvalues. Each eigenvalue is then substituted back into

(A−λI)v=0(A-\lambda I)\mathbf{v}=\mathbf{0}(A−λI)v=0

to 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=∑iciλikvi.\mathbf{v}_k = \sum_i c_i\lambda_i^k\mathbf{v}_i.vk​=i∑​ci​λik​vi​.

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.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent