Homework 4 Solutions

Contents

§2.1

1—true/false questions

a. If TT is linear, then TT preserves sums and scalar products. True. The phrase “TT preserves sums” means T(x+y)=Tx+TyT(x+y)=Tx+Ty for all x,yx, y.

b. If T(x+y)=T(x)+T(y)T(x + y) = T(x) + T(y), then TT is linear. False. A counterexample is difficult to describe, but you do need to check T(cx)=cTxT(cx)=cTx for all xVx\in V, cFc\in\mathbb F.

c. TT is one-to-one if and only if the only vector xx such that T(x)=0T(x) = 0 is x=0x = 0 . True if TT is linear. This is the injectivity theorem. On the other hand this is a bit of a "Simon says" problem, in that the problem does not say that TT is linear. Since TT is allowed to be nonlinear the answer is false. Examples:

So neither implication in “TT injective”    {xT(x)=0}={0}\iff \{x\mid T(x)=0\}=\{0\} is true.

d. If TT is linear, then T(0V)=0WT(0_V ) = 0_W. True.

e. If T:VWT:V\to W is linear, then nullity(T)+rank(T)=dim(W)\mathrm{nullity}(T) + \mathrm{rank}(T) = \dim(W).
False. This looks like the rank+nullity theorem, but dimW\dim W actually does not appear in the theorem. It really says nullity(T)+rank(T)=dim(V)\mathrm{nullity}(T) + \mathrm{rank}(T) = \dim(V).

f. If TT is linear, then TT carries linearly independent subsets of VV onto linearly independent subsets of WW. False. This statement claims that if {v1,,vk}V\{v_1, \dots, v_k\}\subset V is linearly independent, then {Tv1,,Tvk}W\{Tv_1, \dots , Tv_k\}\subset W also is independent. This is not true. For example, if one or more of the vectors vkv_k belong to the null space of TT then the set of vectors {Tv1,,Tvk}\{Tv_1, \dots , Tv_k\} contains the zero vector and therefore is not independent.

g. If T,S:VWT, S : V → W are both linear and agree on a basis for VV, then T=ST = S. True. We are given two linear maps T,S:VWT, S:V\to W, and a basis {v1,,vk}\{v_1, \dots, v_k\} of VV such that Tv1=Sv1Tv_1=Sv_1, … , Tvk=SvkTv_k=Sv_k. If xVx\in V is any vector, then there exist x1,,xkFx_1, \dots, x_k\in \mathbb F such that x=x1v1++xkvkx=x_1v_1+\cdots+x_kv_k. Then we have

Tx=T(x1v1++xkvk)=x1Tv1++xkTvk=x1Sv1++xkSvk=S(x1v1++xkvk)=Sx.\begin{aligned} Tx&=T\left(x_1v_1+\cdots+x_kv_k\right)\\ &=x_1Tv_1+\cdots+x_kTv_k \\ &=x_1Sv_1+\cdots+x_kSv_k \\ &=S\left(x_1v_1+\cdots+x_kv_k\right)\\ &= Sx. \end{aligned}

Therefore TT and SS are the same linear transformation.

2

To show that T(a1,a2,a3)=(a1a2,2a3)T(a_1 , a_2 , a_3 ) = (a_1 − a_2 , 2a_3 ) defines a linear transformation, verify T(a+b)=Ta+TbT(a+b)=Ta+Tb and T(ta)=tTaT(ta)=t\, Ta for all a,bF3a,b\in\mathbb F^3 and tFt\in \mathbb F.

The Null Space. By definition aN(T)    Ta=0a\in N(T)\iff Ta=0, so to find all aN(T)a\in N(T) we solve Ta=0Ta=0, i.e.

Ta=T(a1a2a3)=(a1a22a3)=(00)    a1=a2 and a3=0.Ta=T\begin{pmatrix} a_1 \\ a_2\\ a_3 \end{pmatrix} = \binom{a_1-a_2}{2a_3} = \binom00 \iff a_1=a_2 \text{ and }a_3=0.

Thus N(T)N(T) consists of all vectors of the form

a=(a1a10)=a1(110)a=\begin{pmatrix} a_1 \\a_1 \\0 \end{pmatrix} =a_1 \begin{pmatrix} 1\\1\\0 \end{pmatrix}

In set notation:

N(T)={a1(110)a1R}.N(T) = \left\{a_1 \begin{pmatrix} 1\\1\\0 \end{pmatrix} \Bigg| a_1\in\R\right\}.

This shows that N(T)N(T) is one dimensional, and (110)\left(\begin{smallmatrix} 1 \\ 1\\ 0 \end{smallmatrix}\right) is a basis for N(T)N(T).

