1.10 problem 24

Internal problem ID [12583]

Book: Ordinary Differential Equations by Charles E. Roberts, Jr. CRC Press. 2010
Section: Chapter 1. Introduction. Exercises page 14
Problem number: 24.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_quadrature]

\[ \boxed {y^{\prime }-y^{2}=1} \]

Solution by Maple

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

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

\[ y \left (x \right ) = \tan \left (c_{1} +x \right ) \]

Solution by Mathematica

Time used: 0.213 (sec). Leaf size: 24

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

\begin{align*} y(x)\to \tan (x+c_1) \\ y(x)\to -i \\ y(x)\to i \\ \end{align*}