In this chapter, we first consider functions that transform elements from one vector space into another one. These functions comply with the fundamental properties of linearity, already considered above, and are therefore called linear mappings. In many instances, we are able to formulate matrices to represent linear mappings. Afterwards, we consider a concept that has many applications in the sciences and engineering: the eigenvector. Such a vector is invariant under a linear mapping (except for a constant factor called eigenvalue) and for certain linear mappings (and associated matrices) it will be possible to find a basis of the vector space such that the associated matrix is diagonal, known as the diagonalization of the matrix.
Example 3.1
Let us start with an example: Let p = [x1, y1, z1] be a point in the vector space ℝ3 (for simplicity, we use row vectors here). Then, there exists a unique projection to the vector space ℝ2 spanned by x and y: such a point is simply q = [x1, y1] (in a three-dimensional Cartesian coordinate system, q lies in the plane [x, y, 0]). We regard [x1, y1, z1] → [x1, y1] as a mapping T from ℝ3 to ℝ2 and write
T: ℝ3 → ℝ2 T(p) = q.
This mapping conserves linearity:
We see that linear mappings are functions defined on vector spaces that preserve linear combinations. Other names (mostly used synonymously, but strongly depending on the context) are linear transformations, linear operators, or linear maps.
Definition 3.1
Given two vector spaces V and W, we say that T : V → W is a linear mapping if ∀u, v ∈ V and ∀α ∈ ℝ it verifies:
(a) T (u + v) = T (u) + T (v) (additivity).
(b) T (αu) = αT (u) (homogeneity).
These two properties can be combined in a single statement:
T (αu + βv) = αT (u) + βT (v) ∀u, v ∈ V and ∀α, β ∈ R.
Example 3.2
The mapping D : P → P defined by D(p(x)) = p′(x) is linear.
Proof. We show that the differentiation of polynomials is a linear mapping. Let f and g represent polynomials, written in the canonical basis of polynomials P. Then, we use knowledge of calculus: D(f + g) = D(f) + D(g) and D(αf) = αD(f) and differentiation of polynomials (as actually of any differentiable function) is linear. Note that we need to have a well-defined vector space.
Example 3.3
The mapping T : ℝ2 → ℝ2 defined by
is linear.
Proof. For all vectors and all α ∈ ℝ, we have:
and
This simple example allows us to draw a link to the first chapter. The linear mapping of this example is interchanging x and y components of a vector. This can also be achieved by multiplying a matrix to the vector:
Hence, a linear mapping can be represented (for some relevant cases) by
T(u) = Au,
where A is a suitable matrix. We will come back to the matrix associated to a linear mapping below.
Example 3.4
The mapping T : ℝ2 → ℝ2 defined by
is not linear.
Proof. It is sufficient to show that the additivity property is not fulfilled:
while
Theorem 3.1
Let T : V → W be a linear mapping. Then:
(a) T(0) = 0.
(b) T (-u) = -T (u).
(c) T(a1u1 + a2u2 + … + anun) = a1T (u1) + a2T(u2) + … + anT(un).
Observe that in part (a), the nullvector on the left hand side is the nullvector from V, on the left hand side there is the nullvector from W. In particular, part (a) means that for a linear mapping, the nullvector maps to the nullvector. In part (c), the number of vectors n is not specified.
Example 3.5
The mapping T : ℝ2 → ℝ2 defined by
is not linear since
Definition 3.2
Let T : V → W be a linear mapping. We define the kernel and image of T, respectively, as follows:
KerT = {x ∈ V : T(x) =0},
ImT = {T (x) ∈ W : x∈ V}.
Observe that KerT is a subspace of V and ImT is a subspace of W. Once we establish the associated matrix for a linear mapping, we will see how the kernel is analogous to the nullspace and the image to the column space of the matrix.
Theorem 3.2
Let T : V → W be a linear mapping and let {u1, u2, …, un} be a system of generators of V. Then, {T (u1), T (u2), …, T (un)} is a system of generators of ImT.
Example 3.6
Find the kernel and image of the linear mapping T : ℝ3 → ℝ3 defined by
For the vector space of this example, we know a very convenient system of generators: the canonical basis of ℝ3:
We apply the linear mapping to these vectors and obtain three vectors
Two of these vectors are linearly dependent, and hence we conclude
The kernel is formed by the vectors that map to the nullvector.
From that set of equations we obtain
x = -z,
y=0,
with z being arbitrary, and therefore
Before we proceed, we have to review some general classification of functions:
Definition 3.3
Let f : A → B be a function. Then,
(a) f is injective if and only if x ≠ y implies f (x) ≠ f (y) ∀x, y ∈ A.
(b) f is surjective if and only if ∀b ∈ B, ∃a ∈ A such that f (a) = b.
(c) f is bijective if and only if f is injective and f is surjective.
With this classification it is now possible to confirm the following properties for injective and surjective (and hence, bijective) linear mappings:
Theorem 3.3
Let T : V → W be a linear mapping. Then:
(a) T is injective if and only if KerT = {0}.
(b) T is surjective if and only if ImT = W.
(c) T is bijective if and only if KerT = {0} and ImT = W.
There are alternative characterizations for injective, surjective and bijective linear mappings, provided by the following theorem:
Theorem 3.4
Let T : V → W be a linear mapping. Then:
(a) T is injective if and only if for each independent set {u1, u2, …, un}, the set {T (u1), T (u2), …, T (un)} is linearly independent.
(b) T is surjective if and only for each system of generators of V, {u1, u2, …, un}, the set {T (u1), T (u2), …, T (un)} is a system of generators of W.
(c) T is bijective if and only if for each basis of V, {u1, u2, …, un}, the set {T (u1), T (u2), …, T (un)} is a basis for W.
Notice that n for the three cases is not necessarily the same number, as the number of independent vectors can be smal ler than the dimension, and the number of generatoring vectors can be larger than the dimension, respectively.
Let us now move on to generate linear mappings from basic operations.
Definition 3.4
Let f, g : V → W be two linear mappings and λ ∈ ℝ. Then, we can define the following operations:
(a) f + g:V → W, (f + g)(x) = f(x) + g(x)
(b) λf : V → W, (λf)(x) = λf(x)
Theorem 3.5
With the operations of linear mappings, the set of linear mappings between two vector spaces V and W is itself a vector space.
As for general functions, we can also define the composition of linear mappings and find that its result is also a linear mapping, by the next theorem.
Theorem 3.6
Let f : V → W and g : W → U be two linear mappings. Then, their composition g ◦ f : V → U, defined by (g ◦ f)(x) = g (f (x)) is also a linear mapping.
We also would like to define an inverse linear mapping and, for that, we use the general result that if a function is bijective, it has a unique inverse function. In particular, if f : V → W is a bijective linear mapping, then there is a unique function f-1 : W → V such that:
f-1 (f (v)) = v for all v ∈ V,
f(f-1(w)) = w for all w ∈ W.
It turns out that the inverse of a linear mapping is also a linear mapping.
Theorem 3.7
For each bijective linear mapping Let f : V → W, its inverse mapping f-1 : W → V is also a linear mapping, i.e.,
f-1 (αx + βy) = αf-1 (x) + βf-1 (y) ∀x, y ∈ W and ∀α, β ∈ ℝ.
Here, we will see that linear mappings between finite-dimensional vector spaces have a matrix representation. In fact, given a linear mapping T : V → W, this matrix representation or associated matrix, denoted by (or just for the sake of simplicity) has the useful property that
where and are bases for V and W, respectively. In other words, for each x ∈ V, the matrix should transform the coordinates of x into the coordinates of its image under T. In this way, the effect that has on [x] is analogous to the effect that T has on x.
An important observation is that depends on the bases that are chosen for the vector spaces and, of course, the mapping itself. We now discuss how to construct the associated matrix of a linear mapping relative to the bases and .
Let = {b1, b2, …, bn} be a basis for V. Then, for each x ∈ V, we can write
x = x1b1 +x2b2 + … +xnbn,
which means that its vector of coordinates relative to is
If we apply the linear mapping T to both sides of x = x1b1 + x2b2 + … + xnbn, then we obtain
T(x) = T(x1b1 + x2b2 + … + xnbn),
and, due to the linearity of T, we have
T(x) = x1 T(b1) + x2T(b2) + … + xn T (bn).
Since taking coordinates preserves linear combinations, we deduce that the coordinates of T (x) relative to the basis are given by
or, in matrix notation,
where each [T (bi)]C is an m × 1 (column) vector.
Comparing (3.1) and (3.2), we see that the m × n matrix
is precisely the associated matrix for T that we were looking for.
Example 3.7
Let T : ℝ2 → ℝ3 be a linear mapping such that
and let ε2 and ε3 be the canonical bases for ℝ2 and ℝ3, respectively. Find . Then, compute T (x) for
According (3.3), the columns of are
Therefore,
In this case, T (x) can be computed directly (even if a definition for T is not explicitly given) using , because T (x) = [T (x)]ε3 and x = [x]ε2. Therefore,
becomes
Example 3.8
Let D : P3 → P3 be the linear mapping defined as
D(p(x)) = p′(x).
Find , where S3 = {1, x, x2, x3} is the standard basis for P3.
Note that, in this example, D is a mapping from P3 to itself. Moreover, we are asked to use the same basis to represent the elements in P3 as well as their images under D.
By (3.3), we have
The explicit expression of is obtained by writing out the derivatives in the last equality as linear combinations of S3 :
Therefore,
Let us mention an interesting property of this linear mapping. Observe that the first column of consists entirely of zeros and, obviously, it is not a pivot column. Therefore, the equation
has a non trivial solution (the first column corresponds to a free variable). This means that there is at least one non zero polynomial p(x) such that D(p(x)) = 0. In other words, KerD ≠ {0}. It follows from Theorem 3.3 that D is not injective. Indeed, it is well known that for any constant k, D(k) = 0. Consequently, any polynomial of the form f (x) = p(x) + k, k ∈ ℝ, satisfies the equation
D(f (x)) = p′(x).
Example 3.9
Let T : P3 → P4 be the linear mapping defined as
T (p(x)) = x p(x).
Let us compute where = {1, 1 + x, x + x2, x2 + x3} and S4 = {1, x, x2, x3, x4}.
Since we are using the standard basis for P4, it is easy to write the explicit expression for . By (3.3),we have
It is possible to characterize the injective and surjective character of a linear mapping T : V → W in terms of the pivots of its associated matrix independently of the bases we choose for the vector spaces involved.
In the discussion below, = {b1, b2, …, bn} will denote a basis for V and C will denote a basis for W.
Injectivity. By Theorem 3.4, we know that T is an injective linear mapping if and only if {T (b1), T (b2), …, T (bn)} is a linearly independent set of vectors. Moreover recall that their coordinate vectors relative to any basis constitute a linearly independent set of column vectors. Hence,
{[T (b1)]C, [T (b2)]C,…, [T (bn)]C}
is a linearly independet set of vectors in ℝm with m = dim W. These vectors are the columns of the associated matrix . Therefore, the injectivity of T passes down to its associated matrix as follows: T is injective if and only if all the columns of are linearly independent, or, equivalently, all the columns of are pivot columns. Consequently, the equation
has a unique solution. If we compute the rank of associated with an injective linear mapping T, then we find that
This has the following important consequence:
If there is an injective linear mapping T : V → W, then
• n = dim V ≤ m because any linearly independent set in W has at most m elements.
• #columns of ≤ #rows of .
Surjectivity. Again, by Theorem 3.4, we know that T is surjective if and only if the set {T(b1), T(b2), …, T(bn)} is a generating system of W. Since taking coordinates preserve linear relations, this means that the set
{[T (b1)]C, [T (b2)]C,…, [T (bn)]C}
is a generating system for ℝm with m = dim W. These vectors are the columns of the associated matrix , and therefore surjectivity translates into the statement that all rows of have a pivot (in order to avoid degenerate rows), which is the same as confirming that the equation
has a solution for all b ∈ W. Therefore, computing the rank of , we obtain rank
This has the following important consequence:
If there is a surjective linear mapping T : V → W, then
• n = dim because any generatig set for W has at least m elements.
• #columns of #rows of .
Bijectivity. From the previous discussion, we deduce that T is bijective (T is both injective and surjective) if and only if the set of vectors {T (b1), T (b2), …, T (bn)} forms a basis for W. Putting what we know about injectivity and surjectivity together
This has the following significant implication:
If there is a bijective linear mapping T : V → W, then
• dim V = dim W.
• is an invertible square matrix.
Let us consider a few examples.
Example 3.10
Let T : ℝ2 → ℝ3 be a linear mapping such that
We already found the associated matrix with respect to the canonical bases:
Its row reduced echelon form is given by
We see that all columns of are pivot columns and therefore T is injective. We can also see that dim ℝ2 < dim ℝ3, and hence T cannot be surjective (and, thus, not bijective).
Example 3.11
Let D : P3 → P3 a linear mapping defined by D(p(x)) = p′(x). We already know the associated matrix relative to the standar basis S3 = {1, x, x2, x3}:
This matrix has less pivot columns than columns (hence, D is not injective) and less pivot rows than rows (hence, D not surjective).
Example 3.12
Let T : P3 → P4 a linear mapping defined by T (p(x)) = xp(x). We already know the associated matrix relative to the basis = {1, 1 + x, x + x2, x2 + x3} for P3, and the standard basis S4 = {1, x, x2, x3, x4}:
After computing its row reduced echelon form:
we find that all its columns are pivot columns, which means that T is injective. However, dim P3 < dim P4, so T cannot be surjective.
Whenever we compute a matrix associated with a linear mapping T : V → W, we explicitly use a fixed basis for each vector space V and W. This means that the explicit expression of the associated matrix depends on the specific choice of these bases. Nevertheless, since the underlying mapping T is independent of the choice of bases, we should expect to find a relationship between associated matrices relative to two different choices of bases. In this section, we will investigate this in detail and describe how an associated matrix varies under a change of bases. Let us start with an illustrative example.
Example 3.13
Let T : ℝ3 → ℝ2 be a linear mapping defined by
Let = {b1,b2,b3} and C = {c1, c2} be bases for ℝ3 and ℝ2, respectively. We will consider two cases for illustration: when B and C are the canonical bases and when they are not, and give the associated matrices for both cases.
Case 1: and are the canonical bases E3 and E2, respectively. The presentation may appear unnecessarily detailed here, but it is illustrative to see the differences with the more complicated case 2 below. We have
We calculate, by prescription, T (bi), for i = 1, 2, 3:
Actually, the resulting vectors are already written in terms the canonical basis E2, as one can readily confirm:
Therefore, we have
Case 2: and are now given by
We calculate, by prescription, T (bi), for i = 1, 2, 3:
Now, we need to compute [T (b1)]C, [T(b2)]C, and [T (b3)]C. For this, we must solve the three systems of equations whose augmented matrices are:
[c1 c2T(b1)], [c1 c2T (b2)], [c1 c2T(b3)].
All three systems can be solved simultaneously by setting up the augmented matrix
c1 c2T(b1) T(b2) T(b3),
and reducing it to its row reduced echelon form:
Therefore,
As seen in the previous example, while a linear mapping T : V → W may be independent of the choice of bases for V and W, the explicit expression for its associated matrix will change under different choices of bases.
Our goal here is to start with the associated matrix relative to the old bases (for V) and (for W), and use it to produce the associated matrix relative to new bases (for V) and Ĉ (for W). Let us start by recalling the fundamental property of the associated matrix relative to the old bases and :
Moreover, we can use matrices of change of bases to write the coordinates of the vectors v ∈ V and T (v) ∈ W relative to the new bases: bb
If we insert these two identities in the previous equation, then we obtain
Multiplying both sides of the equation on the left by , we get
Comparing this equation with the fundamental property satisfied by MBb :
we can finally conclude that
Hence, we can obtain the associated matrix for T relative to the new bases and Ĉ through a matrix product of three matrices. Note that, on one hand, and are both m × n matrices, where n = dim V and m = dim W. On the other hand, the matrix is m × m and the matrix is n × n.
We state the above important result as a theorem.
Theorem 3.8
Let T : V → W be a linear mapping and let be its associated matrix relative to the basis B for V and the basis for W. If and Ĉ are new bases for V and W, respectively, then the associate matrix for T relative to the new bases is given by
where and are matrices of change of basis.
Example 3.14
We review the example from above. Let T : ℝ2 → ℝ3 be a linear mapping such that
Its associated matrix relative to the canonical bases is
We wish to determine relative to the new bases given by
By Theorem 3.8, we can obtain as follows:
Writing the matrix of change of basis from and to the corresponding canonical bases is straightforward since their columns consist of the basis vectors themselves:
However, we need to find :
Therefore,
We can finally compute :
Example 3.15
Let T : ℝ3 → ℝ2 be the linear mapping defined by
Its associated matrix relative to the canonical bases is
If we wish to determine its associated matrix relative to the bases and given by
then we need to compute the matrices of change of bases and . We can write down directly the matrices
We only need to compute :
By Theorem 3.8, we can obtain as follows:
In this section, we consider a topic that has a wide range of applications in applied mathematics and by extension in the sciences and engineering: the eigenvectors and eigenvalues of a linear mapping. In the presence of some favourable conditions (namely, when the mapping is diagonalizable), they offer a way to understand the structure of a linear mapping that map a vector space to itself and, in turn, understand the structure of the involved vector space. Moreover, the study of diagonalizable linear mappings opens the avenue to more advanced methods (e.g., orthogonal or Fourier decomposition of vectors) that we discuss in the next chapter.
For a finite-dimensional vector space V with dim V = n, let T : V → V be a linear mapping, and let = {b1, b2, …, bn} be a basis for V. Since maps V into itself then, for each x in V, the vector T (x) can also be written in the same basis . The matrix associated with T relative to is given by
For the sake of simplicity, the associated matrix can simply be denoted as MB. We must mention that any linear mapping that maps a vector space to itself is usually called a linear operator. So, from now on, MB can be understood as the associated matrix of a linear operator relative to a basis .
In the previous section, we discussed the behavior of the associated matrices of a linear mapping T : V → W under a change of bases. In the particular case when T is a linear operator (that is, W = V), we can consider the change of basis from to some other basis . In this case, by Theorem 3.8, we have
where is the matrix of change of basis from to and .
The fundamental goal is to find a basis (when possible) such that MC is a diagonal matrix
where the empty spaces are understood to be filled with 0’s. If such a basis C = {c1, c2, …, cn} exists, then the explicit expression
shows that
This means that if the linear mapping is applied to a vector of this particular basis, then we obtain a multiple of the same basis vector! This is quite extraordinary since, in general, the application of a linear mapping to an input vector does not produce an output vector that is proportional to the input vector. When a non zero vector is mapped by T to a scalar multiple of itself, such a vector is called an eigenvector, which comes from German “eigen,” meaning “self.” The scalar constant that multiplies and eigenvector is called an eigenvalue. Each eigenvector is associated with an eigenvalue. We elaborate on this in the next section.
Definition 3.5
Let T : V → V be a linear mapping. Any non zero vector x ∈ V such that
T (x) = x,
for some scalar λ is called an eigenvector of T. The scalar λ is called the eigenvalue associated with x. Eigenvalues are allowed to be zero.
Observation 3.1
The zero vector is excluded as eigenvector, because it would satisfy the equation for any value of λ. From the above introductory comments, we would expect that there are exactly n = dim V eigenvectors and eigenvalues. While sometimes this can be indeed the case, however, this topic will be treated with care and detail below.
Example 3.16
Let T : ℂ2 → ℂ2 be the linear mapping defined by
Recall that ℂ2 = x y⊤ : x, y ∈ ℂ. Verify that λ1 = i and λ2 = -i are eigenvalues of T. If possible, find a basis for ℂ2 such that its elements are eigenvectors of T and write its associated matrix relative to such basis.
We consider first λ1 = i. If λi is an eigenvalue of T, then there is some vector [x y]⊤ ∈ ℂ2 such that
However, by the definition of T, the same vector must satisfy
This implies that
ix = -y,
iy = x.
Solving this system of equations, we obtain
This means that all non zero scalar multiples of are eigenvectors of T associated with λ1.
Now, we consider λ2 = -i. Then, the following two equations must hold for some [x y]⊤ ∈ ℂ2:
This implies that
-ix = -y,
-iy = x.
The solution of this system of equation is given by
This means that all non zero scalar multiples of are eigenvectors of T associated with λ2. We observe that the set
formed by one eigenvector associated with λ1 and one eigenvector associated with λ2, is a linearly independent set. Moreover, since dim ℂ2 = 2, we conclude that ℂ is a basis for ℂ2.
It is not hard to verify that the associated matrix of T relative to is
Note that the order that you choose for the elements of the basis is important. In fact, if we change the order of the elements of C, then we obtain a new basis
and the associate matrix of T relative to Ĉ is
Observation 3.2
The attentive reader would have noticed that in the previous example, the eigenvectors associated with each eigenvalues are not unique: any non zero scalar multiple of the set is also an eigevector of T. This means that it is possible to normalize eigenvectors depending on the context, e.g., to obtain an eigenvector of unit length. It also implies that it is allowed to multiply an eigenvector by -1, i.e., changing the sign of all coordinate values at once, if convenient. In fact, we have the following general result.
Theorem 3.9
Let T : V → V be a linear operator. If v1, v2, …, vr ∈ V are eigenvectors associated with an eigenvalue λ, then any non zero vector v ∈ Span{v1, v2, …, vr} is also an eigenvector associated with λ.
Proof. Choose any non zero vector v ∈ Span{v1, v2, …, vr}. Then, v can be written as a linear combination of the eigenvectors v1, v2, …, vr. So, for some scalars a1, a2, …, ar, we can write
v = a1 v1 + a2v2 + … + arvr.
By the linearity of T and the fact that v1, v2, …, vr, are eigenvectors associated with the egienvalue λ, we have that
Hence, T (v) = λ v, which proves that v is an eigenvector of T associated with λ.
The following important theorem will be needed later.
Theorem 3.10
Let T : V → V be a linear operator and let x1, x2, …, xm be eigenvectors associated with distinct eigenvalues λ1, λ2, …, λm, i.e., λi ≠ λj for i ≠ j. Then, {x1, x2, …, xm} is a linearly independent set.
Proof. We prove this theorem by contradiction. Suppose that {x1, x2, …, xm} is a linearly dependent set. Therefore, since x1≠ 0, we know that one of the vectors in the set is a linear combination of the preceeding vectors (see Theorem 2.6). Let p be the least index such that xp+1 is a linear combination of the preceeding (linearly independent) vectors. Then there exist scalars c1, …, cp such that
c1 x1 + … + cp v0= vp+1.
On one hand, applying T to both sides of this equation and using the fact that T (xk) = λk xk for each k, we obtain
λ1 c1 x1 + … + λpcpxp = λp+1 vp+1.
On the other hand, if we multiply both sides by λp+1, we get
λp+1 c1 x1 + … + λp+1 cp xp = λp+1 vp+1.
Subtracting the previous two equations, we obtain
(λ1 − λp+1) c1 x1 + … + (λp − λp+1) cp xp = 0.
Since {x1, x2, …, xp} is linearly independent, the weights in the equation above are all zero. But none of the factors λi - λp+1 are zero, because the eigenvalues are distinct. Hence ci = 0 for i = 1, …, p, which means that vp+1 = 0, which is impossible. Hence, {x1, x2, …, xm} cannot be linearly dependent and therefore it must be linearly independent.
We note that the reciprocal of the previous theorem is not true in general. That is, it is quite possible for a linear operator to have several linearly independent eigenvectors associated with one eigenvalue. What the previous theorem is saying is that an eigenvector of a linear operator can not be associated with two distinct eigenvalues.
The following definition is motivated by Theorem 3.9.
Definition 3.6
Let T : V → V be a linear operator. For each eigenvalue λ of T, we define the set
Eλ = Span{x : T (x) = λx}.
It can easily be deduced from Theorem 3.9 that the set Eλ for each eigenvalue λ of T is a vector subspace of V. So we will call Eλ the eigenspace associated with λ. Observe that Eλ is composed of all the (non zero) linear combinations of the eigenvectors associated with λ, together with 0 ∈ V (otherwise, Eλ is not a vector subspace), which is not an eigenvector. By Theorem 3.10 we know that any eigenvector of T cannot belong to two different eigenspaces. Therefore we have that Eλi ∩ Eλj = {0} whenever λi ≠ λj.
We are now paving the way for a central theorem for eigenvectors and eigenvalues. Let T : V → V be a linear operator. Our goal will be to characterize the eigenspaces of T. In order to do this, we search for solutions of the equation
T (x) = λx,
where λ is a scalar and x is a non zero vector in V. This equation can also be written as
(T − λId)(x) = 0,
where Id denotes the identity operator on V defined by Id(v) = v for all v ∈ V. This means that λ is an eigenvalue of T with associated eigenvector x if and only if the above equation has a non trivial solution. Consequently, we have the following characterization of the eigenspaces of T.
Theorem 3.11
Let T : V → V be a linear operator. Then, for each eigenvalue λ of T
Eλ = Ker(T − λId).
Now, let us fix a basis of V and let M be the associated matrix of T relative to . Then the associated matrix of the operator T - λ Id relative to is given by M - λ In, where In is the identity matrix and n = dim V. In this way, we can translante the above discussion about eigenspaces to associated matrices and coordinate vectors: the vector x ∈ V satisfies (T - λI d)(x) = 0 if and only if
We immediately have the following result.
Theorem 3.12
Let T : V → V be a linear operator. Let be a basis for V and let M be the associated matrix of T relative to . Then, for each eigenvalue λ of T :
a. x ∈ Eλ if and only if [x] ∈ Nul(M - λIn), with n = dim V.
b. dim Eλ = dim Nul(M - λIn).
So far, we have described the eigenspaces of a linear operator assuming that we already know the eigenvalues. However, we still need to describe how to find the eigenvalues, so we make the following observation. The homogeneous equation M − λIn [x] = 0 has a non trivial solution if and only if the value of λ is chosen so that the matrix M − λIn is not invertible. Equivalently, the values of λ must be choses so that
det(M − λIn) = 0.
It turns out that det(M - λIn) is a polynomial of degree at most n and, therefore, if λ is an eigenvalue of T then it is a root of this polynomial. This means that a linear operator has at most n distinct eigenvalues.
This polynomial is important enough to deserve a special name.
Definition 3.7
Let T : V → V be a linear operator and let M be its associated matrix relative to a basis .
(a) The polynomial p(λ) = det(M - λIn) of degree n = dim V is called the characteristic polynomial of T.
(b) p(λ) = det(M - λIn) = 0 is called the characteristic equation of T.
We must remark that important fact that the characteristic polynomial of a linear operator is independent of the basis that we choose to compute the associated matrix. To show this, suppose that P is a matrix of change of basis from to some new basis, and let M = P-1MP is the associated matrix relative to the new basis. Then,
By the multiplicative property of determinants (det AB = (det A)(det B)), we have
where we have used the fact that (det P-1)(det P) = 1. This means that the characteristic polynomial (and its roots) does not change regardless of its matrix representation.
Theorem 3.13
Let T : V → V be a linear operator and n = dim V. Then T has at most n linear independent eigenvectors.
Proof. Since the characteristic polynomial has degree n, then T has at most n distinct eigenvalues. It follows from Theorem 3.10 that T has at most n linearly independent eigenvectors.
Example 3.17
Find the eigenvalues and eigenvectors of T : ℝ2 → ℝ2 defined by
(Although it is not explicitly mentioned, the expressions for x ε ℝ2 and T are given in terms of the canonical basis.)
We may proceed as follows.
(1) First, we find the eigenvalues. Recall that the eigenvalues of T are the roots of its characteristic polynomial given by
Therefore, the eigenvalues of T are
λ1 = -7, λ2 = 3.
(2) Now, we obtain the eigenvectors associated with each eigenvalue.
(a) Let us start with λ1 = -7. The eigenvectors associated with this eigenvalue are vectors in the eigenspace Eλ1 = Ker(T + 7 Id). Since we have (implicitly) fixed the canonical basis, we have that x = [x]ε2 and Mε2 = A. Moreover, by Theorem 3.12 we have that x ∈ Eλ1 if and oly if x ∈ Nul(A + 7 I2); that is,
(A+7I2)x= 0.
Noticing that
we deduce that
Therefore, dim Eλ1 = 1 and every eigenvector associated with λ1 is of the form
(eigenvectors must be non zero vectors).
(b) Similarly, for λ1 = 3, we have
Therefore, dim Eλ2 = 1 and every eigenvector associated with λ2 is of the form
We would like to remark that the two eigenvalues are distinct (λ1 ≠ λ2). Then, by Theorem 3.10, the set = {v1, v2} with
is linearly independent since v1 and v2 are eigenvectors associated with λ1 and λ2, respectively. Furthermore, dim ℝ2 = 2, so these two linearly independent eigenvectors form a basis of ℝ2 ! It turns out that if we write the matrix representation of T relative to B, we obtain
which, conveniently, is a diagonal matrix whose non zero element are precisely the eigenvalues of T.
Example 3.18
Here, we revisit Example 3.16 with the emphasis on showing the systematic procedure of calculating eigenvalues and eigenvectors starting from a linear operator.
Let T : ℂ2 → ℂ2 be a linear operator defined by
We have implicitly fixed the canonical basis for ℂ2 to represent the operator as a matrix. Find the eigenvalues and eigenvectors of T.
(1) First, let us find the eigenvalues of T. The characteristic polynomial is given by
The eigenvalues of T are the roots of the characteristic polynomial. In this case, we have two distinct eigenvalues given by λ1 = i and λ2 = −i. Notice that these eigenvalues are complex numbers.
(2) Next, we describe the eigenvectors associated with each of the eigenvalues.
(a) For λ1 = i, Eλ1 = Ker(T − i Id). As in Example 3.17, we have fixed the canonical basis and, therefore, Eλ1 coincides with Nul(A − i I2). Hence, we compute
and therefore .
(b) Similarly, for λ2 = −i, we have Eλ2 = Nul(A + i I2). Since,
we obtain .
Now, consider the set
composed of one eigenvector associated with each eigenvalue. Since the eigenvalues are distinct, is a linearly independent set in ℂ2 with dim ℂ2 = 2. Therefore, is a basis for ℂ2. It is straightforward to verify that the matrix representation of T in this new basis is
So far, we have encountered examples of linear operators whose eigenvalues are all distinct and, consequently, it was possible to construct a basis for the involved vector space consisting entirely of eigenvectors of the linear operators. However, if we take into account the multiplicity of the linear factors of the characteristic polynomial, then it is not the case that the eigenvalues of every linear operator are all distinct as we show in the following example.
Example 3.19
Let T : ℝ3 → ℝ3 be a linear operator defined by
As usual, we have fixed the canonical basis of ℝ3 and, thus, A is the matrix associated with T relative to the canonical basis.
Let us compute the characteristic polynomial of T :
Notice that p(λ) has two distinct real roots λ1 = 2 and λ2 = 9. However, if we take into account the multiplicity of each linear factor, then p(λ) has three roots: one double root λ1 = 2 and a single root λ2 = 9. Hence, T does not have three distinct eigenvalues and, unfortunately, this means that the existence of a basis for ℝ3 consisting entirely of eigenvectors of T is not guaranteed. At this point, we know that we can choose two linearly independent eigenvectors: one from Eλ1 and another one from Eλ2 because λ1 ≠ λ2. But it is not clear if a third appropriate eigenvector exists or, even worse, where to find it.
However, if we are lucky enough, one of the eigenspaces could have dimension 2 and, therefore, we could obtain the missing third eigenvector from such eigenspace. In fact, this is precisely what happens in this example. You can verify that
Fortunately, dim Eλ1 = 2 and, therefore, we can choose two linearly independent eigenvectors associated with λ1; for instance
Moreover, the set obtained from B by adding any eigenvector associated with λ2 will be linearly independent (because λ1 ≠ λ2). In total, we have three linearly independent eigenvectors that can be used to construct a basis for ℝ3. For example, This means that the set
is a basis for ℝ3 consisting entirely of eigenvectors of T.
The following example shows that not every linear operator T : V → V admits enough linearly independent eigenvectors to constitute a basis for V.
Example 3.20
Fix the canonical basis of ℝ3, and let T : ℝ3 → ℝ3 be a linear operator defined by
Let us examine the eigenvalues and eigenvectors of T.
(1). First, we find the eigenvalues. The characteristic polynomial of T is
Therefore, λ = 2 is a triple root of p(λ) which, in turn, is the only eigenvalue of T.
(2) The corresponding eigenspace for λ = 2 is E2 = Nul(A - 2 I3). We have
In this case, T only admits one linearly independent eigenvector since dim E2 = 1. Therefore, it is not possible to produce a basis for ℝ3 consisting entirely of eigevenctors of T.
There are two quantities that play an important role in the general analysis of the eigenspaces of a linear operator: the multiplicity of each eigenvalue as a root of the characteristic polynomial and the dimension of the corresponding eigenspaces. These quantities deserve their own terminology.
Definition 3.8
Let T : V → V be a linear operator and let p(x) be its characteristic polynomial. For each distinct eigenvalue λ of T, we have
p(x) = (x - λ)mλ q(λ),
where q(x) is a non zero polynomial such that q(λ) ≠ 0, and mλ is a positive integer.
(a) We say that mλ is the algebraic multiplicity of λ.
(b) We say that dim Eλ is the geometric multiplicity of λ.
The following theorem states the relationship between the algebraic and geometric multiplicities of the eigenvalues of a linear operator.
Theorem 3.14
Let T : V → V be a linear operator. Then, for each distinct eigenvalue λ,
1 ≤ dim Eλ ≤ mλ.
Now, we return to the original motivation of this chapter: given a linear operator T : V → V, find a basis of V such that the matrix associated with T is a diagonal matrix. Let us introduce the following definition.
Definition 3.9
A linear operator T : V → V is said to be diagonalizable if there is a basis = {c1, c2, …, cn} of V made up entirely of eigenvectors of T.
If a linear operator is diagonalizable, then its associated matrix relative to the basis of eigenvector is of the form
where T(ci) = λi ci, for i = 1, 2, …, n (see the introductory comments of this section). As we saw before, not every linear operator is diagonalizable.
An immediate consequence of the above definition is the following theorem.
Theorem 3.15
Let T : V → V be a linear operator and n = dim V. Then T is diagonalizable if and only if it admits n linear independent eigenvectors.
The previous theorem, together with Theorem 3.10, yields the following result.
Corollary 3.1
Let T : V → V be a linear operator and n = dim V. If T has n distinct eigenvalues, then T is diagonalizable.
Observe that from Definition 3.8, we have that T has n distinct eigenvalues if and only if mλ = 1; that is, each eigenvalue of T has algebraic multiplicity equal to 1. Furthermore, by Theorem 3.14, this means that dim Eλ = 1 for each eigenvalue λ.
In general, however, a linear operator may admit eigenvalues with algebraic multiplicity greater than 1. In this general setting, a linear operator is diagonalizable if and only if, for each eigenvalue λ with algebraic multiplicity mλ, there are mλ linear independent eigenvectors associated with λ. We formalize this fact in the following theorem.
Theorem 3.16
For a linear operator T : V → V, let λ1, λ2, …, λk, be all the distinct eigenvalues of T. Then T is diagonalizable if and only if
dim Eλ1 + dim Eλ2 + … + dim Eλk = dim V.
Equivalently, T is diagonalizable if and only if
dim Eλj = mλj, for j = 1,2, …, k.
Now, we turn our attention the the associated matrix of a diagonalizable linear operator.
Theorem 3.17
Let T : V → V be a diagonalizable linear operator, n = dim V. Then there is a basis for V, = {c1, …, cn}, formed by eigenvectors of T; that is, T (ci) = λi ci for i = 1, 2, …, n. Moreover, the matrix associated with T relative to C is a diagonal matrix given by
Some remarks are in order. In Theorem 3.17, the associated matrix MC is a diagonal matrix with the eigenvalues of T in its main diagonal. If is a different basis for V, then
where the change of basis matrix is given by
Notice that the columns of this change of basis matrix are the coordinates of the eigenvectors of T relative to . Moreover, the eigenvalues of T appear in the main diagonal of M in the same order as the corresponding eigenvectors in the basis .
Most textbooks present the topic of diagonalization of linear operators as a method for factorizing matrices (referring to the associated matrix M) into a product P D P-1, where P is an invertible matrix and D is a diagonal matrix. However, these notes are intended to approach diagonalization from an operator point of view.
Finally, observe that we have total freedom in choosing the order of the eigenvectors in the basis . This means that the diagonal associated matrix for T is only uniquely determined up to the order in which the eigenvectors of T appear in .
Example 3.21
Fix the standard basis of ℝ3. Let T : ℝ3 → ℝ3 be a linear operator defined by T (x) = Ax, with
If possible, diagonalize the linear operator T.
(1) First, we find the eigenvalues. The characteristic equation is
Therefore, the eigenvalues of T are λ1 = 1 and λ2 = −2 with algebraic multiplicities mλ1 = 1 and mλ2 = 2, respectively.
(2) Now we find the eigenvectors.
(a) For λ1 = 1, we have mλ1 = 1, so we expect know that dim Eλ1 = 1. Indeed,
(b) For λ2 = -2 with mλ2 = 2, we have 1 ≤ dim Eλ2 ≤ 2. Let us compute
Therefore, dim Eλ2 = 2.
Since dim Eλ1 + dim Eλ2 = dimℝ3, by Theorem 3.16, T is diagonalizable.
(3) Let us compute a diagonal associated matrix for T. For this, we must construct a basis for ℝ3 consisting entirely of eigenvectors. We are free to choose the order of the eigenvectors, but we need to be consistent. Let
be the basis of eigenvectors. Then, A = P D P-1 with
Here, D ≡ MC and (ε3 denotes the canonical basis).
Example 3.22
Fix the canonical basis of ℝ3. Let T : ℝ3 → ℝ3 defined by T (x) = Ax, with
If possible, diagonalize the linear operator T.
(1) First, we find the eigenvalues. The characteristic equation is
Therefore, the eigenvalues of T are λ1 = 1 and λ2 = -2 with algebraic multiplicities mλ1 = 1 and mλ2 = 2, respectively. Note that the characteristic polynomial is identical to the one of the previous example, and therefore the eigenvalues are the same as well.
(2) Now we find the eigenvectors. Let us start examining the eigenvectors associated with λ2 = −2 with mλ2 = 2, since there resides the only possiblility for the matrix not being diagonalizable if dim Eλ2 ≠ mλ2. We compute
Since dim Eλ2 ≠ mλ2, it is not possible to find a basis for ℝ3 consisting entirely of eigenvectors of T and, therefore, T is not diagonalizable.