2.3 HW 3

  2.3.1 Problems listing
  2.3.2 Problem 1
  2.3.3 Problem 2
  2.3.4 Problem 3
  2.3.5 Problem 4
  2.3.6 Problem 5
  2.3.7 Problem 6
  2.3.8 Problem 7
  2.3.9 Problem 8
  2.3.10 Problem 9
  2.3.11 Problem 10
  2.3.12 Problem 11
  2.3.13 Problem 12
  2.3.14 Problem 13
  2.3.15 Problem 14

2.3.1 Problems listing

PDF

PDF (letter size)

PDF (legal size)

2.3.2 Problem 1

If x=(3,9,9) and y=(3,0,5) find a vector z in R3 such that 4xy+2z=0 and its additive inverse.

Solution4[399][305]+2[z1z2z3]=[000][153641]+[200020002][z1z2z3]=[000][200020002][z1z2z3]=[153641]

Now it is in Az=b form. The A matrix is already in rref form. Last row gives 2z3=41 or z3=412. Second row gives 2z2=36 or z2=18 and first row gives 2z1=15 or z1=152. Hence the vector z isz=[15218412] Therefore its additive inverse is [15218412]

2.3.3 Problem 2

   2.3.3.1 Part a
   2.3.3.2 Part b

Determine whether the given set S of vectors is closed under addition and is closed under scalar multiplication. The set of scalars is the set of all real numbers. Justify your answer

a) The set S=Q, the set of all rational numbers b) The set S of all solutions to the differential equation y+3y=0

Solution

2.3.3.1 Part a

Let x1,x2 be any two rational numbers in S. Then x1+x2 is also a rational number, since the sum of two rational numbers is a rational number. Hence x1+x2Q which means S is closed under addition.

Let a be any real scalar and x a rational number in S. The type of the product axi will depend on if the real number a can be represented as rational number or not. Since not all real numbers are rational, then it is possible to find scalar a which is not a rational number which make ax not rational (for an example if a=π or a=2). Therefore the set S is not closed under scalar multiplication by real numbers.

2.3.3.2 Part b

The general solution to above first order ODE are given by y(x)=Cf(x). Where C is an arbitrary constant.  Let y1(x) be one general solution given by y1(x)=c1f(x) where c1 is arbitrary constant of integration. And let Let y2(x) be another general solution of the ODE given by y2(x)=c2f(x) where c2 is arbitrary constant of integration. Hencey1(x)+y2(x)=c1f(x)+c2f(x)=(c1+c2)f(x)

Let c1+c2=C0 be new constant. Hence the above can be written asy1(x)+y2(x)=C0f(x) This shows it is closed under the sum since it has the same form.  Similarly, let a be any scalar from the reals . Thenay1(x)=a(c1f(x)) Let ac1 be new constant C0. The above becomesay1(x)=C0f(x) This shows it is closed under scalar multiplication since it has the same form.

2.3.4 Problem 3

Let S={(x,y)R2:x0,y0}. Is S a subspace of R2. Justify your answer

Solution

The set S contains all vectors in the first quadrant in R2. First, we see that the zero vector is in S which is when x=0,y=0. This is requirements for all subspaces. Now we check to see if S is closed closed under addition and scalar multiplication.

Let v1,v2 be two arbitrary vectors selected from first quadrant. Hencev1+v2=[x1y1]+[x2y2]=[x1+x2y1+y2]

But since x10 and x20 then x1+x20. Similarly since y10 and y20 then y1+y20. Hence v1+v2S which means closed under addition. Now, let a be real scalar. Henceav=a[xy]=[axay]

But this is not closed for all a. For example if a=1 then ax0 and ay0. Hence not closed under scalar multiplication.

This shows S is not a subspace, since it is not closed under scalar multiplication.

2.3.5 Problem 4

Let V=C2(I) and S is a subset of V consisting of those functions satisfying the differential equation y+2yy=0 on I. Determine if S is a subspace of V

