20.1.4 problem Problem 10

Internal problem ID [3561]
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
Date solved : Monday, January 27, 2025 at 07:44:02 AM
CAS classification : [_quadrature]

\begin{align*} y^{\prime }&=-y^{2} \end{align*}

Solution by Maple

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

dsolve(diff(y(x),x)=-y(x)^2,y(x), singsol=all)
 
\[ y \left (x \right ) = \frac {1}{x +c_{1}} \]

Solution by Mathematica

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

DSolve[D[y[x],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*}