4.70 problem 67

Internal problem ID [6537]

Book: Own collection of miscellaneous problems
Section: section 4.0
Problem number: 67.
ODE order: 1.
ODE degree: 1.

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

Solution by Maple

Time used: 0.031 (sec). Leaf size: 68

dsolve([diff(x(t),t)=x(t)+2*y(t)+2*t+1,diff(y(t),t)=5*x(t)+y(t)+3*t-1],[x(t), y(t)], singsol=all)
 

\[ x \left (t \right ) = \frac {{\mathrm e}^{\left (1+\sqrt {10}\right ) t} c_{2} \sqrt {10}}{5}-\frac {{\mathrm e}^{-\left (-1+\sqrt {10}\right ) t} c_{1} \sqrt {10}}{5}-\frac {4 t}{9}+\frac {17}{81} \] \[ y \left (t \right ) = {\mathrm e}^{\left (1+\sqrt {10}\right ) t} c_{2} +{\mathrm e}^{-\left (-1+\sqrt {10}\right ) t} c_{1} -\frac {7 t}{9}-\frac {67}{81} \]

Solution by Mathematica

Time used: 10.731 (sec). Leaf size: 96

DSolve[{x'[t]==x[t]+2*y[t]+2*t+1,y'[t]==5*x[t]+y[t]+3*t-1},{x[t],y[t]},t,IncludeSingularSolutions -> True]
 

\begin{align*} x(t)\to -\frac {4 t}{9}+c_1 e^t \cosh \left (\sqrt {10} t\right )+\sqrt {\frac {2}{5}} c_2 e^t \sinh \left (\sqrt {10} t\right )+\frac {17}{81} \\ y(t)\to -\frac {7 t}{9}+c_2 e^t \cosh \left (\sqrt {10} t\right )+\sqrt {\frac {5}{2}} c_1 e^t \sinh \left (\sqrt {10} t\right )-\frac {67}{81} \\ \end{align*}