11 Eigenvectors/values
11.1 Definitions
Eigenvalues and eigenvector apply only to square matrices.
11.1.0.1 Eigenvector
An eigenvector of an
matrix
is a nonzero vector
such that the equation
holds true for some scalar
,
called the eigenvalue.
By definition, an eigenvector must be nonzero to avoid the trivial and
unimportant case where
,
which is always true for any matrix and scalar.
The valid vector
is referred to as the eigenvector corresponding to that specific
.
Geoemetrically, when an eigenvector is multiplied by matrix
,
its direction remains completely unchanged. It can be stretched or
compressed.
11.2 Eigenvalue can be 0
If
,
the core equation becomes
,
which simplifies to
.
Because eigenvectors must be nonzero, this means
has a nontrivial solution.
Therefore, an
matrix
having an eigenvalue of 0 means
is not invertible.
Geometrically, there is at least one non-zero direction in space (the
eigenvector) that gets completely crushed down to the origin during the
transformation. So the matrix
represents transformation that crushes space and loses a
dimension.
An invertible matrix represents a transformation that can be perfectly
reversed or undone. For matrix with eigenvalue of 0, we cannot reverse
the operation of crushing the eigenvectors down to
,
because the unique starting points are lost. Hence it ties in with
matrix being singular.
The eigenspace for an eigenvalue of
is the same thing as the null space of the matrix.
11.3 Finding eigenvectors from known eigenvalue
Solving for nontrivial to , rewrite it as The set of all possible solutions to forms the null space of the matrix . This set is a subspace of and is formally called the eigenspace of corresponding to . The eigenspace contains the zero vector and all the eigenvectors tied to that specific eigenvalue.
11.3.0.1 Example
Given a matrix with an eigenvalue of , Hence the general solution for the eigenvector is: The eigenspace is a two-dimensional subspace (a plane) of . A basis is
11.4 Finding eigenvalues
We have the foundational equation And we want a nontrivial solution to By Invertible Matrix Theorem, the matrix equation has nontrivial solutions only if We can then derive the characteristic polynomial where the only unknown is . The roots of this polynomial are the eigenvalues.
11.4.0.1 Example
Find eigenvalues for matrix
.
For
matrix, determinant is
.
Setting the characteristic
polynomial to zero, we get the eigenvalues
and
.
11.4.1 Special case - triangular matrices
The eigenvalues of a triangular matrix (upper, lower or pure
diagonal) are simply the entries on its main diagonal.
Example For lower triangular matrix,
The eigenvalues are
and
.
Proof
Note that
has an algebraic multiplicity of 2. To find the actual number of
independent eigenvectors (geometric multiplicity), you would still need
to row reduce
.
Example For pure diagonal matrix,
The eigenvalues are
and
.
In addition for pure diagonal matrices, the standard basis vectors are
automatically their eigenvectors.
For
,
the eigenvector is
and For
,
the eigenvector is
.
11.5 Diagonalisation
Two
matrices
and
are similar if there exists some invertible matrix
such that
.
Similar matrices represent the same linear transformation, just viewed
from different coordinate systems (bases).
Importantly, similar matrices share the same
Determinant
Invertibility
Rank (dimension of column space)
Nullity (dimension of null space)
Trace
Characteristic polynomial
Eigenvalues
Eigenspace dimension. The eigenspace of corresponding to and the eigenspace of corresponding to have the same dimension.
In the context of eigenvectors, we want to find a
that transforms
into a diagonal matrix
(all non-zero elements are on the main diagonal).
Why diagonalise?
Eigenvalues of = the diagonal elements = Eigenvalues of (by similarity).
= product of diagonal entries.
Rank of = number of non-zero entries on the main diagonal.
Easy multiplication:
: rows of are multiplied by diagonal elements of .
: columns of are multiplied by diagonal elements of .
just raises each diagonal entry to -th power.
Inverse of is reciprocal of diagonal elements, i.e. for , .
11.5.1 Diagonalisation Theorem
11.5.1.1 Theorem
An matrix is diagonalizable if and only if it has linearly independent eigenvectors . If it does, you have enough eigenvectors to form a complete basis for . can then be rewriten as .
is constructed using the linearly independent eigenvectors as the columns of the matrix.
is the diagonal matrix built by placing the corresponding eigenvalues on the main diagonal.
The order matters. If is in the first column of , its corresponding eigenvector must be the first column of .
11.5.2 Distinct Eigenvalues - sufficient condition for diagonalisablility
11.5.2.1 Theorem
An
matrix
with
distinct eigenvalues is guaranteed to be diagonalizable.
This is because:
Theorem If
are eigenvectors that correspond to distinct eigenvalues
of an
matrix
,
then the set
is linearly independent.
Therefore,
unique eigenvalues gives
linearly independent eigenvectors
,
fulfilling the condition for the diagonalisation theorem.
11.5.3 Repeated eigenvalues - algebraic vs geometric multiplicity
A matrix with repeated eigenvalues can still be diagonalisable.
First define terms:
Algebraic multiplicity: The number of times an eigenvalue appears as a root in the characteristic equation.
Geometric multiplicity: The actual dimension of the eigenspace (i.e., the number of linearly independent eigenvectors ) corresponding to some eigenvalue .
It is calculated as the nullity of (), or the number of free variables (columns with no pivots) after row reducing the augmented matrix of
For any eigenvalue, For a matrix to be diagonalisable, its geometric multiplicity must exactly equal its algebraic multiplicity for every single eigenvalue.
11.5.3.1 Example - diagonalisable w/ repeated roots
Given the matrix
Skipping the mechanics of finding the determinant,
The eigenvalue -2 has multiplicity of 2.
For
:
Solving
yields one basis vector:
.
For
:
Solving
yields two free variables, which allows us to extract two linearly
independent basis vectors:
.
So we get 3 indepedent eigenvectors, forming a basis for
.
is diagonalisable.
To diagonalise
,
11.5.3.2 Example - Defective matrix
Given the matrix
Again skipping the mechanics, the characteristic equation is:
For
:
The basis yields one vector:
.
For
:
When we solve
for this new matrix, row reduction only yields one free variable. This
means the eigenspace is only one-dimensional, giving us a single basis
vector:
.
Geometric multiplicity of
is 1
its the algebraic multiplicity of 2.
Hence
is not diagonalisable (also called a defective matrix).
11.6 Powers of - advantage of diagonal matrices
For a diagonal matrix and any power , We can derive that for a diagonalisable matrix and any power ,
11.6.0.1 Example
Compute
for the matrix
.
Find eigenvalues:
The eigenvalues are
and
.
Then finding the null space for each
,
we get the basis vectors
v
and
v.
Constructing
and
:
Also,
So
.
By simple matrix multiplication we get
.
11.7 Linear transformation, Eigenbasis
Applying a linear transformation to a vector
can be represented as
The problem is that in the standard basis, the matrix
is a "coupled" system. When you multiply
,
the rows of
mix the individual
,
,
and
components together. If you need to apply this transformation multiple
times (like
),
this coupled mixing requires an enormous amount of computational
operations.
Instead, we can change the basis to the Eigenbasis, i.e. a basis for a
vector space consisting entirely of eigenvectors of a linear
transformation or matrix.
We use the fact that
to rewrite the linear transformation:
(Change of basis). is the inverse of the matrix containing the eigenvectors.
This calculates , which are the coordinates of the vector relative to the Eigenbasis. (Recall the change of basis formula ).(Transformation). Mulitplying the new coordinates by , the diagonal matrix of eigenvalues.
Because the vector is now defined in terms of eigenvectors, this transformation is strictly a scaling operation. By definition, a transformation only scales eigenvectors by their eigenvalues (). The matrix executes this decoupled scaling by multipliying the first coordinate by , the second by etc.(Change back the basis). After the transformation, convert back to standard basis using .
Overall, performing linear algebra operations on a diagonal matrix is supposedly more efficient than operating on a dense, coupled matrix.