2.4 HW 4

  2.4.1 Problems listing
  2.4.2 Problem 9 section 4.3
  2.4.3 Problem 17 section 4.3
  2.4.4 Problem 18 section 4.3
  2.4.5 Problem 6 section 4.4
  2.4.6 Problem 16 section 4.4
  2.4.7 Problem 20 section 4.4
  2.4.8 Problem 5 section 4.5
  2.4.9 Problem 7 section 4.5
  2.4.10 Problem 15 section 4.5
  2.4.11 Additional problem 1
  2.4.12 Additional problem 2
  2.4.13 Additional problem 3
  2.4.14 key solution for HW 4

2.4.1 Problems listing

PDF

PDF (letter size)
PDF (legal size)

2.4.2 Problem 9 section 4.3

In Problems 9–16, express the indicated vector w as a linear combination of the given vectors v1;v2vk if this is possible. If not, show that it is impossiblew=[107],v1=[534],v2=[325] solution

Let w=c1v1+c2v2. In matrix form this becomesc1[534]+c2[325]=[107][533245][c1c2]=[107]

Augmented matrix is[531320457] R13R1 and R25R2 gives[159315100457] R2R1+R2 gives[1593013457] R14R1 and R315R3 gives[6036120136075105] R3R1+R3 gives[603612013039117] R339R2+R3 gives[603612013000] Hence the system becomes[60360100][c1c2]=[1230] From second row c2=3 and from first row 60c1+36(c2)=12 or c1=1236(3)60=2. Hencew=2v13v2 w is linear combination.

2.4.3 Problem 17 section 4.3

In Problems 17–22, three vectors v1,v2, and v3 are given. If they are linearly independent, show this; otherwise find a nontrivial linear combination of them that is equal to the zero vector.v1=[101],v2=[234],v3=[352] solution

The vectors are Linearly independent ifc1v1+c2v2+c3v3=0 only when c1=c2=c3=0. If we can find at least one ci where the above is true, then the vectors are Linearly dependent.

Writing the above as Ac=0 gives(1)[123035142][c1c2c3]=[000] The augmented matrix is[123003501420] R3R1+R3 gives[123003500210] R3R3,R22R2 gives[1230061000630] R3R2+R3 gives[1230061000070] Hence the original system (1) in Echelon form becomes[1230610007][c1c2c3]=[000] Leading variables are c1,c2,c3. Since there are no free variables, then only the trivial solution exist. We see this by backsubstitution. Last row gives c3=0. Second row gives c2=0 and first row gives c1=0.

Since all ci=0, then the vectors are Linearly independent.

2.4.4 Problem 18 section 4.3

In Problems 17–22, three vectors v1,v2, and v3 are given. If they are linearly independent, show this; otherwise find a nontrivial linear combination of them that is equal to the zero vector.v1=[203],v2=[456],v3=[213] solution

The vectors are Linearly independent ifc1v1+c2v2+c3v3=0 only when c1=c2=c3=0. If we can find at least one ci where the above is true, then the vectors are Linearly dependent.

Writing the above as Ac=0 gives(1)[242051363][c1c2c3]=[000] The augmented matrix is[242005103630] R13R1,R32R3 gives[61260051061260] R3R1+R3 gives[6126005100000] Hence the system (1) becomes[6126051000][c1c2c3]=[000] The leading variables are c1,c2 and free variable is c3. Since there is a free variable, then the vectors are Linearly dependent. To see this, let c3=t. From second row 5c2+t=0 or c2=15t. From first row 6c1+12c26t=0. Or c1=6t12(15t)6=35t. Hence[c1c2c3]=[35t15tt]=t[35151]=15t[315] Taking t~=5 the above becomes[c1c2c3]=[315] Therefore we found one solution wherec1v1+c2v2+c3v3=03v1+v2+5v3=0

not all ci zero. Hence linearly dependent vectors.

2.4.5 Problem 6 section 4.4

In Problems 1–8, determine whether or not the given vectors in Rn form a basis for Rnv1=[001],v2=[012],v3=[123] solution

