Survey of Mathematics

2.4 Inverses, one-to-one maps, isomorphism

Linear maps can be added, scaled and chained. A map can be undone exactly when no two inputs land on the same output, and an undoable linear map between two spaces makes them the same space under different names.

Taught in 375/376Apostol, not taughtBeyond the courseApostol 2.5 to 2.9Spagnolie, Lectures 8 and 9MATH 375 HW5 and HW6

Chapter 2.3 asked what a linear map destroys and what it reaches. This chapter asks two more questions. First, how do you chain maps, doing one after the other, and what rules do chains obey? Second, when can a map be undone, and when are two vector spaces really the same space under different names? The first question comes up whenever operations are stacked (rotate, then shift). The second comes up whenever you solve an equation T(x)=bT(x) = b, because solving it means undoing TT.

Before you start

2.3: linear map, null space, range, one-to-one and onto, and the rank–nullity theorem. 2.2: basis, dimension and coordinates. 2.1: vector spaces and the subspace test.

Quick checkA linear map T:R3→R2T: \mathbb R^3 \to \mathbb R^2 has rank 2. What is its nullity?
Quick checkWhich condition shows that a LINEAR map TT is one-to-one?
Quick checkIn a basis (e1,e2,e3)(e_1, e_2, e_3) of VV, what are the coordinates of x=2e1−e3x = 2e_1 - e_3?

The picture

Two maps of the plane. Start with “Rotate 90°” and press “Apply the map”. The whole grid turns a quarter turn. Every point lands somewhere, and no two points land in the same place. Given where a point ended up, you can say where it came from: turn back a quarter. That is what it means for a map to be invertible.

Now pick “Squash to a line” from the menu. Everything lands on the green line. The whole red line lands on the single point OO, and more generally every line parallel to the red one lands on a single point of the green line. If I tell you the output is a point on the green line, you cannot say which input it came from. There are infinitely many candidates, all on one parallel line. Nothing can undo this map.

One warning about the “Undo the map” button. It plays the animation backwards, so it works for any map, even the squash. The film remembers where every point started. The real question is different: given only the final picture, can you recover the start? For the rotation yes. For the squash no.

The idea, in words

Three ideas, in order.

Chaining. Doing map TT and then map SS is a new map. If TT and SS are linear, so is the chain. Order matters: rotating a book a quarter turn about one axis and then a quarter turn about another axis gives a different result from doing them in the other order.

Undoing. To undo TT, you need a map SS that sends each output back to its input. That works exactly when no two inputs share an output, which is the condition “one-to-one” from 2.3. If two inputs share an output, that output cannot remember which input it came from. For linear maps there is a shortcut: TT is one-to-one exactly when the only input sent to OO is OO itself, so you never need to compare all pairs of inputs.

Sameness. A linear map that can be undone, between two vector spaces, is a perfect translation dictionary. Every sum, multiple, basis and dimension in one space matches one in the other. We then call the two spaces isomorphic, and for practical purposes they are the same space. The big payoff is that every nn-dimensional real vector space is isomorphic to Rn\mathbb R^n, by taking coordinates. That is why Rn\mathbb R^n is enough.

Why· Why one-to-one is the right condition

Think of TT as a machine that takes an input and prints an output. To undo it, you hold the printout and ask ‘what went in?’. If two different inputs print the same page, you cannot answer. If every page was printed by exactly one input, you can. So ‘undoable’ means ‘one-to-one’. Onto is a separate matter: pages that no input prints do not stop you from undoing the pages that do exist, because nobody ever hands you those pages.

Definitions and theorems

Adding and scaling linear maps

Spagnolie writes linearity as one line, T(ax+y)=aT(x)+T(y)T(ax + y) = aT(x) + T(y) for all x,yx, y and every scalar aa. It is equivalent to the two conditions of 2.3. If TT satisfies the two conditions, then T(ax+y)=T(ax)+T(y)=aT(x)+T(y)T(ax + y) = T(ax) + T(y) = aT(x) + T(y). Conversely, suppose the one-line version holds. Taking a=1a = 1 gives T(x+y)=T(x)+T(y)T(x + y) = T(x) + T(y). Then T(O)=T(O+O)=T(O)+T(O)T(O) = T(O + O) = T(O) + T(O), so T(O)=OT(O) = O. Taking y=Oy = O gives T(ax)=aT(x)+T(O)=aT(x)T(ax) = aT(x) + T(O) = aT(x). We use the one-line version below because it is shorter.

Let S,T:V→WS, T: V \to W be two maps. Define their sum S+TS + T and the multiple cTcT by

(S+T)(x)=S(x)+T(x),(cT)(x)=c T(x).(S + T)(x) = S(x) + T(x), \qquad (cT)(x) = c\,T(x).

This is the pointwise addition of functions from 2.1: add the outputs, input by input. The set of all linear maps from VV to WW is written L(V,W)L(V, W) (Apostol writes L(V,W)\mathscr L(V, W)).

Theorem T Apostol Thm 2.4; Spagnolie Lecture 8

Linear maps form a vector space

For vector spaces VV and WW, the set L(V,W)L(V, W) with the operations above is a vector space. The zero vector is the zero map O(x)=OO(x) = O, and the negative of TT is (−1)T(-1)T.

In one lineThe set L(V,W)L(V, W) of all linear maps from VV to WW is a vector space under pointwise addition and scaling.

Why it is trueIt is a subspace of the space of all functions from VV to WW, and a sum or multiple of linear maps is linear.

ProofApostol 2.5; Spagnolie Lecture 8 axiom check
The idea: Use the subspace test inside the space of ALL functions from V to W. Every axiom holds there because it holds in W at each input. Then check that the zero map, sums and multiples of linear maps are still linear.
The set FF of all functions V→WV \to W, with pointwise operations, is a vector space. For example, S+T=T+SS + T = T + S because S(x)+T(x)=T(x)+S(x)S(x) + T(x) = T(x) + S(x) in WW for every xx.
Same argument as the function-space example in 2.1. To check an axiom, evaluate both sides at an input xx. Each side becomes an expression in WW, where the axiom holds.
The zero map is linear: O(ax+y)=O=a O+OO(ax + y) = O = a\,O + O, using aO=OaO = O (a problem in 2.1) and axiom 5 of WW.
First part of the subspace test: the zero vector of FF is the zero function, which must be in L(V,W)L(V, W).
If S,TS, T are linear: (S+T)(ax+y)=S(ax+y)+T(ax+y)=aS(x)+S(y)+aT(x)+T(y)=a (S(x)+T(x))+(S(y)+T(y))=a (S+T)(x)+(S+T)(y)(S + T)(ax + y) = S(ax + y) + T(ax + y) = aS(x) + S(y) + aT(x) + T(y) = a\,(S(x) + T(x)) + (S(y) + T(y)) = a\,(S + T)(x) + (S + T)(y).
Closure under addition. Apply the definition of S+TS + T, then linearity of SS and of TT, then rearrange using axioms 3, 4 and 8.
(cT)(ax+y)=c (aT(x)+T(y))=a (cT)(x)+(cT)(y)(cT)(ax + y) = c\,(aT(x) + T(y)) = a\,(cT)(x) + (cT)(y).
Closure under scaling. Axiom 8 splits c (aT(x)+T(y))c\,(aT(x) + T(y)) into two terms. Axiom 7 and the fact that the numbers cc and aa can be multiplied in either order move cc past aa.
So L(V,W)L(V, W) is a vector space.
All three parts of the subspace test hold, so L(V,W)L(V, W) is a subspace of FF, hence a vector space.

In 2.5 we will find its dimension: if dim⁡V=n\dim V = n and dim⁡W=m\dim W = m, then dim⁡L(V,W)=mn\dim L(V, W) = mn.

Chaining maps: composition

Definition T

Composition

Let T:U→VT: U \to V and S:V→WS: V \to W be functions. The composition ST:U→WST: U \to W is defined by

(ST)(x)=S(T(x))for every x∈U.(ST)(x) = S\big(T(x)\big) \quad \text{for every } x \in U.

It is defined only when the outputs of TT lie in the input space of SS. We read it from right to left: TT acts first. (In JEE you wrote (g∘f)(x)=g(f(x))(g \circ f)(x) = g(f(x)). Apostol and Spagnolie drop the circle, so gfgf means ff first.)

In one lineThe map STST that does TT first and then SS: (ST)(x)=S(T(x))(ST)(x) = S(T(x)).

Why it existsIt is how operations are stacked. Rotating then shifting, or one layer of a network followed by the next, are compositions.

Two bits of vocabulary. The identity map IV:V→VI_V: V \to V is IV(x)=xI_V(x) = x. For a map T:V→VT: V \to V from a space to itself we define powers by T0=IT^0 = I and Tn=T Tn−1T^n = T\,T^{n-1} for n≥1n \ge 1.

Everyday example from school. For f(x)=x2f(x) = x^2 and g(x)=x+1g(x) = x + 1, we get (gf)(x)=x2+1(gf)(x) = x^2 + 1 but (fg)(x)=(x+1)2(fg)(x) = (x + 1)^2. The order changed the answer.

Theorem T Apostol Thm 2.6; Spagnolie Lecture 8

Composition of linear maps is linear

If T:U→VT: U \to V and S:V→WS: V \to W are linear maps, then ST:U→WST: U \to W is linear.

In one lineIf T:U→VT: U \to V and S:V→WS: V \to W are linear, then ST:U→WST: U \to W is linear.

Why it is trueTT carries sums and multiples through, and then SS does too.

ProofSpagnolie Lecture 8
The idea: Push the combination ax + y through T, then through S, one use of linearity each.
(ST)(ax+y)=S(T(ax+y))(ST)(ax + y) = S\big(T(ax + y)\big).
Definition of composition.
=S(aT(x)+T(y))= S\big(aT(x) + T(y)\big).
TT is linear.
=a S(T(x))+S(T(y))= a\,S(T(x)) + S(T(y)).
SS is linear, applied to the vectors T(x)T(x) and T(y)T(y) in VV.
=a (ST)(x)+(ST)(y)= a\,(ST)(x) + (ST)(y). So STST satisfies the one-line test.
Definition of composition again, read backwards.
Theorem T Apostol Thm 2.5; Spagnolie Lecture 8

Composition is associative

If T:U→VT: U \to V, S:V→WS: V \to W and R:W→XR: W \to X are functions (linear or not), then R(ST)=(RS)TR(ST) = (RS)T.

In one lineFor any three functions that can be chained, R(ST)=(RS)TR(ST) = (RS)T.

Why it is trueBoth sides do the same three steps in the same order, so the brackets only say which two steps you named first.

ProofApostol 2.5
The idea: Evaluate both sides at an arbitrary input and see that each is R(S(T(x))).
[R(ST)](x)=R((ST)(x))[R(ST)](x) = R\big((ST)(x)\big).
Definition of composition, applied to the pair RR and STST.
=R(S(T(x)))= R\big(S(T(x))\big).
Definition applied to STST.
[(RS)T](x)=(RS)(T(x))[(RS)T](x) = (RS)\big(T(x)\big).
Definition applied to the pair RSRS and TT.
=R(S(T(x)))= R\big(S(T(x))\big). The two sides agree at every xx, so they are the same function.
Definition applied to RSRS.

Associativity gives the law of exponents TmTn=Tm+nT^m T^n = T^{m+n}, and it lets us write RSTRST with no brackets. It is the reason that, in 2.5, matrix multiplication is associative without anyone expanding a single sum.

Adding and composing mix in the way you hope.

Proposition A Apostol Thm 2.7

Composition distributes over addition

Let S,TS, T be linear maps from VV to WW, and cc a scalar. For any function RR with outputs in VV: (S+T)R=SR+TR(S + T)R = SR + TR and (cS)R=c(SR)(cS)R = c(SR). For any linear map R:W→XR: W \to X: R(S+T)=RS+RTR(S + T) = RS + RT and R(cS)=c(RS)R(cS) = c(RS).

In one line(S+T)R=SR+TR(S + T)R = SR + TR and R(S+T)=RS+RTR(S + T) = RS + RT (the second needs RR linear); scalars pass through too.

Why it is trueThe first is just the definition of S+TS + T. The second is where RR must respect addition.

