2.9 HW 9

  2.9.1 Problems listing
  2.9.2 Problem 8, section 7.1
  2.9.3 Problem 1 section 7.2
  2.9.4 Problem 5 section 7.2
  2.9.5 Problem 9 section 7.2
  2.9.6 Problem 15 section 7.2
  2.9.7 Problem 19 section 7.2
  2.9.8 Problem 24 section 7.2
  2.9.9 Problem 28 section 7.2
  2.9.10 Additional problem 1
  2.9.11 key solution for HW9

2.9.1 Problems listing

PDF

PDF (letter size)
PDF (legal size)

2.9.2 Problem 8, section 7.1

Transform the given differential equations into an equivalent system of first-order differential equations.x+3x+4x2y=0y+2y3x+y=cost

Solution

There are two second order ODE’s, hence we needs 4 states variables x1,x2,x3,x4where (it is better and more standard to use xi notation for all state variables. The book uses xi,yi which is not optimal. xi will be used here for all state variables)(1)x1=xx2=xx3=yx4=y

Taking derivatives w.r.t time t givesx1=x=x2x2=x=(3x+4x2y)=4x13x2+2x3x3=y=x4x4=y=(2y3x+y)+cost=3x1x32x4+cost

Or in Matrix form (if needed)[x1x2x3x4]=[0100432000013012][x1x2x3x4]+[000cost]x=Ax+f(t)

2.9.3 Problem 1 section 7.2

Verify the product law for differentiation (AB)=AB+ABA(t)=[t2t1t31t],B(t)=[1t1+t3t24t3] SolutionAB=[t2t1t3t1][1t1+t3t24t3]=[t(6t24t+1)t(8t34t2+t+1)t(t3+t2+3)t2(t2+t+4)]=[6t34t2+t8t44t3+t2+tt4+t3+3tt4+t3+4t2]

Taking derivative of each entry w.r.t t gives(1)(AB)=[18t28t+132t312t2+2t+14t3+3t2+34t3+3t2+8t] Now A(t)=ddt[t2t1t31t]=[123t2t2]

Hence A(t)B(t)=[123t2t2][1t1+t3t24t3]=[6t2t+18t3+t+13t3+3t23t(3t2+3t4)](2)=[6t2t+18t3+t+13t3+3t233t3+3t24t]

And B(t)=ddt[1t1+t3t24t3]=[116t12t2]

HenceA(t)B(t)=[t2t1t31t][116t12t2]=[t(12t7)t(24t212t+1)6t3t3+12t](3)=[12t27t24t312t2+t6t3t3+12t]

Therefore, from (2,3) AB+AB=[6t2t+18t3+t+13t3+3t233t3+3t24t]+[12t27t24t312t2+t6t3t3+12t]=[(6t2t+1)+(12t27t)(8t3+t+1)+(24t312t2+t)(3t3+3t23)+(6t3)(3t3+3t24t)+(t3+12t)](4)=[18t28t+132t312t2+2t+14t3+3t2+34t3+3t2+8t]

Comparing (1) and (4) shows they are the same. Therefore (AB)=AB+AB has been verified.

2.9.4 Problem 5 section 7.2

Write the given system in the form x=P(t)x+f(t)

x=2x+4y+3ety=5xyt2

Solution

There are two first order ODE’s, hence we needs 2 states variables x1,x2. Let(1)x1=xx2=y

Taking derivatives w.r.t time t givesx1=x=2x+4y+3et=2x1+4x2+3etx2=y=5xyt2=5x1x2t2

Or in Matrix form[x1x2]=[2451]P(t)[x1x2]+[3ett2]f(t)x=Px+f(t)

Or using book notation[xy]=[2451][xy]+[3ett2]

2.9.5 Problem 9 section 7.2

Write the given system in the form x=P(t)x+f(t)x=3x4y+z+ty=x3z+t2z=6y7z+t3

Solution

There are three first order ODE’s, hence we needs 3 states variables x1,x2,x3. Let(1)x1=xx2=yx3=z

Taking derivatives w.r.t time t givesx1=x=3x4y+z+t=3x14x2+x3+tx2=y=x3z+t2=x13x3+t2x3=6y7z+t3=6x27x3+t3

Or in Matrix form[x1x2x3]=[341103067]P(t)[x1x2x3]+[tt2t3]f(t)x=Px+f(t)

Or using book notation[xyz]=[341103067][xyz]+[tt2t3]

