1.2 problem 2

Internal problem ID [5076]

Book: Engineering Mathematics. By K. A. Stroud. 5th edition. Industrial press Inc. NY. 2001
Section: Program 24. First order differential equations. Test excercise 24. page 1067
Problem number: 2.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_separable]

\[ \boxed {\left (1+x \right )^{2} y^{\prime }-y^{2}=1} \]

Solution by Maple

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

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

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

Solution by Mathematica

Time used: 0.264 (sec). Leaf size: 32

DSolve[(1+x)^2*y'[x]==1+y[x]^2,y[x],x,IncludeSingularSolutions -> True]
 

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