1.4 problem Problem 10

Internal problem ID [2081]

Book: Differential equations and linear algebra, Stephen W. Goode and Scott A Annin. Fourth edition, 2015
Section: Chapter 1, First-Order Differential Equations. Section 1.2, Basic Ideas and Terminology. page 21
Problem number: Problem 10.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_quadrature]

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

Solution by Maple

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

dsolve(diff(y(x),x)=-y(x)^2,y(x), singsol=all)
 

\[ y \relax (x ) = \frac {1}{c_{1}+x} \]

Solution by Mathematica

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

DSolve[y'[x]==-y[x]^2,y[x],x,IncludeSingularSolutions -> True]
 

\begin{align*} y(x)\to \frac {1}{x-c_1} \\ y(x)\to 0 \\ \end{align*}