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.\begin {align*} x^{\prime \prime }+3x^{\prime }+4x-2y & =0\\ y^{\prime \prime }+2y^{\prime }-3x+y & =\cos t \end {align*}

Solution

There are two second order ODE’s, hence we needs 4 states variables \(x_{1},x_{2},x_{3},x_{4}\,\,\)where (it is better and more standard to use \(x_{i}\) notation for all state variables. The book uses \(x_{i},y_{i}\) which is not optimal. \(x_{i}\) will be used here for all state variables)\begin {align} x_{1} & =x\tag {1}\\ x_{2} & =x^{\prime }\nonumber \\ x_{3} & =y\nonumber \\ x_{4} & =y^{\prime }\nonumber \end {align}

Taking derivatives w.r.t time \(t\) gives\begin {align*} x_{1}^{\prime } & =x^{\prime }\\ & =x_{2}\\ x_{2}^{\prime } & =x^{\prime \prime }\\ & =-\left ( 3x^{\prime }+4x-2y\right ) \\ & =-4x_{1}-3x_{2}+2x_{3}\\ x_{3}^{\prime } & =y^{\prime }\\ & =x_{4}\\ x_{4}^{\prime } & =y^{\prime \prime }\\ & =-\left ( 2y^{\prime }-3x+y\right ) +\cos t\\ & =3x_{1}-x_{3}-2x_{4}+\cos t \end {align*}

Or in Matrix form (if needed)\begin {align*} \begin {bmatrix} x_{1}^{\prime }\\ x_{2}^{\prime }\\ x_{3}^{\prime }\\ x_{4}^{\prime }\end {bmatrix} & =\begin {bmatrix} 0 & 1 & 0 & 0\\ -4 & -3 & 2 & 0\\ 0 & 0 & 0 & 1\\ 3 & 0 & -1 & -2 \end {bmatrix}\begin {bmatrix} x_{1}\\ x_{2}\\ x_{3}\\ x_{4}\end {bmatrix} +\begin {bmatrix} 0\\ 0\\ 0\\ \cos t \end {bmatrix} \\ \boldsymbol {x}^{\prime } & =A\boldsymbol {x}+\boldsymbol {f}\left ( t\right ) \end {align*}

2.9.3 Problem 1 section 7.2

Verify the product law for differentiation \(\left ( AB\right ) ^{\prime }=A^{\prime }B+AB^{\prime }\)\[ A\left ( t\right ) =\begin {bmatrix} t & 2t-1\\ t^{3} & \frac {1}{t}\end {bmatrix} ,B\left ( t\right ) =\begin {bmatrix} 1-t & 1+t\\ 3t^{2} & 4t^{3}\end {bmatrix} \] Solution\begin {align*} AB & =\begin {bmatrix} t & 2t-1\\ t^{3} & t^{-1}\end {bmatrix}\begin {bmatrix} 1-t & 1+t\\ 3t^{2} & 4t^{3}\end {bmatrix} \\ & =\begin {bmatrix} t\left ( 6t^{2}-4t+1\right ) & t\left ( 8t^{3}-4t^{2}+t+1\right ) \\ t\left ( -t^{3}+t^{2}+3\right ) & t^{2}\left ( t^{2}+t+4\right ) \end {bmatrix} \\ & =\begin {bmatrix} 6t^{3}-4t^{2}+t & 8t^{4}-4t^{3}+t^{2}+t\\ -t^{4}+t^{3}+3t & t^{4}+t^{3}+4t^{2}\end {bmatrix} \end {align*}

Taking derivative of each entry w.r.t \(t\) gives\begin {equation} \left ( AB\right ) ^{\prime }=\begin {bmatrix} 18t^{2}-8t+1 & 32t^{3}-12t^{2}+2t+1\\ -4t^{3}+3t^{2}+3 & 4t^{3}+3t^{2}+8t \end {bmatrix} \tag {1} \end {equation} Now \begin {align*} A^{\prime }\left ( t\right ) & =\frac {d}{dt}\begin {bmatrix} t & 2t-1\\ t^{3} & \frac {1}{t}\end {bmatrix} \\ & =\begin {bmatrix} 1 & 2\\ 3t^{2} & -t^{-2}\end {bmatrix} \end {align*}

Hence \begin {align} A^{\prime }\left ( t\right ) B\left ( t\right ) & =\begin {bmatrix} 1 & 2\\ 3t^{2} & -t^{-2}\end {bmatrix}\begin {bmatrix} 1-t & 1+t\\ 3t^{2} & 4t^{3}\end {bmatrix} \nonumber \\ & =\begin {bmatrix} 6t^{2}-t+1 & 8t^{3}+t+1\\ -3t^{3}+3t^{2}-3 & t\left ( 3t^{2}+3t-4\right ) \end {bmatrix} \nonumber \\ & =\begin {bmatrix} 6t^{2}-t+1 & 8t^{3}+t+1\\ -3t^{3}+3t^{2}-3 & 3t^{3}+3t^{2}-4t \end {bmatrix} \tag {2} \end {align}

