HW 3 - Linear Maps

3.A: The Vector Space of Linear Maps

#1

Theorem

Suppose b,cR. Define T:R3R2 by:

T(x,y,z)=(2x4y+3z+b,6x+cxyz)

Then T is linear iff b=c=0

Proof
Consider first. Suppose that T is linear. Then any T((x1,y1,z1)+(x2,y2,z2))=T(x1,y1,z1)+T(x2,y2,z2) and similar for homogeneity.

Notice that:

T(0,0,0)=(b,0)=0

since all T(0)=0 via 3.11, so then we require that b=0. Furthermore, notice that:

T(1,1,1)=(24+3+b,6+c)

but since b=0 then:

T(1,1,1)=(1,6+c)

And notice that:

T(1,1,1)=T((1,1,0)+(0,0,1))=T(1,1,0)+T(0,0,1)=(2,6)+(3,0)=(1,6)

so equating parts of our vector then 6+c=6c=0.

Now consider , so suppose that b=c=0, then:

T(x,y,z)=(2x4y+3z,6x)

Let u,vR3 be arbitrary. Notice that:

T(u+v)=T((ux+vx,uy+vy,uz+vz))=(2(ux+vx)4(uy+vy)+3(uz+vz),6(ux+vx))=([2ux4uy+3uz]+[2vx4vy+3vz],6(ux)+6(vx))=(2ux4uy+3uz,6ux)+(2vx4vy+3vz,6vx)=Tu+Tv

so we have additivity. Let αR be arbitrary. Then:

αT(u)=α(2ux4uy+3uz,6ux)=(2αux4αuy+3αuz,6αux)=(2(αux)4(αuy)+3(αuz),6(αux))=T(α(ux,uy,uz))=T(αu)

showing homogeneity, thus T is a linear map, which completes the proof.

#4

Theorem

Suppose TL(V,W) and v1,...,vm is a list of vectors in V such that Tv1,...,Tvm is a LI list in W. Then v1,...,vm is LI.

Proof
Consider the sum:

a1v1++amvm=0

Notice that we can take T on both sides:

T(a1v1++amvm)=T(0)=0

but by the linearity of T:

T(a1v1++amvm)=a1(Tv1)++am(Tvm)=0

But we know that Tv1,...,Tvm is a LI list in W, so then the only constant choice for ai is all ai=0, so then our initial list v1,...,vm is LI by proxy.

#7

Theorem

Consider V where dim(V)=1, and TL(V,V). Then there exists λF such that Tv=λv for all vV.

Proof
Since dim(V)=1 then there is some basis v such that vV, so V=span(v) and v0. Let xV be arbitrary, so then:

x=αv

since xspan(v). Now, compose T on both sides:

T(x)=T(αv)=α(Tv)

but since TvV then we can just see that x=αv=Tv so then we can choose λ=α and we are done.

#10

Theorem

Let U be a subspace of V where UV. Suppose SL(U,W) and S0, meaning that Su0 for some uU. Define T:VW as:

