Linear-Algebra-Done-Right Ā· Unit 7 Ā· Video 2 Ā· Interactive Practice

Equal Dimensions: Injective or Surjective Means Invertible

IKey Formulas

FormulaNameHypotheses
TT injective ā€…ā€ŠāŸŗā€…ā€Š\iff TT surjective ā€…ā€ŠāŸŗā€…ā€Š\iff TT invertibleEqual dimensionsT∈L(V,W)T \in \mathcal{L}(V, W), dim⁔V=dim⁔W<āˆž\dim V = \dim W < \infty (includes W=VW = V)
dim⁔null T=dim⁔Vāˆ’dim⁔range T\dim \text{null}\, T = \dim V - \dim \text{range}\, TFundamental theorem, rearrangedVV finite-dimensional
ST=Iā€…ā€ŠāŸŗā€…ā€ŠTS=IST = I \iff TS = IOne-sided inverse is two-sidedS∈L(W,V)S \in \mathcal{L}(W, V), T∈L(V,W)T \in \mathcal{L}(V, W), dim⁔V=dim⁔W<āˆž\dim V = \dim W < \infty
null T={0}⇒\text{null}\, T = \{0\} \Rightarrow every qq is some TpTpExistence from injectivityTT maps a finite-dimensional space such as Pm(R)\mathcal{P}_m(\mathbf{R}) to itself

Key Insight: When dim⁔V=dim⁔W<āˆž\dim V = \dim W < \infty, the fundamental theorem gives dim⁔null T=0ā€…ā€ŠāŸŗā€…ā€Šdim⁔range T=dim⁔W\dim \text{null}\, T = 0 \iff \dim \text{range}\, T = \dim W, so a null-space check settles surjectivity, and with it the existence of solutions to Tp=qTp = q.

IIOne Count Controls Both Conditions

Since dim⁔null T+dim⁔range T=dim⁔V\dim \text{null}\, T + \dim \text{range}\, T = \dim V, equal dimensions make null T={0}\text{null}\, T = \{0\} and range T=W\text{range}\, T = W the same condition.

šŸ’” Challenge: with dim⁔V=dim⁔W\dim V = \dim W, look for a map that is injective but not surjective; then make dim⁔V<dim⁔W\dim V < \dim W and find one at once.

IIIExistence Without Solving First

On P2(R)\mathcal{P}_2(\mathbf{R}), Tp=((x2+5x+7)p)′′Tp = ((x^2 + 5x + 7)p)'' is injective, so every q∈P2(R)q \in \mathcal{P}_2(\mathbf{R}) equals TpTp for some pp.

IVOne-Sided Inverses: Finite Versus Infinite

With dim⁔V=dim⁔W<āˆž\dim V = \dim W < \infty, ST=IST = I forces TS=ITS = I; on Fāˆž\mathbf{F}^\infty the shifts give ST=IST = I but TS≠ITS \neq I.

VQuiz Questions

Problem 1 Ā· The Null Space Decides

Given: T∈L(R3)T \in \mathcal{L}(\mathbf{R}^3) defined by T(x,y,z)=(xāˆ’y,Ā yāˆ’z,Ā zāˆ’x)T(x, y, z) = (x - y,\ y - z,\ z - x) — decide which properties TT has.

āœ… Correct! (1,1,1)∈null T(1, 1, 1) \in \text{null}\, T, so dim⁔null T=1\dim \text{null}\, T = 1 and dim⁔range T=3āˆ’1=2<3\dim \text{range}\, T = 3 - 1 = 2 < 3.
āŒ Test the null space. T(1,1,1)=(0,0,0)T(1, 1, 1) = (0, 0, 0), so null T≠{0}\text{null}\, T \neq \{0\} and TT is not injective. With W=V=R3W = V = \mathbf{R}^3, it is then not surjective either.
āŒ Impossible here. TT maps the finite-dimensional R3\mathbf{R}^3 to itself, so injective and surjective are the same condition: TT has both or neither.
Show solution

Null space. T(x,y,z)=0T(x, y, z) = 0 means xāˆ’y=0x - y = 0, yāˆ’z=0y - z = 0, zāˆ’x=0z - x = 0, so x=y=zx = y = z. Hence null T=span⁔((1,1,1))\text{null}\, T = \operatorname{span}\big((1, 1, 1)\big), which has dimension 11, and TT is not injective.

Range. By the fundamental theorem,

dim⁔range T=dim⁔R3āˆ’dim⁔null T=3āˆ’1=2<3,\dim \text{range}\, T = \dim \mathbf{R}^3 - \dim \text{null}\, T = 3 - 1 = 2 < 3,

