Linear-Algebra-Done-Right Β· Unit 5 Β· Video 3 Β· Interactive Practice

Null Space, Range, Injectivity and Surjectivity

IKey Formulas

StatementNameRole
null T={v∈V:Tv=0}\text{null}\, T = \{v \in V : Tv = 0\}Null space (kernel)A subspace of the domain VV
range T={Tv:v∈V}\text{range}\, T = \{Tv : v \in V\}RangeA subspace of the target space WW
TΒ injectiveβ€…β€ŠβŸΊβ€…β€Šnull T={0}T \text{ injective} \iff \text{null}\, T = \{0\}Injectivity testNeeds T∈L(V,W)T \in \mathcal{L}(V, W): it uses linearity
TΒ surjectiveβ€…β€ŠβŸΊβ€…β€Šrange T=WT \text{ surjective} \iff \text{range}\, T = WSurjective (onto)Depends on which space is taken as the target WW

Key Insight: For a linear map, Tu=Tvβ€…β€ŠβŸΊβ€…β€ŠT(uβˆ’v)=0β€…β€ŠβŸΊβ€…β€Šuβˆ’v∈null TTu = Tv \iff T(u - v) = 0 \iff u - v \in \text{null}\, T. Two inputs share an output exactly when their difference is in the null space, so the only obstruction to injectivity is a nonzero vector sent to 00.

IIShared Outputs and the Null Space

For a linear map, Tu=TvTu = Tv exactly when uβˆ’vu - v lies in null T\text{null}\, T.

πŸ’‘ Challenge: for each map, place vβ‰ uv \neq u with Tv=TuTv = Tu, or name the null space that makes it impossible.

IIIThe Theorem Needs Linearity

f(x)=x2f(x) = x^2 sends only 00 to 00, yet it is not injective: it is not linear.

IVSurjectivity Depends on the Target

The same rule p↦pβ€²p \mapsto p' is surjective onto P4(R)\mathcal{P}_4(\mathbf{R}) but not onto P5(R)\mathcal{P}_5(\mathbf{R}).

VQuiz Questions

Problem 1 Β· Compute a Null Space

Given: T∈L(R3,R2)T \in \mathcal{L}(\mathbf{R}^3, \mathbf{R}^2) defined by T(x,y,z)=(xβˆ’y,Β yβˆ’2z)T(x, y, z) = (x - y,\ y - 2z). Find null T\text{null}\, T.

βœ… Correct! x=yx = y and y=2zy = 2z give (x,y,z)=z(2,2,1)(x, y, z) = z(2, 2, 1); for instance T(2,2,1)=(0,Β 2βˆ’2)=(0,0)T(2, 2, 1) = (0,\ 2 - 2) = (0, 0). Since the null space contains a nonzero vector, TT is not injective.
❌ Not quite. Two equations in three unknowns leave a free variable: T(2,2,1)=(0,0)T(2, 2, 1) = (0, 0), so null Tβ‰ {0}\text{null}\, T \neq \{0\}.
❌ Check the second equation. yβˆ’2z=0y - 2z = 0 means y=2zy = 2z, not z=2yz = 2y: indeed T(1,1,2)=(0,Β 1βˆ’4)=(0,βˆ’3)β‰ 0T(1, 1, 2) = (0,\ 1 - 4) = (0, -3) \neq 0.
❌ Only one condition used. Tv=0Tv = 0 needs both coordinates of TvTv to vanish. The vector (1,1,0)(1, 1, 0) has x=yx = y, yet T(1,1,0)=(0,1)β‰ 0T(1, 1, 0) = (0, 1) \neq 0.
❌ Not quite. Solve xβˆ’y=0x - y = 0 and yβˆ’2z=0y - 2z = 0 together.
Show solution

A vector (x,y,z)(x, y, z) is in null T\text{null}\, T exactly when T(x,y,z)=(0,0)T(x, y, z) = (0, 0), that is,

xβˆ’y=0andyβˆ’2z=0.x - y = 0 \quad\text{and}\quad y - 2z = 0.

So y=2zy = 2z and x=y=2zx = y = 2z, with z∈Rz \in \mathbf{R} free:

null T={(2z,2z,z):z∈R}=span⁑((2,2,1)).\text{null}\, T = \{(2z, 2z, z) : z \in \mathbf{R}\} = \operatorname{span}\big((2, 2, 1)\big).

Check: T(2,2,1)=(2βˆ’2,Β 2βˆ’2β‹…1)=(0,0)T(2, 2, 1) = (2 - 2,\ 2 - 2 \cdot 1) = (0, 0). This null space is a line through the origin, a subspace of the domain R3\mathbf{R}^3, and because it is not {0}\{0\}, TT is not injective: for example T(2,2,1)=T(0,0,0)T(2, 2, 1) = T(0, 0, 0).

Problem 2 Β· Which One Is Injective?

Given: four functions. Find the one that is injective.