Solution

The first step is to check for the zero solution. Since y=0 is a solution to the ode (since it satisfies it), then the zero solution is in S. Now we need to check if S is closed under additions. Since the general solution to second order ode of constant coefficients can be written as (assuming the independent variable is t) y(x)=C1er1t+C2er2t Where C1,C2 are arbitrary constants, and r1,r2 are the roots of the auxiliary equation r2+2r1=0. We do not have to solve the ODE, but the roots are distinct in this case, hence the above is a valid general solution form.

Let y1(x)=A1er1t+A2er2t be one solution which satisfies the ODE on I and let y2(x)=B1er1t+B2er2t be another solution which satisfies the ODE on I. Both are twice differentiable. Thereforey1(t)+y2(t)=(A1er1t+A2er2t)+(B1er1t+B2er2t)=(A1+B1)er1t+(A2+B2)er2t=C1er1t+C2er2t

Where C1=(A1+B1) is new constant, and C2=(A2+B2). This shows it is closed under addition since it has the same form and this is twice differentiable as well because the exponential functions are.

Now we show if it is closed under scalar multiplication. Let a be a scalar. Then, let y(x)=Aer1t+Ber2t be a solution which satisfies the ODE on I (it is also twice differentiable). Henceay(t)=a(Aer1t+Ber2t)=aAer1t+aBer2t

Let aA=C1 be new constant and let aB=C2 be new constant. The above becomesay=C1er1t+C2er2t This shows it is closed under scalar multiplication since it has the same form and this is twice differentiable.

2.3.6 Problem 5

   2.3.6.1 Part a
   2.3.6.2 Part b

a) Determine the null space of the given matrix A, null-space(A)  A=[264325541] b) Determine if w=[111] is in the null-space(A)

Solution

2.3.6.1 Part a

A is 3×3. The null-space of A is the set of all 3×1 vectors x which satisfies Ax=0. To find this set, we need to solve[264325541][x1x2x3]=[000] The augmented matrix is [264032505410] R1=R12 gives[132032505410] R2=R2+3R1 gives[13200111105410] R3=R3+5R1 gives[1320011110011110] R3=R3R2 gives[13200111100000] This shows that x1,x2 basic variables and x3 is free variable. There is no need to go all the way to rref to find the solution. But we can also do that and same solution will results. Let the free variable be x3=s.

Second row gives 11x2+11x3=0 or x2=s. First row gives x1+3x2+2x3=0 or x1=3x22x3 or x1=3s2s=s. Hence the solution is[x1x2x3]=[sss]=s[111]

There are infinite number of solutions, one for different s value. Therefore the null-space(A) is the set of all vectors which are scalar multiples of [111].

2.3.6.2 Part b

Yes. Since when s=1 then w=[111] is in the null-space(A). Hence w is scalar multiple of [111]

2.3.7 Problem 6

Let v1=[21],v2=[32] be vectors in R2. Express the vector v=[57] as linear combinations of v1,v2

Solution

We want to find scalars c1,c2 such thatc1v1+c2v2=v Thereforec1[21]+c2[32]=[57](1)[2312][c1c2]=[57]

The augmented matrix is[235127] R2=2R2+R1 gives[235079] R1=R12,R2=R27 gives[132520197] R1=R132R2 gives[105232(97)0197]=[103170197] This is rref form. Hence the original system (1) now becomes[1001][c1c2]=[31797] Last row gives c2=97 and first row gives c1=317. Therefore the combination isc1v1+c2v2=v317v197v2=v

To verify317[21]97[32]=[2(317)1(317)][3(97)2(97)]=[627317][277187]=[57]

Which is v

2.3.8 Problem 7

Let v=[334],v1=[112],v2=[213] be vectors in R3. Let W=span(v1,v2). Determine if v is in W.

Solution

