4.70 problem 67

Internal problem ID [6538]

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

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

Solution by Maple

Time used: 0.109 (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 \relax (t ) = \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 \relax (t ) = {\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: 2.81 (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*}