3.10 problem 10

Internal problem ID [36]

Book: Differential equations and linear algebra, 3rd ed., Edwards and Penney
Section: Section 1.4. Separable equations. Page 43
Problem number: 10.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_separable]

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

Solution by Maple

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

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

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

Solution by Mathematica

Time used: 0.19 (sec). Leaf size: 25

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

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