12.13 problem 21(b)

Internal problem ID [13124]

Book: DIFFERENTIAL EQUATIONS by Paul Blanchard, Robert L. Devaney, Glen R. Hall. 4th edition. Brooks/Cole. Boston, USA. 2012
Section: Chapter 3. Linear Systems. Exercises section 3.5 page 327
Problem number: 21(b).
ODE order: 1.
ODE degree: 1.

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

Solution by Maple

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

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

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

Solution by Mathematica

Time used: 0.003 (sec). Leaf size: 18

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

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