And \begin {align*} B^{\prime }\left ( t\right ) & =\frac {d}{dt}\begin {bmatrix} 1-t & 1+t\\ 3t^{2} & 4t^{3}\end {bmatrix} \\ & =\begin {bmatrix} -1 & 1\\ 6t & 12t^{2}\end {bmatrix} \end {align*}

Hence\begin {align} A\left ( t\right ) B^{\prime }\left ( t\right ) & =\begin {bmatrix} t & 2t-1\\ t^{3} & \frac {1}{t}\end {bmatrix}\begin {bmatrix} -1 & 1\\ 6t & 12t^{2}\end {bmatrix} \nonumber \\ & =\begin {bmatrix} t\left ( 12t-7\right ) & t\left ( 24t^{2}-12t+1\right ) \\ 6-t^{3} & t^{3}+12t \end {bmatrix} \nonumber \\ & =\begin {bmatrix} 12t^{2}-7t & 24t^{3}-12t^{2}+t\\ 6-t^{3} & t^{3}+12t \end {bmatrix} \tag {3} \end {align}

Therefore, from (2,3) \begin {align} A^{\prime }B+AB^{\prime } & =\begin {bmatrix} 6t^{2}-t+1 & 8t^{3}+t+1\\ -3t^{3}+3t^{2}-3 & 3t^{3}+3t^{2}-4t \end {bmatrix} +\begin {bmatrix} 12t^{2}-7t & 24t^{3}-12t^{2}+t\\ 6-t^{3} & t^{3}+12t \end {bmatrix} \nonumber \\ & =\begin {bmatrix} \left ( 6t^{2}-t+1\right ) +\left ( 12t^{2}-7t\right ) & \left ( 8t^{3}+t+1\right ) +\left ( 24t^{3}-12t^{2}+t\right ) \\ \left ( -3t^{3}+3t^{2}-3\right ) +\left ( 6-t^{3}\right ) & \left ( 3t^{3}+3t^{2}-4t\right ) +\left ( t^{3}+12t\right ) \end {bmatrix} \nonumber \\ & =\begin {bmatrix} 18t^{2}-8t+1 & 32t^{3}-12t^{2}+2t+1\\ -4t^{3}+3t^{2}+3 & 4t^{3}+3t^{2}+8t \end {bmatrix} \tag {4} \end {align}

Comparing (1) and (4) shows they are the same. Therefore \(\left ( AB\right ) ^{\prime }=A^{\prime }B+AB^{\prime }\) has been verified.

2.9.4 Problem 5 section 7.2

Write the given system in the form \(\boldsymbol {x}^{\prime }=P\left ( t\right ) \boldsymbol {x}+\boldsymbol {f}\left ( t\right ) \)

\begin {align*} x^{\prime } & =2x+4y+3e^{t}\\ y^{\prime } & =5x-y-t^{2} \end {align*}

Solution

There are two first order ODE’s, hence we needs 2 states variables \(x_{1},x_{2}\). Let\begin {align} x_{1} & =x\tag {1}\\ x_{2} & =y\nonumber \end {align}

Taking derivatives w.r.t time \(t\) gives\begin {align*} x_{1}^{\prime } & =x^{\prime }\\ & =2x+4y+3e^{t}\\ & =2x_{1}+4x_{2}+3e^{t}\\ x_{2}^{\prime } & =y^{\prime }\\ & =5x-y-t^{2}\\ & =5x_{1}-x_{2}-t^{2} \end {align*}

Or in Matrix form\begin {align*} \begin {bmatrix} x_{1}^{\prime }\\ x_{2}^{\prime }\end {bmatrix} & =\overset {P\left ( t\right ) }{\overbrace {\begin {bmatrix} 2 & 4\\ 5 & -1 \end {bmatrix} }}\begin {bmatrix} x_{1}\\ x_{2}\end {bmatrix} +\overset {\boldsymbol {f}\left ( t\right ) }{\overbrace {\begin {bmatrix} 3e^{t}\\ -t^{2}\end {bmatrix} }}\\ \boldsymbol {x}^{\prime } & =P\boldsymbol {x}+\boldsymbol {f}\left ( t\right ) \end {align*}

Or using book notation\[\begin {bmatrix} x^{\prime }\\ y^{\prime }\end {bmatrix} =\begin {bmatrix} 2 & 4\\ 5 & -1 \end {bmatrix}\begin {bmatrix} x\\ y \end {bmatrix} +\begin {bmatrix} 3e^{t}\\ -t^{2}\end {bmatrix} \]

2.9.5 Problem 9 section 7.2

Write the given system in the form \(\boldsymbol {x}^{\prime }=P\left ( t\right ) \boldsymbol {x}+\boldsymbol {f}\left ( t\right ) \)\begin {align*} x^{\prime } & =3x-4y+z+t\\ y^{\prime } & =x-3z+t^{2}\\ z^{\prime } & =6y-7z+t^{3} \end {align*}

Solution