βœ… Correct! xβˆ’y=0x - y = 0 and x+y=0x + y = 0 force x=y=0x = y = 0, so null T={0}\text{null}\, T = \{0\} and the linear map TT is injective.
❌ Not injective. T(1,βˆ’1,0)=(0,0)T(1, -1, 0) = (0, 0), so (1,βˆ’1,0)∈null T(1, -1, 0) \in \text{null}\, T; for instance T(1,βˆ’1,0)=T(0,0,0)T(1, -1, 0) = T(0, 0, 0).
❌ That is the linearity trap. Only (0,0)(0, 0) maps to (0,0)(0, 0), yet f(1,0)=f(βˆ’1,0)=(1,0)f(1, 0) = f(-1, 0) = (1, 0). The null-space test does not apply: ff is not linear, since f(2(1,0))=(4,0)β‰ 2f(1,0)=(2,0)f\big(2(1, 0)\big) = (4, 0) \neq 2f(1, 0) = (2, 0).
❌ Not injective. Every constant polynomial has derivative 00, so null D\text{null}\, D is the set of constants; for instance D(x3+7)=D(x3)=3x2D(x^3 + 7) = D(x^3) = 3x^2.
❌ Not quite. For each linear map, look for a nonzero vector sent to 00.
Show solution

For a linear map, injective β€…β€ŠβŸΊβ€…β€Š\iff null space ={0}= \{0\}. Check each option:

  • (a) T(1,βˆ’1,0)=(1βˆ’1,Β 0)=(0,0)T(1, -1, 0) = (1 - 1,\ 0) = (0, 0): the null space contains a nonzero vector, so TT is not injective.
  • (b) ff is not linear, so the theorem does not apply. Directly: f(1,0)=(1,0)=f(βˆ’1,0)f(1, 0) = (1, 0) = f(-1, 0) with (1,0)β‰ (βˆ’1,0)(1, 0) \neq (-1, 0), so ff is not injective, although f(x,y)=(0,0)f(x, y) = (0, 0) only when (x,y)=(0,0)(x, y) = (0, 0).
  • (c) D1=0D1 = 0, so the constant 1β‰ 01 \neq 0 lies in null D\text{null}\, D: not injective.
  • (d) T(x,y)=(0,0,0)T(x, y) = (0, 0, 0) means xβˆ’y=0x - y = 0, x+y=0x + y = 0 and 2y=02y = 0, so x=y=0x = y = 0. Thus null T={0}\text{null}\, T = \{0\} and TT is injective.

Problem 3 Β· Two Inputs, One Output

Given: T∈L(R2)T \in \mathcal{L}(\mathbf{R}^2) defined by T(x,y)=(x+y,Β 2x+2y)T(x, y) = (x + y,\ 2x + 2y), and u=(3,1)u = (3, 1). Find null T\text{null}\, T, then a vector vβ‰ uv \neq u with Tv=TuTv = Tu.

What is null T?

Which v β‰  u has Tv = Tu?

βœ… Correct! uβˆ’v=(3,1)βˆ’(6,βˆ’2)=(βˆ’3,3)=βˆ’3(1,βˆ’1)∈null Tu - v = (3, 1) - (6, -2) = (-3, 3) = -3(1, -1) \in \text{null}\, T, so Tv=Tu=(4,8)Tv = Tu = (4, 8).
❌ Check the null space. T(x,y)=0T(x, y) = 0 means x+y=0x + y = 0 (the second coordinate is twice the first), so null T={(x,βˆ’x)}\text{null}\, T = \{(x, -x)\}.
❌ That is the range. Every output (x+y,Β 2(x+y))(x + y,\ 2(x + y)) is a multiple of (1,2)(1, 2), so span⁑((1,2))=range T\operatorname{span}\big((1, 2)\big) = \text{range}\, T, a subspace of the target. The null space lives in the domain: T(1,2)=(3,6)β‰ 0T(1, 2) = (3, 6) \neq 0.
❌ Check the difference. Tv=TuTv = Tu exactly when uβˆ’v∈null Tu - v \in \text{null}\, T, i.e. when the coordinates of uβˆ’vu - v add to 00.
❌ That is the output, not an input. Tu=(4,8)Tu = (4, 8), but T(4,8)=(12,24)β‰ (4,8)T(4, 8) = (12, 24) \neq (4, 8).
❌ Sum, not difference. Here u+v=(2,βˆ’2)∈null Tu + v = (2, -2) \in \text{null}\, T, which gives Tv=βˆ’Tu=(βˆ’4,βˆ’8)Tv = -Tu = (-4, -8). The condition for Tv=TuTv = Tu is uβˆ’v∈null Tu - v \in \text{null}\, T.
Show solution

Null space. T(x,y)=(x+y,Β 2(x+y))=(0,0)T(x, y) = (x + y,\ 2(x + y)) = (0, 0) exactly when x+y=0x + y = 0:

null T={(x,βˆ’x):x∈R}=span⁑((1,βˆ’1)).\text{null}\, T = \{(x, -x) : x \in \mathbf{R}\} = \operatorname{span}\big((1, -1)\big).

