14.11 problem 392

Internal problem ID [3137]

Book: Ordinary differential equations and their solutions. By George Moseley Murphy. 1960
Section: Various 14
Problem number: 392.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_linear]

\[ \boxed {y^{\prime } \sqrt {a^{2}+x^{2}}+x +y-\sqrt {a^{2}+x^{2}}=0} \]

Solution by Maple

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

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

\[ y \left (x \right ) = \frac {a^{2} \ln \left (x +\sqrt {a^{2}+x^{2}}\right )+c_{1}}{x +\sqrt {a^{2}+x^{2}}} \]

Solution by Mathematica

Time used: 8.132 (sec). Leaf size: 78

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

\begin{align*} y(x)\to \left (\sqrt {a^2+x^2}-x\right ) \text {arctanh}\left (\frac {x}{\sqrt {a^2+x^2}}\right )+\frac {c_1 \sqrt {1-\frac {x}{\sqrt {a^2+x^2}}}}{\sqrt {\frac {x}{\sqrt {a^2+x^2}}+1}} \\ \end{align*}