73.27.9 problem 38.10 (c)

Internal problem ID [15765]
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)
Date solved : Tuesday, January 28, 2025 at 08:06:50 AM
CAS classification : system_of_ODEs

\begin{align*} \frac {d}{d t}x \left (t \right )&=2 y \left (t \right )\\ \frac {d}{d t}y \left (t \right )&=-2 x \left (t \right ) \end{align*}

Solution by Maple

Time used: 0.028 (sec). Leaf size: 34

dsolve([diff(x(t),t)=2*y(t),diff(y(t),t)=-2*x(t)],singsol=all)
 
\begin{align*} x \left (t \right ) &= c_{1} \sin \left (2 t \right )+c_{2} \cos \left (2 t \right ) \\ y \left (t \right ) &= -\sin \left (2 t \right ) c_{2} +\cos \left (2 t \right ) c_{1} \\ \end{align*}

Solution by Mathematica

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

DSolve[{D[x[t],t]==2*y[t],D[y[t],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*}