3.34 problem 28

Internal problem ID [13838]

Book: INTRODUCTORY DIFFERENTIAL EQUATIONS. Martha L. Abell, James P. Braselton. Fourth edition 2014. ElScAe. 2014
Section: Chapter 2. First Order Equations. Exercises 2.1, page 32
Problem number: 28.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_quadrature]

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

Solution by Maple

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

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

\[ y = \frac {1}{\sqrt {2 t +4}} \]

Solution by Mathematica

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

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

\[ y(t)\to \frac {i}{\sqrt {-2 t-4}} \]