If the vectors are Linearly independent, then they form basis. To check, we solve Ac=0 and see if the solution is the trivial solution or not. If the solution is the trivial solution, then the vectors are linearly independent and hence form basis.c1v1+c2v2+c3v3=0 Writing the above as Ac=0 gives(1)[001012123][c1c2c3]=[000] The augmented matrix is[001001201230] Since the pivot (1,1) is pivot, we replace R1 with R3 first.[123001200010] This is in Echelon form. No free variables. Therefore, the solution is the trivial solution. Eq (1) becomes [123012001][c1c2c3]=[000] Which shows that c1=0,c2=0,c3=0. Hence the vectors form a basis for R3

2.4.6 Problem 16 section 4.4

In Problems 15–26, find a basis for the solution space of the given homogeneous linear systemx1+3x2+4x3=03x1+8x2+7x3=0

solution

Ax=0 gives[134387][x1x2x3]=[00] The augmented matrix is [13403870] R23R1+R2 gives[13400150] Hence the leading variables are x1,x2 and the free variable is x3=t. The system becomes[134015][x1x2x3]=[00] Last row gives x25x3=0 or x2=5t. Hence x2=5t. From first row, x1+3x2+4x3=0, or x1=3x24x3 or x1=3(5t)4t=11t. Therefore the solution is[x1x2x3]=[11t5tt]=t[1151] Let t=1. The basis is [1151] A one dimensional subspace.

2.4.7 Problem 20 section 4.4

In Problems 15–26, find a basis for the solution space of the given homogeneous linear systemx13x210x3+5x4=0x1+4x2+11x32x4=0x1+3x2+8x3x4=0

solution

Ax=0 gives[13105141121381][x1x2x3x4]=[000] The augmented matrix is[13105014112013810] R2R1+R2 gives[13105007217013810] R3R1+R3 gives[131050072170061860] R37R3 and R26R2 gives[131050042126420042126420] R3R2+R3 gives[13105004212642000000] Leading variables are x1,x2 Free variables are x3=t,x4=s. The system becomes[13105042126420000][x1x2x3x4]=[000] second row gives 42x2+126x342x4=0 or 42x2=126t+42s or x2=12642t+4242s=3t+s.

First row gives x13x210x3+5x4=0 or x1=3x2+10x35x4 or x1=3(3t+s)+10t5s=t2s. Hence the solution is[x1x2x3x4]=[t2s3t+sts]=t[1310]+s[2101] Let t=1,s=1. The basis are[1310],[2101] A two dimensional subspace.

2.4.8 Problem 5 section 4.5

In Problems 1–12, find both a basis for the row space and a basis for the column space of the given matrix A.[11113134251112] solution

We start by converting the matrix to reduced Echelon form.

R23R1+R2 gives[11110263251112] R32R1+R3 gives[1111026303910] R23R2 and R32R3 gives[111106189061820] R3R2+R3 gives[11110618900029] Now to start the reduce Echelon form phase. The pivots all needs to be 1.

R216R2 and R3129R3 gives[1111013320001] Now we need to zero all elements above each pivot.

R2R232R2 gives[111101300001] R1R1R3 gives[111001300001] R1R1R2 gives[102001300001] The above is now in reduced Echelon form. Now we can answer the question. The basis for the row space are all the rows which are not zero. Hence row space basis are (I prefer to show all basis as column vectors, instead of row vectors. This just makes it easier to read them).[1020],[0130],[0001] The dimension is 3. The column space correspond to pivot columns in original A. These are column 1,2,4. Hence basis for column space are[132],[115],[1412] The dimension is 3. We notice that the dimension of the row space and the column space is equal as expected. (This is called the rank of A. Hence rank(A)=3.)

The Null space of A has dimension 1, since there is only one free variable (x3). We see that the number of columns of A (which is 4) is therefore the sum of column space dimension (or the rank) and the null space dimension as expected.

2.4.9 Problem 7 section 4.5

In Problems 1–12, find both a basis for the row space and a basis for the column space of the given matrix A.[1117145161331325423] solution