There are three first order ODE’s, hence we needs 3 states variables \(x_{1},x_{2},x_{3}\). Let\begin {align} x_{1} & =x\tag {1}\\ x_{2} & =y\nonumber \\ x_{3} & =z\nonumber \end {align}

Taking derivatives w.r.t time \(t\) gives\begin {align*} x_{1}^{\prime } & =x^{\prime }\\ & =3x-4y+z+t\\ & =3x_{1}-4x_{2}+x_{3}+t\\ x_{2}^{\prime } & =y^{\prime }\\ & =x-3z+t^{2}\\ & =x_{1}-3x_{3}+t^{2}\\ x_{3}^{\prime } & =6y-7z+t^{3}\\ & =6x_{2}-7x_{3}+t^{3} \end {align*}

Or in Matrix form\begin {align*} \begin {bmatrix} x_{1}^{\prime }\\ x_{2}^{\prime }\\ x_{3}^{\prime }\end {bmatrix} & =\overset {P\left ( t\right ) }{\overbrace {\begin {bmatrix} 3 & -4 & 1\\ 1 & 0 & -3\\ 0 & 6 & -7 \end {bmatrix} }}\begin {bmatrix} x_{1}\\ x_{2}\\ x_{3}\end {bmatrix} +\overset {\boldsymbol {f}\left ( t\right ) }{\overbrace {\begin {bmatrix} t\\ t^{2}\\ t^{3}\end {bmatrix} }}\\ \boldsymbol {x}^{\prime } & =P\boldsymbol {x}+\boldsymbol {f}\left ( t\right ) \end {align*}

Or using book notation\[\begin {bmatrix} x^{\prime }\\ y^{\prime }\\ z^{\prime }\end {bmatrix} =\begin {bmatrix} 3 & -4 & 1\\ 1 & 0 & -3\\ 0 & 6 & -7 \end {bmatrix}\begin {bmatrix} x\\ y\\ z \end {bmatrix} +\begin {bmatrix} t\\ t^{2}\\ t^{3}\end {bmatrix} \]

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

\begin {align*} \boldsymbol {x}^{\prime } & =\begin {bmatrix} 3 & -1\\ 5 & -3 \end {bmatrix} \boldsymbol {x}\\ \boldsymbol {x}_{1} & =e^{2t}\begin {bmatrix} 1\\ 1 \end {bmatrix} \\ \boldsymbol {x}_{2} & =e^{-2t}\begin {bmatrix} 1\\ 5 \end {bmatrix} \end {align*}

Solution

The system is \begin {equation} \boldsymbol {x}^{\prime }\left ( t\right ) =A\boldsymbol {x} \tag {1} \end {equation} To verify each vector solution, we will check if the LHS is the same as the RHS. The LHS of (1) is\begin {align} \frac {d}{dt}\boldsymbol {x}_{1}\left ( t\right ) & =\frac {d}{dt}e^{2t}\begin {bmatrix} 1\\ 1 \end {bmatrix} \nonumber \\ & =2e^{2t}\begin {bmatrix} 1\\ 1 \end {bmatrix} \nonumber \\ & =2\boldsymbol {x}_{1}\left ( t\right ) \tag {2} \end {align}

The RHS of (1) is\begin {align} A\boldsymbol {x}_{1} & \boldsymbol {=}\begin {bmatrix} 3 & -1\\ 5 & -3 \end {bmatrix} \boldsymbol {x}_{1}\nonumber \\ & =\begin {bmatrix} 3 & -1\\ 5 & -3 \end {bmatrix} e^{2t}\begin {bmatrix} 1\\ 1 \end {bmatrix} \nonumber \\ & =e^{2t}\begin {bmatrix} 3 & -1\\ 5 & -3 \end {bmatrix}\begin {bmatrix} 1\\ 1 \end {bmatrix} \nonumber \\ & =e^{2t}\begin {bmatrix} 2\\ 2 \end {bmatrix} \nonumber \\ & =2e^{2t}\begin {bmatrix} 1\\ 1 \end {bmatrix} \nonumber \\ & =2\boldsymbol {x}_{1}\left ( t\right ) \tag {3} \end {align}

Comparing (1,2) shows they are the same. Now we do the same for the second vector solution. The LHS of (1) is\begin {align} \frac {d}{dt}\boldsymbol {x}_{2}\left ( t\right ) & =\frac {d}{dt}e^{-2t}\begin {bmatrix} 1\\ 5 \end {bmatrix} \nonumber \\ & =-2e^{-2t}\begin {bmatrix} 1\\ 5 \end {bmatrix} \nonumber \\ & =-2\boldsymbol {x}_{2}\left ( t\right ) \tag {4} \end {align}

