2.2 problem 1.1-3 (b)

Internal problem ID [1946]

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

CAS Maple gives this as type [_quadrature]

Solve \begin {gather*} \boxed {y^{\prime }+y^{3}=0} \end {gather*} With initial conditions \begin {align*} [y \relax (1) = 3] \end {align*}

Solution by Maple

Time used: 0.032 (sec). Leaf size: 13

dsolve([diff(y(t),t)=-y(t)^3,y(1) = 3],y(t), singsol=all)
 

\[ y \relax (t ) = \frac {3}{\sqrt {18 t -17}} \]

Solution by Mathematica

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

DSolve[{y'[t]==-y[t]^3,y[1]==3},y[t],t,IncludeSingularSolutions -> True]
 

\begin{align*} y(t)\to \frac {3}{\sqrt {18 t-17}} \\ \end{align*}