so TT is not surjective. This is what the equal-dimensions theorem predicts: on R3→R3\mathbf{R}^3 \to \mathbf{R}^3, failing injectivity forces failing surjectivity. Directly, the coordinates of every output add to (xāˆ’y)+(yāˆ’z)+(zāˆ’x)=0(x - y) + (y - z) + (z - x) = 0, so for example (1,0,0)āˆ‰range T(1, 0, 0) \notin \text{range}\, T.

Problem 2 Ā· Count the Dimensions

Given: T∈L(V,W)T \in \mathcal{L}(V, W) is injective — decide in which case TT must also be surjective.

āœ… Correct! dim⁔P4(R)=5=dim⁔R5\dim \mathcal{P}_4(\mathbf{R}) = 5 = \dim \mathbf{R}^5, both finite, so injective implies surjective.
āŒ The dimensions differ. An injective TT has dim⁔range T=3<4\dim \text{range}\, T = 3 < 4; for example (x,y,z)↦(x,y,z,0)(x, y, z) \mapsto (x, y, z, 0) is injective and misses (0,0,0,1)(0, 0, 0, 1).
āŒ The theorem needs finite dimension. On P(R)\mathcal{P}(\mathbf{R}), p↦xpp \mapsto xp is injective, but the constant 11 is not xx times any polynomial.
āŒ Count again. P4(R)\mathcal{P}_4(\mathbf{R}) has basis 1,x,x2,x3,x41, x, x^2, x^3, x^4, so its dimension is 55, not 44. An injective TT from R4\mathbf{R}^4 has dim⁔range T=4<5\dim \text{range}\, T = 4 < 5.
Show solution

The equal-dimensions theorem needs VV and WW finite-dimensional with dim⁔V=dim⁔W\dim V = \dim W. Check each case:

(a) dim⁔V=3≠4=dim⁔W\dim V = 3 \neq 4 = \dim W: an injective TT has dim⁔range T=3āˆ’0=3<4\dim \text{range}\, T = 3 - 0 = 3 < 4, so it is never surjective.

(b) dim⁔P4(R)=5=dim⁔R5\dim \mathcal{P}_4(\mathbf{R}) = 5 = \dim \mathbf{R}^5: the theorem applies, and TT is surjective (indeed invertible).

(c) P(R)\mathcal{P}(\mathbf{R}) is infinite-dimensional; p↦xpp \mapsto xp is injective but not surjective.

(d) dim⁔R4=4≠5=dim⁔P4(R)\dim \mathbf{R}^4 = 4 \neq 5 = \dim \mathcal{P}_4(\mathbf{R}), so as in (a) dim⁔range T=4<5\dim \text{range}\, T = 4 < 5.

Only (b) forces surjectivity.

Problem 3 Ā· A One-Sided Inverse Between Different Dimensions

Given: T∈L(R2,R3)T \in \mathcal{L}(\mathbf{R}^2, \mathbf{R}^3), T(x,y)=(x,y,x+y)T(x, y) = (x, y, x + y), and S∈L(R3,R2)S \in \mathcal{L}(\mathbf{R}^3, \mathbf{R}^2), S(x,y,z)=(x,y)S(x, y, z) = (x, y), so ST=IST = I on R2\mathbf{R}^2 — decide whether TS=ITS = I on R3\mathbf{R}^3.

āœ… Correct! range TSāŠ†range T\text{range}\, TS \subseteq \text{range}\, T, which has dimension at most 22, so TSTS can never be the identity on R3\mathbf{R}^3.
āŒ The dimensions are not equal. TT is injective, but "injective implies invertible" needs dim⁔V=dim⁔W\dim V = \dim W, and here 2≠32 \neq 3. TT is not surjective: (0,0,1)āˆ‰range T(0, 0, 1) \notin \text{range}\, T.
āŒ Compute the composition. TS(x,y,z)=T(x,y)=(x,y,x+y)TS(x, y, z) = T(x, y) = (x, y, x + y): the third coordinate is rebuilt from xx and yy, and zz is lost.
āŒ No choice of SS helps. For any SS, TS(w)=T(Sw)∈range TTS(w) = T(S w) \in \text{range}\, T, and dim⁔range T≤dim⁔R2=2\dim \text{range}\, T \le \dim \mathbf{R}^2 = 2, so TSTS is not surjective onto R3\mathbf{R}^3.
Show solution

First, ST(x,y)=S(x,y,x+y)=(x,y)ST(x, y) = S(x, y, x + y) = (x, y), so ST=IST = I on R2\mathbf{R}^2. In the other order,

TS(x,y,z)=T(x,y)=(x,y,x+y),TS(x, y, z) = T(x, y) = (x, y, x + y),

so TS(0,0,1)=(0,0,0)≠(0,0,1)TS(0, 0, 1) = (0, 0, 0) \neq (0, 0, 1) and TS≠ITS \neq I.