Tv={SvvU0vVvU

Then T is not a linear map on V.

Proof
We just need to show that either additivity or homogeneity (one of them) are, for some vectors, not satisfied. There's some vector uU such that, since S0 then Su0. Also since UV then there is some vector vV while vU.

Consider Tv, since vV. Notice that vV while vU so then Tv=0W. Further, since U is a subspace of V then uV, so consider Tu. Since uU then Tu=Su0W. Consider:

T(u+v)

Since vU then since v is created based off of V's basis, while not being spanned by U's basis, then u+vU. Clearly u+vV though so then T(u+v)=0W by definition. But notice that, if we assume for contradiction that additivity holds under T, then:

T(u+v)=Tu+Tv=w+0W=w

where since Tu0W then w is some non-zero vector. But look! We had it that T(u+v)=0W=w but w is non-zero. Hence, our assumption was false. We found a counterexample to T having additivity, and thus T isn't a linear map on V.

#11

Theorem

Suppose V is finite-dimensional, so dim(V)=n. Then any TL(U,U) for any subspace U of V can be extended to a linear map on V. In other words, if U is a subspace of V and SL(U,W) then there is some TL(V,W) such that Tu=Su for all uU.

Proof
Let v1,...,vk be a basis for U whos dimension is kn. We can always extend it to a basis v1,...,vk,vk+1,...,vn which is a basis for V. Define:

w1=S(v1),...,wk=S(vk)

then define T such that:

T(v1)=w1,...,T(vk)=wk,T(vk+1)=0,...,T(vn)=0

Let uU be arbitrary. Then:

T(u)=T(a1v1++akvk)=a1Tv1++akTvk=a1w1++akwk=a1S(v1)++akS(vk)=S(a1v1++akvk)=S(u)

3.B: Null Spaces and Ranges

#1

A linear maps T where dim(null(T))=3 and dim(range(T))=2 is the map T:R5R2 where:

T(x1,x2,x3,x4,x5)=T(x1,x2)

Because null(T)={vV:Tv=0}=span((0,0,1,0,0),(0,0,0,1,0),(0,0,0,0,1)) and thus our dimension there is correct. Here also, we can just use the fundamental theory of linear maps to know our other value for the dimension of range is correct.

#2

Theorem

V is a vector space and S,TL(V,V) where range(S)null(T). Then (ST)2=0, the zero map.

Proof
We need to prove that for some arbitrary vector vV that (ST)2(v)=0. Since range(S)null(T) then for any vector like vV then TSv=0 because Svrange(S) implies that Svnull(T) so then T(Sv)=0.

As such:

(ST)2(v)=S(TS)Tv=S(TSv)=S(0)=0

#3

Suppose that v1,...,vm is a list of vectors in V, and TL(Fm,V) by:

T(z1,...,zm)=z1v1++zmvm

a

The idea that v1,...,vm spans V comes from the surjectivity of T as iff v1,...,vm span V then:

T(z1,...,zm)=V=z1v1++zmvm

So for the vector z=(z1,...,zm) then TzV=span(v1,...,vm) so then always for w=Tz on our range we can always choose a vector z such that Tz=w showing surjectivity.

b

The idea that v1,...,vm is LI on V comes from the injectivity of T. If T is injective then given that T(z1)=T(z2)=0 then that implies that z1=z2=0 so then all z1,...,zm for both are 0's, showing LI for the v1,...,vm list. Going the other way, if v1,...,vm is LI then the only way where T(z)=0 would be z=0, implying that if T(z1)=T(z2)=0 then z1=0=z2 implying LI.

#9

Theorem

Suppose TL(V,W) is injective and v1,...,vn is LI in V. Then Tv1,...,Tvn is LI in W.

Proof
Consider when:

a1Tv1++anTvn=0W

Since T is a linear map then:

T(a1v1++anvn)=0

implying that since T is injective, then null(T)={0} so then a1v1++anvn=0. Since v1,...,vn is LI then all ai=0.

#10

Theorem

Suppose v1,...,vn spans V and TL(V,W). Then Tv1,...,Tvn spans range(T).

Proof
Consider:

v=b1Tv1++bnTvn

by T being linear:

v=T(b1v1++bnvn)

so since v1,...,vn spans V then the vector u=b1v1++bnvnV so then by the definition of what range is and uV then Tu=vrange(V) so since v was an arbitrary vector from the span of Tv1,...,Tvn then these vectors span the range of T.

#13

Theorem

Suppose T is a linear map from F4 to F2 where:

null(T)={(x1,x2,x3,x4)F4:x1=5x2,x3=7x4}

Then T is surjective.

Proof
We'll show that T is surjective by showing that range(T)=F2.

Notice that:

null(T)={(x1,x2,x3,x4)F4:x1=5x2,x3=7x4}=span((5,1,0,0),(0,0,7,1)}

Notice that dim(F4)=4 and dim(null(T))=2 since the basis for null(T) has 2 vectors, so then dim(range(T))=2 by the FTOLM. But notice that since range(T)F2 while being two dimensional then we must have range=F2 showing surjectivity.

#14

Theorem

Suppose U is a 3-dimensional subspace of R8 and that T is a linear map from R8R5 such that null(T)=U. Then T is surjective.

Proof
Let wR5 be arbitrary. We'll need to find some vR8 such that Tw=v.

Notice that since U is 3-dimensional then dim(null(T))=3 and by the FTOLM then dim(range(T))=5 as dim(R8)=8. As such, range(T) has some basis of 5 vectors:

w1,w2,w3,w4,w5

We know that this basis has 5 vectors and this is a basis so there's LI of these vectors in range(T), but then since dim(R5)=5 then this is actually a basis for R5, so then range(T)=R5 and thus T is surjective.

#15

Theorem

There doesn't exist a linear map from F5 to F2 whose null space equals:

{(x1,x2,x3,x4,x5)F5:x1=3x2x3=x4=x5}

Proof
Assume for contradiction that such a linear map exists. Clearly we know dim(F5)=5 and notice that then:

dim(null(T))=2

as a valid basis for null(T) is {(1,3,0,0,0),(0,0,1,1,1)}, which we gloss over here. But notice that:

dim(F5)=dim(range(T))+dim(null(T))

thus plugging in our values we get that dim(range(T))=3. But notice that if a linear map existed it would need a dimension of dim(F2)=2 instead! This is a contradiction, so T cannot exist.

#17

Theorem

Suppose V and W are both finite-dimensional. Then there exists an injective linear map from V to W iff dim(V)dim(W).

Proof
Consider , so suppose there's some T injective linear map from V to W. By the FTOLM then:

dim(V)=dim(null(V))+dim(range(V))

but since T is injective, then dim(T)=0 as null(V)=0 so then since dim(W)dim(range(V)) as range(T) is a subspace of W, then:

dim(V)=dim(range(V))dim(W)

Now consider , so suppose that dim(V)dim(W). Then there exist bases v1,...,vn and w1,...,wm for nm. Define the linear transformation T:VW such that:

T(v1)=w1,,T(vn)=wn

Now consider when T(v)=T(u) where v,uV are arbitrary. Since v,uV then we can write them as their basis vectors:

T(v)=T(a1v1++anvn)=a1Tv1++anTvn

and likewise for u:

T(u)=T(b1v1++bnvn)=b1Tv1++bnTvn

But since Tvj=wj then both:

T(v)=T(u)a1Tv1++anTvn=b1Tv1++bnTvna1w1++anwn=b1w1++bnwn(a1b1)w1++(anbn)wn=0

but since w1,...,wn is a basis then all aibi=0 so ai=bi so then u=v showing T as injective.

#18

Theorem

Suppose V and W are both finite-dimensional. Then there is a surjective linear map from V to W iff dim(V)dim(W)

Proof
Consider , so T:VW is surjective. Then by the FTOLM then:

dim(V)=dim(null(T))+dim(range(T))

Since T is a surjective map then range(T)=W so then their dimensions are the same. Hence:

dim(V)=dim(null(T))+dim(W)dim(W)

Now consider , so dim(V)dim(W). Then v1,...,vn is a basis for V and w1,...,wm is a basis for W where nm. Define T:VW as:

Tv1=w1,...,Tvm=wm,Tvm+1=0,...,Tvn=0

Now consider some wW. We will need to find some vV such that Tv=w. Since wW then we can write it as its basis vectors:

w=a1w1++amwm+am+10++an0

it may seem arbitrary why I add the 0 on the right, but notice we can make a correspondance to each wi to Tvi:

w=a1Tv1++amTvm+am+1Tvm+1++anTvn

and since T itself is a linear transformation:

w=T(a1v1++amvm+am+1vm+1++anvn)

And thus we can choose v=a1v1++amvm+am+1vm+1++anvnV as it's covered by the basis. Hence T is surjective.

3.C: Matrices

#1

Theorem

Suppose V,W are finite-dimensional and TL(V,W). Then with respect to each choice of bases of V and W, the matrix of T has at least dim(range(T)) nonzero entries.

Proof
Since V,W are finite-dimensional then v1,...,vn is a basis for V and w1,...,wm is a basis for W where dim(V)=n,dim(W)=m. Denote Bv and Bw as these bases. Furthermore, since range(T) is a subspace of W then dim(range(T))dim(W)=m. Notice that the matrix for T must be:

M(T,Bv,Bw)

must be at least nm entries as those are the sizes of the dimensions of V and W respectively. Notice though that nmm as n1 so then:

nmmdim(range(T))

where the LHS represents the number of entries in our matrix, so:

 # Entriesdim(range(T))

#2

Theorem

Suppose DL(P3(R),P2(R)) where Dp=p. We'll find a basis for our domain and co-domain such that the matrix of D w.r.t. these bases is:

[100001000010]

Proof
Let's construct such bases shall we? We need to have 4 basis vectors for our domain, and 3 for our codomain, labeled p1,...,p4 for the former and q1,...,q3 for the latter. Notice that then:

D(p1)=q1,D(p2)=q2,D(p3)=q3

while p4 can be anything. Let's have p1,...,p4 be the standard basis for P3(R), so then:

p1=x,p2=x2,p3=x3,p4=1

Then notice that:

D(p1)=q1=1,D(p2)=q2=2x,D(p3)=q3=3x2

while p4=1. Notice that since D(pi)=qi we've by definition constructed a valid matrix that we needed.

We'd just need to show that {1,2x,3x2} is a valid basis for our codomain. Notice we have the right number of vectors via our dimension, so then we can just show LI:

a1(1)+a2(2x)+a3(3x2)=0+0x+0x2ai=0

so it's LI and thus a valid basis.

#3

Theorem

Suppose V,W are finite-dimensional and TL(V,W). Then there exists a basis of V and one for W such that w.r.t these bases, all entries of M(T) are 0 except that the entries in row j and column j, equal 1 for 1jdim(range(T)).

Proof
Say V is n dimensional and W is m dimensional, so our matrix M is m×n. Say that k=dim(range(T))dim(W)=m. To get just ones on the diagonal for M, we need to choose bases such that:

T(v1)=w1,...,T(vk)=wk,T(vk+1)=0,...,T(vn)=0

where all the vi,wj compose their respective bases. As such, start with a basis w1,...,wk for range(T), which we can extend to a basis for W as w1,...,wk,...,wm since km. Then notice that there's some basis for this range v1,...,vk. We can extend this basis to v1,...,vk,...,vn as a basis for V. As such, then:

T(v1)=w1,...,T(vk)=wk

by definition of our how we chose our bases, as well as:

T(vk+1)=0,...,T(vn)=0

since our extended vectors must be in the null space (they're not in the range as their intersection is the set with the zero vector). Notice that vk+1,...,vn is a basis for null(T).

#4

Theorem

Suppose v1,...,vm is a basis of V, and W is finite dimensional. Suppose TL(V,W). Then there is some basis w1,..,wn of W such that all the entries in the first column of M(T) w.r.t our bases are 0 except for possibly a 1 in the first row, first column.

Proof
We need to show some basis for W such that:

T(v1)=dw1,T(v2)=0,...,T(vm)=0

where d{0,1}. We are given the basis v1,...,vm as a basis for V.

Notice if v1null(T) then that T(v1)=0 so we can start with any vector w1W then extend that to a basis w1,...,wn for a basis of W.

If v1null(T) then T(v1)=w1 for some w1W. Again, extend this to a basis for W.

#9

Linear combination of columns

Suppose A is an m×n matrix and c=[c1cn] is an n×1 matrix. Then:

Ac=c1A,1++cnA,n

In other words, Ac is a linear combination of the columns of A, with the scalars that multiply the columns coming from c.

Proof
We have Am×n and Cn×1=c so then by the definition of matrix algebra we get:

(AC)j,1=r=1nAj,rCr,1=r=1nAj,rcr=(r=1nAj,rcr)j,1=c1A,1++cnA,n

#10

Theorem

Suppose Am×n and Cn×p. Then:

(AC)j,=Aj,C

for 1jm.

Proof

(AC)j,=r=1nAj,rCr,1,...,Aj,rCr,p=Aj,C

# 12

Theorem

There's an example of 2×2 matrices that shows that matrix multiplication isn't commutative.

Proof

[1100][1000]=[1000][1100]=[1000][1100]