The Range. The nullity+rank theorem says dimN(T)+dimR(T)=dimR3\dim N(T)+\dim R(T)=\dim \R^3. Since we have found that dimN(T)=1\dim N(T)=1 we have dimR(T)=31=2\dim R(T)=3-1=2: the range of TT is two dimensional; the rank of TT is 2.

Since R(T)R2R(T)\subset\R^2 and R2\R^2 is also two dimensional, we conclude that R(T)=R2R(T)=\R^2. TT is “onto,” or surjective.

5

We consider T:P2(R)P3(R)T:\mathcal{P}_2(\R)\to \mathcal{P}_3(\R) given by Tf(x)=xf(x)+f(x)Tf(x) = xf(x)+f'(x).

Linearity. For any f,gP2(R)f, g\in \mathcal P_2(\R) one has

T(f+g)(x)=x(f+g)(x)+(f+g)(x)=x(f(x)+g(x))+f(x)+g(x)=xf(x)+f(x)+xg(x)+g(x)=(Tf)(x)+(Tg)(x)\begin{aligned} T(f+g)(x) &= x(f+g)(x) + (f+g)'(x) \\ &= x\left(f(x)+g(x)\right) + f'(x) + g'(x) \\ &= xf(x) + f'(x) + xg(x)+g'(x)\\ &= (Tf)(x) + (Tg)(x) \end{aligned}

Hence T(f+g)=Tf+TgT(f+g) = Tf + Tg for any two polynomials f,gP2(R)f,g\in \mathcal P_2(\R).

One verifies T(af)=aTfT(af) = aTf with a similar computation.

This shows TT is linear.

The Null Space. By definition fN(T)f\in N(T) if fP2(R)f\in \mathcal{P}_2(\R) and Tf(x)=xf(x)+f(x)=0Tf(x) = xf(x)+f'(x)=0. This looks like a differential equation, and if you remembered the right calculus you could try solving the diffeq. But because of the extra assumption that ff is a polynomial this is an algebra problem and we don't have to use any calculus beyond the definition of f(x)f'(x).

If fP2(R)f\in\mathcal{P}_2(\R) then f(x)=a+bx+cx2f(x) = a+bx+cx^2 for certain a,b,cRa,b,c\in\R. Then

Tf(x)=x(a+bx+cx2)+(b+2cx)=b+(a+2c)x+bx2+cx3P3(R).Tf(x) = x(a+bx+cx^2)+ (b+2cx) = b + (a+2c)x + bx^2 + c x^3 \in\mathcal{P}_3(\R).

If Tf=0Tf=0 then the four coefficients of TfTf must vanish, so we get four equations for a,b,ca,b,c:

{b=0,a+2c=0,b=0,c=0}    a=b=c=0.\bigl\{b=0, \quad a+2c=0, \quad b=0, \quad c=0\bigr\} \implies a=b=c=0.

Therefore the only fP2(R)f\in\mathcal{P}_2(\R) that satisfies Tf=0Tf=0 is the zero polynomial: N(T)={0}N(T) = \{0\}. It follows that TT is injective (one-to-one). There is no basis for the null space.

The Range. The rank+nullity theorem implies dimR(T)=dimP2(R)dimN(T)=30=3\dim R(T) = \dim \mathcal{P}_2(\R)-\dim N(T) =3-0=3. So R(T)R(T) is a 3-dimensional subspace of the four dimensional space P3(R)\mathcal{P}_3(\R). This implies TT is not surjective (onto).

To find a basis for R(T)R(T) choose a basis for P2(R)\mathcal{P}_2(\R), such as {1,x,x2}\{1, x, x^2\}. Since TT is injective, {T1,Tx,Tx2}\{T1, Tx, Tx^2\} is a basis for the range of TT. We find T1=xT1=x, Tx=x2+1Tx=x^2+1, Tx2=x3+2xTx^2=x^3+2x. Therefore {x,1+x2,2x+x3}\{x, 1+x^2, 2x+x^3\} is a basis of R(T)R(T).

9

a. T(a1,a2)=(1,a2)T(a_1, a_2)= (1, a_2) is not linear because T(0,0)=(1,0)(0,0)T(0,0)=(1,0)\neq (0,0).

b. T(a1,a2)=(a1,a12)T(a_1, a_2)= (a_1, a_1^2) is not linear because if a=(1,0)a=(1,0) then Ta=(1,1)Ta=(1,1) and T(2a)=(2,4)(2,0)=2aT(2a)=(2, 4)\neq(2,0)= 2a

e. T(a1,a2)=(a1+1,a1)T(a_1, a_2)= (a_1+1, a_1) is not linear becausevT(0,0)=(1,0)(0,0)T(0,0)=(1,0)\neq (0,0).

10