No other SS can fix this. For every w∈R3w \in \mathbf{R}^3, TS(w)=T(Sw)∈range TTS(w) = T(Sw) \in \text{range}\, T, and by the fundamental theorem dim⁔range T=2āˆ’dim⁔null T≤2<3\dim \text{range}\, T = 2 - \dim \text{null}\, T \le 2 < 3. So TSTS is never surjective, and in particular never II. The theorem ST=Iā€…ā€ŠāŸŗā€…ā€ŠTS=IST = I \iff TS = I fails here only because dim⁔R2≠dim⁔R3\dim \mathbf{R}^2 \neq \dim \mathbf{R}^3.

Problem 4 Ā· Existence First, Then a Formula

Given: T∈L(P3(R))T \in \mathcal{L}(\mathcal{P}_3(\mathbf{R})) defined by Tp=p+p′Tp = p + p' — justify that every q∈P3(R)q \in \mathcal{P}_3(\mathbf{R}) equals p+p′p + p' for some p∈P3(R)p \in \mathcal{P}_3(\mathbf{R}), then find pp for q=x3q = x^3.

Why does such a pp exist?

For q=x3q = x^3, p=p =

āœ… Correct! Injectivity on the 44-dimensional P3(R)\mathcal{P}_3(\mathbf{R}) guarantees pp; matching coefficients from x3x^3 down finds p=x3āˆ’3x2+6xāˆ’6p = x^3 - 3x^2 + 6x - 6.
āŒ Linearity alone is not enough. The zero map on P3(R)\mathcal{P}_3(\mathbf{R}) is linear and not surjective. What makes TT surjective is null T={0}\text{null}\, T = \{0\} on a finite-dimensional space mapped to itself.
āŒ That does not transfer. Surjectivity of p↦p′p \mapsto p' says nothing directly about p↦p+p′p \mapsto p + p'; and on P3(R)\mathcal{P}_3(\mathbf{R}) differentiation is not even surjective (x3x^3 is not a derivative of a polynomial of degree ≤3\le 3).
āŒ Wrong space. "Injective implies surjective" needs finite dimension, and P(R)\mathcal{P}(\mathbf{R}) is infinite-dimensional (p↦xpp \mapsto xp is injective, not surjective). Restrict to P3(R)\mathcal{P}_3(\mathbf{R}), which contains qq.
āŒ Check the signs. For this pp, p+p′=x3+6x2+12x+12p + p' = x^3 + 6x^2 + 12x + 12: the 3x23x^2 from p′p' must be cancelled, so the x2x^2 coefficient of pp is āˆ’3-3.
āŒ Keep going down. Each new term of pp creates a lower-degree term in p′p' that must also be cancelled: this pp gives p+p′=x3āˆ’6xp + p' = x^3 - 6x or x3+6x^3 + 6, not x3x^3.
āŒ Not quite. Write p=x3+ax2+bx+cp = x^3 + ax^2 + bx + c and match the coefficients of p+p′p + p' with those of x3x^3.
Show solution

Existence. TT is linear, and for p∈P3(R)p \in \mathcal{P}_3(\mathbf{R}) we have deg⁔p′<deg⁔p\deg p' < \deg p when pp is a nonzero non-constant polynomial (p′=0p' = 0 when pp is constant), so TT maps P3(R)\mathcal{P}_3(\mathbf{R}) into itself. If p≠0p \neq 0, the leading term of p+p′p + p' is the leading term of pp, so p+p′≠0p + p' \neq 0. Hence null T={0}\text{null}\, T = \{0\} and TT is injective. Since dim⁔P3(R)=4<āˆž\dim \mathcal{P}_3(\mathbf{R}) = 4 < \infty and TT maps the space to itself, TT is surjective: every q∈P3(R)q \in \mathcal{P}_3(\mathbf{R}) is p+p′p + p' for some pp.

The formula for q=x3q = x^3. The leading coefficient of p+p′p + p' equals that of pp, so write p=x3+ax2+bx+cp = x^3 + ax^2 + bx + c. Then p′=3x2+2ax+bp' = 3x^2 + 2ax + b and

p+p′=x3+(a+3)x2+(b+2a)x+(c+b).p + p' = x^3 + (a + 3)x^2 + (b + 2a)x + (c + b).

Matching with x3x^3: a=āˆ’3a = -3, then b=āˆ’2a=6b = -2a = 6, then c=āˆ’b=āˆ’6c = -b = -6. So p=x3āˆ’3x2+6xāˆ’6p = x^3 - 3x^2 + 6x - 6.

Check: p′=3x2āˆ’6x+6p' = 3x^2 - 6x + 6, and p+p′=x3+(āˆ’3+3)x2+(6āˆ’6)x+(āˆ’6+6)=x3p + p' = x^3 + (-3 + 3)x^2 + (6 - 6)x + (-6 + 6) = x^3.

Solved: 0 / 4