To find if v is in W means if v can be reached using the vectors v1,v2. This implies we can find solution c1,c2 to c1v1+c2v2=v In this context, c1,c2 are called the coordinates of v using the basis v1,v2. Setting the above givesc1[112]+c2[213]=[334][121123][c1c2]=[334]

The augmented matrix becomes[123113234] R2=R2+R1 gives[123036234] R3=R32R1 gives[123036012] R3=3R3+R2 gives[123036000] R2=R23 gives[123012000] R1=R12R2 gives[101012000] The above is the rref form. Hence the system becomes[100100][c1c2]=[120] The last row provides no information. The second row gives c2=2. First row gives c1=1. Since solution is found, then v is in W. The vector v can be expressed as a linear combination of the basis vectors given.v1+2v2=v

2.3.9 Problem 8

Determine whether the given set {(1,1,0),(0,1,1),(1,1,1)} in R3 is linearly independent or linearly dependent

Solution

We need to find c1,c2,c3 such thatc1[110]+c2[011]+c2[111]=[000] If we can find c1,c2,c3 not all zero that solves the above, then the set is linearly dependent. If the only solution is c1=c2=c3=0 then the set is linearly independent. Writing the above in matrix form Ax=b gives(1)[101111011][c1c2c3]=[000]

Therefore, the augmented matrix is[101011100110] R2=R2+R1 gives[101001100110] R3=R3+R2 gives[101001100020] R3=R33 gives[101001100010] R2=R2R3 gives[101001000010] R1=R1R3 gives[100001000010] The above is rref form. Hence the system (1) becomes[100010001][c1c2c3]=[000] This shows that c1=0,c2=0,c3=0. Since the only solution is ci=0, then the set is linearly independent. Another way we could have solved this is by finding the determinant of A=[101111011]. If the determinant is not zero, then x=0 is the only solution and hence the columns are linearly independent. In this example det(A) can be found to be 3, which confirms the above result.

2.3.10 Problem 9

Use the Wronskian to show that the given functions are linearly independent on the given interval I=(,)f1(x)=1f2(x)=3xf3(x)=x21 Solution

The Wronskian is W=|f1f2f3f1f2f3f1f2f3|=|12xx21032x002|

To find the determinant, it is easiest to expand along the last row as that has the most zeros (Also the first column will do). Therefore the determinant isW=(1)3+3(2)|12x03|=2(3)=6

Since W0 then the functions are linearly independent.

2.3.11 Problem 10

Determine whether the set of vectors S={(1,1,0,2),(2,2,3,1),(1,1,1,2),(2,1,1,2)} is a basis for R4.

Solution

Since there are four vectors given, they can be used as basis for R4 if they are linearly independent of each others. To find this, we need to find c1,c2,c3,c4 which solvesc1[1102]+c2[2231]+c3[1112]+c4[2112]=[0000] If we can find c1,c2,c3,c4 not all zero that solves the above, then the set is linearly dependent and they can not be used as basis for R4. If the only solution is c1=c2=c3=c4=0 then they are basis for R4. Writing the above in matix form Ax=b gives(1)[1212121103112122][c1c2c3c4]=[0000] The augmented matrix is[12120121100311021220] R2=R2R1[12120002300311021220] R4=R42R1[12120002300311003020] Swapping R3,R2 so the pivot is non-zero[12120031100023003020] R4=R4+R2[12120031100023000110] R4=2R4[12120031100023000220] R4=R4R3[12120031100023000010] R3=R32[121200311000132000010] R2=R23[12120011313000132000010] R3=R3+32R4[1212001131300010000010] R2=R213R4[121200113000010000010] R1=R12R4[121000113000010000010] R2=R213R3[12100010000010000010] R1=R1+R3[12000010000010000010] R1=R12R2[10000010000010000010] This is now rref. Hence the original system (1) is[1000010000100001][c1c2c3c4]=[0000] Which implies c1=0,c2=0,c3=0,c4=0. Therefore the set S is a basis for R4. Another way to solve this is to find the determinant of A. If it is not zero, then the set S is basis.