We start by converting the matrix to reduced Echelon form.

R2R1+R2 gives[111703691331325423] R3R1+R3 gives[11170369024625423] R42R1+R4 gives[1117036902460369] R22R2 and R33R3 gives[11170612180612180369] R3R2+R3 gives[111706121800000369] R412R2+R4 gives[111706121800000000] Pivot (leading) columns are 1,2 and free variables go with 3,4 columns. The Null space of A is therefore have dimension 2.  We now convert it to reduced Echelon form.

R216R2 gives[1117012300000000] R1R1R2 gives[1034012300000000] The above is reduced Echelon form. The basis for the row space are all the rows which are not zero. Hence row space basis are (dimension 2){[1034],[0123]} The column space correspond to pivot columns in original A. These are columns 1,2. Hence basis for column space are (dimension 2){[1112],[1435]} We notice that the dimension of the row space and the column space is equal as expected.

The Null space of A has dimension 2, since there is two free variables. We see that the number of columns of A (which is 4) is therefore the sum of column space dimension and the null space dimension as expected.

2.4.10 Problem 15 section 4.5

In Problems 13–16, a set S of vectors in R4 is given. Find a subset of S that forms a basis for the subspace of R4 spanned by Sv1=[3222],v2=[2121],v3=[4323],v4=[1234] solution

We set up a matrix made of the above vectors, then find the dimensions of the column space. [3241213222232134] R12R1 and R23R2 and R32R3 and R43R4. This gives[64826396666963912] R2R1+R2[64820114666963912] R3R1+R3[64820114022763912] R4R1+R4[64820114022701110] R32R2+R3[648201140001501110] R4R2+R4[64820114000150006] R415R4 and R36R3[648201140009000090] R4R3+R4[64820114000900000] Hence, the pivot columns are 1,2,4. Therefore the column space basis are v1,v2,v4 given by

{[3222],[2121],[1234]} The above is the subset required.

2.4.11 Additional problem 1

Let v1 and v2 be any linearly independent vectors. Show that u1 =2v1 and u2 =v1+v2 are also linearly independent.

solution

We want to solve for c1,c2 from(1)c1u1+c2u2=0 And see if the solution is only the trivial solution or not. The above becomesc1(2v1)+c2(v1+v2)=02c1v1+c2v1+c2v2=0(2c1+c2)v1+c2v2=0

Let 2c1+c2=c3 a new constant. The above becomesc3v1+c2v2=0 But we are told that v1 and v2 be any linearly independent. Therefore only choice for the above is that c2=0,c3=0. But c3=2c1+c2 which means that c1=0. Therefore we just showed that c1=c2=0 is only solution to (1). This implies that u1,u2 are linearly independent vectors.

2.4.12 Additional problem 2

In section 4.2, we looked at the set W consisting of all vectors in R3 where x1=5x2 and determined it was a subspace of R3. Find a basis for W. What is the dimension of W?

solution

Let v=[x1x2x3]. Let x2=t,x3=s. Therefore v=[5tts]=t[510]+s[001]

Hence basis for W are[510],[001] And the dimension of W is 2.

2.4.13 Additional problem 3

Let S={v1,v2,v3} be a set of linearly independent vectors and suppose that v is not an element of span S. Show that S={v,v1,v2,v3} is linearly independent.

solution

Proof by contradiction. Assuming the vectors v,v1,v2,v3 are linearly dependent. Therefore we can find constants c1,c2,c3,c4 not all zero, such thatc1v1+c2v2+c3v3+c4v=0 Orc1c4v1c1c4v2c1c4v3=v Renaming the constants gives(1)C1v1+C2v2+C3v3=v The above says, we can represent v as linear combination of v1,v2,v3. But v is not in the span of S, which means we can not reach v using any linear combination of the vectors {v1,v2,v3}. Hence (1) is not possible.

Therefore our assumption that the vectors are linearly dependent is invalid. Hence they must be linearly independent.

2.4.14 key solution for HW 4

PDF