14.11 problem 392

Internal problem ID [3138]

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]

Solve \begin {gather*} \boxed {y^{\prime } \sqrt {a^{2}+x^{2}}+x +y-\sqrt {a^{2}+x^{2}}=0} \end {gather*}

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 \relax (x ) = \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.078 (sec). Leaf size: 73

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 \frac {\sqrt {1-\frac {x}{\sqrt {a^2+x^2}}} \left (\int _1^x\sqrt {\frac {a^2}{a^2+K[1]^2}}dK[1]+c_1\right )}{\sqrt {\frac {x}{\sqrt {a^2+x^2}}+1}} \\ \end{align*}