The RHS of (1) is\begin {align} A\boldsymbol {x}_{2} & \boldsymbol {=}\begin {bmatrix} 3 & -1\\ 5 & -3 \end {bmatrix} \boldsymbol {x}_{2}\nonumber \\ & =\begin {bmatrix} 3 & -1\\ 5 & -3 \end {bmatrix} e^{-2t}\begin {bmatrix} 1\\ 5 \end {bmatrix} \nonumber \\ & =e^{-2t}\begin {bmatrix} 3 & -1\\ 5 & -3 \end {bmatrix}\begin {bmatrix} 1\\ 5 \end {bmatrix} \nonumber \\ & =e^{-2t}\begin {bmatrix} -2\\ -10 \end {bmatrix} \nonumber \\ & =-2e^{-2t}\begin {bmatrix} 1\\ 5 \end {bmatrix} \nonumber \\ & =-2\boldsymbol {x}_{2}\left ( t\right ) \tag {5} \end {align}

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 \(\boldsymbol {x}_{1}\left ( t\right ) ,\boldsymbol {x}_{2}\left ( t\right ) \). Hence\begin {align*} \begin {vmatrix} e^{2t} & e^{-2t}\\ e^{2t} & 5e^{-2t}\end {vmatrix} & =5\left ( e^{2t}e^{-2t}\right ) -e^{2t}e^{-2t}\\ & =5-1\\ & =4 \end {align*}

Since the determinant is not zero (anywhere), then \(\boldsymbol {x}_{1}\left ( t\right ) ,\boldsymbol {x}_{2}\left ( t\right ) \) are linearly independent.

The general solution is linear combination of the basis vector solutions. Therefore\begin {align*} \boldsymbol {x}\left ( t\right ) & =c_{1}\boldsymbol {x}_{1}\left ( t\right ) +c_{2}\boldsymbol {x}_{2}\left ( t\right ) \\ & =c_{1}e^{2t}\begin {bmatrix} 1\\ 1 \end {bmatrix} +c_{2}e^{-2t}\begin {bmatrix} 1\\ 5 \end {bmatrix} \\ & =\begin {bmatrix} c_{1}e^{2t}+c_{2}e^{-2t}\\ c_{1}e^{2t}+5c_{2}e^{-2t}\end {bmatrix} \end {align*}

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 system\begin {align*} \boldsymbol {x}^{\prime } & =\begin {bmatrix} 0 & 1 & 1\\ 1 & 0 & 1\\ 1 & 1 & 0 \end {bmatrix} \boldsymbol {x}\\ \boldsymbol {x}_{1} & =e^{2t}\begin {bmatrix} 1\\ 1\\ 1 \end {bmatrix} \\ \boldsymbol {x}_{2} & =e^{-t}\begin {bmatrix} 1\\ 0\\ -1 \end {bmatrix} \\ \boldsymbol {x}_{2} & =e^{-t}\begin {bmatrix} 0\\ 1\\ -1 \end {bmatrix} \end {align*}

Solution

The system is \begin {equation} \boldsymbol {x}^{\prime }\left ( t\right ) =A\boldsymbol {x} \tag {1} \end {equation} To verify each vector solution, we will check if the LHS is the same as the RHS. The LHS of (1) is\begin {align} \frac {d}{dt}\boldsymbol {x}_{1}\left ( t\right ) & =\frac {d}{dt}e^{2t}\begin {bmatrix} 1\\ 1\\ 1 \end {bmatrix} \nonumber \\ & =2e^{2t}\begin {bmatrix} 1\\ 1\\ 1 \end {bmatrix} \nonumber \\ & =2\boldsymbol {x}_{1}\left ( t\right ) \tag {2} \end {align}

The RHS of (1) is\begin {align} A\boldsymbol {x}_{1} & \boldsymbol {=}\begin {bmatrix} 0 & 1 & 1\\ 1 & 0 & 1\\ 1 & 1 & 0 \end {bmatrix} \boldsymbol {x}_{1}\nonumber \\ & =e^{2t}\begin {bmatrix} 0 & 1 & 1\\ 1 & 0 & 1\\ 1 & 1 & 0 \end {bmatrix}\begin {bmatrix} 1\\ 1\\ 1 \end {bmatrix} \nonumber \\ & =e^{2t}\begin {bmatrix} 2\\ 2\\ 2 \end {bmatrix} \nonumber \\ & =2e^{2t}\begin {bmatrix} 1\\ 1\\ 1 \end {bmatrix} \nonumber \\ & =2\boldsymbol {x}_{1}\left ( t\right ) \tag {3} \end {align}

Comparing (1,2) shows they are the same. Now we do the same for \(\boldsymbol {x}_{2}\left ( t\right ) \). The LHS of (1) is\begin {align} \frac {d}{dt}\boldsymbol {x}_{2}\left ( t\right ) & =\frac {d}{dt}e^{-t}\begin {bmatrix} 1\\ 0\\ -1 \end {bmatrix} \nonumber \\ & =-e^{-t}\begin {bmatrix} 1\\ 0\\ -1 \end {bmatrix} \nonumber \\ & =-\boldsymbol {x}_{2}\left ( t\right ) \tag {4} \end {align}