ProofApostol 2.5
The idea: Evaluate at an input. The first law uses only the definition of S + T. The second law needs R to carry a sum through.
[(S+T)R](x)=S(R(x))+T(R(x))=[SR+TR](x)[(S + T)R](x) = S(R(x)) + T(R(x)) = [SR + TR](x).
Definition of S+TS + T at the input R(x)R(x), then definition of composition twice.
[R(S+T)](x)=R(S(x)+T(x))[R(S + T)](x) = R\big(S(x) + T(x)\big).
Definition of composition, then definition of S+TS + T.
=R(S(x))+R(T(x))=[RS+RT](x)= R(S(x)) + R(T(x)) = [RS + RT](x).
RR is linear, so it respects addition.
So all four laws hold.
The scalar laws are identical: [(cS)R](x)=c S(R(x))[(cS)R](x) = c\,S(R(x)), and R(c S(x))=c R(S(x))R(c\,S(x)) = c\,R(S(x)) because RR respects scaling.

Composition does not commute

Spagnolie’s example (Lecture 8, which he called ‘Proof by example’) uses two quarter turns of space. Let

S(x,y,z)=(−y, x, z),T(x,y,z)=(x, −z, y).S(x, y, z) = (-y,\ x,\ z), \qquad T(x, y, z) = (x,\ -z,\ y).

SS turns space a quarter turn about the zz-axis: it sends (1,0,0)(1,0,0) to (0,1,0)(0,1,0). TT turns it a quarter turn about the xx-axis: it sends (0,1,0)(0,1,0) to (0,0,1)(0,0,1). Both are linear. Composing,

ST(x,y,z)=S(x,−z,y)=(z, x, y),TS(x,y,z)=T(−y,x,z)=(−y, −z, x).ST(x, y, z) = S(x, -z, y) = (z,\ x,\ y), \qquad TS(x, y, z) = T(-y, x, z) = (-y,\ -z,\ x).

At (1,2,3)(1, 2, 3) these give ST(1,2,3)=(3,1,2)ST(1,2,3) = (3, 1, 2) and TS(1,2,3)=(−2,−3,1)TS(1,2,3) = (-2, -3, 1). Different. Hold a book and try it: a quarter turn about a vertical axis then a quarter turn about a left-right axis leaves the book in a different position from the same two turns in the other order.

Your answerWith the same S(x,y,z)=(−y,x,z)S(x, y, z) = (-y, x, z) and T(x,y,z)=(x,−z,y)T(x, y, z) = (x, -z, y), compute TS(4,5,6)TS(4, 5, 6). What is its FIRST entry?

Sometimes STST does not even make sense, because the outputs of TT are not inputs of SS. When both do make sense and ST=TSST = TS, we say SS and TT commute. This happens rarely, so an identity like (S+T)2=S2+2ST+T2(S + T)^2 = S^2 + 2ST + T^2 is false in general. By distributivity, (S+T)2=S2+ST+TS+T2(S + T)^2 = S^2 + ST + TS + T^2, and the middle two terms add up to 2ST2ST only when the maps commute.

Worked example new, in the style of Apostol 2.8 #26
Compute STST and TSTS for S(x,y)=(2x, x+y)S(x, y) = (2x,\ x + y) and T(x,y)=(y, x−y)T(x, y) = (y,\ x - y), and decide whether they commute

Solution.

  1. Write STST as ‘apply TT, then SS’. ST(x,y)=S(T(x,y))=S(y, x−y)ST(x, y) = S\big(T(x, y)\big) = S(y,\ x - y). The map on the right acts first, so TT eats (x,y)(x, y) and produces the pair that SS then receives.
  2. Feed that pair into SS. S(a,b)=(2a, a+b)S(a, b) = (2a,\ a + b) with a=ya = y and b=x−yb = x - y gives (2y, y+x−y)=(2y, x)(2y,\ y + x - y) = (2y,\ x). We replace xx by aa and yy by bb in the formula for SS.
  3. Write TSTS as ‘apply SS, then TT’. TS(x,y)=T(2x, x+y)TS(x, y) = T(2x,\ x + y). Now SS acts first.
  4. Feed that pair into TT. T(a,b)=(b, a−b)T(a, b) = (b,\ a - b) with a=2xa = 2x and b=x+yb = x + y gives (x+y, 2x−x−y)=(x+y, x−y)(x + y,\ 2x - x - y) = (x + y,\ x - y). Same substitution, with the roles reversed.
  5. Compare at one point. At (1,0)(1, 0): ST(1,0)=(0,1)ST(1,0) = (0, 1) and TS(1,0)=(1,1)TS(1, 0) = (1, 1). One input where the outputs differ is enough to show two maps are different.

Answer. ST(x,y)=(2y,x)ST(x,y) = (2y, x) and TS(x,y)=(x+y,x−y)TS(x,y) = (x + y, x - y). They do not commute.

Your answerFor the same S(x,y)=(2x,x+y)S(x, y) = (2x, x + y) and T(x,y)=(y,x−y)T(x, y) = (y, x - y), what is the SECOND entry of TS(3,7)TS(3, 7)?

Undoing a map: inverses

Spagnolie’s phrase for an inverse is ‘Where did you come from?’. The map TT sends xx to w=T(x)w = T(x). An inverse takes ww and names its source.

Definition T

Inverse

Let T:V→WT: V \to W be a function. A function S:T(V)→VS: T(V) \to V is a left inverse of TT if

S(T(x))=xfor all x∈V,that is, ST=IV.S\big(T(x)\big) = x \quad \text{for all } x \in V, \qquad \text{that is, } ST = I_V.

A function R:T(V)→VR: T(V) \to V is a right inverse of TT if

T(R(w))=wfor all w∈T(V),that is, TR=IT(V).T\big(R(w)\big) = w \quad \text{for all } w \in T(V), \qquad \text{that is, } TR = I_{T(V)}.

The domain of both is the range T(V)T(V), because only outputs of TT can be asked ‘where did you come from?’. (Some books allow SS and RR to be defined on all of WW. We follow Apostol and Spagnolie. The first stretch problem below shows that, for linear maps, a left inverse defined on all of WW can always be built.)

In one lineA map that undoes TT: a left inverse satisfies S(T(x))=xS(T(x)) = x for every xx, a right inverse satisfies T(R(w))=wT(R(w)) = w for every ww in the range.

Why it existsSolving T(x)=bT(x) = b is finding a source for bb. A left inverse answers 'what went in?' for every output, a right inverse produces some input for every output.

Right inverses are easy to find. For every ww in the range, pick any one xx with T(x)=wT(x) = w and set R(w)=xR(w) = x. Then T(R(w))=wT(R(w)) = w. So every function has at least one right inverse. (When the range is infinite, “pick one for each ww” uses a basic set-theory principle called the axiom of choice, which we accept.) The right inverse is not unique if some ww has several sources.

Left inverses are not so easy. Spagnolie’s example (Lecture 9): T:R2→RT: \mathbb R^2 \to \mathbb R, T(x1,x2)=3x1−x2T(x_1, x_2) = 3x_1 - x_2. A right inverse is R(w)=(w/3, 0)R(w) = (w/3,\ 0), because T(w/3,0)=wT(w/3, 0) = w. Another is R′(w)=(w, 2w)R'(w) = (w,\ 2w), because 3w−2w=w3w - 2w = w. In fact, for any number aa, the map Ra(w)=(aw, (3a−1)w)R_a(w) = (aw,\ (3a - 1)w) is a right inverse, since 3aw−(3a−1)w=w3aw - (3a - 1)w = w. So there are infinitely many. But there is no left inverse. The inputs (0,0)(0, 0) and (1,3)(1, 3) both give output 00, because T(1,3)=3−3=0T(1, 3) = 3 - 3 = 0. A left inverse SS would need S(0)=(0,0)S(0) = (0, 0) and S(0)=(1,3)S(0) = (1, 3) at once. In terms of 2.3, the culprit is the null space: TT is onto R\mathbb R, so its rank is 1, and rank–nullity gives dim⁡N(T)=2−1=1\dim N(T) = 2 - 1 = 1.

The smallest example (Apostol 2.6) has V={1,2}V = \{1, 2\} and W={0}W = \{0\} with T(1)=T(2)=0T(1) = T(2) = 0. It has two right inverses, R(0)=1R(0) = 1 and R′(0)=2R'(0) = 2, and no left inverse.

Theorem T Apostol Thm 2.9; Spagnolie Lectures 8 and 9

Left inverse exists exactly when one-to-one

A function T:V→WT: V \to W has a left inverse if and only if it is one-to-one: T(x)=T(y)T(x) = T(y) implies x=yx = y.

In one lineA function TT has a left inverse if and only if different inputs always give different outputs.

Why it is trueA left inverse reads off the source of each output. That is possible exactly when each output has only one source.

ProofSpagnolie Lecture 8 page 6; Apostol 2.6
The idea: (⇒) Apply the left inverse to both sides of T(x) = T(y). (⇐) Build the left inverse: send each output to its one and only source.
(⇒\Rightarrow) Suppose T(x)=T(y)T(x) = T(y).
Assume a left inverse SS exists and that T(x)=T(y)T(x) = T(y). We must show x=yx = y.
S(T(x))=S(T(y))S(T(x)) = S(T(y)).
Apply the function SS to both sides of an equation. Equal inputs give equal outputs.
x=yx = y. So TT is one-to-one.
SS is a left inverse, so S(T(⋅))S(T(\cdot)) returns its input.
(⇐\Leftarrow) Let w∈T(V)w \in T(V). There is some xx with T(x)=wT(x) = w.
Now assume TT is one-to-one. Each ww in the range has at least one source xx by the definition of range.
There is exactly one such xx.
Two sources x,x′x, x' of the same ww would have T(x)=T(x′)T(x) = T(x'), and one-to-one forces x=x′x = x'.
Define S(w)S(w) to be that xx.
This is a well-defined function on T(V)T(V), because each ww has exactly one source to name.
Then S(T(x))=xS(T(x)) = x for every x∈Vx \in V. So SS is a left inverse.
For any x∈Vx \in V, the output T(x)T(x) has source xx, so SS returns xx.

In the picture. Go back to the two visualizers at the top. In the rotation, every output point has exactly one source, so ‘send each point back to its source’ is a well-defined map: that is the step ‘Define S(w)S(w) to be that xx’. In the squash, the output point has a whole red-parallel line of sources, so the step ‘There is exactly one such xx’ fails, and with it any hope of a left inverse. The first half of the proof is the same picture seen from the other side: if two points land together, no map applied afterwards can pull them apart.

Quick checkDoes f(x)=x2f(x) = x^2, as a function from R\mathbb R to R\mathbb R, have a left inverse?
Worked example new, in the style of Apostol 2.8 #6
Show T(x,y)=(x−y, 2x−2y)T(x, y) = (x - y,\ 2x - 2y) is not one-to-one, find its range, and find a right inverse

Solution.

  1. Find two inputs with the same output. T(1,1)=(0,0)=T(0,0)T(1, 1) = (0, 0) = T(0, 0). ‘One-to-one’ says different inputs give different outputs, so one pair that collides shows it fails.
  2. Describe all collisions through the null space. T(x,y)=OT(x, y) = O means x−y=0x - y = 0, so N(T)={(t,t)}N(T) = \{(t, t)\}, the line y=xy = x. TT is linear, so it merges xx and x′x' exactly when x−x′x - x' is in the null space (the worked example in 2.3 proves this, and it is proved again below as part of ‘Equivalent forms’).
  3. Find the range. Every output is (x−y, 2(x−y))=s (1,2)(x - y,\ 2(x - y)) = s\,(1, 2) with s=x−ys = x - y, and every ss occurs. So T(V)={s (1,2)}T(V) = \{s\,(1, 2)\}, a line in the plane. Outputs depend only on the single number x−yx - y, so only one dimension survives (rank 1, nullity 1, and 1+1=21 + 1 = 2).
  4. Build a right inverse. For w=(s,2s)w = (s, 2s) in the range choose the source (s,0)(s, 0), so R(s,2s)=(s,0)R(s, 2s) = (s, 0). A right inverse picks ONE source for each output. Any source with x−y=sx - y = s would do, which is why right inverses are not unique.
  5. Check it. T(R(s,2s))=T(s,0)=(s, 2s)T\big(R(s, 2s)\big) = T(s, 0) = (s,\ 2s). That is the defining equation TR=ITR = I on the range.

Answer. Not one-to-one, so no left inverse. Range: the line through (1,2)(1, 2). One right inverse: R(s,2s)=(s,0)R(s, 2s) = (s, 0).

Theorem T Apostol Thm 2.8; Spagnolie Lecture 8 page 5

A left inverse is unique and two-sided

A function T:V→WT: V \to W has at most one left inverse. If SS is a left inverse of TT, then SS is also a right inverse of TT.

In one lineA function has at most one left inverse, and a left inverse is also a right inverse.

