3.2 problem 1.1-4 (b)

Internal problem ID [1952]

Book: Ordinary Differential Equations, Robert H. Martin, 1983
Section: Problem 1.1-4, page 7
Problem number: 1.1-4 (b).
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_separable]

Solve \begin {gather*} \boxed {y^{\prime }+\frac {t}{y}=0} \end {gather*}

Solution by Maple

Time used: 0.015 (sec). Leaf size: 27

dsolve(diff(y(t),t)=-t/y(t),y(t), singsol=all)
 

\begin{align*} y \relax (t ) = \sqrt {-t^{2}+c_{1}} \\ y \relax (t ) = -\sqrt {-t^{2}+c_{1}} \\ \end{align*}

Solution by Mathematica

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

DSolve[y'[t]==-t/y[t],y[t],t,IncludeSingularSolutions -> True]
 

\begin{align*} y(t)\to -\sqrt {-t^2+2 c_1} \\ y(t)\to \sqrt {-t^2+2 c_1} \\ \end{align*}