1.21 problem 5(b)

Internal problem ID [3049]

Book: Elementary Differential equations, Chaundy, 1969
Section: Exercises 3, page 60
Problem number: 5(b).
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_linear]

\[ \boxed {\sqrt {x^{2}+1}\, y^{\prime }-y=2 \sqrt {x^{2}+1}} \]

Solution by Maple

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

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

\[ y \left (x \right ) = \left (x \sqrt {x^{2}+1}+\operatorname {arcsinh}\left (x \right )-x^{2}+c_{1} \right ) \left (x +\sqrt {x^{2}+1}\right ) \]

Solution by Mathematica

Time used: 0.082 (sec). Leaf size: 55

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

\[ y(x)\to \frac {x^2-\sqrt {x^2+1} x+\log \left (\sqrt {x^2+1}-x\right )-c_1}{x-\sqrt {x^2+1}} \]