Computing Eigenvectors

Eigenvectors are the unique, non-zero vectors that, when a linear transformation is applied to them, only scale in magnitude without changing direction. They represent the intrinsic directions along which a matrix acts purely as a scalar multiplier. Identifying these vectors is crucial in many applications, from principal component analysis to solving systems of differential equations, because they reveal the fundamental behavior of a linear transformation.

The Defining Equation: (AλI)v=0(A - \lambda I)v = 0

The process of finding eigenvectors begins with the eigenvalue equation, Av=λvAv = \lambda v. This equation states that applying matrix AA to an eigenvector vv is equivalent to scaling vv by the eigenvalue λ\lambda. To solve for vv, we rearrange this into a homogeneous system: Avλv=0Av - \lambda v = 0. Since vv is a vector, we cannot simply factor it out; instead, we introduce the identity matrix II so that λv=λIv\lambda v = \lambda I v. This allows us to write the equation as (AλI)v=0(A - \lambda I)v = 0, which is a standard homogeneous linear system.

📐 The Eigenvector Equation

To find the eigenvectors vv corresponding to a known eigenvalue λ\lambda, we solve the homogeneous system:

(AλI)v=0(A - \lambda I)v = 0

Here, AA is the original matrix, λ\lambda is an eigenvalue, II is the identity matrix of the same dimension as AA, and vv is the eigenvector we are seeking.

Constructing the Matrix (AλI)(A - \lambda I)

Before solving the system, you must first construct the matrix (AλI)(A - \lambda I). This involves subtracting the eigenvalue λ\lambda from each element on the main diagonal of matrix AA. All off-diagonal elements of AA remain unchanged. The identity matrix II ensures that λ\lambda is only applied to the diagonal elements, maintaining the correct matrix dimensions for subtraction.

pythonForming the $(A - \lambda I)$ Matrix

Solving the Homogeneous System for vv

Once you have the matrix (AλI)(A - \lambda I), the next step is to solve the homogeneous system (AλI)v=0(A - \lambda I)v = 0. This is equivalent to finding the null space of the matrix (AλI)(A - \lambda I). We typically use Gaussian elimination or row reduction to transform the matrix into its reduced row echelon form (RREF). The RREF will reveal the relationships between the components of vv, often leading to free variables that allow for an infinite number of solutions, all of which are scalar multiples of a basis eigenvector.

pythonFinding an Eigenvector using SymPy's Null Space
Check Your Understanding
If (AλI)(A - \lambda I) were invertible, what would be the only possible solution for vv?

Parameterizing the Eigenspace

When solving (AλI)v=0(A - \lambda I)v = 0, you often encounter free variables after row reduction. These variables can take any real value, leading to an infinite number of eigenvectors for a given eigenvalue. We express these solutions in terms of a parameter (e.g., tt or ss), which defines the eigenspace — the subspace spanned by all eigenvectors corresponding to that λ\lambda. The basis vectors for this eigenspace are the specific eigenvectors we typically report.

pythonDeriving Parameterized Eigenvectors from RREF

Normalizing Eigenvectors

Since any scalar multiple of an eigenvector is also an eigenvector, there are infinitely many eigenvectors for each eigenvalue. To ensure consistency and simplify comparisons, eigenvectors are often normalized to have a length (or magnitude) of 1. This process converts them into unit vectors. Normalization does not change the direction of the eigenvector, only its scale, making it a standard practice in many applications like Principal Component Analysis (PCA).

📐 Eigenvector Normalization

To normalize an eigenvector vv into a unit eigenvector v^\hat{v}, divide vv by its Euclidean norm (magnitude):

v^=vv\hat{v} = \frac{v}{||v||}

where v=v12+v22++vn2||v|| = \sqrt{v_1^2 + v_2^2 + \dots + v_n^2} for a vector

v=(v1v2vn)v = \begin{pmatrix} v_1 \\ v_2 \\ \vdots \\ v_n \end{pmatrix}
.

pythonNormalizing an Eigenvector
Check Your Understanding
What property of an eigenvector is preserved after normalization?

Eigenspaces and Basis Vectors

For each eigenvalue λ\lambda, the set of all corresponding eigenvectors (including the zero vector, which is technically not an eigenvector but is included for subspace properties) forms a vector subspace called the eigenspace EλE_{\lambda}. The dimension of this eigenspace is known as the geometric multiplicity of λ\lambda. When we compute eigenvectors, we are typically finding a basis for this eigenspace. If an eigenvalue has a geometric multiplicity greater than one (e.g., for repeated eigenvalues), its eigenspace will be spanned by multiple linearly independent eigenvectors.

Process for Computing Eigenvectors
Loading diagram...
This flowchart illustrates the step-by-step process for finding eigenvectors corresponding to a given eigenvalue.
Key Takeaways
  • Eigenvectors are non-zero vectors that only scale, not change direction, when a linear transformation is applied.

  • The core of eigenvector computation is solving the homogeneous system (AλI)v=0(A - \lambda I)v = 0 for each eigenvalue λ\lambda.

  • Construct the matrix (AλI)(A - \lambda I) by subtracting λ\lambda from the diagonal elements of AA.

  • Use row reduction (Gaussian elimination) to find the reduced row echelon form (RREF) of (AλI)(A - \lambda I).

  • Parameterize the solution for vv using free variables to define the eigenspace.

  • Normalize eigenvectors to unit length (v=1||v||=1) for consistency, especially in applications like PCA.

  • The set of all eigenvectors for a given λ\lambda forms an eigenspace, and we typically find a basis for this subspace.

← All lessons in Linear Algebra: Eigenvalues

Ready to keep this from fading?

Bitelrn turns lessons like this into a full course — quizzes, a knowledge map, and spaced review.

Get started free