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

Linear Maps and the Linear Map Lemma: Values on a Basis

IKey Formulas

FormulaNameWhat it says
T(u+v)=Tu+TvT(u + v) = Tu + Tv and T(Ξ»v)=Ξ»(Tv)T(\lambda v) = \lambda (Tv)Linear map T ⁣:Vβ†’WT \colon V \to WAdditivity and homogeneity for all u,v∈Vu, v \in V, λ∈F\lambda \in \mathbf{F}; the sum and scalar multiple on the left are taken in VV, on the right in WW
L(V,W)\mathcal{L}(V, W), Β L(V)=L(V,V)\ \mathcal{L}(V) = \mathcal{L}(V, V)Sets of linear mapsExamples: 0v=00v = 0, Iv=vIv = v, Dp=pβ€²Dp = p', Tp=∫01pTp = \int_0^1 p, (Tp)(x)=x2p(x)(Tp)(x) = x^2 p(x), (Tp)(x)=p(q(x))(Tp)(x) = p(q(x)), the backward shift
T(x1,…,xn)=(A1,1x1+β‹―+A1,nxn, …,Β Am,1x1+β‹―+Am,nxn)T(x_1, \dots, x_n) = \bigl(A_{1,1} x_1 + \cdots + A_{1,n} x_n,\ \dots,\ A_{m,1} x_1 + \cdots + A_{m,n} x_n\bigr)Linear maps Fnβ†’Fm\mathbf{F}^n \to \mathbf{F}^mAj,kA_{j,k} is coordinate jj of TT at the kk-th standard basis vector; e.g. T(x,y,z)=(2xβˆ’y+3z,Β 7x+5yβˆ’6z)T(x, y, z) = (2x - y + 3z,\ 7x + 5y - 6z)
T(c1v1+β‹―+cnvn)=c1w1+β‹―+cnwnT(c_1 v_1 + \cdots + c_n v_n) = c_1 w_1 + \cdots + c_n w_nLinear map lemmav1,…,vnv_1, \dots, v_n a basis of VV and any w1,…,wn∈Ww_1, \dots, w_n \in W β‡’\Rightarrow exactly one T∈L(V,W)T \in \mathcal{L}(V, W) with Tvk=wkTv_k = w_k

Key Insight: On a basis, the values of a linear map can be chosen freely (existence), and once chosen they determine the map at every vector (uniqueness).

IIVisualization 1 β€” Additivity and Homogeneity

Linearity demands T(u+v)=Tu+TvT(u + v) = Tu + Tv and T(Ξ»u)=λ TuT(\lambda u) = \lambda\, Tu for every uu, vv, Ξ»\lambda, not just for a few.

IIIVisualization 2 β€” The Linear Map Lemma

Any choice of w1=Tv1w_1 = Tv_1 and w2=Tv2w_2 = Tv_2 on a basis gives exactly one linear map: Tv=c1w1+c2w2Tv = c_1 w_1 + c_2 w_2.

IVVisualization 3 β€” Coefficients Are Values on the Standard Basis

The coefficients of xx, yy, zz in T(x,y,z)T(x, y, z) are exactly the coordinates of T(1,0,0)T(1, 0, 0), T(0,1,0)T(0, 1, 0), T(0,0,1)T(0, 0, 1).

VQuiz Questions

Problem 1 Β· Spot the Linear Map

Given: four maps R2β†’R2\mathbf{R}^2 \to \mathbf{R}^2 β€” find the one that is linear.

βœ… Correct! Each coordinate of (5y,Β xβˆ’4y)(5y,\ x - 4y) is a sum of constants times xx and yy, with no constant term and no products, so additivity and homogeneity both hold.
❌ The constant term breaks it. Every linear map sends 00 to 00, because T(0)=T(0+0)=T(0)+T(0)T(0) = T(0 + 0) = T(0) + T(0). Here T(0,0)=(2,0)β‰ (0,0)T(0, 0) = (2, 0) \neq (0, 0).
❌ The product breaks homogeneity. T(2β‹…(1,1))=T(2,2)=(4,2)T(2 \cdot (1, 1)) = T(2, 2) = (4, 2), but 2 T(1,1)=2(1,1)=(2,2)2\, T(1, 1) = 2(1, 1) = (2, 2).
❌ The absolute value breaks it. With Ξ»=βˆ’1\lambda = -1: T(βˆ’1,0)=(1,0)T(-1, 0) = (1, 0), but βˆ’T(1,0)=(βˆ’1,0)-T(1, 0) = (-1, 0). Additivity fails too: T((1,0)+(βˆ’1,0))=(0,0)T\bigl((1, 0) + (-1, 0)\bigr) = (0, 0) while T(1,0)+T(βˆ’1,0)=(2,0)T(1, 0) + T(-1, 0) = (2, 0).
Show solution

