Homework 4 Solutions
Contents
§2.1
1—true/false questions
a. If T is linear, then T preserves sums and scalar products.
True. The phrase “T preserves sums” means T(x+y)=Tx+Ty for all x,y.
b. If T(x+y)=T(x)+T(y), then T is linear. False. A counterexample is difficult to describe, but you do need to check T(cx)=cTx for all x∈V, c∈F.
c. T is one-to-one if and only if the only vector x such that T(x)=0 is x=0 . True if T 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 T is linear. Since T is allowed to be nonlinear the answer is false. Examples:
- T(x)=x−1 is a function from R→R that is injective, but {x∣T(x)=0}={1}={0}.
- T(x)=x2 is a function for which {x∈R∣T(x)=0}={0}, but T is not injective (e.g. T(−1)=T(+1)).
So neither implication in “T injective”⟺{x∣T(x)=0}={0} is true.
d. If T is linear, then T(0V)=0W. True.
e. If T:V→W is linear, then nullity(T)+rank(T)=dim(W).
False. This looks like the rank+nullity theorem, but dimW actually does not appear in the theorem. It really says nullity(T)+rank(T)=dim(V).
f. If T is linear, then T carries linearly independent subsets of V onto linearly independent subsets of W. False. This statement claims that if {v1,…,vk}⊂V is linearly independent, then {Tv1,…,Tvk}⊂W also is independent. This is not true. For example, if one or more of the vectors vk belong to the null space of T then the set of vectors {Tv1,…,Tvk} contains the zero vector and therefore is not independent.
g. If T,S:V→W are both linear and agree on a basis for V, then T=S.
True. We are given two linear maps T,S:V→W, and a basis {v1,…,vk} of V such that Tv1=Sv1, … , Tvk=Svk. If x∈V is any vector, then there exist x1,…,xk∈F such that x=x1v1+⋯+xkvk. Then we have
Tx=T(x1v1+⋯+xkvk)=x1Tv1+⋯+xkTvk=x1Sv1+⋯+xkSvk=S(x1v1+⋯+xkvk)=Sx.
Therefore T and S are the same linear transformation.
2
To show that T(a1,a2,a3)=(a1−a2,2a3) defines a linear transformation, verify T(a+b)=Ta+Tb and T(ta)=tTa for all a,b∈F3 and t∈F.
The Null Space. By definition a∈N(T)⟺Ta=0, so to find all a∈N(T)
we solve Ta=0, i.e.
Ta=T⎝⎜⎛a1a2a3⎠⎟⎞=(2a3a1−a2)=(00)⟺a1=a2 and a3=0.
Thus N(T) consists of all vectors of the form
a=⎝⎜⎛a1a10⎠⎟⎞=a1⎝⎜⎛110⎠⎟⎞
In set notation:
N(T)=⎩⎪⎨⎪⎧a1⎝⎜⎛110⎠⎟⎞∣∣∣∣∣∣a1∈R⎭⎪⎬⎪⎫.
This shows that N(T) is one dimensional, and (110) is a basis for N(T).
The Range. The nullity+rank theorem says dimN(T)+dimR(T)=dimR3. Since we have found that dimN(T)=1 we have dimR(T)=3−1=2: the range of T is two dimensional; the rank of T is 2.
Since R(T)⊂R2 and R2 is also two dimensional, we conclude that R(T)=R2. T is “onto,” or surjective.
5
We consider T:P2(R)→P3(R) given by Tf(x)=xf(x)+f′(x).
Linearity.
For any f,g∈P2(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)
Hence T(f+g)=Tf+Tg for any two polynomials f,g∈P2(R).
One verifies T(af)=aTf with a similar computation.
This shows T is linear.
The Null Space. By definition f∈N(T) if f∈P2(R) and Tf(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 f is a polynomial this is an algebra problem and we don't have to use any calculus beyond the definition of f′(x).
If f∈P2(R) then f(x)=a+bx+cx2 for certain a,b,c∈R. Then
Tf(x)=x(a+bx+cx2)+(b+2cx)=b+(a+2c)x+bx2+cx3∈P3(R).
If Tf=0 then the four coefficients of Tf must vanish, so we get four equations for a,b,c:
{b=0,a+2c=0,b=0,c=0}⟹a=b=c=0.
Therefore the only f∈P2(R) that satisfies Tf=0 is the zero polynomial: N(T)={0}. It follows that T 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)=3−0=3. So R(T) is a 3-dimensional subspace of the four dimensional space P3(R). This implies T is not surjective (onto).
To find a basis for R(T) choose a basis for P2(R), such as {1,x,x2}. Since T is injective, {T1,Tx,Tx2} is a basis for the range of T.
We find T1=x, Tx=x2+1, Tx2=x3+2x. Therefore {x,1+x2,2x+x3} is a basis of R(T).
9
a.
T(a1,a2)=(1,a2) is not linear because T(0,0)=(1,0)=(0,0).
b.
T(a1,a2)=(a1,a12) is not linear because if a=(1,0) then Ta=(1,1) and T(2a)=(2,4)=(2,0)=2a
e.
T(a1,a2)=(a1+1,a1) is not linear becausevT(0,0)=(1,0)=(0,0).
10
Let u=(01), v=(11). Then {u,v} is linearly independent, because for all a,b∈R
au+bv=0⟹(ba+b)=0⟹a=b=0.
Since R2 is 2-dimensional, {u,v} a basis for R2. We can therefore write every vector x∈R2 as a linear combination of u and v.
Compute T(32).
We are given Tu=(41) and Tv=(52). To compute T(32), write (32) as a linear combination of u and v:
(32)=au+bv=(ba+b)⟹a+bb=2=3⟹a=−1,b=3.
Therefore (32)=−u+3v, and hence
T(32)=T(−u+3v)=−Tu+3Tv=−(41)+3(52)=(115).
Is T one-to-one? To see if T is injective (one-to-one) we compute N(T), i.e. we find all solutions of Tx=0. If Tx=0 then there exist a,b∈R with x=au+bv, because {u,v} is a basis of R2.
Using linearity of T again, we get
Tx=T(au+bv)=aTu+bTv=a(41)+b(52)=(4a+5ba+2b).
It follows that
Tx=0⟹a+2b4a+5b=0=0⟹a=b=0⟹x=0.
This shows that N(T) contains only the zero vector. By the injectivity
theorem T is one-to-one.
11
Let u=(11), v=(32). Then {u,v} is a basis for R2.
We define
Tu=(102)
and Tv=(1−14).
For any vector x∈R2 there are a,b∈R such that x=au+bv. The coefficients a,b are uniquely determined by the vector x.
Define Tx by setting
Tx=T(au+bv)=aTu+bTv=a(102)+b(1−14)
To prove that this definition makes T linear, let x=au+bv, and y=cu+dv.
Then
x+yT(x+y)=(au+bv)+(cu+dv)=(a+c)u+(b+d)v⟹=T((a+c)u+(b+d)v)=(a+c)Tu+(b+d)Tv
On the other hand
Tx=aTu+bTv,⟹Tx+TyTy=cTu+dTv=aTu+bTv+cTu+dTv=(a+c)Tu+(b+d)Tv.
Therefore T(x+y)=Tx+Ty. A similar computations shows that T(ax)=aTx for all a∈R and all x∈R2.
To compute T(118) find a,b∈R such that (118)=au+bv. This leads to the following equations:
(118)=au+bv=(a+3ba+2b)⟹a+2ba+3b=8=11⟹a=2,b=3.
Then
T(118)=2Tu+3Tv=2(102)+3(1−14)=(5−316).
13 (write a careful proof)
To prove:
Let V and W be vector spaces, let T:V→W be linear, and let
{w1,w2,…,wk} be a linearly independent subset of R(T). Prove that
if S={v1,v2,…,vk} is chosen so that T(vi)=wi for i=1,2,…,k, then S is linearly independent.
Proof. We can reformulate this as follows: if T:V→W is linear, and if for certain vectors {v1,…,vk}⊂V the vectors {Tv1,…,Tvk} are linearly independent, then {v1,…,vk} also is linearly independent.
Suppose c1v1+⋯+ckvk=0. Then, by linearity of T, we have
0=T(c1v1+⋯+ckvk)=c1Tv1+⋯+ckTvk
Since we know that {Tv1,…,Tvk} is independent it follows that c1=c2=⋯=ck=0. Therefore {v1,…,vk} is independent.
20 (write a careful proof)
To prove:
Let V and W be vector spaces with subspaces V1 and W1, respectively.
If T:V→W is linear, prove that
- T(V1) is a subspace of W, and
- {x∈V∣T(x)∈W1} is a subspace of V.
Proof of 1. By definition T(V1)={Tv∣v∈V1}. We verify that this set contains the zero vector, is closed under addition and scalar multiplication:
- Since T(0)=0, we have 0∈T(V1).
- If x,y∈T(V1) then there are u,v∈V1 such that x=Tu and y=Tv. Hence x+y=Tu+Tv=T(u+v). By definition T(u+v)∈T(V1), so x+y∈T(V1).
- If x∈T(V1) and a∈F, then there is a u∈V1 with x=Tu. It follows that ax=aT(u)=T(au)∈T(V1).
Thus T(V1) is a subspace.
Proof of 2. Let L={x∈V∣T(x)∈W1}. To show that L is a subspace, we again verify that 0∈L, and that L is closed under addition and scalar multiplication.
- T is linear so T(0V)=0W. W1⊂W is a subspace, so 0W∈W1. Hence T(0V)∈W1, and, by definition, 0V∈L.
- If x,y∈L then Tx,Ty∈W1. W1⊂W is a subspace, so Tx+Ty∈W1. Since T is linear we have T(x+y)=Tx+Ty. Therefore T(x+y)∈W1, and thus x+y∈L.
- If a∈F and x∈L then T(x)∈W1.
W1⊂W is a subspace, so aT(x)∈W1.
Since T is linear we have aT(x)=T(ax).
Therefore T(ax)∈W1, and thus ax∈L.
It follows that L⊂W is a subspace.
Consider the function T:Pn(R)→R defined by T(f)=f(a).
Show that T is linear.
If f,g∈Pn(R) then T(f+g)=(f+g)(a), i.e. T(f+g) is the value of the function f+g at a. By definition of f+g this is f(a)+g(a). Thus we have T(f+g)=(f+g)(a)=f(a)+g(a)=Tf+Tg.
If t∈R and f∈Pn(R) then T(tf)=(tf)(a)=t(f(a))=tTf.
Show that T is onto. For every c∈R consider the constant polynomial f(x)=c. Then Tf=f(a)=c, so c∈R(T). Hence R(T)=R; T is onto.
Show that the set L={f∈Pn(R)∣f(a)=0} is a linear subspace of Pn(R) and use the rank+nullity theorem to compute its dimension.
L is the null space of T. Therefore L is a linear subspace of Pn(R). The rank+nullity theorem implies
dimL+dimR(T)=dimPn(R).
Since dimPn(R)=n+1 and since R(T)=R is one dimensional, we conclude dimL=n+1−1=n.