Shared output. Tu=T(3,1)=(4,8)Tu = T(3, 1) = (4, 8). Since Tv=Tuβ€…β€ŠβŸΊβ€…β€Šuβˆ’v∈null TTv = Tu \iff u - v \in \text{null}\, T, we need the coordinates of uβˆ’vu - v to add to 00, i.e. v1+v2=3+1=4v_1 + v_2 = 3 + 1 = 4:

  • (4,8)(4, 8): sum 1212, T(4,8)=(12,24)T(4, 8) = (12, 24).
  • (3,βˆ’1)(3, -1): sum 22, T(3,βˆ’1)=(2,4)T(3, -1) = (2, 4).
  • (6,βˆ’2)(6, -2): sum 44, T(6,βˆ’2)=(4,8)T(6, -2) = (4, 8) βœ“, and uβˆ’v=(βˆ’3,3)∈null Tu - v = (-3, 3) \in \text{null}\, T.
  • (βˆ’1,βˆ’3)(-1, -3): sum βˆ’4-4, T(βˆ’1,βˆ’3)=(βˆ’4,βˆ’8)T(-1, -3) = (-4, -8).

So v=(6,βˆ’2)v = (6, -2). Every vector of the set u+null T={(3+t,Β 1βˆ’t):t∈R}u + \text{null}\, T = \{(3 + t,\ 1 - t) : t \in \mathbf{R}\} has the output (4,8)(4, 8).

Problem 4 Β· Second Derivative, Choice of Target

Given: the rule Tp=pβ€²β€²Tp = p'' on P3(R)\mathcal{P}_3(\mathbf{R}), regarded as a linear map T ⁣:P3(R)β†’WT \colon \mathcal{P}_3(\mathbf{R}) \to W. Find the target WW that makes TT surjective, and null T\text{null}\, T.

For which W is T surjective?

What is null T?

βœ… Correct! Every c0+c1xc_0 + c_1 x is (c02x2+c16x3)β€²β€²\big(\tfrac{c_0}{2} x^2 + \tfrac{c_1}{6} x^3\big)'', so range T=P1(R)\text{range}\, T = \mathcal{P}_1(\mathbf{R}); and pβ€²β€²=0p'' = 0 exactly when deg⁑p≀1\deg p \le 1, so null T=P1(R)\text{null}\, T = \mathcal{P}_1(\mathbf{R}).
❌ Check the degrees. If deg⁑p≀3\deg p \le 3 then deg⁑p′′≀1\deg p'' \le 1, so the range is at most P1(R)\mathcal{P}_1(\mathbf{R}).
❌ Not surjective onto P2(R)\mathcal{P}_2(\mathbf{R}). x2x^2 would need p=112x4βˆ‰P3(R)p = \tfrac{1}{12} x^4 \notin \mathcal{P}_3(\mathbf{R}): since deg⁑p′′≀1\deg p'' \le 1, x2βˆ‰range Tx^2 \notin \text{range}\, T.
❌ Not a valid target. T(x3)=6xβˆ‰P0(R)T(x^3) = 6x \notin \mathcal{P}_0(\mathbf{R}), so TT does not map P3(R)\mathcal{P}_3(\mathbf{R}) into P0(R)\mathcal{P}_0(\mathbf{R}) at all.
❌ Check the null space. Which polynomials of degree at most 33 have second derivative 00? Try p=xp = x.
❌ Too small. Constants are in the null space, but so is xx: (x)β€²β€²=(1)β€²=0(x)'' = (1)' = 0. The null space of the second derivative is P1(R)\mathcal{P}_1(\mathbf{R}).
Show solution

Write p=a0+a1x+a2x2+a3x3p = a_0 + a_1 x + a_2 x^2 + a_3 x^3. Then

pβ€²β€²=2a2+6a3x.p'' = 2a_2 + 6a_3 x.

Target. Every output has degree at most 11, so TT maps into P1(R)\mathcal{P}_1(\mathbf{R}); it does not map into P0(R)\mathcal{P}_0(\mathbf{R}), since T(x3)=6xT(x^3) = 6x. Given any q=c0+c1x∈P1(R)q = c_0 + c_1 x \in \mathcal{P}_1(\mathbf{R}), take a2=c02a_2 = \tfrac{c_0}{2} and a3=c16a_3 = \tfrac{c_1}{6}:

(c02x2+c16x3)β€²β€²=c0+c1x=q.\Big(\tfrac{c_0}{2} x^2 + \tfrac{c_1}{6} x^3\Big)'' = c_0 + c_1 x = q.

So range T=P1(R)\text{range}\, T = \mathcal{P}_1(\mathbf{R}): TT is surjective onto W=P1(R)W = \mathcal{P}_1(\mathbf{R}), and not onto P2(R)\mathcal{P}_2(\mathbf{R}) or P3(R)\mathcal{P}_3(\mathbf{R}), which contain x2βˆ‰range Tx^2 \notin \text{range}\, T.

Null space. pβ€²β€²=0β€…β€ŠβŸΊβ€…β€Ša2=a3=0β€…β€ŠβŸΊβ€…β€Šp=a0+a1xp'' = 0 \iff a_2 = a_3 = 0 \iff p = a_0 + a_1 x, so null T=P1(R)\text{null}\, T = \mathcal{P}_1(\mathbf{R}). In particular TT is not injective: T(x)=T(0)=0T(x) = T(0) = 0.

Solved: 0 / 4