The RHS of (1) is\begin {align} A\boldsymbol {x}_{2} & \boldsymbol {=}\begin {bmatrix} 0 & 1 & 1\\ 1 & 0 & 1\\ 1 & 1 & 0 \end {bmatrix} \boldsymbol {x}_{2}\nonumber \\ & =e^{-t}\begin {bmatrix} 0 & 1 & 1\\ 1 & 0 & 1\\ 1 & 1 & 0 \end {bmatrix}\begin {bmatrix} 1\\ 0\\ -1 \end {bmatrix} \nonumber \\ & =e^{-t}\begin {bmatrix} -1\\ 0\\ 1 \end {bmatrix} \nonumber \\ & =-e^{-t}\begin {bmatrix} 1\\ 0\\ -1 \end {bmatrix} \nonumber \\ & =-\boldsymbol {x}_{2}\left ( t\right ) \tag {5} \end {align}

Comparing (4,5) shows they are the same. Now we do the same for \(\boldsymbol {x}_{3}\left ( t\right ) \). The LHS of (1) is\begin {align} \frac {d}{dt}\boldsymbol {x}_{3}\left ( t\right ) & =\frac {d}{dt}e^{-t}\begin {bmatrix} 0\\ 1\\ -1 \end {bmatrix} \nonumber \\ & =-e^{-t}\begin {bmatrix} 0\\ 1\\ -1 \end {bmatrix} \nonumber \\ & =-\boldsymbol {x}_{3}\left ( t\right ) \tag {6} \end {align}

The RHS of (1) is\begin {align} A\boldsymbol {x}_{3} & \boldsymbol {=}\begin {bmatrix} 0 & 1 & 1\\ 1 & 0 & 1\\ 1 & 1 & 0 \end {bmatrix} \boldsymbol {x}_{3}\nonumber \\ & =e^{-t}\begin {bmatrix} 0 & 1 & 1\\ 1 & 0 & 1\\ 1 & 1 & 0 \end {bmatrix}\begin {bmatrix} 0\\ 1\\ -1 \end {bmatrix} \nonumber \\ & =e^{-t}\begin {bmatrix} 0\\ -1\\ 1 \end {bmatrix} \nonumber \\ & =-e^{-t}\begin {bmatrix} 0\\ 1\\ -1 \end {bmatrix} \nonumber \\ & =-\boldsymbol {x}_{3}\left ( t\right ) \tag {7} \end {align}

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 \(\boldsymbol {x}_{1}\left ( t\right ) ,\boldsymbol {x}_{2}\left ( t\right ) ,\boldsymbol {x}_{3}\left ( t\right ) \). Hence\begin {align*} \begin {vmatrix} e^{2t} & e^{-t} & 0\\ e^{2t} & 0 & e^{-t}\\ e^{2t} & -e^{-t} & -e^{-t}\end {vmatrix} & =e^{2t}\begin {vmatrix} 0 & e^{-t}\\ -e^{-t} & -e^{-t}\end {vmatrix} -e^{-t}\begin {vmatrix} e^{2t} & e^{-t}\\ e^{2t} & -e^{-t}\end {vmatrix} \\ & =e^{2t}\left ( e^{-2t}\right ) -e^{-t}\left ( e^{t}-e^{t}\right ) \\ & =1-e^{-t}\left ( 0\right ) \\ & =1 \end {align*}

Since the determinant is not zero (anywhere), then \(\boldsymbol {x}_{1}\left ( t\right ) ,\boldsymbol {x}_{2}\left ( t\right ) ,\boldsymbol {x}_{3}\left ( t\right ) \) are linearly independent.  The general solution is linear combination of the basis vector solutions. Therefore\begin {align*} \boldsymbol {x}\left ( t\right ) & =c_{1}\boldsymbol {x}_{1}\left ( t\right ) +c_{2}\boldsymbol {x}_{2}\left ( t\right ) +c_{3}\boldsymbol {x}_{3}\left ( t\right ) \\ & =c_{1}e^{2t}\begin {bmatrix} 1\\ 1\\ 1 \end {bmatrix} +c_{2}e^{-t}\begin {bmatrix} 1\\ 0\\ -1 \end {bmatrix} +c_{3}e^{-t}\begin {bmatrix} 0\\ 1\\ -1 \end {bmatrix} \\ & =\begin {bmatrix} c_{1}e^{2t}+c_{2}e^{-t}\\ c_{1}e^{2t}+c_{3}e^{-t}\\ c_{1}e^{2t}+c_{2}e^{-t}+c_{3}e^{-t}\end {bmatrix} \end {align*}

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.\begin {align*} \boldsymbol {x}^{\prime } & =\begin {bmatrix} 3 & -1\\ 5 & -3 \end {bmatrix} \boldsymbol {x}\\ \boldsymbol {x}_{1} & =e^{2t}\begin {bmatrix} 1\\ 1 \end {bmatrix} \\ \boldsymbol {x}_{2} & =e^{-2t}\begin {bmatrix} 1\\ 5 \end {bmatrix} \end {align*}

\[ x_{1}\left ( 0\right ) =0,x_{2}\left ( 0\right ) =5 \] Solution

