27.9 problem 38.10 (c)

Internal problem ID [13709]

Book: Ordinary Differential Equations. An introduction to the fundamentals. Kenneth B. Howell. second edition. CRC Press. FL, USA. 2020
Section: Chapter 38. Systems of differential equations. A starting point. Additional Exercises. page 786
Problem number: 38.10 (c).
ODE order: 1.
ODE degree: 1.

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

Solution by Maple

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

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

\begin{align*} x \left (t \right ) = -c_{1} \cos \left (2 t \right )+c_{2} \sin \left (2 t \right ) y \left (t \right ) = c_{1} \sin \left (2 t \right )+c_{2} \cos \left (2 t \right ) \end{align*}

Solution by Mathematica

Time used: 0.002 (sec). Leaf size: 39

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

\begin{align*} x(t)\to c_1 \cos (2 t)+c_2 \sin (2 t) y(t)\to c_2 \cos (2 t)-c_1 \sin (2 t) \end{align*}