2.9.6 Problem 15 section 7.2

First verify that the given vectors are solutions of the given system. Then use the Wronskian to show that they are linearly independent. Finally, write the general solution of the system

x=[3153]xx1=e2t[11]x2=e2t[15]

Solution

The system is (1)x(t)=Ax To verify each vector solution, we will check if the LHS is the same as the RHS. The LHS of (1) isddtx1(t)=ddte2t[11]=2e2t[11](2)=2x1(t)

The RHS of (1) isAx1=[3153]x1=[3153]e2t[11]=e2t[3153][11]=e2t[22]=2e2t[11](3)=2x1(t)

Comparing (1,2) shows they are the same. Now we do the same for the second vector solution. The LHS of (1) isddtx2(t)=ddte2t[15]=2e2t[15](4)=2x2(t)

The RHS of (1) isAx2=[3153]x2=[3153]e2t[15]=e2t[3153][15]=e2t[210]=2e2t[15](5)=2x2(t)

Comparing (4,5) shows they are the same. Both solution vectors verified. The Wronskian is the determinant of the matrix whose columns are the vectors x1(t),x2(t). Hence|e2te2te2t5e2t|=5(e2te2t)e2te2t=51=4

Since the determinant is not zero (anywhere), then x1(t),x2(t) are linearly independent.

The general solution is linear combination of the basis vector solutions. Thereforex(t)=c1x1(t)+c2x2(t)=c1e2t[11]+c2e2t[15]=[c1e2t+c2e2tc1e2t+5c2e2t]

2.9.7 Problem 19 section 7.2

First verify that the given vectors are solutions of the given system. Then use the Wronskian to show that they are linearly independent. Finally, write the general solution of the systemx=[011101110]xx1=e2t[111]x2=et[101]x2=et[011]

Solution

The system is (1)x(t)=Ax To verify each vector solution, we will check if the LHS is the same as the RHS. The LHS of (1) isddtx1(t)=ddte2t[111]=2e2t[111](2)=2x1(t)

The RHS of (1) isAx1=[011101110]x1=e2t[011101110][111]=e2t[222]=2e2t[111](3)=2x1(t)

Comparing (1,2) shows they are the same. Now we do the same for x2(t). The LHS of (1) isddtx2(t)=ddtet[101]=et[101](4)=x2(t)

The RHS of (1) isAx2=[011101110]x2=et[011101110][101]=et[101]=et[101](5)=x2(t)

Comparing (4,5) shows they are the same. Now we do the same for x3(t). The LHS of (1) isddtx3(t)=ddtet[011]=et[011](6)=x3(t)

The RHS of (1) isAx3=[011101110]x3=et[011101110][011]=et[011]=et[011](7)=x3(t)

Comparing (6,7) shows they are the same. All three vectors solutions verified. The Wronskian is the determinant of the matrix whose columns are the vectors x1(t),x2(t),x3(t). Hence|e2tet0e2t0ete2tetet|=e2t|0etetet|et|e2tete2tet|=e2t(e2t)et(etet)=1et(0)=1

Since the determinant is not zero (anywhere), then x1(t),x2(t),x3(t) are linearly independent.  The general solution is linear combination of the basis vector solutions. Thereforex(t)=c1x1(t)+c2x2(t)+c3x3(t)=c1e2t[111]+c2et[101]+c3et[011]=[c1e2t+c2etc1e2t+c3etc1e2t+c2et+c3et]

2.9.8 Problem 24 section 7.2

Find the particular solution of the indicated linear system that satisfies the given initial conditions. The system of problem 15.x=[3153]xx1=e2t[11]x2=e2t[15]

x1(0)=0,x2(0)=5 Solution

The general solution isx(t)=c1x1(t)+c2x2(t)(1)[x1(t)x2(t)]=c1e2t[11]+c2e2t[15]

At t=0, the above becomes[05]=c1[11]+c2[15][05]=[c1+c2c1+5c2]

Two equations with two unknown. From first equation c1=c2. Substituting in the second equation gives 5=c2+5c2 or 4c2=5. Hence c2=54. Therefore c1=54.Therefore the solution that satisfies the initial conditions is, from (1) [x1(t)x2(t)]=54e2t[11]+54e2t[15]=[54e2t+54e2t54e2t+254e2t]

Orx(t)=54(x1(t)+x2(t))

2.9.9 Problem 28 section 7.2

