MIT 18.701 — Lecture 6
Linear Transformations, Bases and Matrices, The Dimension Theorem
§ Vector Space Definitions (cont.)
Previously, we defined span and linear independence using vectors. Let's generalize these definitions to subspaces.
Definition (Span). Consider subspaces of a vector space . Then their span is:
Equivalently, the span of is the smallest subspace of containing .
Definition (Linear Independence). We say subspaces of a vector space are linearly independent if, for any choice of vectors in each subspace , we have:
Remark. Our previous notions of span and linear independence in terms of vectors are the same as those for subspaces: they're the special cases when each is a one-dimensional subspace .
Definition (Direct Sum). If subspaces of a vector space are both spanning and linearly independent, then we say is isomorphic to the direct sum () of these subspaces:
To be precise, here is how we formally define the isomorphism in the definition above.
Definition (Transformations). Given vector spaces and and a map , we say:
is a linear transformation if and always.
is a linear operator if it is a linear transformation with its domain equal to its codomain .
is an isomorphism if it is a bijective linear transformation.
Example. Each matrix gives a natural linear transformation .
Example. Consider the vector space . Then the map defined by is a linear operator.
§ Choosing a Basis
The following always (obviously!) holds.
Theorem. (Finite-Dimensional Vector Spaces) Suppose a finite-dimensional vector space over a field has dimension and some basis . Then is isomorphic to , with isomorphism:
So all vector spaces of the same dimension over are isomorphic.
This yields two philosophical perspectives about vector spaces:
Physicists' Approach: We can reduce any abstract -dimensional vector space to the simpler vector space , as long as we just pick a basis. So the different ways we can pick a good basis should be our focus of study.
Example. The space can be described using or or …
Mathematicians' Approach: The same vector space looks very different under different choices of basis. So our focus of study should be the qualities of vector spaces that are well-defined independent of choice of basis.
Example. It turns out that the determinant and trace of a matrix do not depend on the choice of basis.
§ Linear Transformation Matrix (Only if You Choose a Basis!)
Recall the following remark from the previous lecture:
Remark. It does not make sense to describe linear maps between arbitrary vector spaces using a matrix. Matrices only make sense if the vector spaces and are both of the form and .
To fix this, let's take the physicists' approach: if we choose a basis for vector spaces and , then we can reduce and to the isomorphic vector spaces and , at which point matrix representations make sense.
Theorem. (Matrix Representation of Linear Maps) Consider vector spaces and over a field . Select a basis for and a basis for . Then any linear transformation is determined entirely by just the images of . To be explicit,
Express each as a linear combination of the basis with coefficients ; that is,
Given these entries alone, we can compute the image of any vector under to be:
(The right-hand side of the above is just a messy-looking way to write matrix-vector multiplication.)
Unfortunately, abstract vector spaces and aren't usually born with an inherent choice of basis. How do the entries of our matrix change when we change our choices of basis?
Theorem. (Change of Basis) Suppose a linear transformation has corresponding matrix representation when we choose bases and .
Suppose we instead adopt new bases and , where and are bijective linear operators and that encode our change of basis.
Then the matrix determined by these new choices of bases looks like .
Proof: By definition, the entries of our new matrix must satisfy the property:
Note that we can perform left-multiplication by on both sides of this equation to achieve:
Forget about what meant to us to begin with: looking only at the equation above, we can read off that the coefficients encode the image of each under the map as a linear combination of .
Thus, , so , as promised.
Something interesting happens when we consider change of basis for linear maps .
Suppose is an -dimensional vector space over .
If we pick basis for , then we can express using a matrix .
Now, pick a different choice of basis , where is a bijective linear operator .
Then under this new basis looks like .
The key observation is that just looks like the result of conjugating by . Thus,
Theorem. (Matrix Conjugation) Changing the basis used in deriving the matrix form of a linear map is the same as conjugating the matrix by another matrix in the group .
Remark. Recall that a subgroup is normal if it remains invariant under conjugation. Equivalently, a subgroup of is normal if changing the basis of a matrix in yields another matrix in .
§ Rank, Nullity, and the Dimension Theorem
Definition (Rank and Nullity). Given a linear transformation (for finite-dimensional vector spaces and ), the kernel and image of are and .
Then the rank and nullity of are and .
Somewhat intuitively, the rank and nullity of a linear map together satisfy the following nice property:
Theorem. (Dimension Theorem) For a linear transformation between finite-dimensional vector spaces and , we have .
Remark. The Dimension Theorem is just the “logarithm” version of the fact that for any group homomorphism , we have : just take and to be vector spaces over .
In fact, the Dimension Theorem is stronger than , since dimension is a stronger notion than cardinality: and have the same cardinality, but as vector spaces over , they have different dimensions!
We'll finish class by proving the Dimension Theorem.
Proof: Choose bases and so we may represent with a matrix . We begin by investigating a very special case: suppose for which the matrix looks like the following:
In other words, sends each of to , respectively, and sends each of to zero. Then the image of is , and the kernel of is . Thus, the rank of is and the nullity of is , so the Dimension Theorem holds because .
Now the key idea is the following: consider, more generally, a linear transformation whose matrix representation is not as nice as . We claim that, under a suitable change of basis, the matrix can become , in which case we'd be done!
Why must there exist a change of basis that transforms into ? Because performing change of basis on a matrix looks like performing row and column operations on . So we can procedurally perform row and column operations (changes of basis) to eventually reform into the form .
The moral of the story? Picking the right basis can yield very nice results.
Remark. The above argument also implies that the rank of a matrix is the same as that of its transpose .