Let u=(10)u=\binom{1}{0}, v=(11)v=\binom{1}{1}. Then {u,v}\{u,v\} is linearly independent, because for all a,bRa,b\in\R

au+bv=0    (a+bb)=0    a=b=0.au+bv=0\implies \binom{a+b}{b}=0\implies a=b=0.

Since R2\R^2 is 2-dimensional, {u,v}\{u, v\} a basis for R2\R^2. We can therefore write every vector xR2x\in\R^2 as a linear combination of uu and vv.

Compute T(23)T\binom23. We are given Tu=(14)Tu=\binom14 and Tv=(25)Tv=\binom25. To compute T(23)T\binom23, write (23)\binom23 as a linear combination of uu and vv:

(23)=au+bv=(a+bb)    a+b=2b=3    a=1,b=3.\binom23 = au+bv = \binom{a+b}{b} \implies \begin{aligned} a+b&=2 \\ b&=3 \end{aligned} \implies a=-1, b=3.

Therefore (23)=u+3v\binom23 = -u+3v, and hence

T(23)=T(u+3v)=Tu+3Tv=(14)+3(25)=(511).T\binom23 = T(-u+3v)=-Tu+3Tv = -\binom14+3\binom25 =\binom5{11}.

Is TT one-to-one? To see if TT is injective (one-to-one) we compute N(T)N(T), i.e. we find all solutions of Tx=0Tx=0. If Tx=0Tx=0 then there exist a,bRa,b\in\R with x=au+bvx=au+bv, because {u,v}\{u,v\} is a basis of R2\R^2. Using linearity of TT again, we get

Tx=T(au+bv)=aTu+bTv=a(14)+b(25)=(a+2b4a+5b).Tx = T(au+bv) = aTu+bTv = a\binom14+b\binom25 = \binom{a+2b}{4a+5b}.

It follows that

Tx=0    a+2b=04a+5b=0    a=b=0    x=0.Tx=0\implies \begin{aligned} a+2b&=0 \\ 4a+5b&=0 \end{aligned} \implies a=b=0 \implies x=0.

This shows that N(T)N(T) contains only the zero vector. By the injectivity theorem TT is one-to-one.

11

Let u=(11)u=\binom11, v=(23)v=\binom23. Then {u,v}\{u,v\} is a basis for R2\R^2.
We define Tu=(102)Tu= \left(\begin{smallmatrix}1 \\ 0 \\ 2 \end{smallmatrix}\right) and Tv=(114)Tv =\left(\begin{smallmatrix}1 \\ -1 \\ 4 \end{smallmatrix}\right).

For any vector xR2x\in\R^2 there are a,bRa,b\in\R such that x=au+bvx=au+bv. The coefficients a,ba,b are uniquely determined by the vector xx. Define TxTx by setting

Tx=T(au+bv)=aTu+bTv=a(102)+b(114)Tx=T(au+bv)=aTu+bTv = a\left(\begin{smallmatrix} 1 \\ 0 \\ 2 \end{smallmatrix}\right)+ b\left(\begin{smallmatrix} 1 \\ -1 \\ 4 \end{smallmatrix}\right)

To prove that this definition makes TT linear, let x=au+bvx=au+bv, and y=cu+dvy=cu+dv.
Then

x+y=(au+bv)+(cu+dv)=(a+c)u+(b+d)v    T(x+y)=T((a+c)u+(b+d)v)=(a+c)Tu+(b+d)Tv\begin{aligned} x+y&=(au+bv)+(cu+dv)= (a+c)u+(b+d)v \implies \\ T(x+y)&=T\left((a+c)u+(b+d)v\right)= (a+c)Tu + (b+d)Tv \end{aligned}

On the other hand

Tx=aTu+bTv,Ty=cTu+dTv    Tx+Ty=aTu+bTv+cTu+dTv=(a+c)Tu+(b+d)Tv.\begin{aligned} Tx=aTu+bTv, \qquad &Ty=cTu+dTv \\ \implies Tx+Ty &= aTu+bTv+cTu+dTv \\ &= (a+c)Tu + (b+d)Tv. \end{aligned}

Therefore T(x+y)=Tx+TyT(x+y)=Tx+Ty. A similar computations shows that T(ax)=aTxT(ax)=aTx for all aRa\in\R and all xR2x\in \R^2.

To compute T(811)T\binom8{11} find a,bRa, b\in\R such that (811)=au+bv\binom{8}{11} = au+bv. This leads to the following equations:

(811)=au+bv=(a+2ba+3b)    a+2b=8a+3b=11    a=2,b=3.\binom{8}{11} = au+bv = \binom{a+2b}{a+3b} \implies \begin{aligned} a+2b&=8 \\ a+3b&=11 \end{aligned} \implies a=2, b=3.