For (c), take u=(x,y)u = (x, y), uβ€²=(xβ€²,yβ€²)u' = (x', y') and λ∈R\lambda \in \mathbf{R}:

T(u+uβ€²)=(5(y+yβ€²),Β (x+xβ€²)βˆ’4(y+yβ€²))=(5y,Β xβˆ’4y)+(5yβ€²,Β xβ€²βˆ’4yβ€²)=Tu+Tuβ€²T(u + u') = \bigl(5(y + y'),\ (x + x') - 4(y + y')\bigr) = (5y,\ x - 4y) + (5y',\ x' - 4y') = Tu + Tu' T(Ξ»u)=(5Ξ»y,Β Ξ»xβˆ’4Ξ»y)=Ξ»(5y,Β xβˆ’4y)=λ TuT(\lambda u) = (5\lambda y,\ \lambda x - 4\lambda y) = \lambda (5y,\ x - 4y) = \lambda\, Tu

The other three each fail for a specific pair or scalar:

  • (a) T(0,0)=(2,0)T(0, 0) = (2, 0), but a linear map must send 00 to 00.
  • (b) T(2,2)=(4,2)β‰ (2,2)=2 T(1,1)T(2, 2) = (4, 2) \neq (2, 2) = 2\,T(1, 1).
  • (d) T(βˆ’1,0)=(1,0)β‰ (βˆ’1,0)=βˆ’T(1,0)T(-1, 0) = (1, 0) \neq (-1, 0) = -T(1, 0).

One failing instance is enough to show a map is not linear.

Problem 2 Β· Can the Values Be Chosen?

Given: the vectors (1,2)(1, 2) and (2,4)(2, 4) in R2\mathbf{R}^2 β€” decide whether some T∈L(R2)T \in \mathcal{L}(\mathbf{R}^2) has T(1,2)=(3,βˆ’1)T(1, 2) = (3, -1) and T(2,4)=(6,1)T(2, 4) = (6, 1).

βœ… Correct! (2,4)=2(1,2)(2, 4) = 2(1, 2), so the value at (2,4)(2, 4) is already decided by the value at (1,2)(1, 2), and (6,1)β‰ (6,βˆ’2)(6, 1) \neq (6, -2).
❌ The lemma needs a basis. Its hypothesis is that v1,…,vnv_1, \dots, v_n is a basis; (1,2),(2,4)(1, 2), (2, 4) is linearly dependent, since (2,4)=2(1,2)(2, 4) = 2(1, 2).
❌ Not even one exists. Infinitely many maps would exist only if the two values were compatible, i.e. if T(2,4)T(2, 4) were 2 T(1,2)=(6,βˆ’2)2\,T(1, 2) = (6, -2).
❌ Check the second value. This map gives T(1,2)=(3,βˆ’1)T(1, 2) = (3, -1), but T(2,4)=(6,10βˆ’12)=(6,βˆ’2)T(2, 4) = (6, 10 - 12) = (6, -2), not (6,1)(6, 1).
Show solution

Notice that (2,4)=2(1,2)(2, 4) = 2(1, 2). If TT is linear, homogeneity gives

T(2,4)=T(2β‹…(1,2))=2 T(1,2)=2(3,βˆ’1)=(6,βˆ’2).T(2, 4) = T\bigl(2 \cdot (1, 2)\bigr) = 2\, T(1, 2) = 2(3, -1) = (6, -2).

Since (6,βˆ’2)β‰ (6,1)(6, -2) \neq (6, 1), no linear map has both values. The linear map lemma does not apply: it lets the values be chosen freely only on a basis, and (1,2),(2,4)(1, 2), (2, 4) is linearly dependent β€” exactly the video's warning that v2=2v1v_2 = 2v_1 forces Tv2=2 Tv1Tv_2 = 2\,Tv_1.

Problem 3 Β· Build the Map from a Basis

Given: the basis v1=(1,1)v_1 = (1, 1), v2=(1,βˆ’1)v_2 = (1, -1) of R2\mathbf{R}^2 and the unique T∈L(R2)T \in \mathcal{L}(\mathbf{R}^2) with Tv1=(3,1)Tv_1 = (3, 1) and Tv2=(1,5)Tv_2 = (1, 5) β€” find T(4,2)T(4, 2) and the formula for T(x,y)T(x, y).

What is T(4, 2)?

Which formula is T?

βœ… Correct! T(x,y)=(2x+y,Β 3xβˆ’2y)T(x, y) = (2x + y,\ 3x - 2y) gives T(1,1)=(3,1)T(1, 1) = (3, 1), T(1,βˆ’1)=(1,5)T(1, -1) = (1, 5) and T(4,2)=(10,8)T(4, 2) = (10, 8).
❌ Not quite. First write (4,2)=c1(1,1)+c2(1,βˆ’1)(4, 2) = c_1 (1, 1) + c_2 (1, -1), then use T(4,2)=c1 Tv1+c2 Tv2T(4, 2) = c_1\, Tv_1 + c_2\, Tv_2.
❌ Those are standard coordinates, not basis coefficients. 4(3,1)+2(1,5)4(3, 1) + 2(1, 5) treats (4,2)(4, 2) as 4v1+2v24v_1 + 2v_2, but 4v1+2v2=(6,2)4v_1 + 2v_2 = (6, 2). Solve c1+c2=4c_1 + c_2 = 4, c1βˆ’c2=2c_1 - c_2 = 2 first.
❌ The coefficients are swapped. (4,2)=3v1+1v2(4, 2) = 3v_1 + 1v_2, so T(4,2)=3(3,1)+1(1,5)T(4, 2) = 3(3, 1) + 1(1, 5), not 1(3,1)+3(1,5)1(3, 1) + 3(1, 5).
❌ The coefficients are missing. Tv1+Tv2=(4,6)Tv_1 + Tv_2 = (4, 6) is T(v1+v2)=T(2,0)T(v_1 + v_2) = T(2, 0); the vector (4,2)(4, 2) is 3v1+v23v_1 + v_2.
❌ Check the formula on the basis. The right formula must give T(1,1)=(3,1)T(1, 1) = (3, 1) and T(1,βˆ’1)=(1,5)T(1, -1) = (1, 5).
❌ That map uses the standard basis. It sends (1,0)↦(3,1)(1, 0) \mapsto (3, 1) and (0,1)↦(1,5)(0, 1) \mapsto (1, 5), so T(1,1)=(4,6)β‰ (3,1)T(1, 1) = (4, 6) \neq (3, 1).
❌ The images are swapped. This map gives T(1,1)=(1,5)T(1, 1) = (1, 5) and T(1,βˆ’1)=(3,1)T(1, -1) = (3, 1) β€” it sends v1v_1 to w2w_2 and v2v_2 to w1w_1.
❌ The coefficient array is transposed. This map gives T(1,1)=(5,βˆ’1)β‰ (3,1)T(1, 1) = (5, -1) \neq (3, 1).
Show solution

Step 1: Coefficients. Write (x,y)=c1(1,1)+c2(1,βˆ’1)(x, y) = c_1 (1, 1) + c_2 (1, -1), so c1+c2=xc_1 + c_2 = x and c1βˆ’c2=yc_1 - c_2 = y:

c1=x+y2,c2=xβˆ’y2.c_1 = \frac{x + y}{2}, \qquad c_2 = \frac{x - y}{2}.

For (4,2)(4, 2): c1=3c_1 = 3, c2=1c_2 = 1; indeed 3(1,1)+1(1,βˆ’1)=(4,2)3(1, 1) + 1(1, -1) = (4, 2).

Step 2: Value. By the lemma's formula,

T(4,2)=3 Tv1+1 Tv2=3(3,1)+(1,5)=(10,8).T(4, 2) = 3\, Tv_1 + 1\, Tv_2 = 3(3, 1) + (1, 5) = (10, 8).

Step 3: Formula.

T(x,y)=x+y2(3,1)+xβˆ’y2(1,5)=(4x+2y2,Β 6xβˆ’4y2)=(2x+y,Β 3xβˆ’2y).T(x, y) = \frac{x + y}{2}(3, 1) + \frac{x - y}{2}(1, 5) = \Bigl(\frac{4x + 2y}{2},\ \frac{6x - 4y}{2}\Bigr) = (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). By uniqueness, this is the only linear map with these values.

Problem 4 Β· Uniqueness on Polynomials

Given: T∈L(P2(R),R)T \in \mathcal{L}(\mathcal{P}_2(\mathbf{R}), \mathbf{R}) with T(1)=1T(1) = 1, T(x)=12T(x) = \tfrac{1}{2} and T(x2)=13T(x^2) = \tfrac{1}{3} β€” identify TT and find T(6x2βˆ’2x+5)T(6x^2 - 2x + 5).

Which map is T?

What is T(6xΒ² βˆ’ 2x + 5)?

βœ… Correct! pβ†¦βˆ«01pp \mapsto \int_0^1 p is linear with the same values on the basis 1,x,x21, x, x^2, so by uniqueness it is TT; and ∫01(6x2βˆ’2x+5) dx=2βˆ’1+5=6\int_0^1 (6x^2 - 2x + 5)\,dx = 2 - 1 + 5 = 6.
❌ Not quite. Compare the candidate's values at 11, xx, x2x^2 with 11, 12\tfrac{1}{2}, 13\tfrac{1}{3}.
❌ Evaluation at 1 gives 1,1,11, 1, 1. It is linear, but its value at xx is 11, not 12\tfrac{1}{2}.
❌ Evaluation at Β½ agrees at 11 and xx but not at x2x^2. It gives (12)2=14β‰ 13\bigl(\tfrac{1}{2}\bigr)^2 = \tfrac{1}{4} \neq \tfrac{1}{3}.
❌ The derivative at 1 gives 0,1,20, 1, 2. Already T(1)=0β‰ 1T(1) = 0 \neq 1.
❌ Not quite. Use T(6x2βˆ’2x+5)=6 T(x2)βˆ’2 T(x)+5 T(1)T(6x^2 - 2x + 5) = 6\,T(x^2) - 2\,T(x) + 5\,T(1).
❌ That is the value at x=1x = 1. 6βˆ’2+5=96 - 2 + 5 = 9 evaluates the polynomial; TT weights x2x^2 by 13\tfrac{1}{3} and xx by 12\tfrac{1}{2}.
❌ The constant term counts. 5=5β‹…15 = 5 \cdot 1 is a multiple of the basis vector 11, so it contributes 5 T(1)=55\,T(1) = 5 to the total.
❌ The coefficients are paired with the wrong basis vectors. 6β‹…1βˆ’2β‹…12+5β‹…136 \cdot 1 - 2 \cdot \tfrac{1}{2} + 5 \cdot \tfrac{1}{3} multiplies the x2x^2-coefficient by T(1)T(1); it belongs with T(x2)=13T(x^2) = \tfrac{1}{3}.
Show solution

Identify TT. The list 1,x,x21, x, x^2 is a basis of P2(R)\mathcal{P}_2(\mathbf{R}). The map pβ†¦βˆ«01pp \mapsto \int_0^1 p is linear (integration of a sum and of a constant multiple), and

∫011 dx=1,∫01x dx=12,∫01x2 dx=13.\int_0^1 1\,dx = 1, \qquad \int_0^1 x\,dx = \tfrac{1}{2}, \qquad \int_0^1 x^2\,dx = \tfrac{1}{3}.

It agrees with TT on a basis, so by the uniqueness half of the linear map lemma, Tp=∫01pTp = \int_0^1 p. The other candidates differ at some basis vector: p(1)p(1) gives 11 at xx, p(12)p(\tfrac{1}{2}) gives 14\tfrac{1}{4} at x2x^2, and pβ€²(1)p'(1) gives 00 at 11.

Evaluate. By linearity,

T(6x2βˆ’2x+5)=6β‹…13βˆ’2β‹…12+5β‹…1=2βˆ’1+5=6,T(6x^2 - 2x + 5) = 6 \cdot \tfrac{1}{3} - 2 \cdot \tfrac{1}{2} + 5 \cdot 1 = 2 - 1 + 5 = 6,

which matches ∫01(6x2βˆ’2x+5) dx=[2x3βˆ’x2+5x]01=6\int_0^1 (6x^2 - 2x + 5)\,dx = \bigl[2x^3 - x^2 + 5x\bigr]_0^1 = 6.

Solved: 0 / 4