Lecture 31 · Week 8· 19:01
Isomorphisms and the space of maps
Inverse maps, Hom(V, W), composition.
Saved in this browser only. No account needed.
TranscriptThe full text of the lecture. Click any sentence to play the video from there.
Today: maps as objects
Welcome back. In the last two lectures we met linear maps. Let V and W be vector spaces over the same field F. A map T from V to W is linear when it respects sums and scalar multiples: T of u plus w is T of u, plus T of w, and T of c u is c times T of u. Its kernel, the vectors that T sends to zero, is a subspace of V. Its image, the set of all values of T, is a subspace of W. And T is one to one exactly when its kernel contains only the zero vector. When V is finite dimensional, the rank nullity theorem ties them together: the dimension of V is the dimension of the kernel plus the dimension of the image.
Today we treat linear maps as objects in their own right. We follow one map by another, we undo a map when that is possible, and we decide which spaces can be matched up by an invertible map. Then we add and scale maps, and the linear maps from V to W form a vector space of their own. Finally, we see how composition fits with these operations.
Composition
Let U, V and W be vector spaces over a field F. Let T be a linear map from U to V, and let S be a linear map from V to W. The composition, S after T, first applies T and then S: it sends a vector u to S of T of u. We write it S circle T. As with matrix products, read it from right to left: the map on the right acts first. Here is the first fact of today. The composition of two linear maps is linear.
The proof uses each map's linearity once. Take u and w in U. S after T, applied to u plus w, is S of T of u plus w. Since T is linear, this is S of T u plus T w. Since S is linear, this is S of T u, plus S of T w. For a scalar c, in the same order: S of T of c u is S of c times T u, because T is linear, and that is c times S of T u, because S is linear. So S after T is linear. Let's compose two maps of the plane. Let P be the projection onto the first axis: it sends the vector (x, y), to the vector (x, zero). Let R be the rotation by a quarter turn: it sends the vector (x, y), to the vector (minus y, x). Take the vector v, which is (two, one).
First R after P. The projection sends v to the vector (two, zero), and the rotation turns that into the vector (zero, two). Now P after R. The rotation sends v to the vector (minus one, two), and the projection sends that to the vector (minus one, zero). The results are different, so R after P is not P after R. Composition is not commutative. This matches matrices: for matrix maps, T sub A after T sub B is T sub A B, as we saw in lecture fourteen, and matrix products depend on the order.
Inverse maps
Some maps can be undone. The quarter turn R is undone by the quarter turn in the other direction: turning forward and then back brings every vector to where it started. Here is the definition. A linear map T from V to W is invertible if there is a map S from W to V such that S after T is the identity map of V, and T after S is the identity map of W. Such a map S is unique. Suppose S prime works too. Composition of maps is associative, since both groupings send a vector through the same three maps in the same order.
So S equals S after the identity of W, which is S after T after S prime. Regrouping, this is the identity of V after S prime, which is S prime. We call this unique map the inverse of T, and write T inverse. The next theorem and its proof are the core of today's lecture, so take them slowly. Let T be a linear map from V to W. First, T is invertible if and only if it is one to one and onto. Second, if T is invertible, then its inverse is linear. Suppose T has an inverse S. If T of u equals T of u prime, apply S to both sides: u, which is S of T u, equals S of T u prime, which is u prime. So T is one to one. And every w in W is T of S w, a value of T. So T is onto.
Conversely, suppose T is one to one and onto. Then every w in W is T of v for exactly one v in V: at least one because T is onto, and at most one because T is one to one. Let S of w be that v. Then S of T v is v, and T of S w is w. So S is an inverse of T. Now the second part. Take y and z in W, and let v and w be their preimages: T inverse y, and T inverse z. Since T is linear, T of v plus w is y plus z. Applying T inverse to both sides gives T inverse of y plus z, equals v plus w. For a scalar c, T of c v is c times y. Applying T inverse gives T inverse of c y, equals c v, which is c times T inverse of y. So T inverse respects sums and scalar multiples: it is linear.
In lecture twenty five, an isomorphism was a linear map that is one to one and onto. So the invertible linear maps are exactly the isomorphisms, and the inverse of an isomorphism is again an isomorphism, since it is linear, and invertible with inverse T.
Examples of inverses
Let's look at examples. The inverse of the quarter turn R is the quarter turn back, which sends the vector (x, y), to the vector (y, minus x). Check both compositions. R sends the vector (x, y), to the vector (minus y, x), and turning back gives the vector (x, y), again. In the other order, the turn back sends the vector (x, y), to the vector (y, minus x), and R sends that to the vector (x, y), which is where we started. The projection P has no inverse. It sends the vector (zero, one), to zero, just as it sends zero to zero. So its kernel is the whole second axis, not just the zero vector, and P is not one to one. It is not onto either: its image is only the first axis. Now a space of polynomials. On P two of F, the polynomials of degree at most two, let T shift the variable: T sends p to the polynomial p of x plus one. For example, T sends x squared to x plus one, squared, which is one, plus two x, plus x squared.
T is linear: substituting x plus one into a sum of polynomials gives the sum of the substitutions, and the same holds for a scalar multiple. To undo the shift, shift back. Let S send p to p of x minus one. Then S of T p is p of x minus one, plus one, which is p of x. And T of S p is p of x plus one, minus one, which is again p. So T is invertible, and S is its inverse: T is an isomorphism from P two of F to itself.
Isomorphic spaces
When there is an isomorphism from V to W, we say that V is isomorphic to W, and we write V, then a tilde over an equals sign, then W. An isomorphism matches the vectors of the two spaces one to one, and respects sums and scalar multiples. So the two spaces have the same structure: only the names of their vectors differ. Isomorphic behaves like equality. Every space is isomorphic to itself, by its identity map. If V is isomorphic to W, then W is isomorphic to V, by the inverse map. And if U is isomorphic to V, and V to W, then U is isomorphic to W, by the composition. That last step needs a check. Let T from U to V, and S from V to W, be isomorphisms. Then S after T is linear, and T inverse after S inverse undoes it.
Indeed, T inverse after S inverse, after S after T, regroups to T inverse after S inverse after S, after T. The middle pair is the identity, which leaves T inverse after T, the identity of U. In the other order, the inner pair T after T inverse is the identity of V, and S after S inverse is the identity of W. So the inverse of S after T is T inverse after S inverse: undo the last step first, like taking off shoes before socks. Which spaces are isomorphic? For finite dimensional spaces, the dimension decides everything. Theorem: let V and W be finite dimensional vector spaces over F. Then V is isomorphic to W if and only if they have the same dimension. Suppose T is an isomorphism from V to W. Since T is one to one, its kernel is only the zero vector, of dimension zero. Since T is onto, its image is all of W. By the rank nullity theorem, the dimension of V is zero plus the dimension of W, which is just the dimension of W.
Conversely, suppose both spaces have dimension n. If n is zero, both are the zero space, and the zero map is an isomorphism. Otherwise, choose a basis B of V and a basis C of W. By lecture twenty five, the coordinate maps of V and of W are isomorphisms onto F n. Follow the coordinate map of V by the inverse of the coordinate map of W. This composition of isomorphisms is an isomorphism from V to W. It sends x one b one, plus and so on, up to x n b n, to x one c one, plus and so on, up to x n c n: the vector of W with the same coordinates. So, for example, polynomials of degree at most three, and two by two matrices, are isomorphic: both spaces have dimension four. But P two of R is not isomorphic to R four, since their dimensions are three and four. Up to isomorphism, there is just one vector space of each finite dimension n over F, namely F n.
When the dimensions are equal, half of the check is enough. Let V and W have the same finite dimension n, and let T from V to W and S from W to V be linear, with S after T equal to the identity of V. Then T is an isomorphism, and S is its inverse. Proof: take a vector v in V with T of v equal to zero. Then v, which is S of T v, is S of zero, which is zero. So the only vector in the kernel of T is zero, and T is one to one. By rank nullity, the image of T has dimension n minus zero, which is n, the dimension of W. A subspace of W with the full dimension is W itself, so T is onto, and therefore invertible. Then S is S after T after T inverse, which is the identity after T inverse, which is T inverse. For square matrices, this is the fact from lecture sixteen that one product is enough. The equal dimensions matter. The map from R to R two that sends x to the vector (x, zero), followed by the map that keeps the first entry, gives the identity of R. But in the other order, the vector (zero, one), goes to zero, so that composition is not the identity of R two. In matrix terms, the two by one matrix of T has a left inverse but no right inverse, as the book's Corollary five point two point fourteen shows for matrices that are not square.
The space of linear maps
Now we add and scale maps. Write Hom of V and W for the set of all linear maps from V to W. For two maps S and T in it, and a scalar c, define their sum and scalar multiple vector by vector: S plus T sends v to S v plus T v, and c T sends v to c times T v. Theorem: let V and W be vector spaces over F. If S and T are linear maps from V to W, and c is a scalar, then S plus T and c T are linear. With these operations, Hom of V and W is a vector space over F. Its zero vector is the zero map, and the negative of T is minus one times T. First, S plus T is linear. Applied to u plus w, it gives S of u plus w, plus T of u plus w. By linearity, that is S u plus S w plus T u plus T w. Regrouping in W, this is S plus T at u, plus S plus T at w. For a scalar d, S of d u plus T of d u is d S u plus d T u, which is d times, S u plus T u, that is, d times S plus T at u.
Next, c T is linear. At u plus w it gives c times T u plus T w, which is c T u plus c T w. At d u it gives c times d T u, which is c d times T u. Since c d equals d c in a field, this is d c times T u, which is d times c T u, that is, d times c T at u. Now the axioms. Two maps are equal when they agree at every vector. So each axiom for maps is checked by evaluating both sides at a vector v and using the matching fact in W. For example, S plus T equals T plus S, because S v plus T v equals T v plus S v in W. Next, the zero map is linear, as we saw in lecture twenty nine, so it lies in Hom of V and W. And T plus the zero map sends v to T v plus zero, which is T v, so the zero map is the zero vector. Similarly, minus one times T is in Hom of V and W, by part a, and T plus minus one times T sends v to T v plus minus one times T v. Since minus one times a vector is its negative, from lecture twenty one, this is T v minus T v, which is zero. So minus one times T is the negative of T. We check the remaining axioms by evaluating at v as well.
Here they are. R plus S, plus T, sends v to R v plus S v, plus T v. By associativity in W, this is R v, plus S v plus T v, which is what R plus, S plus T, does to v. Next, c times S plus T sends v to c S v plus c T v. Then c plus d, times T, sends v to c T v plus d T v. And c d times T sends v to c times d T v. Finally, one times T sends v to T v. In each line, the middle step is the matching axiom in W. For example, take V equal to F n and W equal to F m. Every linear map is a matrix map T sub A, for exactly one m by n matrix A, by lecture thirteen. And T sub A plus T sub B sends x to A x plus B x, which is A plus B, times x. So adding the maps adds their matrices. And c T sub A sends x to c times A x, which is c A, times x. Later in the course, we will see that every space of linear maps works like this: for finite dimensional V and W, with bases chosen, maps become matrices, and the dimension of Hom of V and W is the dimension of V times the dimension of W.
The maps from a space to itself get a short name: L of V is Hom of V and V. A linear map from V to itself is called an operator on V; some books call it an endomorphism. In L of V, we can add, scale, and also compose.
Composition rules
Composition fits with these operations. Here are the rules, for linear maps whose compositions are defined. First, composition is associative. Second, it distributes over sums on both sides. Third, a scalar can be moved onto either factor. And fourth, the identity maps change nothing. The first and the fourth rules hold because both sides send each vector to the same place. The distributive laws are the interesting ones. On the left: R after S plus T, at v, is R of S v plus T v. Because R is linear, this is R of S v, plus R of T v, the value of R after S, plus R after T.
On the right: S plus T, after R, at v, is S of R v, plus T of R v, simply by the definition of the sum of maps. So this law needs no linearity at all. The first one needs R to be linear. For scalars: S of c times T v is c times S of T v, because S is linear, and c S, after T, gives c times S of T v too. So L of V, the space of operators on V, behaves much like the square matrices: we can add, scale, and multiply by composing, and write T squared for T after T. But as with matrices, the order matters: we saw that R after P is not P after R.
And two maps that are not zero can compose to zero. Let Q be the projection onto the second axis, which sends the vector (x, y), to the vector (zero, y). Then P after Q sends the vector (x, y), to P of, (zero, y), which is zero, for every vector.
Summary
Why does this matter? Polynomials in a single map, like T squared minus three T plus two times the identity, make sense in L of V, and later in the course they will tell us a great deal about the map T. Let's summarise. The composition of linear maps is linear. A linear map is invertible exactly when it is one to one and onto, and then its inverse is linear too: the invertible linear maps are the isomorphisms. Finite dimensional spaces over the same field are isomorphic exactly when they have the same dimension. When the dimensions are equal and finite, a one sided inverse is already the inverse.
The linear maps from V to W form a vector space, Hom of V and W, and composition distributes over its sums. Before the next lecture, read section six point three of the course book, try the problems on sheet eight about isomorphisms and the space of maps, and do the lecture check on this lecture's page at Open Semester dot com. Next time, we choose bases and turn every linear map into a matrix. See you there.
In this lecture
Materials
Check yourself
3 questions, from warm-up to stretch
Work each one out on paper, type your answer and press Check. Stuck? Open a hint; the worked solution is there when you need it.
- Question 1 of 3 Warm-up
Give . Then: which pairs are isomorphic? (a) and ; (b) and ; (c) the symmetric matrices in (those with ) and .
Hint 1 of 2
By Theorem 6.3.9, two finite-dimensional spaces are isomorphic exactly when they have the same dimension. Use Example 4.5.14: and .
Hint 2 of 2
By Example 6.1.11, the symmetric matrices are . Are these three independent?
Worked solution
- (a) and , so they are isomorphic (Theorem 6.3.9).
- (b) but , so they are not isomorphic.
- (c) By Example 6.1.11, the symmetric matrices are spanned by , and . The combination is only if , so the three form a basis and the space has dimension : isomorphic.
- Question 2 of 3 Core
Let , , and , . is invertible: find . Then find the first entry of and the first entry of .
Hint 1 of 2
is the vector with : solve and . Or use the inverse of (Theorem 3.5.6).
Hint 2 of 2
is after (Definition 6.3.1): the map on the right acts first. So .
Worked solution
- Solve : and . Three times the first equation minus the second gives , and then .
- Check: . In general , the map of , which is the inverse of (here ).
- : the first entry is .
- : the first entry is . So , as in Example 6.3.3.
- Question 3 of 3 Stretch
In let . Find the number with , where is the identity map. Use it to find . Finally, and are linear with . Must be the identity map of ?
Hint 1 of 2
, so . Compute it, subtract , and compare the result with a multiple of (Example 6.3.16).
Hint 2 of 2
If , then by Proposition 6.3.15, so . For the last part, see Proposition 6.3.11.
Worked solution
- .
- , so and : .
- By Proposition 6.3.15, , and likewise . So and . Check: .
- . By Proposition 6.3.11, makes an isomorphism with , so : yes, always.
How did it go?