Why it is trueThe left inverse on an output ww must name the source of ww, and there is only one source.

ProofApostol 2.6
The idea: Uniqueness: two left inverses both name the source of w, so they agree. Two-sidedness: apply T to the equation x = S(T(x)).
Suppose SS and S′S' are left inverses. Let w∈T(V)w \in T(V), say w=T(x)w = T(x).
Take two left inverses SS and S′S'. We show they give the same value at every point of their common domain T(V)T(V).
S(w)=S(T(x))=xS(w) = S(T(x)) = x and S′(w)=S′(T(x))=xS'(w) = S'(T(x)) = x. So S(w)=S′(w)S(w) = S'(w) for all ww.
Both are left inverses, so each returns xx from T(x)T(x).
Since SS is a left inverse, x=S(T(x))=S(w)x = S(T(x)) = S(w).
Now let SS be a left inverse and w∈T(V)w \in T(V), again w=T(x)w = T(x). We must show T(S(w))=wT(S(w)) = w.
T(x)=T(S(w))T(x) = T(S(w)), that is, w=T(S(w))w = T(S(w)). So SS is a right inverse.
Apply TT to both sides of x=S(w)x = S(w).
Definition T

Invertible

A function T:V→WT: V \to W is invertible if it is one-to-one. By the two theorems, it then has exactly one left inverse, which is also a right inverse. That map T−1:T(V)→VT^{-1}: T(V) \to V is the inverse of TT. It satisfies

T−1(T(x))=x  for all x∈V,T(T−1(w))=w  for all w∈T(V).T^{-1}\big(T(x)\big) = x \ \text{ for all } x \in V, \qquad T\big(T^{-1}(w)\big) = w \ \text{ for all } w \in T(V).

In one lineA function is invertible when it is one-to-one. Its unique left inverse, which is also a right inverse, is the inverse T−1T^{-1}.

Why it existsIt gives a single name, T−1T^{-1}, to the map that undoes TT, so we can write equations with it.

Do not read T−1T^{-1} as 1/T1/T. It is the function that undoes TT. The −1-1 is borrowed from numbers, where x−1x^{-1} undoes multiplication by xx.

When T:V→VT: V \to V goes from a space to itself and is also onto, T−1T^{-1} is defined on all of VV and both equations in the definition hold on all of VV: T−1T=IV=TT−1T^{-1}T = I_V = TT^{-1}. Later parts of this chapter and chapter 2.5 use “invertible” in this stronger sense (one-to-one and onto) for maps V→VV \to V, and say so when they do.

Inverses of linear maps

For general functions, to check one-to-one you must compare all pairs of inputs. For linear maps it is enough to look at one vector, and the inverse is automatically linear.

Theorem T Apostol Thm 2.10; Spagnolie Lecture 9 page 3

Equivalent forms of one-to-one for linear maps

Let T:V→WT: V \to W be linear. The following statements are equivalent:

(a) TT is one-to-one.

(b) TT is invertible and its inverse T−1:T(V)→VT^{-1}: T(V) \to V is linear.

(c) N(T)={O}N(T) = \{O\}: the only xx with T(x)=OT(x) = O is x=Ox = O.

In one lineFor a linear map TT, these are equivalent: one-to-one; invertible with a linear inverse; and N(T)={O}N(T) = \{O\}.

Why it is trueLinearity turns 'T(x) = T(y)' into 'T(x − y) = O', so only the vectors sent to OO matter.

ProofApostol 2.7; Spagnolie Lecture 9
The idea: Prove a ⇒ b ⇒ c ⇒ a, a circle. The only new work is that the inverse is linear: pull a combination back through T.
Assume (a). Let u,v∈T(V)u, v \in T(V) and let aa be a scalar.
(a ⇒ b) By 'Left inverse exists exactly when one-to-one', TT is invertible. It remains to show T−1T^{-1} is linear.
Write u=T(x)u = T(x) and v=T(y)v = T(y).
Every element of the range has a source. Name the sources.
au+v=aT(x)+T(y)=T(ax+y)au + v = aT(x) + T(y) = T(ax + y).
TT is linear, so it carries the combination of sources to the same combination of outputs.
T−1(au+v)=ax+y=a T−1(u)+T−1(v)T^{-1}(au + v) = ax + y = a\,T^{-1}(u) + T^{-1}(v). So T−1T^{-1} is linear.
Apply T−1T^{-1} and use that it undoes TT on the source ax+yax + y. Then replace x=T−1(u)x = T^{-1}(u) and y=T−1(v)y = T^{-1}(v).
Assume (b). If T(x)=OT(x) = O, then x=T−1(T(x))=T−1(O)x = T^{-1}(T(x)) = T^{-1}(O).
(b ⇒ c) Let T(x)=OT(x) = O. Apply T−1T^{-1}.
T−1(O)=OT^{-1}(O) = O, so x=Ox = O. This is (c).
A linear map sends OO to OO (the first consequence in 2.3), and T−1T^{-1} is linear by (b).
Assume (c) and T(x)=T(y)T(x) = T(y). Then T(x−y)=T(x)−T(y)=OT(x - y) = T(x) - T(y) = O.
(c ⇒ a) Assume T(x)=T(y)T(x) = T(y). Move everything to one side using linearity: T(x−y)=T(x+(−1)y)=T(x)+(−1)T(y)=T(x)−T(y)T(x - y) = T(x + (-1)y) = T(x) + (-1)T(y) = T(x) - T(y), as in 2.3.
So x−y=Ox - y = O, that is x=yx = y. This is (a).
By (c), the only vector sent to OO is OO.

In the picture. Statement (c) is the red line in the ‘Squash to a line’ visualizer, the vectors sent to OO. When the red line is just the origin, as in the rotation, no two points can land together, because two points xx and yy landing together means x−yx - y is a vector on the red line. That is the step T(x−y)=OT(x - y) = O. In the squash the red line is a whole line, and any two points differing by a vector on it land together.

Proof workshopGive the reason for each line: the inverse of a linear map is linear

Each line of the proof is shown in order. Choose the reason that justifies it, then press Check.

  1. Let u,v∈T(V)u, v \in T(V) and let aa be a scalar. Write u=T(x)u = T(x) and v=T(y)v = T(y).
  2. au+v=aT(x)+T(y)au + v = aT(x) + T(y)
  3. aT(x)+T(y)=T(ax+y)aT(x) + T(y) = T(ax + y)
  4. T−1(au+v)=T−1(T(ax+y))T^{-1}(au + v) = T^{-1}\big(T(ax + y)\big)
  5. T−1(T(ax+y))=ax+yT^{-1}\big(T(ax + y)\big) = ax + y
  6. ax+y=a T−1(u)+T−1(v)ax + y = a\,T^{-1}(u) + T^{-1}(v)
  7. So T−1(au+v)=a T−1(u)+T−1(v)T^{-1}(au + v) = a\,T^{-1}(u) + T^{-1}(v), and T−1T^{-1} is linear.
Quick checkA linear map TT has T(1,2)=OT(1, 2) = O. Is TT one-to-one?
Worked example Apostol 2.8 #20
Show T(x,y,z)=(x+y, y+z, x+z)T(x, y, z) = (x + y,\ y + z,\ x + z) is one-to-one and find T−1T^{-1}

Solution.

  1. Test the null space. Suppose T(x,y,z)=(0,0,0)T(x, y, z) = (0, 0, 0): x+y=0x + y = 0, y+z=0y + z = 0, x+z=0x + z = 0. T is linear, so ‘Equivalent forms’ says one-to-one is the same as only OO going to OO.
  2. Solve. From the first two, x=−yx = -y and z=−yz = -y. The third gives x+z=−2y=0x + z = -2y = 0, so y=0y = 0, and then x=z=0x = z = 0. So N(T)={O}N(T) = \{O\}. Each equation lets us express one unknown through another, and the third closes the loop.
  3. Conclude one-to-one. Since N(T)={O}N(T) = \{O\}, TT is one-to-one. ‘Equivalent forms of one-to-one for linear maps’ (c ⇒ a). Its part (b) also tells us that T−1T^{-1} exists and is linear.
  4. Find the inverse by solving for x,y,zx, y, z. Let u=x+yu = x + y, v=y+zv = y + z, w=x+zw = x + z. Adding uu and ww and subtracting vv gives u+w−v=2xu + w - v = 2x, so x=u−v+w2x = \tfrac{u - v + w}{2}. In the same way y=u+v−w2y = \tfrac{u + v - w}{2} and z=−u+v+w2z = \tfrac{-u + v + w}{2}. Each unknown is isolated by adding the two equations that contain it and subtracting the one that does not.
  5. Check one output. T(1,2,3)=(3,5,4)T(1, 2, 3) = (3, 5, 4). Then x=(3−5+4)/2=1x = (3 - 5 + 4)/2 = 1, y=(3+5−4)/2=2y = (3 + 5 - 4)/2 = 2, z=(−3+5+4)/2=3z = (-3 + 5 + 4)/2 = 3. The formula must return the input we started with.

Answer. One-to-one, and T−1(u,v,w)=(u−v+w2, u+v−w2, −u+v+w2)T^{-1}(u, v, w) = \big(\tfrac{u - v + w}{2},\ \tfrac{u + v - w}{2},\ \tfrac{-u + v + w}{2}\big).

Your answerFor T(x,y,z)=(x+y, y+z, x+z)T(x, y, z) = (x + y,\ y + z,\ x + z), the inverse sends (4,6,8)(4, 6, 8) to (x,y,z)(x, y, z). What is zz?
Worked example Apostol 2.8 #10, #17 (similar)
Is T(x,y)=(x+2, y−1)T(x, y) = (x + 2,\ y - 1) linear? Is it one-to-one? Find T−1T^{-1} if it exists

Solution.

  1. Test linearity with the zero vector. T(0,0)=(2,−1)≠(0,0)T(0, 0) = (2, -1) \ne (0, 0). Every linear map sends OO to OO (2.3), so one failure settles it.
  2. Do not use the null-space test. ‘Equivalent forms’ is a theorem about linear maps only, so with TT not linear it cannot decide one-to-one.
  3. Test one-to-one by hand. If T(x,y)=T(x′,y′)T(x, y) = T(x', y') then x+2=x′+2x + 2 = x' + 2 and y−1=y′−1y - 1 = y' - 1, so (x,y)=(x′,y′)(x, y) = (x', y'). That is the definition: equal outputs force equal inputs.
  4. Solve for the inverse. If (u,v)=(x+2,y−1)(u, v) = (x + 2, y - 1) then x=u−2x = u - 2 and y=v+1y = v + 1. The inverse sends each output back to its one source.

Answer. Not linear. One-to-one, with T−1(u,v)=(u−2, v+1)T^{-1}(u, v) = (u - 2,\ v + 1) (also not linear).

When VV is finite-dimensional, one-to-one can be read off from bases.

Theorem T Apostol Thm 2.11; Spagnolie Lecture 9 page 4

One-to-one in finite dimension

Let T:V→WT: V \to W be linear with dim⁡V=n\dim V = n. The following are equivalent:

(a) TT is one-to-one.

(b) If e1,…,epe_1, \dots, e_p are independent in VV, then T(e1),…,T(ep)T(e_1), \dots, T(e_p) are independent in T(V)T(V).

(c) dim⁡T(V)=n\dim T(V) = n.

(d) If e1,…,ene_1, \dots, e_n is a basis of VV, then T(e1),…,T(en)T(e_1), \dots, T(e_n) is a basis of T(V)T(V).

In one lineFor a linear TT on an nn-dimensional VV, these are equivalent: TT is one-to-one; independent sets stay independent; dim⁡T(V)=n\dim T(V) = n; bases go to bases.

Why it is trueOne-to-one means nothing is destroyed. Independent directions therefore stay independent, and a basis of VV lands on a basis of the range.