The general solution is\begin {align} \boldsymbol {x}\left ( t\right ) & =c_{1}\boldsymbol {x}_{1}\left ( t\right ) +c_{2}\boldsymbol {x}_{2}\left ( t\right ) \nonumber \\\begin {bmatrix} x_{1}\left ( t\right ) \\ x_{2}\left ( t\right ) \end {bmatrix} & =c_{1}e^{2t}\begin {bmatrix} 1\\ 1 \end {bmatrix} +c_{2}e^{-2t}\begin {bmatrix} 1\\ 5 \end {bmatrix} \tag {1} \end {align}

At \(t=0\), the above becomes\begin {align*} \begin {bmatrix} 0\\ 5 \end {bmatrix} & =c_{1}\begin {bmatrix} 1\\ 1 \end {bmatrix} +c_{2}\begin {bmatrix} 1\\ 5 \end {bmatrix} \\\begin {bmatrix} 0\\ 5 \end {bmatrix} & =\begin {bmatrix} c_{1}+c_{2}\\ c_{1}+5c_{2}\end {bmatrix} \end {align*}

Two equations with two unknown. From first equation \(c_{1}=-c_{2}\). Substituting in the second equation gives \(5=-c_{2}+5c_{2}\) or \(4c_{2}=5\). Hence \(c_{2}=\frac {5}{4}\). Therefore \(c_{1}=-\frac {5}{4}\).Therefore the solution that satisfies the initial conditions is, from (1) \begin {align*} \begin {bmatrix} x_{1}\left ( t\right ) \\ x_{2}\left ( t\right ) \end {bmatrix} & =-\frac {5}{4}e^{2t}\begin {bmatrix} 1\\ 1 \end {bmatrix} +\frac {5}{4}e^{-2t}\begin {bmatrix} 1\\ 5 \end {bmatrix} \\ & =\begin {bmatrix} -\frac {5}{4}e^{2t}+\frac {5}{4}e^{-2t}\\ -\frac {5}{4}e^{2t}+\frac {25}{4}e^{-2t}\end {bmatrix} \end {align*}

Or\[ \boldsymbol {x}\left ( t\right ) =\frac {5}{4}\left ( -\boldsymbol {x}_{1}\left ( t\right ) +\boldsymbol {x}_{2}\left ( t\right ) \right ) \]

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.\begin {align*} \boldsymbol {x}^{\prime } & =\begin {bmatrix} 0 & 1 & 1\\ 1 & 0 & 1\\ 1 & 1 & 0 \end {bmatrix} \boldsymbol {x}\\ \boldsymbol {x}_{1} & =e^{2t}\begin {bmatrix} 1\\ 1\\ 1 \end {bmatrix} \\ \boldsymbol {x}_{2} & =e^{-t}\begin {bmatrix} 1\\ 0\\ -1 \end {bmatrix} \\ \boldsymbol {x}_{2} & =e^{-t}\begin {bmatrix} 0\\ 1\\ -1 \end {bmatrix} \end {align*}

\[ x_{1}\left ( 0\right ) =10,x_{2}\left ( 0\right ) =12,x_{3}\left ( 0\right ) =-1 \] Solution

The general solution is\begin {align} \boldsymbol {x}\left ( t\right ) & =c_{1}\boldsymbol {x}_{1}\left ( t\right ) +c_{2}\boldsymbol {x}_{2}\left ( t\right ) +c_{3}\boldsymbol {x}_{3}\left ( t\right ) \nonumber \\\begin {bmatrix} x_{1}\left ( t\right ) \\ x_{2}\left ( t\right ) \\ x_{3}\left ( t\right ) \end {bmatrix} & =c_{1}e^{2t}\begin {bmatrix} 1\\ 1\\ 1 \end {bmatrix} +c_{2}e^{-t}\begin {bmatrix} 1\\ 0\\ -1 \end {bmatrix} +c_{3}e^{-t}\begin {bmatrix} 0\\ 1\\ -1 \end {bmatrix} \tag {1} \end {align}

At \(t=0\), the above becomes\begin {align*} \begin {bmatrix} 10\\ 12\\ -1 \end {bmatrix} & =c_{1}\begin {bmatrix} 1\\ 1\\ 1 \end {bmatrix} +c_{2}\begin {bmatrix} 1\\ 0\\ -1 \end {bmatrix} +c_{3}\begin {bmatrix} 0\\ 1\\ -1 \end {bmatrix} \\\begin {bmatrix} 10\\ 12\\ -1 \end {bmatrix} & =\begin {bmatrix} c_{1}+c_{2}\\ c_{1}+c_{3}\\ c_{1}-c_{2}-c_{3}\end {bmatrix} \end {align*}