Then

T(811)=2Tu+3Tv=2(102)+3(114)=(5316).T\binom{8}{11} = 2Tu+3Tv =2\left(\begin{smallmatrix} 1 \\ 0 \\ 2 \end{smallmatrix}\right)+ 3\left(\begin{smallmatrix} 1 \\ -1 \\ 4 \end{smallmatrix}\right) =\left(\begin{smallmatrix} 5 \\ -3 \\ 16 \end{smallmatrix}\right) .

13 (write a careful proof)

To prove: Let VV and WW be vector spaces, let T:VWT: V → W be linear, and let {w1,w2,,wk}\{w_1, w_2, \dots ,w_k\} be a linearly independent subset of R(T)R(T). Prove that if S={v1,v2,,vk}S = \{v_1, v_2,\dots ,v_k\} is chosen so that T(vi)=wiT(v_i) = w_i for i=1,2,,ki = 1, 2,\dots ,k, then SS is linearly independent.

Proof. We can reformulate this as follows: if T:VWT:V\to W is linear, and if for certain vectors {v1,,vk}V\{v_1,\dots, v_k\}\subset V the vectors {Tv1,,Tvk}\{Tv_1, \dots, Tv_k\} are linearly independent, then {v1,,vk}\{v_1, \dots, v_k\} also is linearly independent.

Suppose c1v1++ckvk=0c_1v_1+\cdots+c_kv_k =0. Then, by linearity of TT, we have

0=T(c1v1++ckvk)=c1Tv1++ckTvk0=T\bigl(c_1v_1+\cdots+c_kv_k\bigr) =c_1Tv_1 + \cdots + c_k Tv_k

Since we know that {Tv1,,Tvk}\{Tv_1, \dots, Tv_k\} is independent it follows that c1=c2==ck=0c_1=c_2=\cdots=c_k=0. Therefore {v1,,vk}\{v_1, \dots, v_k\} is independent.

20 (write a careful proof)

To prove: Let VV and WW be vector spaces with subspaces V1V_1 and W1W_1, respectively. If T:VWT: V → W is linear, prove that

  1. T(V1)T(V_1) is a subspace of WW, and
  2. {xVT(x)W1}\{x ∈ V \mid T(x) ∈ W_1\} is a subspace of VV.

Proof of 1. By definition T(V1)={TvvV1}T(V_1) = \{Tv \mid v\in V_1\}. We verify that this set contains the zero vector, is closed under addition and scalar multiplication:

Thus T(V1)T(V_1) is a subspace.

Proof of 2. Let L={xVT(x)W1}L=\{x ∈ V\mid T(x) ∈ W_1\}. To show that LL is a subspace, we again verify that 0L0\in L, and that LL is closed under addition and scalar multiplication.

It follows that LWL\subset W is a subspace.

problem 26 from section 1.6, using theorems about linear transformations.

Consider the function T:Pn(R)RT:\mathcal P_n(\R)→\R defined by T(f)=f(a)T(f)=f(a).

Show that T is linear. If f,gPn(R)f, g\in\mathcal{P}_n(\R) then T(f+g)=(f+g)(a)T(f+g)=(f+g)(a), i.e. T(f+g)T(f+g) is the value of the function f+gf+g at aa. By definition of f+gf+g this is f(a)+g(a)f(a)+g(a). Thus we have T(f+g)=(f+g)(a)=f(a)+g(a)=Tf+TgT(f+g)=(f+g)(a)=f(a)+g(a)=Tf+Tg.

If tRt\in\R and fPn(R)f\in \mathcal{P}_n(\R) then T(tf)=(tf)(a)=t(f(a))=tTfT(tf) = (tf)(a)= t(f(a)) = t\, Tf.

Show that T is onto. For every cRc\in \R consider the constant polynomial f(x)=cf(x)=c. Then Tf=f(a)=cTf=f(a)=c, so cR(T)c\in R(T). Hence R(T)=RR(T)=\R; TT is onto.

Show that the set L={fPn(R)f(a)=0}L=\{f∈\mathcal P_n(\R)\mid f(a)=0\} is a linear subspace of Pn(R)\mathcal P_n(\R) and use the rank+nullity theorem to compute its dimension. LL is the null space of TT. Therefore LL is a linear subspace of Pn(R)\mathcal{P}_n(\R). The rank+nullity theorem implies

dimL+dimR(T)=dimPn(R).\dim L + \dim R(T) = \dim \mathcal{P}_n(\R).

Since dimPn(R)=n+1\dim \mathcal{P}_n(\R) = n+1 and since R(T)=RR(T)=\R is one dimensional, we conclude dimL=n+11=n\dim L = n+1-1=n.