ProofApostol 2.7; Spagnolie Lecture 9 page 4
The idea: Again a circle, a ⇒ b ⇒ c ⇒ d ⇒ a. Spagnolie left the last two arrows 'to the reader'; they are written out here.
Assume (a). Suppose ∑i=1pciT(ei)=O\sum_{i=1}^p c_i T(e_i) = O.
(a ⇒ b) To test independence of the images, take a combination of them equal to OO and show the coefficients vanish.
T ⁣(∑ciei)=O=T(O)T\!\left(\sum c_i e_i\right) = O = T(O).
Linearity: a combination of images is the image of the combination.
∑ciei=O\sum c_i e_i = O.
TT is one-to-one, so equal outputs come from equal inputs.
Every ci=0c_i = 0. So the images are independent.
The eie_i are independent.
Assume (b). Then T(V)T(V) contains nn independent vectors, so dim⁡T(V)≥n\dim T(V) \ge n.
(b ⇒ c) Apply (b) to a basis e1,…,ene_1, \dots, e_n of VV. Then T(V)T(V) contains nn independent vectors. By the k+1k+1 theorem of 2.2, a space spanned by fewer than nn vectors cannot contain nn independent ones. So T(V)T(V) cannot have dimension below nn.
dim⁡T(V)≤dim⁡V=n\dim T(V) \le \dim V = n. So dim⁡T(V)=n\dim T(V) = n.
Rank–nullity: rank plus nullity is nn, and the nullity is not negative.
Assume (c) and let e1,…,ene_1, \dots, e_n be a basis of VV. Then T(e1),…,T(en)T(e_1), \dots, T(e_n) span T(V)T(V).
(c ⇒ d) The images of a basis span the range: write any T(x)T(x) as ∑xiT(ei)\sum x_i T(e_i).
They are nn vectors spanning T(V)T(V), which has dimension nn by (c). So they form a basis.
nn vectors that span an nn-dimensional space form a basis (a problem in 2.2).
Assume (d). Let T(x)=OT(x) = O and x=∑cieix = \sum c_i e_i. Then ∑ciT(ei)=O\sum c_i T(e_i) = O.
(d ⇒ a) By the previous theorem it is enough to show N(T)={O}N(T) = \{O\}. Take xx with T(x)=OT(x) = O and expand xx in a basis.
Every ci=0c_i = 0, so x=Ox = O. Hence N(T)={O}N(T) = \{O\}, and TT is one-to-one by ‘Equivalent forms of one-to-one for linear maps’ (c ⇒ a).
The T(ei)T(e_i) are a basis by (d), hence independent.

Inverse of a composition: socks and shoes

You put on socks and then shoes. To undo this you take off the shoes first and then the socks. The same reversal holds for every pair of invertible maps. It was Apostol 2.8 #23 on HW5.

Theorem T Apostol 2.8 #23; MATH 375 HW5

Inverse of a composition reverses the order

Let T:U→VT: U \to V and S:V→WS: V \to W be one-to-one functions. Then STST is one-to-one, and for every ww in its range,

(ST)−1(w)=T−1(S−1(w)).(ST)^{-1}(w) = T^{-1}\big(S^{-1}(w)\big).

In short, (ST)−1=T−1S−1(ST)^{-1} = T^{-1}S^{-1}.

In one lineIf SS and TT are invertible, so is STST, and (ST)−1=T−1S−1(ST)^{-1} = T^{-1}S^{-1}.

Why it is trueSTST does TT then SS, so to undo it you must undo SS first, then TT.

ProofApostol 2.8 #23
The idea: Show T⁻¹S⁻¹ is a left inverse of ST. Left inverses are unique, so it is THE inverse.
First, STST is one-to-one.
Check one-to-one directly. Suppose ST(x)=ST(y)ST(x) = ST(y), that is, S(T(x))=S(T(y))S(T(x)) = S(T(y)).
T(x)=T(y)T(x) = T(y).
SS is one-to-one, applied to the two inputs T(x)T(x) and T(y)T(y).
x=yx = y. So STST is one-to-one and has an inverse.
TT is one-to-one.
Define G(w)=T−1(S−1(w))G(w) = T^{-1}\big(S^{-1}(w)\big) for ww in the range of STST.
Let w=S(T(x))w = S(T(x)) be in the range of STST. Then S−1(w)S^{-1}(w) is defined, since ww is in the range of SS.
G(ST(x))=T−1(S−1(S(T(x))))=T−1(T(x))G(ST(x)) = T^{-1}\big(S^{-1}(S(T(x)))\big) = T^{-1}\big(T(x)\big).
S−1S^{-1} undoes SS on the input T(x)T(x).
=x= x. So GG is a left inverse of STST.
T−1T^{-1} undoes TT.
So G=(ST)−1G = (ST)^{-1}, that is (ST)−1=T−1S−1(ST)^{-1} = T^{-1}S^{-1}.
'A left inverse is unique and two-sided': there is only one left inverse, and it is called (ST)−1(ST)^{-1}.
Your answerA sprite point pp is rotated by T(x,y)=(−y,x)T(x, y) = (-y, x) and then shifted by S(x,y)=(x+5,y+2)S(x, y) = (x + 5, y + 2), and it ends on screen at (8,6)(8, 6). Undo the two steps in the right order. What was the xx-coordinate of pp?

The step-through above is the picture for this theorem. Steps 4 and 5 apply T−1S−1T^{-1}S^{-1} to ST(p)ST(p) and get pp back, which is the written proof’s check that G(ST(x))=xG(ST(x)) = x, at one point. Step 6 shows the other order fails.

Proof workshopRebuild the proof of socks and shoes