Therefore\begin {equation} \begin {bmatrix} 1 & 1 & 0\\ 1 & 0 & 1\\ 1 & -1 & -1 \end {bmatrix}\begin {bmatrix} c_{1}\\ c_{2}\\ c_{3}\end {bmatrix} =\begin {bmatrix} 10\\ 12\\ -1 \end {bmatrix} \tag {2} \end {equation} The augmented system is\[\begin {bmatrix} 1 & 1 & 0 & 10\\ 1 & 0 & 1 & 12\\ 1 & -1 & -1 & -1 \end {bmatrix} \] \(R_{2}\rightarrow R_{2}-R_{1}\)\[\begin {bmatrix} 1 & 1 & 0 & 10\\ 0 & -1 & 1 & 2\\ 1 & -1 & -1 & -1 \end {bmatrix} \] \(R_{3}\rightarrow R_{3}-R_{1}\)\[\begin {bmatrix} 1 & 1 & 0 & 10\\ 0 & -1 & 1 & 2\\ 0 & -2 & -1 & -11 \end {bmatrix} \] \(R_{3}\rightarrow R_{3}-2R_{2}\)\[\begin {bmatrix} 1 & 1 & 0 & 10\\ 0 & -1 & 1 & 2\\ 0 & 0 & -3 & -15 \end {bmatrix} \] Therefore the system (2) now is\begin {equation} \begin {bmatrix} 1 & 1 & 0\\ 0 & -1 & 1\\ 0 & 0 & -3 \end {bmatrix}\begin {bmatrix} c_{1}\\ c_{2}\\ c_{3}\end {bmatrix} =\begin {bmatrix} 10\\ 2\\ -15 \end {bmatrix} \tag {3} \end {equation} Last row gives \(c_{3}=5\). Second row gives \(-c_{2}+c_{3}=2\). Hence \(-c_{2}=2-5=-3\,\) or \(c_{2}=3\). First row gives \(c_{1}+c_{2}=10\). Hence \(c_{1}=10-3=7\). Therefore\[\begin {bmatrix} c_{1}\\ c_{2}\\ c_{3}\end {bmatrix} =\begin {bmatrix} 7\\ 3\\ 5 \end {bmatrix} \] Substituting these in (1) gives\[\begin {bmatrix} x_{1}\left ( t\right ) \\ x_{2}\left ( t\right ) \\ x_{3}\left ( t\right ) \end {bmatrix} =7e^{2t}\begin {bmatrix} 1\\ 1\\ 1 \end {bmatrix} +3e^{-t}\begin {bmatrix} 1\\ 0\\ -1 \end {bmatrix} +5e^{-t}\begin {bmatrix} 0\\ 1\\ -1 \end {bmatrix} \] or\[ \boldsymbol {x}\left ( t\right ) =7\boldsymbol {x}_{1}\left ( t\right ) +3\boldsymbol {x}_{2}\left ( t\right ) +5\boldsymbol {x}_{3}\left ( t\right ) \]

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 \(x_{1}\left ( t\right ) ,x_{2}\left ( t\right ) ,x_{3}\left ( t\right ) \) denote the amount of salt (in kilograms) in tanks 1, 2, and 3 respectively after \(t\) minutes. Write down differential equations for \(x_{1}^{\prime }\left ( t\right ) ,x_{2}^{\prime }\left ( t\right ) ,x_{3}^{\prime }\left ( t\right ) \,.\)(c) Write the system of differential equations in (b) as a matrix equation \(\boldsymbol {x}^{\prime }=P\boldsymbol {x}+\boldsymbol {f}\left ( t\right ) \). What are the initial conditions \(\boldsymbol {x}\left ( 0\right ) \) ?

Solution

2.9.10.1 Part (a)

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

\begin {align} x_{1}^{\prime }\left ( t\right ) & =\text {rate of flow in}-\text { rate of flow out}\nonumber \\ & =\left ( 15\left ( \frac {\text {L}}{\text {min}}\right ) 2\left ( \frac {\text {kg}}{\text {L}}\right ) \right ) +\left ( 5\left ( \frac {\text {L}}{\text {min}}\right ) \frac {x_{3}\left ( t\right ) }{V_{3}\left ( t\right ) }\left ( \frac {\text {kg}}{\text {L}}\right ) \right ) -\left ( 20\left ( \frac {\text {L}}{\text {min}}\right ) \frac {x_{1}\left ( t\right ) }{V_{1}\left ( t\right ) }\left ( \frac {\text {kg}}{\text {L}}\right ) \right ) \tag {1} \end {align}

And\begin {align} x_{2}^{\prime }\left ( t\right ) & =\text {rate of flow in}-\text { rate of flow out}\nonumber \\ & =\left ( 20\left ( \frac {\text {L}}{\text {min}}\right ) \frac {x_{1}\left ( t\right ) }{V_{1}\left ( t\right ) }\left ( \frac {\text {kg}}{\text {L}}\right ) \right ) -\left ( 20\left ( \frac {\text {L}}{\text {min}}\right ) \frac {x_{2}\left ( t\right ) }{V_{2}\left ( t\right ) }\left ( \frac {\text {kg}}{\text {L}}\right ) \right ) \tag {2} \end {align}

