Hello! Welcome to the next lesson in our exploration of eigenvalues.
In our last session, we mastered the core algorithm for finding eigenvalues and eigenvectors. We started with the geometric idea of an invariant direction () and translated it into a concrete computational method: first, solve the characteristic equation for eigenvalues , and then find the null space of for the corresponding eigenvectors .
We ended with a critical question: What happens if the characteristic polynomial has a repeated root, like ? Does this mean we get two linearly independent eigenvectors for ? The answer, perhaps surprisingly, is "sometimes, but not always."
Today, our goal is to distinguish between the algebraic and geometric multiplicity of an eigenvalue. This distinction is the precise tool we need to answer that question. Understanding it is the key that unlocks the concept of diagonalization, which is fundamental to applications in both deep learning and quantum mechanics.
1. Algebraic Multiplicity: Counting Roots
The first type of multiplicity is a straightforward concept you've likely encountered in algebra.
The algebraic multiplicity (AM) of an eigenvalue is the number of times it appears as a root in the characteristic polynomial.
For example, if the characteristic polynomial of a 4x4 matrix is , then:
- The eigenvalue has an algebraic multiplicity of 2.
- The eigenvalues and each have an algebraic multiplicity of 1.
Think of it like a quadratic function that just touches the x-axis at . We say it has a single root with a multiplicity of two. The algebraic multiplicity of an eigenvalue is the same idea.
2. Geometric Multiplicity: Counting Eigenvectors
The second type of multiplicity is more geometric and relates directly to the eigenvectors.
The geometric multiplicity (GM) of an eigenvalue is the number of linearly independent eigenvectors associated with it. This is equivalent to the dimension of the eigenspace for .
Recall that the eigenspace for is the null space of the matrix . Therefore, the geometric multiplicity is simply the dimension of this null space:
Since you have a computer science background, you're familiar with solving systems of linear equations and the concept of free variables. This gives us a very practical way to think about geometric multiplicity:
The geometric multiplicity of is the number of free variables in the reduced row echelon form of the matrix .
Each free variable allows you to generate a new, linearly independent basis vector for the null space—which is to say, a new, linearly independent eigenvector.
The following video provides a concise and intuitive explanation of both concepts and demonstrates how they can differ using simple 2x2 examples.
DIRTY Shortcut to Find Geometric Multiplicity [Passing Linear Algebra]
Watch this video from STEM Support for a quick and clear introduction to algebraic and geometric multiplicity. It uses the 'repeated root' analogy for AM and introduces the very useful 'free variable' shortcut for GM.
Watch the entire video (8:33). It provides two excellent contrasting examples. In the first, AM = GM. In the second, AM > GM. This clearly illustrates that the two multiplicities are not always equal.
3. The Key Relationship and "Defective" Eigenvalues
As you saw in the video, the algebraic and geometric multiplicities for an eigenvalue are not always the same. However, they are not independent. There is a fundamental theorem that connects them:
For any eigenvalue of a matrix , its geometric multiplicity is always greater than or equal to 1, but less than or equal to its algebraic multiplicity.
This makes intuitive sense: an eigenvalue with an algebraic multiplicity of gives us at most dimensions worth of eigenvectors, but it might "collapse" and provide fewer.
When the geometric multiplicity of an eigenvalue is strictly less than its algebraic multiplicity (), the eigenvalue is called defective. A matrix with one or more defective eigenvalues is sometimes called a defective matrix.
Let's work through a 3x3 example to solidify the calculation process.
Algebraic and Geometric Multiplicity of Eigenvalues | Linear Algebra
The video 'Algebraic and Geometric Multiplicity of Eigenvalues' from Wrath of Math demonstrates the full process on a 3x3 matrix. This will reinforce how to find the basis of the eigenspace to determine the GM.
Watch from 0:30 to 4:02. The video first defines AM and GM, then computes them for a 3x3 matrix with eigenvalues λ=3 (AM=2) and λ=5 (AM=1). Pay close attention to how he finds the basis for the eigenspace of λ=3 to show that its GM is 2.
Test your understanding!
A 3x3 matrix has the characteristic polynomial . After finding the eigenvalues, you calculate the matrix and reduce it to row echelon form:
- What are the algebraic multiplicities of the eigenvalues and ?
- What is the geometric multiplicity of the eigenvalue ?
- Is the eigenvalue defective?
Show answer
-
Algebraic Multiplicities: From the characteristic polynomial , the root appears twice, and the root appears once.
- AM() = 2
- AM() = 1
-
Geometric Multiplicity: We look at the reduced matrix for . The system has two pivot columns (the first and third). This means there is free variable (). The number of free variables is the dimension of the null space.
- GM() = 1
-
Defective? Yes. Since GM() = 1 is strictly less than AM() = 2, the eigenvalue is defective. This matrix will not have enough linearly independent eigenvectors to form a basis for .
4. Distinguishing AM and GM: A Summary
The distinction between these two concepts is crucial. This article from GeeksForGeeks provides an excellent summary table that clearly lays out the differences.
Geometric Multiplicity in Linear Algebra
To consolidate your understanding, please read the following section from GeeksForGeeks. Focus on the table that directly compares geometric and algebraic multiplicity.
Navigate to the section titled 'Geometric Multiplicity vs Algebraic Multiplicity' and study the comparison table. This table is a great reference for quickly recalling the key differences.
This table is a valuable resource that summarizes the definition, calculation, and interpretation of both multiplicities.
Conclusion
Today, we've unpacked the crucial difference between the algebraic and geometric multiplicity of an eigenvalue. This resolves the question we posed at the start: a repeated root in the characteristic polynomial does not guarantee a corresponding number of independent eigenvectors.
Key Takeaways:
- Algebraic Multiplicity (AM): How many times is a root of the characteristic polynomial. It's a property of the polynomial.
- Geometric Multiplicity (GM): How many linearly independent eigenvectors exist for . It's the dimension of the eigenspace and can be found by counting the free variables.
- The Golden Rule: For any eigenvalue, .
- Defective Eigenvalues: An eigenvalue is defective if its geometric multiplicity is less than its algebraic multiplicity ().
Preview of the Next Lesson:
The concepts of AM and GM are not just theoretical curiosities; they are the gatekeepers to one of the most powerful ideas in linear algebra: diagonalization. As you may have guessed, a matrix can be diagonalized if and only if it is not defective—that is, if the geometric and algebraic multiplicities are equal for all of its eigenvalues. In our next lesson, we will formally define what it means to diagonalize a matrix and explore why this condition is so important.