2.3.12 Problem 11

Determine whether the set S={13x2,2x+5x2,1x+3x2} is a basis for p2(R)

Solution

Let p1(x)=13x2,p2(x)=2x+5x2,p3(x)=1x+3x2, hence the Wronskian isW=|p1p2p3p1p2p3p1p2p3|=|13x22x+5x21x+3x26x2+10x1+6x6106|

Expanding along last row gives

W=(1)3+1(6)|2x+5x21x+3x22+10x1+6x|+(1)3+2(10)|13x21x+3x26x1+6x|+(1)3+3(6)|13x22x+5x26x2+10x|=6|2x+5x21x+3x22+10x1+6x|10|13x21x+3x26x1+6x|+6|13x22x+5x26x2+10x|=6((2x+5x2)(1+6x)(1x+3x2)(2+10x))10((13x2)(1+6x)(1x+3x2)(6x))+6((13x2)(2+10x)(2x+5x2)(6x))

orW=6((30x3+7x22x)(30x34x2+8x+2))10((18x3+3x2+6x1)(18x3+6x26x))+6((30x36x2+10x+2)(30x312x2))

orW=6(11x210x2)10(3x2+12x1)+6(6x2+10x+2)=66x2+60x+12+30x2120x+10+36x2+60x+12=34

Since the Wronskian is not zero, then set S is basis for p2(R)

2.3.13 Problem 12

Find the dimension of the null space of the given matrix A A=[114232122] Solution

R2=R22R1 gives[1140511122] R3=R3R1 gives[11405110462] R2=4R2,R3=5R3 gives[11402044020310] R3=R3R2 gives[1140204400266] The above shows there are 3 pivot columns, which means the rank is 3 which is the same as the dimension of the column space. The dimension of A is 3.  Using the Rank–nullity theorem (4.9.1, in textbook at page 325) which says, for matrix A of dimensions m×nRank(A)+nullity(A)=n Therefore, since n=3 in this case (it is the number of columns)3+nullity(A)=3 Hencenullity(A)=33=0

This means the dimension of the null space of A is zero. The nullity(A) is the dimension of null-space(A).

2.3.14 Problem 13

Determine the component vector of the given vector space V relative to the given ordered basis B.V=R2B={(2,2),(1,4)}v=(5,10) Solution

Let c1[22]+c2[14]=[510] In Ax=b form the above becomes(1)[2124][c1c2]=[510] The augmented matrix is [2152410] R2=R2+R1[215055] R2=R25,R1=R12[11252011] R1=R112R2[103011] This is rref form. Hence the original system (1) becomes[1001][c1c2]=[31] Which means c2=1,c1=3, Therefore the component vector is [31]

2.3.15 Problem 14

   2.3.15.1 Part a
   2.3.15.2 Part b

a) find n such that rowspace(A) is a subspace of Rn and determine the basis for rowspace(A).

b) find m such that colspace(A) is a subspace of Rm and determine a basis for colspace(A)A=[112311263142] Solution

2.3.15.1 Part a

R2=R2R1 gives[112302433142] R3=R33R1[112302430427] R3=R32R2[1123024300613] Pivots are A(1,1),A(2,2),A(3,3).

R3=R36 gives[11230243001136] R2=R22[112301232001136] R2=R2+2R3[112301032+2(136)001136]=[1123010176001136] R1=R12R3[11032(136)010176001136]=[110223010176001136] R1=R1+R2[100223176010176001136]=[10092010176001136] The above is rref form. Pivot columns are 1,2,3.  The set of nonzero row vectors in the above rref form are basis for rowspace(A). Hence rowspace is{(1,0,0,92),(0,1,0,176),(0,0,1,136)} The rowspace is 3 dimensional in R4.

2.3.15.2 Part b

From part(a) we found that the pivot columns are 1,2,3. Therefore the column space is given by the corresponding columns in the original vector A. Hence the column space is {[113],[111],[224]} It is 3 dimensional in R3