1.73 problem 73

Internal problem ID [6364]

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

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

Solution by Maple

Time used: 0.094 (sec). Leaf size: 35

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

\[ x \relax (t ) = -\frac {{\mathrm e}^{3 t} \left (2 t c_{2}+2 c_{1}-c_{2}\right )}{2} \] \[ y \relax (t ) = {\mathrm e}^{3 t} \left (t c_{2}+c_{1}\right ) \]

Solution by Mathematica

Time used: 0.004 (sec). Leaf size: 44

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

\begin{align*} x(t)\to e^{3 t} (-2 c_1 t-2 c_2 t+c_1) \\ y(t)\to e^{3 t} (2 (c_1+c_2) t+c_2) \\ \end{align*}