Find the particular solution of the indicated linear system that satisfies the given initial conditions. The system of problem 19.x=[011101110]xx1=e2t[111]x2=et[101]x2=et[011]

x1(0)=10,x2(0)=12,x3(0)=1 Solution

The general solution isx(t)=c1x1(t)+c2x2(t)+c3x3(t)(1)[x1(t)x2(t)x3(t)]=c1e2t[111]+c2et[101]+c3et[011]

At t=0, the above becomes[10121]=c1[111]+c2[101]+c3[011][10121]=[c1+c2c1+c3c1c2c3]

Therefore(2)[110101111][c1c2c3]=[10121] The augmented system is[11010101121111] R2R2R1[1101001121111] R3R3R1[11010011202111] R3R32R2[11010011200315] Therefore the system (2) now is(3)[110011003][c1c2c3]=[10215] Last row gives c3=5. Second row gives c2+c3=2. Hence c2=25=3 or c2=3. First row gives c1+c2=10. Hence c1=103=7. Therefore[c1c2c3]=[735] Substituting these in (1) gives[x1(t)x2(t)x3(t)]=7e2t[111]+3et[101]+5et[011] orx(t)=7x1(t)+3x2(t)+5x3(t)

2.9.10 Additional problem 1

   2.9.10.1 Part (a)
   2.9.10.2 Part (b)
   2.9.10.3 Part (c)

There is a system of three brine tanks. Tanks 1 and 3 begin with 200 L of fresh water each and tank 2 begins with 100 L of water and 10 kg of salt.

Water containing 2 kg of salt per liter is pumped into tank 1 at a rate of 15 L/min. The well-mixed solution is pumped from tank 1 to tank 2 at a rate of 20 L/min, from tank 2 to tank 3 at a rate of 20 L/min, and from tank 3 to tank 1 at a rate of 5 L/min. The well-mixed solution is pumped out of tank 3 at a rate of 15 L/min.

(a) Draw and label a picture that illustrates this situation. (b) Let x1(t),x2(t),x3(t) denote the amount of salt (in kilograms) in tanks 1, 2, and 3 respectively after t minutes. Write down differential equations for x1(t),x2(t),x3(t).(c) Write the system of differential equations in (b) as a matrix equation x=Px+f(t). What are the initial conditions x(0) ?

Solution

2.9.10.1 Part (a)

pict
Figure 2.10:Diagram description of the problem
2.9.10.2 Part (b)

x1(t)=rate of flow in rate of flow out(1)=(15(Lmin)2(kgL))+(5(Lmin)x3(t)V3(t)(kgL))(20(Lmin)x1(t)V1(t)(kgL))

Andx2(t)=rate of flow in rate of flow out(2)=(20(Lmin)x1(t)V1(t)(kgL))(20(Lmin)x2(t)V2(t)(kgL))

Andx3(t)=rate of flow in rate of flow out(3)=(20(Lmin)x2(t)V2(t)(kgL))(15(Lmin)x3(t)V3(t)(kgL))(5(Lmin)x3(t)V3(t)(kgL))

The volume of water at time t is found as follows. V(t)=V(0)+(rate in-rate out)t. ThereforeV1(t)=V1(0)(L)+(15+520)(Lmin)t(4)=200+0t=200

AndV2(t)=V2(0)(L)+(2020)(Lmin)t(5)=100+0t=100

AndV3(t)=V3(0)(L)+(20515)(Lmin)t(6)=200+0t=200

We see from the above, that the volume of water in each tank is constant over time. Now, substituting (4,5,6) into (1,2,3) gives the equations needed.x1(t)=30+5200x320200x1(7)=30+140x3110x1

Andx2(t)=20200x120100x2(8)=110x1210x2

Andx3(t)=20100x215200x35200x3(9)=210x2110x3

In summary, the differential equations arex1(t)=30+140x3(t)110x1(t)x2(t)=110x1(t)210x2(t)x3(t)=210x2(t)110x3(t)

2.9.10.3 Part (c)

In Matrix form, the solution found in part b is[x1(t)x2(t)x3(t)]=[110014011021000210110][x1(t)x2(t)x3(t)]+[3000]=110[1014120021][x1(t)x2(t)x3(t)]+[3000]x=Px+f(t)

The initial conditions are[x1(0)x2(0)x3(0)]=[0100] (kg)

2.9.11 key solution for HW9

PDF