19.15 problem 15

Internal problem ID [806]

Book: Elementary differential equations and boundary value problems, 10th ed., Boyce and DiPrima
Section: Chapter 9.1, The Phase Plane: Linear Systems. page 505
Problem number: 15.
ODE order: 1.
ODE degree: 1.

Solve \begin {align*} x_{1}^{\prime }\left (t \right )&=-x_{1} \left (t \right )-x_{2} \left (t \right )-1\\ x_{2}^{\prime }\left (t \right )&=2 x_{1} \left (t \right )-x_{2} \left (t \right )+5 \end {align*}

Solution by Maple

Time used: 0.032 (sec). Leaf size: 61

dsolve([diff(x__1(t),t)=-1*x__1(t)-1*x__2(t)-1,diff(x__2(t),t)=2*x__1(t)-1*x__2(t)+5],[x__1(t), x__2(t)], singsol=all)
 

\[ x_{1} \left (t \right ) = -2-\frac {\sqrt {2}\, {\mathrm e}^{-t} \left (c_{1} \sin \left (t \sqrt {2}\right )-c_{2} \cos \left (t \sqrt {2}\right )\right )}{2} \] \[ x_{2} \left (t \right ) = 1+{\mathrm e}^{-t} \left (c_{2} \sin \left (t \sqrt {2}\right )+\cos \left (t \sqrt {2}\right ) c_{1} \right ) \]

Solution by Mathematica

Time used: 0.414 (sec). Leaf size: 85

DSolve[{x1'[t]==-1*x1[t]-1*x2[t]-1,x2'[t]==2*x1[t]-1*x2[t]+5},{x1[t],x2[t]},t,IncludeSingularSolutions -> True]
 

\begin{align*} \text {x1}(t)\to c_1 e^{-t} \cos \left (\sqrt {2} t\right )-\frac {c_2 e^{-t} \sin \left (\sqrt {2} t\right )}{\sqrt {2}}-2 \text {x2}(t)\to e^{-t} \left (e^t+c_2 \cos \left (\sqrt {2} t\right )+\sqrt {2} c_1 \sin \left (\sqrt {2} t\right )\right ) \end{align*}