Tap the lines in the order a proof would write them. Each line can only use what is already above it.

    Quick checkSS and TT are invertible. Which is the inverse of STST?
    Worked example new, in the style of Apostol 2.8 #24
    Prove: if S,T:V→VS, T: V \to V are linear, TT is one-to-one and onto, and ST=TSST = TS, then ST−1=T−1SST^{-1} = T^{-1}S

    Solution.

    1. Plan. Because TT is one-to-one and onto, T−1T^{-1} is defined on all of VV, so TT−1=I=T−1TTT^{-1} = I = T^{-1}T. We want T−1T^{-1} moved from the right of SS to the left. Multiply the given equation by T−1T^{-1} on both sides. The hypothesis ST=TSST = TS is the only information we have, so we use it and then cancel TT with T−1T^{-1}.
    2. Multiply on the left and right. T−1(ST)T−1=T−1(TS)T−1T^{-1}(ST)T^{-1} = T^{-1}(TS)T^{-1}. Both sides of an equation of maps stay equal if we compose both with the same map on the same side.
    3. Regroup the left side. T−1(ST)T−1=(T−1S)(T T−1)=T−1S I=T−1ST^{-1}(ST)T^{-1} = (T^{-1}S)(T\,T^{-1}) = T^{-1}S\,I = T^{-1}S. Composition is associative, so brackets can move, and TT−1=ITT^{-1} = I.
    4. Regroup the right side. T−1(TS)T−1=(T−1T)(S T−1)=I S T−1=ST−1T^{-1}(TS)T^{-1} = (T^{-1}T)(S\,T^{-1}) = I\,S\,T^{-1} = ST^{-1}. Same associativity, and now T−1T=IT^{-1}T = I.
    5. Equate. T−1S=ST−1T^{-1}S = ST^{-1}. Steps 3 and 4 simplified two expressions that step 2 said were equal.

    Answer. ST−1=T−1SST^{-1} = T^{-1}S, so SS commutes with T−1T^{-1} too.

    Isomorphism: the same space under different names

    Definition T

    Isomorphism

    A linear map T:V→WT: V \to W is an isomorphism if it is one-to-one and onto (T(V)=WT(V) = W). If an isomorphism V→WV \to W exists, VV and WW are isomorphic, written V≅WV \cong W.

    In one lineA linear map between two vector spaces that is one-to-one and onto. Two spaces joined by one are isomorphic: the same space with the vectors renamed.

    Why it existsIt is the exact meaning of 'these two spaces are the same as far as linear algebra can tell'. Anything proved about one holds for the other.

    The word comes from Greek: isos, equal, and morphe, shape (Spagnolie’s remark in Lecture 11). If T:V→WT: V \to W is an isomorphism, then T−1:W→VT^{-1}: W \to V exists (it is defined on all of WW, since TT is onto), and it is linear by ‘Equivalent forms of one-to-one for linear maps’. It is one-to-one and onto too, so it is also an isomorphism. An isomorphism matches vectors, sums, multiples, bases and subspaces on the two sides.

    Where this came from· Where 'isomorphism' came from

    The word began in chemistry. In 1819 the German chemist Eilhard Mitscherlich reported that corresponding phosphates and arsenates crystallize in the same form. Different substances, same shape: he called them isomorphic, from the Greek for “equal form”. Mathematicians later borrowed the word for two structures that can be matched exactly, with the matching respecting the operations. The habit of studying a structure only up to such a matching became standard through Emmy Noether’s work on homomorphisms of rings and modules, where her isomorphism theorems appeared in 1927. This chapter’s theorem is that habit at its cleanest. For finite-dimensional real vector spaces, the single number dim⁡V\dim V settles which spaces are the same.

    Being isomorphic is an equivalence relation: it behaves like ‘has the same value as’. That means three things hold, and each is short to check.

    Theorem B new

    Isomorphic is an equivalence relation

    For vector spaces V,W,XV, W, X: (reflexive) V≅VV \cong V; (symmetric) V≅WV \cong W implies W≅VW \cong V; (transitive) V≅WV \cong W and W≅XW \cong X imply V≅XV \cong X.

    In one lineEvery space is isomorphic to itself, if V≅WV \cong W then W≅VW \cong V, and if V≅WV \cong W and W≅XW \cong X then V≅XV \cong X.

    Why it is trueThe identity, the inverse and the composition of isomorphisms are isomorphisms.

    Proofnew
    The idea: Supply the isomorphism in each case: the identity, the inverse, the composition.
    Reflexive: IV:V→VI_V: V \to V is an isomorphism.
    The identity map respects sums and multiples, and it is one-to-one and onto.
    Symmetric: if T:V→WT: V \to W is an isomorphism, so is T−1:W→VT^{-1}: W \to V.
    Shown just above: T−1T^{-1} is linear (Equivalent forms), one-to-one (it has the left inverse TT) and onto (every x∈Vx \in V equals T−1(T(x))T^{-1}(T(x))).
    Transitive: if T:V→WT: V \to W and S:W→XS: W \to X are isomorphisms, then ST:V→XST: V \to X is linear and one-to-one.
    'Composition of linear maps is linear' and 'Inverse of a composition' (one-to-one part).
    STST is onto, so it is an isomorphism.
    STST has range S(T(V))=S(W)=XS(T(V)) = S(W) = X, because TT is onto WW and SS is onto XX.

    Now the payoff promised in 2.1 and 2.2. A space with a basis is isomorphic to Rn\mathbb R^n, and the isomorphism is the act of taking coordinates.

    Theorem B uses Apostol 1.9; Spagnolie Lecture 11 (isomorphism)

    Every n-dimensional space is isomorphic to R^n

    Let dim⁡V=n\dim V = n with ordered basis (e1,…,en)(e_1, \dots, e_n). The coordinate map C:V→RnC: V \to \mathbb R^n, C(∑ciei)=(c1,…,cn)C(\sum c_i e_i) = (c_1, \dots, c_n), is an isomorphism. In particular V≅RnV \cong \mathbb R^n.

    In one lineIf dim⁡V=n\dim V = n and (e1,…,en)(e_1, \dots, e_n) is an ordered basis, then x↦(c1,…,cn)x \mapsto (c_1, \dots, c_n), the coordinates of xx, is an isomorphism V→RnV \to \mathbb R^n.

    Why it is trueCoordinates are unique (so the map is a function and is one-to-one), every list of numbers is the coordinate list of some vector (onto), and coordinates of a sum are the sums of coordinates (linear).

    ProofApostol 1.9 and 2.9
    The idea: Linear because of uniqueness of coordinates; one-to-one because the zero vector is the only one with all coordinates zero; onto by building a vector from any list.
    CC is well defined.
    'Unique coordinates' from 2.2 makes CC a function: each xx has exactly one coordinate list.
    Then ax+y=∑(aci+di) eiax + y = \sum (ac_i + d_i)\, e_i.
    Write x=∑cieix = \sum c_i e_i and y=∑dieiy = \sum d_i e_i. Collect terms using the axioms.
    So C(ax+y)=(ac1+d1,…,acn+dn)=a C(x)+C(y)C(ax + y) = (ac_1 + d_1, \dots, ac_n + d_n) = a\,C(x) + C(y). CC is linear.
    By uniqueness of coordinates, this IS the coordinate list of ax+yax + y.
    If C(x)=(0,…,0)C(x) = (0, \dots, 0), then x=0e1+⋯+0en=Ox = 0e_1 + \dots + 0e_n = O. So CC is one-to-one.
    'Equivalent forms of one-to-one for linear maps' (c ⇒ a): only N(C)N(C) needs checking.
    CC is onto. So CC is an isomorphism.
    Given any list (c1,…,cn)(c_1, \dots, c_n), the vector ∑ciei\sum c_i e_i is in VV by the closure axioms, and its coordinates are that list.

    In the picture. This is the coordinate grid from 2.2. The plane drawn with the slanted grid below is VV, and the pair (c1,c2)(c_1, c_2) displayed is C(x)C(x) in R2\mathbb R^2. Drag xx and watch the pair change: each point has exactly one pair (that is ‘well defined’, and ‘one-to-one’), and every pair belongs to some point (that is ‘onto’). Move b1b_1 onto b2b_2‘s line and the grid collapses, which is the case where the eie_i are not a basis and the coordinate map stops existing.

    Where this came from· Descartes and the first coordinate map

    In La Géométrie (1637), René Descartes brought algebra into geometry: a curve is described by an equation linking lengths measured from a fixed line. Pierre de Fermat found the same idea independently. Both used a single reference line. The now-familiar pair of axes came a little later, as Frans van Schooten and his students translated and explained La Géométrie (a Latin edition appeared in 1649). Giving each point of the plane a pair of numbers is the case n=2n = 2 of this chapter’s theorem: the plane, with a chosen pair of axes, is matched with R2\mathbb R^2. The general statement, that any nn-dimensional space is Rn\mathbb R^n once a basis is chosen, belongs to the later study of abstract vector spaces (see the history box in 2.1). A different pair of axes gives a different matching, which is exactly the freedom that 2.5 studies.

    Quick checkWhich pair of spaces is NOT isomorphic?
    Your answerThe space of 3×43 \times 4 real matrices is isomorphic to Rn\mathbb R^n for which nn?
    Worked example Axler 3.D style
    Show that the symmetric 2×22 \times 2 matrices are isomorphic to R3\mathbb R^3, by writing down an isomorphism

    Solution.

    1. Name the set. A 2×22 \times 2 matrix is symmetric if its two off-diagonal entries are equal. So V={[abbc]:a,b,c∈R}V = \left\{\begin{bmatrix}a&b\\b&c\end{bmatrix} : a, b, c \in \mathbb R\right\}. We need the objects before we can map them.
    2. Check VV is a vector space. It is closed under addition, since [abbc]+[a′b′b′c′]=[a+a′b+b′b+b′c+c′]\begin{bmatrix}a&b\\b&c\end{bmatrix} + \begin{bmatrix}a'&b'\\b'&c'\end{bmatrix} = \begin{bmatrix}a+a'&b+b'\\b+b'&c+c'\end{bmatrix}, and under scaling, since k[abbc]=[kakbkbkc]k\begin{bmatrix}a&b\\b&c\end{bmatrix} = \begin{bmatrix}ka&kb\\kb&kc\end{bmatrix} is symmetric, and it contains the zero matrix. By the subspace test it is a subspace of the 2×22 \times 2 matrices.
    3. Define the map. C[abbc]=(a,b,c)C\begin{bmatrix}a&b\\b&c\end{bmatrix} = (a, b, c). This is ‘take coordinates’ in the basis [1000],[0110],[0001]\begin{bmatrix}1&0\\0&0\end{bmatrix}, \begin{bmatrix}0&1\\1&0\end{bmatrix}, \begin{bmatrix}0&0\\0&1\end{bmatrix}, because the symmetric matrix above equals aa times the first plus bb times the second plus cc times the third.
    4. Check linear. The sum of two matrices has entries (a+a′,b+b′,c+c′)(a + a', b + b', c + c'), which is C(first)+C(second)C(\text{first}) + C(\text{second}). Scaling by kk multiplies all three entries by kk. Both conditions of a linear map.
    5. Check one-to-one. If C=(0,0,0)C = (0, 0, 0) then a=b=c=0a = b = c = 0, so the matrix is the zero matrix. ‘Equivalent forms’ (c ⇒ a): the null space is only OO.
    6. Check onto. Any (a,b,c)(a, b, c) is CC of [abbc]\begin{bmatrix}a&b\\b&c\end{bmatrix}. Every output is attained.

    Answer. CC is an isomorphism, so the symmetric 2×22 \times 2 matrices are isomorphic to R3\mathbb R^3 and have dimension 3.

    Theorem B Apostol 2.7 and 2.14, assembled

    Same dimension exactly when isomorphic

    Let VV and WW be finite-dimensional. Then V≅WV \cong W if and only if dim⁡V=dim⁡W\dim V = \dim W.

    In one lineTwo finite-dimensional vector spaces are isomorphic if and only if they have the same dimension.

    Why it is trueAn isomorphism sends a basis to a basis, so it preserves the count. Conversely, two spaces of dimension nn are both isomorphic to Rn\mathbb R^n, and isomorphic is transitive.

    Proofnew
    The idea: Forward: an isomorphism is one-to-one, so (d) of the finite-dimensional theorem gives a basis of the range. Backward: go through R^n.
    (⇒\Rightarrow) T(e1),…,T(en)T(e_1), \dots, T(e_n) is a basis of T(V)T(V).
    Let T:V→WT: V \to W be an isomorphism and e1,…,ene_1, \dots, e_n a basis of VV. 'One-to-one in finite dimension' (a ⇒ d).
    So WW has a basis of nn vectors, and dim⁡W=n=dim⁡V\dim W = n = \dim V.
    TT is onto, so T(V)=WT(V) = W.
    If dim⁡V=dim⁡W=n\dim V = \dim W = n, then V≅RnV \cong \mathbb R^n and W≅RnW \cong \mathbb R^n.
    (⇐\Leftarrow) Both spaces have dimension nn. The previous theorem gives V≅RnV \cong \mathbb R^n and W≅RnW \cong \mathbb R^n.
    So V≅WV \cong W.
    Symmetric: Rn≅W\mathbb R^n \cong W. Transitive: chain V≅Rn≅WV \cong \mathbb R^n \cong W.

    So dimension is the one number that classifies finite-dimensional real vector spaces. The plane is not isomorphic to 3-space, and P3P_3 (cubic polynomials, dimension 4) is isomorphic to the 2×22 \times 2 matrices (dimension 4). Isomorphic does not mean equal, and the isomorphism is not unique: each ordered basis gives a different one. This is why 2.5 will work hard on what happens when you change the basis.

    Not every vector space has finite dimension. In infinite dimensions the picture changes (the second stretch problem shows the polynomials are isomorphic to a smaller subspace of themselves).

    Prescribed values on a basis

    2.3 showed that a linear map is determined by its values on a basis. The converse is the useful half: you may choose those values freely.

    Theorem A Apostol Thm 2.12; Spagnolie Lecture 10

    Prescribed values on a basis

    Let e1,…,ene_1, \dots, e_n be a basis of VV and u1,…,unu_1, \dots, u_n any nn vectors in WW (repeats allowed). There is one and only one linear map T:V→WT: V \to W with T(ek)=ukT(e_k) = u_k for k=1,…,nk = 1, \dots, n. It is given by

    T ⁣(∑k=1nxkek)=∑k=1nxkuk.T\!\left(\sum_{k=1}^n x_k e_k\right) = \sum_{k=1}^n x_k u_k.

    In one lineGiven a basis e1,…,ene_1, \dots, e_n of VV and ANY vectors u1,…,unu_1, \dots, u_n in WW, there is exactly one linear map TT with T(ek)=ukT(e_k) = u_k.

    Why it is trueA basis gives each vector unique coordinates, so T(x)=∑xkukT(x) = \sum x_k u_k is well defined, and it is the only possible linear map.

    ProofApostol 2.9
    The idea: Existence: define T by the formula. Uniqueness: a linear map is forced to use the formula.
    The formula defines a function T:V→WT: V \to W.
    'Unique coordinates' (2.2): each xx has exactly one list (x1,…,xn)(x_1, \dots, x_n), so the right-hand side has exactly one value for each xx.
    T(ax+y)=∑(axk+yk) uk=a∑xkuk+∑ykuk=aT(x)+T(y)T(ax + y) = \sum (ax_k + y_k)\,u_k = a \sum x_k u_k + \sum y_k u_k = aT(x) + T(y). So TT is linear.
    If x=∑xkekx = \sum x_k e_k and y=∑ykeky = \sum y_k e_k, then ax+yax + y has coordinates axk+ykax_k + y_k (proved in the isomorphism theorem above).
    T(ek)=0u1+⋯+1uk+⋯+0un=ukT(e_k) = 0u_1 + \dots + 1u_k + \dots + 0u_n = u_k.
    The vector eke_k has coordinates 0,…,0,1,0,…,00, \dots, 0, 1, 0, \dots, 0, with the 11 in place kk.
    T′(x)=∑xkT′(ek)=∑xkuk=T(x)T'(x) = \sum x_k T'(e_k) = \sum x_k u_k = T(x), using linearity of T′T'.
    Uniqueness. Let T′T' be another linear map with T′(ek)=ukT'(e_k) = u_k. It is enough to compare them at an arbitrary x=∑xkekx = \sum x_k e_k.
    So T′=TT' = T.
    Same values at every input.

    In the picture. Drag the two arrow tips in the visualizer below. The arrows ı^\hat\imath and ȷ^\hat\jmath are the basis e1,e2e_1, e_2, and their landing spots are the values u1,u2u_1, u_2. You may drop them anywhere you like (existence: the formula always produces a map), and once you have dropped them, the whole grid is forced into place (uniqueness: no other linear map has those landing spots).

    Apostol’s example: define T:R2→R2T: \mathbb R^2 \to \mathbb R^2 by T(ı^)=ı^+ȷ^T(\hat\imath) = \hat\imath + \hat\jmath and T(ȷ^)=2ı^−ȷ^T(\hat\jmath) = 2\hat\imath - \hat\jmath. Then T(x1,x2)=x1(1,1)+x2(2,−1)=(x1+2x2, x1−x2)T(x_1, x_2) = x_1(1, 1) + x_2(2, -1) = (x_1 + 2x_2,\ x_1 - x_2).

    Another, with a basis that is not the standard one. Let b1=(1,1)b_1 = (1, 1), b2=(1,−1)b_2 = (1, -1), and require T(b1)=(3,1)T(b_1) = (3, 1), T(b2)=(1,5)T(b_2) = (1, 5). Writing (x,y)=x+y2 b1+x−y2 b2(x, y) = \tfrac{x+y}{2}\,b_1 + \tfrac{x-y}{2}\,b_2,

    T(x,y)=x+y2(3,1)+x−y2(1,5)=(2x+y, 3x−2y).T(x, y) = \tfrac{x+y}{2}(3, 1) + \tfrac{x-y}{2}(1, 5) = (2x + y,\ 3x - 2y).

    Check: T(1,1)=(3,1)T(1, 1) = (3, 1) and T(1,−1)=(1,5)T(1, -1) = (1, 5).

    Your answerFor this map (T(1,1)=(3,1)T(1, 1) = (3, 1) and T(1,−1)=(1,5)T(1, -1) = (1, 5)), what is the SECOND entry of T(5,1)T(5, 1)?
    Quick checkCan you prescribe T(1,0)=(1,0)T(1, 0) = (1, 0), T(0,1)=(0,1)T(0, 1) = (0, 1) and T(1,1)=(5,5)T(1, 1) = (5, 5) for a linear map TT?
    Worked example Apostol 2.12 style; new numbers
    Find the linear map TT from R2\mathbb R^2 to R3\mathbb R^3 with T(1,1)=(1,0,2)T(1, 1) = (1, 0, 2) and T(1,2)=(0,1,1)T(1, 2) = (0, 1, 1). Is it one-to-one? Onto?

    Solution.

    1. Check the inputs form a basis. (1,1)(1, 1) and (1,2)(1, 2) are not multiples of each other, so they are independent, and two independent vectors form a basis of R2\mathbb R^2. ‘Prescribed values on a basis’ needs a basis, and ‘Extending to a basis’ (b) from 2.2 lets us skip checking they span.
    2. Write (x,y)(x, y) in this basis. Solve a(1,1)+b(1,2)=(x,y)a(1,1) + b(1,2) = (x, y): a+b=xa + b = x and a+2b=ya + 2b = y. Subtracting, b=y−xb = y - x, and then a=x−b=2x−ya = x - b = 2x - y. We need the coordinates a,ba, b, because TT is defined by T(x,y)=a T(1,1)+b T(1,2)T(x, y) = a\,T(1,1) + b\,T(1,2).
    3. Apply the formula. T(x,y)=(2x−y)(1,0,2)+(y−x)(0,1,1)=(2x−y, y−x, 4x−2y+y−x)=(2x−y, y−x, 3x−y)T(x, y) = (2x - y)(1, 0, 2) + (y - x)(0, 1, 1) = (2x - y,\ y - x,\ 4x - 2y + y - x) = (2x - y,\ y - x,\ 3x - y). Linearity: the values on the basis are combined with the coordinates as weights.
    4. Check the prescribed values. T(1,1)=(1,0,2)T(1, 1) = (1, 0, 2) and T(1,2)=(0,1,1)T(1, 2) = (0, 1, 1). The formula must reproduce the data we started with.
    5. Decide one-to-one. T(x,y)=OT(x, y) = O gives y−x=0y - x = 0 from the second entry and 2x−y=02x - y = 0 from the first, so x=yx = y and then x=0x = 0. Hence N(T)={O}N(T) = \{O\} and TT is one-to-one. ‘Equivalent forms of one-to-one for linear maps’ (c ⇒ a).
    6. Decide onto. The range is spanned by the two values (1,0,2)(1, 0, 2) and (0,1,1)(0, 1, 1), so it is at most a plane in R3\mathbb R^3. It is not all of R3\mathbb R^3. The range is the set of combinations of the prescribed values, since T(x,y)=a T(1,1)+b T(1,2)T(x, y) = a\,T(1,1) + b\,T(1,2). Two vectors cannot span 3 dimensions. The corollary ‘Building a linear map from the images of a basis’, just after this section, proves both answers in general.

    Answer. T(x,y)=(2x−y, y−x, 3x−y)T(x, y) = (2x - y,\ y - x,\ 3x - y). It is one-to-one and not onto.

    Why a basis is the right thing to prescribe on. Try to prescribe on a dependent set: T(1,0)=(1,0)T(1,0) = (1,0), T(0,1)=(0,1)T(0,1) = (0,1), T(1,1)=(5,5)T(1,1) = (5,5). Linearity forces T(1,1)=T(1,0)+T(0,1)=(1,1)T(1,1) = T(1,0) + T(0,1) = (1,1), so no linear map exists. Independence is what prevents values from contradicting each other. Spanning is what prevents any vector’s value from being left undecided. A basis has both, which is exactly why it works.

    Corollary A uses Apostol Thms 2.11, 2.12

    Building a linear map from the images of a basis

    Let e1,…,ene_1, \dots, e_n be a basis of VV, and let T:V→WT: V \to W be the linear map with T(ek)=ukT(e_k) = u_k. Then (a) T(V)=L({u1,…,un})T(V) = L(\{u_1, \dots, u_n\}); (b) TT is one-to-one if and only if u1,…,unu_1, \dots, u_n are independent; (c) TT is an isomorphism if and only if u1,…,unu_1, \dots, u_n is a basis of WW.

    In one lineIf T(ek)=ukT(e_k) = u_k on a basis, then TT is onto WW exactly when the uku_k span WW, one-to-one exactly when they are independent, and an isomorphism exactly when they are a basis of WW.

    Why it is trueThe range is the span of the uku_k, and T(x)=OT(x) = O is the equation ∑xkuk=O\sum x_k u_k = O.

    Proofnew
    The idea: The range is everything of the form sum x_k u_k, which is the span. The null space question is the independence question word for word.
    (a) T(V)T(V) is exactly the set of all combinations of the uku_k, that is, their span.
    Every output is T(x)=∑xkukT(x) = \sum x_k u_k, a combination of the uku_k. Conversely, each combination ∑xkuk\sum x_k u_k equals T(∑xkek)T(\sum x_k e_k).
    (b) N(T)={O}N(T) = \{O\} if and only if the only combination ∑xkuk=O\sum x_k u_k = O has all xk=0x_k = 0, which is the definition of independent. And N(T)={O}N(T) = \{O\} is one-to-one by ‘Equivalent forms’ (c ⇔ a).
    T(x)=OT(x) = O means ∑xkuk=O\sum x_k u_k = O. This is a combination equal to OO whose coefficients are the coordinates of xx.
    (c) TT is one-to-one and onto exactly when the uku_k are independent and span WW, that is, form a basis.
    Onto is (a): T(V)=WT(V) = W when the uku_k span WW. Together with (b), an isomorphism is a set that spans and is independent.

    This is the cleanest way to manufacture isomorphisms. Pick bases, send one to the other. Every isomorphism between finite-dimensional spaces arises this way.

    Examples and non-examples

    Running sums and differences (Apostol 2.8 #19). T(x,y,z)=(x, x+y, x+y+z)T(x, y, z) = (x,\ x + y,\ x + y + z) keeps a running total. If T(x,y,z)=(u,v,w)T(x, y, z) = (u, v, w), then u=xu = x, v=x+yv = x + y, w=x+y+zw = x + y + z. Solve backwards: x=ux = u, y=v−uy = v - u, z=w−vz = w - v. So TT is one-to-one (its output determines its input), and

    T−1(u,v,w)=(u, v−u, w−v).T^{-1}(u, v, w) = (u,\ v - u,\ w - v).

    The inverse takes differences. This is the discrete version of the fact that integrating and differentiating undo each other, and it is the prefix-sum array from programming: store running totals, and you can recover the list by subtracting neighbours.

    Worked example Apostol 2.8 #27; MATH 375 HW6
    Let DD be differentiation and T(p)(x)=∫0xp(t) dtT(p)(x) = \int_0^x p(t)\,dt on all real polynomials. Show DT=IDT = I but TD≠ITD \ne I, and find the null space and range of TDTD

    Solution.

    1. Check both are linear maps of the polynomials to themselves. D(af+g)=af′+g′D(af + g) = af' + g' and ∫0x(af+g)=a∫0xf+∫0xg\int_0^x (af + g) = a\int_0^x f + \int_0^x g. Sum and constant-multiple rules from calculus are exactly the two conditions.
    2. Compute DTDT. DT(p)=ddx∫0xp(t) dt=p(x)DT(p) = \dfrac{d}{dx}\displaystyle\int_0^x p(t)\,dt = p(x). So DT=IDT = I. The fundamental theorem of calculus: differentiating an integral with variable upper limit returns the integrand.
    3. Compute TDTD. TD(p)=∫0xp′(t) dt=p(x)−p(0)TD(p) = \displaystyle\int_0^x p'(t)\,dt = p(x) - p(0). The fundamental theorem again, in the other direction, which leaves behind the starting value.
    4. Show TD≠ITD \ne I with one example. p=2+3xp = 2 + 3x gives TD(p)=3x≠pTD(p) = 3x \ne p. One input where two maps differ proves the maps differ.
    5. Null space of TDTD. p−p(0)=0p - p(0) = 0 means pp equals its constant term, so N(TD)N(TD) is the constant polynomials. A polynomial equal to its value at 00 has no xx terms.
    6. Range of TDTD. Every output p−p(0)p - p(0) has value 00 at x=0x = 0, and any qq with q(0)=0q(0) = 0 is hit by p=qp = q. So R(TD)={q:q(0)=0}R(TD) = \{q : q(0) = 0\}. Subtracting p(0)p(0) forces the constant term to vanish, and nothing else is lost.

    Answer. DT=IDT = I, TD(p)=p−p(0)TD(p) = p - p(0), N(TD)N(TD) = constants, R(TD)R(TD) = polynomials vanishing at 00.

    Why does this not contradict ‘A left inverse is unique and two-sided’? That theorem requires the left inverse to be defined on the range T(V)T(V) only. Here TT (integration) has range {q:q(0)=0}\{q : q(0) = 0\}. On that set, TD(q)=q−q(0)=qTD(q) = q - q(0) = q, so DD restricted to the range is both a left and right inverse of TT. Applied to all of VV, DD is no longer a right inverse. DD itself is not one-to-one, since D(1)=D(2)=0D(1) = D(2) = 0, so DD has no left inverse. In infinite dimensions, a linear map can be one-to-one and not onto, as TT is here. When the domain and codomain have the same finite dimension, that cannot happen (a prove problem in 2.3).

    The six reorderings of three things (Apostol 2.8 #2, HW6). Let V={0,1,2}V = \{0, 1, 2\}, and write each reordering as the list of images of 0,1,20, 1, 2: T1=(0,1,2)T_1 = (0,1,2), T2=(0,2,1)T_2 = (0,2,1), T3=(1,0,2)T_3 = (1,0,2), T4=(1,2,0)T_4 = (1,2,0), T5=(2,0,1)T_5 = (2,0,1), T6=(2,1,0)T_6 = (2,1,0). All six are one-to-one and onto. The table gives TjTiT_jT_i, with TiT_i done first (columns) and TjT_j second (rows):

    T1T_1T2T_2T3T_3T4T_4T5T_5T6T_6
    T1T_1T1T_1T2T_2T3T_3T4T_4T5T_5T6T_6
    T2T_2T2T_2T1T_1T5T_5T6T_6T3T_3T4T_4
    T3T_3T3T_3T4T_4T1T_1T2T_2T6T_6T5T_5
    T4T_4T4T_4T3T_3T6T_6T5T_5T1T_1T2T_2
    T5T_5T5T_5T6T_6T2T_2T1T_1T4T_4T3T_3
    T6T_6T6T_6T5T_5T4T_4T3T_3T2T_2T1T_1

    Look at the diagonal. For T1,T2,T3,T6T_1, T_2, T_3, T_6 the diagonal entry is T1T_1, so each of these is its own inverse. But T4T4=T5T_4T_4 = T_5 and T5T5=T4T_5T_5 = T_4, while T4T5=T5T4=T1T_4T_5 = T_5T_4 = T_1. So T4T_4 and T5T_5 are inverses of EACH OTHER. They are the two ‘cyclic shifts’: T4T_4 sends 0→1→2→00 \to 1 \to 2 \to 0. The answer key issued for HW6 claimed every Ti2=T1T_i^2 = T_1, which is wrong for T4T_4 and T5T_5. Also T2T3=T5T_2T_3 = T_5 but T3T2=T4T_3T_2 = T_4, so even these simple maps do not commute. (For {0,1}\{0, 1\} only the identity and the swap are one-to-one, and each is its own inverse: Apostol 2.8 #1.) This little table is a first look at a “group”, the structure of invertible maps under composition that MATH 541 studies.

    The positive reals are secretly the real line (Apostol 1.5 #29, from 2.1). Let PP be the positive real numbers with ‘sum’ x⊕y=xyx \oplus y = xy and ‘scaling’ c⊙x=xcc \odot x = x^c. Define L:P→RL: P \to \mathbb R by L(x)=ln⁡xL(x) = \ln x. Then

    L(x⊕y)=ln⁡(xy)=ln⁡x+ln⁡y=L(x)+L(y),L(c⊙x)=ln⁡(xc)=cln⁡x=c L(x).L(x \oplus y) = \ln(xy) = \ln x + \ln y = L(x) + L(y), \qquad L(c \odot x) = \ln(x^c) = c \ln x = c\,L(x).

    So LL is linear. It is one-to-one, since ln⁡\ln is strictly increasing, and onto, since every real rr equals ln⁡(er)\ln(e^r). So LL is an isomorphism and P≅RP \cong \mathbb R. The inverse is exp⁡\exp. The strange ‘vector space’ of 2.1 is the real line in disguise, and its laws of exponents are the vector-space axioms. It has dimension 1. The single number 22 is a basis: it is not the zero vector of PP (that is 11), so it is independent, and every x>0x > 0 equals c⊙2=2cc \odot 2 = 2^c with c=log⁡2xc = \log_2 x, so it spans. That cc is the coordinate of xx.

    Where it is used

    Used inside maths· Inside maths: solving T(x) = b, and polar coordinates

    Solving T(x)=bT(x) = b is two questions. Does a solution exist? That is: is bb in the range, is TT onto? Is it the only one? That is: is TT one-to-one? When dim⁡V=dim⁡W\dim V = \dim W is finite, 2.3 showed these are the same question, so a square system has exactly one solution for every bb or fails both ways. Chapter 2.6 turns this into a procedure and chapter 2.7 into one number.

    In multivariable calculus the same idea reaches into non-linear maps. The change to polar coordinates F(r,θ)=(rcos⁡θ, rsin⁡θ)F(r, \theta) = (r\cos\theta,\ r\sin\theta) is not linear. Near a point (r,θ)(r, \theta), though, it behaves like its derivative (the matrix of partial derivatives from multivariable calculus), which is the linear map

    J(a,b)=(acos⁡θ−b rsin⁡θ, asin⁡θ+b rcos⁡θ).J(a, b) = (a\cos\theta - b\,r\sin\theta,\ a\sin\theta + b\,r\cos\theta).

    Factor it as a composition: first D(a,b)=(a, rb)D(a, b) = (a,\ rb) (stretch the second coordinate by rr), then rotate by θ\theta. Write Rotθ\mathrm{Rot}_\theta for the rotation by θ\theta. Then J=RotθDJ = \mathrm{Rot}_\theta D, since rotating the point (a,rb)(a, rb) by θ\theta gives exactly the formula for JJ. For r≠0r \ne 0 both pieces are invertible, so by socks and shoes J−1=D−1 Rot−θJ^{-1} = D^{-1}\,\mathrm{Rot}_{-\theta}: rotate back by −θ-\theta, then divide the second coordinate by rr. At r=0r = 0, J(a,b)=(acos⁡θ, asin⁡θ)J(a, b) = (a\cos\theta,\ a\sin\theta) sends the whole vertical direction (0,b)(0, b) to OO, so JJ is not one-to-one. Geometrically, every point (0,θ)(0, \theta) with r=0r = 0 lands on the origin, so the polar map cannot be undone there. (B: a theorem of calculus, the inverse function theorem, says that when the derivative is invertible at a point, the non-linear map itself can be undone near that point.)

    Used in the real world· Graphics: undoing in reverse order

    A 2D game engine places a sprite by rotating it 90∘90^\circ and shifting it by (5,2)(5, 2). The corner (1,0)(1, 0) goes to (5,3)(5, 3) (the step-through above). When you click the screen at (5,3)(5, 3), the engine must find the point on the sprite. It applies the inverse: subtract (5,2)(5, 2) first, then rotate by −90∘-90^\circ. Game engines with parent and child objects (a hand attached to an arm attached to a body) do this for every click. They store each object’s transform and apply the parents’ inverses in reverse order to turn a world point into a point in the object’s own coordinates (Unity’s InverseTransformPoint is this). An editor’s undo button works the same way: it keeps a stack of edits and undoes the newest first.

    Used in the real world· Encryption: the Hill cipher (B)

    The Hill cipher (1929) encrypts letters in pairs using a matrix mod 26. Number the letters A=0,…,Z=25A = 0, \dots, Z = 25. Take the key K=[3325]K = \begin{bmatrix}3&3\\2&5\end{bmatrix} and encrypt “HELP”. The pair HE is (7,4)(7, 4), and K(7,4)=(3⋅7+3⋅4, 2⋅7+5⋅4)=(33,34)≡(7,8)K(7, 4) = (3\cdot7 + 3\cdot4,\ 2\cdot7 + 5\cdot4) = (33, 34) \equiv (7, 8) mod 26, which is “HI”. The pair LP is (11,15)(11, 15), and K(11,15)=(78,97)≡(0,19)K(11, 15) = (78, 97) \equiv (0, 19), which is “AT”. The ciphertext is “HIAT”. To decrypt, apply the inverse map. The inverse key is K−1=[1517209]K^{-1} = \begin{bmatrix}15&17\\20&9\end{bmatrix}, and one checks KK−1=[1057813079]≡[1001]KK^{-1} = \begin{bmatrix}105&78\\130&79\end{bmatrix} \equiv \begin{bmatrix}1&0\\0&1\end{bmatrix} mod 26.

    The cipher is usable only if encryption is one-to-one. The key [2345]\begin{bmatrix}2&3\\4&5\end{bmatrix} is not: the pairs “NA” =(13,0)= (13, 0) and “AA” =(0,0)= (0, 0) both encrypt to “AA”, because 2⋅13=26≡02\cdot13 = 26 \equiv 0 and 4⋅13=52≡04 \cdot 13 = 52 \equiv 0. Nobody could decrypt “AA”. The theorem ‘Left inverse exists exactly when one-to-one’ holds for any function, so it still applies. The linear-map theorems of this chapter do not apply directly, because the numbers mod 26 do not form a field (26 is not prime), so these pairs are not a vector space in the sense of 2.1. The correct criterion is that the determinant must share no factor with 26. For the working key it is 3⋅5−3⋅2=93\cdot5 - 3\cdot2 = 9, and for the broken key it is 2⋅5−3⋅4=−22\cdot5 - 3\cdot4 = -2, which shares the factor 2 with 26.

    Used in the real world· AI: why language-model software works with log-probabilities

    A language model gives each next word a probability. For open-ended text these are often small, say around 0.010.01. The probability of a 1000-word passage is the product of 1000 such numbers, about 10−200010^{-2000}. A 64-bit floating-point number cannot hold anything much below 10−30810^{-308} (the smallest ones, down to about 10−32410^{-324}, lose precision), so a computer stores this product as 00 and loses all information. Software stores ln⁡\ln of the probability instead. By the isomorphism L=ln⁡L = \ln above, the product becomes a sum: 1000ln⁡0.01=−4605.171000 \ln 0.01 = -4605.17, an ordinary number. Comparing two passages by log-probability picks the same winner, because ln⁡\ln is increasing. The product world (P,⊕)(P, \oplus) and the sum world R\mathbb R are the same vector space, and the computer works in the one that its number format can hold.

    Traps

    Watch out· Order: ST means T first, and inverses reverse it

    ST(x)=S(T(x))ST(x) = S(T(x)), so the map written on the RIGHT acts first. And (ST)−1=T−1S−1(ST)^{-1} = T^{-1}S^{-1}, not S−1T−1S^{-1}T^{-1}. The two orders differ whenever the maps do not commute. Piazza on HW5 (2.8 #23): the identity (ST)−1=T−1S−1(ST)^{-1} = T^{-1}S^{-1} holds for any invertible SS and TT, but a proof that quietly uses ST=TSST = TS is wrong, since you were not given that.

    Watch out· Do not assume commuting

    (S+T)2=S2+ST+TS+T2(S + T)^2 = S^2 + ST + TS + T^2 always. It equals S2+2ST+T2S^2 + 2ST + T^2 only when ST=TSST = TS. And (S+T)3(S + T)^3 is the sum of all eight orderings of three letters from SS and TT, not S3+3S2T+3ST2+T3S^3 + 3S^2T + 3ST^2 + T^3 unless the maps commute (HW5, 2.8 #25).

    Watch out· A one-sided inverse is not two-sided on all of V

    The theorem ‘A left inverse is unique and two-sided’ needs the inverse defined only on the range T(V)T(V). The calculus example shows what goes wrong otherwise: DT=IDT = I but TD≠ITD \ne I on the full space. Between spaces of the same finite dimension the trouble disappears (see the prove problem on ST=IST = I).

    Watch out· Isomorphic does not mean equal, and the isomorphism is a choice

    P2P_2 (polynomials of degree at most 2) is isomorphic to R3\mathbb R^3, but a polynomial is not a triple. The isomorphism depends on a basis. With the basis (1,x,x2)(1, x, x^2) the polynomial 3+x23 + x^2 becomes (3,0,1)(3, 0, 1), and with the basis (x2,x,1)(x^2, x, 1) the same polynomial becomes (1,0,3)(1, 0, 3). Both are isomorphisms. Statements that survive every isomorphism are about the vector space itself.

    Watch out· One-to-one and onto are different questions

    ‘One-to-one’ says different inputs give different outputs. ‘Onto’ says every element of the codomain is an output. Neither implies the other: T(x)=(x,0)T(x) = (x, 0) from R\mathbb R to R2\mathbb R^2 is one-to-one and not onto, while T(x,y)=xT(x, y) = x from R2\mathbb R^2 to R\mathbb R is onto and not one-to-one.

    Problems

    checkApostol 2.8 #5 and #6

    Which of T(x,y)=(x,0)T(x, y) = (x, 0) and T(x,y)=(x,x)T(x, y) = (x, x) are one-to-one? For each, find a right inverse.

    Solution

    Neither. T(x,y)=(x,0)T(x, y) = (x, 0) has T(0,1)=T(0,2)T(0, 1) = T(0, 2). T(x,y)=(x,x)T(x, y) = (x, x) has T(1,0)=T(1,1)T(1, 0) = T(1, 1). Right inverses: for the first, R(x,0)=(x,0)R(x, 0) = (x, 0), since T(x,0)=(x,0)T(x, 0) = (x, 0); for the second, R(x,x)=(x,0)R(x, x) = (x, 0), since T(x,0)=(x,x)T(x, 0) = (x, x). (Many others work: any second coordinate may be chosen.)

    checkApostol 2.8 #10

    Is T(x,y)=(x+1,y+1)T(x, y) = (x + 1, y + 1) linear? Is it one-to-one? What is its inverse?

    Solution

    Not linear, since T(0,0)=(1,1)≠(0,0)T(0, 0) = (1, 1) \ne (0, 0). It is one-to-one: (x+1,y+1)=(x′+1,y′+1)(x+1, y+1) = (x'+1, y'+1) gives x=x′x = x' and y=y′y = y'. Inverse: T−1(u,v)=(u−1,v−1)T^{-1}(u, v) = (u - 1, v - 1).

    check

    Let S(x,y)=(y,x)S(x, y) = (y, x) and T(x,y)=(x,0)T(x, y) = (x, 0). Compute STST and TSTS. Are they equal?

    Solution

    ST(x,y)=S(x,0)=(0,x)ST(x, y) = S(x, 0) = (0, x). TS(x,y)=T(y,x)=(y,0)TS(x, y) = T(y, x) = (y, 0). They are different: at (1,0)(1, 0), STST gives (0,1)(0, 1) and TSTS gives (0,0)(0, 0).

    check

    Which pairs are isomorphic? (a) R2\mathbb R^2 and R3\mathbb R^3. (b) P3P_3 and R2×2\mathbb R^{2 \times 2}. (c) The plane {(x,y,z):x+y+z=0}\{(x, y, z) : x + y + z = 0\} and R2\mathbb R^2.

    Solution

    (a) No, dimensions 2 and 3 differ. (b) Yes, both have dimension 4. (c) Yes. The plane has dimension 2 (problem in 2.2), the same as R2\mathbb R^2. An explicit isomorphism sends (1,0)(1, 0) to (−1,1,0)(-1, 1, 0) and (0,1)(0, 1) to (−1,0,1)(-1, 0, 1) (use ‘Building a linear map from the images of a basis’).

    useApostol 2.8 #19

    Show T(x,y,z)=(x, x+y, x+y+z)T(x, y, z) = (x,\ x + y,\ x + y + z) is one-to-one and find T−1T^{-1}.

    Solution

    If T(x,y,z)=OT(x, y, z) = O, then x=0x = 0, then y=0y = 0 from x+y=0x + y = 0, then z=0z = 0 from x+y+z=0x + y + z = 0. So N(T)={O}N(T) = \{O\} and TT is one-to-one by ‘Equivalent forms’ (c ⇒ a). Given (u,v,w)(u, v, w), solve u=xu = x, v=x+yv = x + y, w=x+y+zw = x + y + z to get T−1(u,v,w)=(u, v−u, w−v)T^{-1}(u, v, w) = (u,\ v - u,\ w - v). Check: T(u,v−u,w−v)=(u,v,w)T(u, v - u, w - v) = (u, v, w).

    useApostol 2.8 #26

    Let S(x,y,z)=(z,y,x)S(x, y, z) = (z, y, x) and T(x,y,z)=(x, x+y, x+y+z)T(x, y, z) = (x,\ x + y,\ x + y + z). Find STST, TSTS and (ST)−1(ST)^{-1}, and check (ST)−1=T−1S−1(ST)^{-1} = T^{-1}S^{-1}.

    Solution

    ST(x,y,z)=S(x, x+y, x+y+z)=(x+y+z, x+y, x)ST(x, y, z) = S(x,\ x + y,\ x + y + z) = (x + y + z,\ x + y,\ x). TS(x,y,z)=T(z,y,x)=(z, z+y, z+y+x)TS(x, y, z) = T(z, y, x) = (z,\ z + y,\ z + y + x). To invert STST, let u=x+y+zu = x + y + z, v=x+yv = x + y, w=xw = x: then x=wx = w, y=v−wy = v - w, z=u−vz = u - v, so (ST)−1(u,v,w)=(w, v−w, u−v)(ST)^{-1}(u, v, w) = (w,\ v - w,\ u - v). Check with T−1S−1T^{-1}S^{-1}: S−1=SS^{-1} = S (swapping first and third entries twice does nothing), so S−1(u,v,w)=(w,v,u)S^{-1}(u, v, w) = (w, v, u). Then T−1(w,v,u)=(w, v−w, u−v)T^{-1}(w, v, u) = (w,\ v - w,\ u - v) by the previous problem. They agree.

    useApostol 2.9, example; new numbers

    Let T:R2→R2T: \mathbb R^2 \to \mathbb R^2 be the linear map with T(1,2)=(1,0)T(1, 2) = (1, 0) and T(3,4)=(0,1)T(3, 4) = (0, 1). Find T(x,y)T(x, y). Is TT an isomorphism?

    Solution

    The vectors (1,2)(1,2) and (3,4)(3,4) are independent (neither is a multiple of the other), so they form a basis of R2\mathbb R^2, and TT exists and is unique. Write (x,y)=a(1,2)+b(3,4)(x, y) = a(1, 2) + b(3, 4): a+3b=xa + 3b = x and 2a+4b=y2a + 4b = y. Subtracting twice the first from the second gives −2b=y−2x-2b = y - 2x, so b=(2x−y)/2b = (2x - y)/2, and a=x−3b=(3y−4x)/2a = x - 3b = (3y - 4x)/2. Then T(x,y)=a(1,0)+b(0,1)=(3y−4x2, 2x−y2)T(x, y) = a(1, 0) + b(0, 1) = \big(\tfrac{3y - 4x}{2},\ \tfrac{2x - y}{2}\big). Check: T(1,2)=(6−42, 2−22)=(1,0)T(1, 2) = \big(\tfrac{6 - 4}{2},\ \tfrac{2 - 2}{2}\big) = (1, 0) and T(3,4)=(12−122, 6−42)=(0,1)T(3, 4) = \big(\tfrac{12 - 12}{2},\ \tfrac{6 - 4}{2}\big) = (0, 1). TT sends the basis (1,2),(3,4)(1,2), (3,4) to the basis (1,0),(0,1)(1,0), (0,1), so it is an isomorphism by ‘Building a linear map from the images of a basis’.

    useApostol 2.8 #31

    On the space VV of all real polynomials, let SS shift down, S(c0+c1x+c2x2+⋯ )=c1+c2x+⋯S(c_0 + c_1x + c_2x^2 + \cdots) = c_1 + c_2x + \cdots, and let T(p)=x pT(p) = x\,p (multiply by xx). Compute STST and TSTS. Which of SS, TT is one-to-one? Which is onto?

    Solution

    ST(p)=S(xp)=pST(p) = S(xp) = p, so ST=IVST = I_V. TS(p)=x S(p)=c1x+c2x2+⋯=p−p(0)TS(p) = x\,S(p) = c_1x + c_2x^2 + \cdots = p - p(0), so TS≠IVTS \ne I_V (for p=1p = 1, TS(1)=0TS(1) = 0). TT is one-to-one, because it has the left inverse SS. Its range is the polynomials with p(0)=0p(0) = 0, so TT is not onto. SS is onto (since ST=IST = I, every pp equals S(xp)S(xp)) and not one-to-one (S(1)=S(2)=0S(1) = S(2) = 0). So here SS is a left inverse of TT, defined on all of VV, that fails to be a right inverse. By the prove problem on ST=IVST = I_V below, this can only happen in infinite dimensions.

    proveApostol 2.8 #24; MATH 375 HW6

    Let S,T:V→VS, T: V \to V be invertible (one-to-one and onto) and ST=TSST = TS. Prove that S−1T−1=T−1S−1S^{-1}T^{-1} = T^{-1}S^{-1}.

    Solution

    By socks and shoes, (ST)−1=T−1S−1(ST)^{-1} = T^{-1}S^{-1} and (TS)−1=S−1T−1(TS)^{-1} = S^{-1}T^{-1}. Since ST=TSST = TS are the same map, their inverses are the same map: T−1S−1=(ST)−1=(TS)−1=S−1T−1T^{-1}S^{-1} = (ST)^{-1} = (TS)^{-1} = S^{-1}T^{-1}.

    prove

    Let VV be finite-dimensional and S,T:V→VS, T: V \to V linear with ST=IVST = I_V. Prove that TS=IVTS = I_V too, so S=T−1S = T^{-1}.

    Solution

    First, TT is one-to-one: if T(x)=T(y)T(x) = T(y) then x=S(T(x))=S(T(y))=yx = S(T(x)) = S(T(y)) = y. A one-to-one linear map from VV to VV is onto (a prove problem in 2.3: equal finite dimensions). So TT is invertible with T−1T^{-1} defined on all of VV. Now S=S (T T−1)=(S T) T−1=I T−1=T−1S = S\,(T\,T^{-1}) = (S\,T)\,T^{-1} = I\,T^{-1} = T^{-1}, using associativity. Hence TS=T T−1=IVTS = T\,T^{-1} = I_V. (The polynomial example above shows this fails in infinite dimensions.)

    proveApostol 2.8 #21

    Let T:V→VT: V \to V be one-to-one and onto. Prove TmTn=Tm+nT^mT^n = T^{m+n} for all m,n≥0m, n \ge 0, and (Tn)−1=(T−1)n(T^n)^{-1} = (T^{-1})^n.

    Solution

    For the first, use induction on mm. For m=0m = 0: T0Tn=I Tn=TnT^0T^n = I\,T^n = T^n. If Tm−1Tn=Tm−1+nT^{m-1}T^n = T^{m-1+n}, then TmTn=(T Tm−1)Tn=T (Tm−1Tn)=T Tm+n−1=Tm+nT^mT^n = (T\,T^{m-1})T^n = T\,(T^{m-1}T^n) = T\,T^{m+n-1} = T^{m+n}, by associativity and the definition of powers.

    For the second, induct on nn. n=0n = 0 is I−1=II^{-1} = I. If (Tn−1)−1=(T−1)n−1(T^{n-1})^{-1} = (T^{-1})^{n-1}, then Tn=T Tn−1T^n = T\,T^{n-1} is a composition of invertible maps, so by ‘Inverse of a composition’ (Tn)−1=(Tn−1)−1T−1=(T−1)n−1 T−1=(T−1)n(T^n)^{-1} = (T^{n-1})^{-1}T^{-1} = (T^{-1})^{n-1}\,T^{-1} = (T^{-1})^n. The last step is the first part applied to the map T−1T^{-1}. Note that TnT^n is invertible because a composition of one-to-one onto maps is one-to-one and onto.

    proveApostol 2.8 #25; MATH 375 HW5

    Let S,T:V→VS, T: V \to V be linear. (a) Prove (S+T)2=S2+ST+TS+T2(S + T)^2 = S^2 + ST + TS + T^2. (b) If ST=TSST = TS, prove (S+T)2=S2+2ST+T2(S + T)^2 = S^2 + 2ST + T^2. (c) Write down (S+T)3(S + T)^3 without assuming ST=TSST = TS.

    Solution

    (a) (S+T)2=(S+T)(S+T)=(S+T)S+(S+T)T(S + T)^2 = (S + T)(S + T) = (S + T)S + (S + T)T by distributivity (right factor as R(S+T)=RS+RTR(S + T) = RS + RT with R=S+TR = S + T, which is linear), =S2+TS+ST+T2= S^2 + TS + ST + T^2 by distributivity again (left form). Adding in the order S2+ST+TS+T2S^2 + ST + TS + T^2 is the same by commutativity of addition. (b) If TS=STTS = ST the middle terms are ST+ST=2STST + ST = 2ST. (c) (S+T)3=SSS+SST+STS+STT+TSS+TST+TTS+TTT(S+T)^3 = SSS + SST + STS + STT + TSS + TST + TTS + TTT, the sum of all 23=82^3 = 8 orderings. If ST=TSST = TS they collapse to S3+3S2T+3ST2+T3S^3 + 3S^2T + 3ST^2 + T^3.

    prove

    Let T:V→WT: V \to W be linear and onto, with VV finite-dimensional. Prove that TT has a LINEAR right inverse R:W→VR: W \to V, meaning TR=IWTR = I_W.

    Solution

    W=T(V)W = T(V) is finite-dimensional (rank–nullity), so it has a basis w1,…,wmw_1, \dots, w_m. Each wiw_i is in the range, so pick xi∈Vx_i \in V with T(xi)=wiT(x_i) = w_i. By ‘Prescribed values on a basis’ there is a linear map R:W→VR: W \to V with R(wi)=xiR(w_i) = x_i. Then TR(wi)=T(xi)=wi=IW(wi)TR(w_i) = T(x_i) = w_i = I_W(w_i) for every basis vector. Two linear maps that agree on a basis are equal (2.3), so TR=IWTR = I_W.

    stretchAxler 3B

    Let VV and WW be finite-dimensional and T:V→WT: V \to W linear and one-to-one. Prove there is a linear map S:W→VS: W \to V, defined on ALL of WW, with ST=IVST = I_V.

    Solution

    Take a basis e1,…,ene_1, \dots, e_n of VV. By ‘One-to-one in finite dimension’ (a ⇒ b), T(e1),…,T(en)T(e_1), \dots, T(e_n) are independent in WW. By ‘Extending to a basis’ (2.2) extend them to a basis T(e1),…,T(en),wn+1,…,wmT(e_1), \dots, T(e_n), w_{n+1}, \dots, w_m of WW. By ‘Prescribed values on a basis’ there is a linear S:W→VS: W \to V with S(T(ei))=eiS(T(e_i)) = e_i for i≤ni \le n and S(wj)=OS(w_j) = O for j>nj > n. Then ST(ei)=ei=IV(ei)ST(e_i) = e_i = I_V(e_i) for every basis vector of VV, so ST=IVST = I_V.

    This is why linear algebra books define a left inverse on all of WW: the apparent loss in restricting to T(V)T(V) costs nothing.

    stretch

    Prove that a finite-dimensional vector space is never isomorphic to a proper subspace of itself (a subspace U≠VU \ne V). Then show the space of all real polynomials IS isomorphic to a proper subspace of itself.

    Solution

    If V≅UV \cong U with U⊆VU \subseteq V, then dim⁡U=dim⁡V\dim U = \dim V by ‘Same dimension exactly when isomorphic’. A subspace of a finite-dimensional VV with dim⁡U=dim⁡V\dim U = \dim V equals VV (a problem in 2.2). So UU is not proper.

    For the polynomials, let T(p)=x pT(p) = x\,p. It is linear, and one-to-one because xp=0xp = 0 forces p=0p = 0 (a nonzero polynomial times xx is nonzero). Its range is U={q:q(0)=0}U = \{q : q(0) = 0\}, a subspace not containing the constant 11, so UU is proper. As a map onto its range, T:V→UT: V \to U is one-to-one and onto, so V≅UV \cong U. This is possible only because VV is infinite-dimensional.

    Summary

    • The linear maps from VV to WW form a vector space L(V,W)L(V, W) under pointwise addition and scaling.
    • Composition STST means ‘do TT first’. It is linear when SS and TT are, associative, distributive over addition, and not commutative in general.
    • A map has a left inverse exactly when it is one-to-one. A left inverse is unique and is also a right inverse. We call a one-to-one map invertible and write T−1T^{-1} for its inverse. Right inverses always exist and are usually not unique.
    • For a linear map, one-to-one is the same as N(T)={O}N(T) = \{O\}, and then T−1T^{-1} is automatically linear. In finite dimension it is also the same as ‘a basis goes to a basis’.
    • Socks and shoes: (ST)−1=T−1S−1(ST)^{-1} = T^{-1}S^{-1}. Undo the last thing first.
    • An isomorphism is a one-to-one, onto linear map. Taking coordinates shows every nn-dimensional real vector space is isomorphic to Rn\mathbb R^n, and two finite-dimensional spaces are isomorphic exactly when their dimensions are equal.
    • You can prescribe a linear map freely on a basis. It is one-to-one when the chosen vectors are independent, onto when they span, and an isomorphism when they are a basis. This is how every isomorphism is built, and it is the starting point for matrices in 2.5.

    Watch and read

    The same ideas explained by someone else. Use these when an explanation here does not land.

    Where this sits

    Comes from
    2.1 Vector spaces and subspaces
    2.2 Span, independence, basis, dimension
    2.3 Linear maps, null space, range, rank–nullity
    Leads to
    2.5 Matrices as maps, multiplication, change of basis
    2.6 Systems of equations and elimination
    2.8 Eigenvalues and eigenvectors
    Same idea elsewhere
    CS 240: CS 240 calls one-to-one 'injective' and onto 'surjective', and proves that a function has a two-sided inverse exactly when it is both. This chapter adds what linearity buys: the inverse of a linear map is linear, and one-to-one can be tested by looking at a single vector, the zero vector.
    MATH 541: An isomorphism is what 'the same structure' means for every algebraic structure. The invertible maps of a vector space to itself, with composition as the product, form a group. That group is the first one you will meet in matrix form.
    CS 532 / AI: A normalizing flow (a generative model) is a chain of invertible maps. Its inverse is the chain of inverses in reverse order, which is the 'socks and shoes' theorem below.