Matrices & transformations 𝄜
🎯 Illustration of visualizing matrix transformations
🎯 A matrix transforms space → some directions remain invariant → the eigen vectors
Eigen vectors and eigen values
Section titled “Eigen vectors and eigen values”Spectral theorem
Section titled “Spectral theorem”🎯 Spectral theorem: each real symmetric matrix has an orthonormal base of eigen vectors
What do I see?
Section titled “What do I see?”Algebraic and geometric multiplicity
Section titled “Algebraic and geometric multiplicity”When an eigenvalue occurs more than once, we have to distinguish between two different notions of multiplicity.
Algebraic multiplicity
Section titled “Algebraic multiplicity”The algebraic multiplicity of an eigenvalue is the number of times it occurs as a root of the characteristic polynomial. For a matrix, the characteristic polynomial is .
Consider
Its characteristic polynomial is
Therefore, the only eigenvalue is , and it has algebraic multiplicity 2. But this does not yet tell us how many independent eigenvectors the matrix has.
Geometric multiplicity
Section titled “Geometric multiplicity”The geometric multiplicity of an eigenvalue is the dimension of its eigenspace: . In other words, it tells us how many linearly independent eigenvectors belong to that eigenvalue.
For example, solving for the matrix
gives
Therefore, and hence . As a consequence, all eigenvectors are of the form
This implies they all lie on the same line. There is only one linearly independent eigenvector.
Thus:
This is an important distinction: an eigenvalue can occur twice in the characteristic polynomial without giving us two independent eigenvectors.
A different matrix with the same eigenvalue
Section titled “A different matrix with the same eigenvalue”Now consider
The characteristic polynomial is again , so the eigenvalue again has algebraic multiplicity 2. But now is true for every vector . Therefore, the eigenspace is the entire plane: . Its dimension is 2, so the geometric multiplicity is also 2:
This gives us two very different situations with exactly the same characteristic polynomial.
The general rule
Section titled “The general rule”For every eigenvalue,
The geometric multiplicity can never be larger than the algebraic multiplicity.
For a repeated eigenvalue with algebraic multiplicity 2, there are therefore two possibilities:
In the first case there is only one eigenvector direction. In the second case every direction is an eigenvector.
Why this matters for the spectral theorem
Section titled “Why this matters for the spectral theorem”This distinction becomes particularly important when we arrive at the spectral theorem. A general matrix does not necessarily have enough independent eigenvectors to form a basis. The matrix
is an example: it has only one independent eigenvector, even though its characteristic polynomial has degree two. Therefore, it cannot be diagonalized.
Real symmetric matrices are special as the spectral theorem tells us that every real symmetric matrix has an orthonormal basis of eigenvectors. So for a -matrix
the eigen vectors are always perpendicular to one another. In other words, even when eigenvalues are repeated, there are always enough independent eigenvectors to span the entire space. For example,
has eigenvalues with orthogonal eigenvectors
These two eigenvectors form an orthonormal basis of . This is the deeper reason why symmetric matrices can be written as
where contains the orthonormal eigenvectors and contains the eigenvalues. The visual interpretation that is implied is:
- rotate space so that the eigen vectors are the axes;
- scale independently in those two directions;
- rotate space back to its original position.
So for a general symmetric transformation we have have:
So the distinction between algebraic and geometric multiplicity is not merely a technical detail. It tells us whether the eigenvectors provide enough directions to completely describe the transformation.
A nice observation for the demo
Section titled “A nice observation for the demo”The transition between
is particularly instructive.
In the first case, the two eigenvalues have merged, but the two eigenvector directions have not appeared: there is only one.
In the second case, the same repeated eigenvalue corresponds to an entire plane of eigenvectors.
This is a good reminder that eigenvalues alone do not tell us the complete structure of a matrix. We also have to look at the eigenspaces.
Summary linear algebra
Section titled “Summary linear algebra”