And\begin {align} x_{3}^{\prime }\left ( t\right ) & =\text {rate of flow in}-\text { rate of flow out}\nonumber \\ & =\left ( 20\left ( \frac {\text {L}}{\text {min}}\right ) \frac {x_{2}\left ( t\right ) }{V_{2}\left ( t\right ) }\left ( \frac {\text {kg}}{\text {L}}\right ) \right ) -\left ( 15\left ( \frac {\text {L}}{\text {min}}\right ) \frac {x_{3}\left ( t\right ) }{V_{3}\left ( t\right ) }\left ( \frac {\text {kg}}{\text {L}}\right ) \right ) -\left ( 5\left ( \frac {\text {L}}{\text {min}}\right ) \frac {x_{3}\left ( t\right ) }{V_{3}\left ( t\right ) }\left ( \frac {\text {kg}}{\text {L}}\right ) \right ) \tag {3} \end {align}

The volume of water at time \(t\) is found as follows. \(V\left ( t\right ) =V\left ( 0\right ) +\left ( \text {rate in-rate out}\right ) t\). Therefore\begin {align} V_{1}\left ( t\right ) & =V_{1}\left ( 0\right ) \left ( \text {L}\right ) +\left ( 15+5-20\right ) \left ( \frac {\text {L}}{\text {min}}\right ) t\nonumber \\ & =200+0t\tag {4}\\ & =200\nonumber \end {align}

And\begin {align} V_{2}\left ( t\right ) & =V_{2}\left ( 0\right ) \left ( \text {L}\right ) +\left ( 20-20\right ) \left ( \frac {\text {L}}{\text {min}}\right ) t\nonumber \\ & =100+0t\tag {5}\\ & =100\nonumber \end {align}

And\begin {align} V_{3}\left ( t\right ) & =V_{3}\left ( 0\right ) \left ( \text {L}\right ) +\left ( 20-5-15\right ) \left ( \frac {\text {L}}{\text {min}}\right ) t\nonumber \\ & =200+0t\tag {6}\\ & =200\nonumber \end {align}

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.\begin {align} x_{1}^{\prime }\left ( t\right ) & =30+\frac {5}{200}x_{3}-\frac {20}{200}x_{1}\nonumber \\ & =30+\frac {1}{40}x_{3}-\frac {1}{10}x_{1} \tag {7} \end {align}

And\begin {align} x_{2}^{\prime }\left ( t\right ) & =\frac {20}{200}x_{1}-\frac {20}{100}x_{2}\nonumber \\ & =\frac {1}{10}x_{1}-\frac {2}{10}x_{2} \tag {8} \end {align}

And\begin {align} x_{3}^{\prime }\left ( t\right ) & =\frac {20}{100}x_{2}-\frac {15}{200}x_{3}-\frac {5}{200}x_{3}\nonumber \\ & =\frac {2}{10}x_{2}-\frac {1}{10}x_{3} \tag {9} \end {align}

In summary, the differential equations are\begin {align*} x_{1}^{\prime }\left ( t\right ) & =30+\frac {1}{40}x_{3}\left ( t\right ) -\frac {1}{10}x_{1}\left ( t\right ) \\ x_{2}^{\prime }\left ( t\right ) & =\frac {1}{10}x_{1}\left ( t\right ) -\frac {2}{10}x_{2}\left ( t\right ) \\ x_{3}^{\prime }\left ( t\right ) & =\frac {2}{10}x_{2}\left ( t\right ) -\frac {1}{10}x_{3}\left ( t\right ) \end {align*}

2.9.10.3 Part (c)

In Matrix form, the solution found in part b is\begin {align*} \begin {bmatrix} x_{1}^{\prime }\left ( t\right ) \\ x_{2}^{\prime }\left ( t\right ) \\ x_{3}^{\prime }\left ( t\right ) \end {bmatrix} & =\begin {bmatrix} -\frac {1}{10} & 0 & \frac {1}{40}\\ \frac {1}{10} & -\frac {2}{10} & 0\\ 0 & \frac {2}{10} & -\frac {1}{10}\end {bmatrix}\begin {bmatrix} x_{1}\left ( t\right ) \\ x_{2}\left ( t\right ) \\ x_{3}\left ( t\right ) \end {bmatrix} +\begin {bmatrix} 30\\ 0\\ 0 \end {bmatrix} \\ & =\frac {1}{10}\begin {bmatrix} -1 & 0 & \frac {1}{4}\\ 1 & -2 & 0\\ 0 & 2 & -1 \end {bmatrix}\begin {bmatrix} x_{1}\left ( t\right ) \\ x_{2}\left ( t\right ) \\ x_{3}\left ( t\right ) \end {bmatrix} +\begin {bmatrix} 30\\ 0\\ 0 \end {bmatrix} \\ \boldsymbol {x}^{\prime } & =P\boldsymbol {x}+\boldsymbol {f}\left ( t\right ) \end {align*}

The initial conditions are\[\begin {bmatrix} x_{1}\left ( 0\right ) \\ x_{2}\left ( 0\right ) \\ x_{3}\left ( 0\right ) \end {bmatrix} =\begin {bmatrix} 0\\ 10\\ 0 \end {bmatrix} \ \text {(kg)}\]

2.9.11 key solution for HW9

PDF