2.2 problem 1.1-3 (b)

Internal problem ID [2455]

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]

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

Solution by Maple

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

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

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

Solution by Mathematica

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

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

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