22.8 problem 4(h)

Internal problem ID [11562]

Book: A First Course in Differential Equations by J. David Logan. Third Edition. Springer-Verlag, NY. 2015.
Section: Chapter 4, Linear Systems. Exercises page 237
Problem number: 4(h).
ODE order: 1.
ODE degree: 1.

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

Solution by Maple

Time used: 0.0 (sec). Leaf size: 36

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

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

Solution by Mathematica

Time used: 0.007 (sec). Leaf size: 42

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

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