1.191 problem 192

Internal problem ID [7772]

Book: Differential Gleichungen, E. Kamke, 3rd ed. Chelsea Pub. NY, 1948
Section: Chapter 1, linear first order
Problem number: 192.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_linear]

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

Solution by Maple

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

dsolve(sqrt(x^2+a^2)*diff(y(x),x) + y(x) - sqrt(x^2+a^2) + x=0,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.191 (sec). Leaf size: 73

DSolve[Sqrt[x^2+a^2]*y'[x] + y[x] - Sqrt[x^2+a^2] + x==0,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*}