1.24 problem 27

Internal problem ID [12568]

Book: DIFFERENTIAL EQUATIONS by Paul Blanchard, Robert L. Devaney, Glen R. Hall. 4th edition. Brooks/Cole. Boston, USA. 2012
Section: Chapter 1. First-Order Differential Equations. Exercises section 1.2. page 33
Problem number: 27.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_quadrature]

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

Solution by Maple

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

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

\[ y \left (t \right ) = \frac {1}{t +2} \]

Solution by Mathematica

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

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

\[ y(t)\to \frac {1}{t+2} \]