82.12.2 problem Ex. 2

Internal problem ID [18767]
Book : Introductory Course On Differential Equations by Daniel A Murray. Longmans Green and Co. NY. 1924
Section : Chapter II. Equations of the first order and of the first degree. Examples on chapter II at page 29
Problem number : Ex. 2
Date solved : Tuesday, January 28, 2025 at 12:15:45 PM
CAS classification : [[_homogeneous, `class A`], _rational, _dAlembert]

\begin{align*} -y+x y^{\prime }&=\sqrt {x^{2}+y^{2}} \end{align*}

Solution by Maple

Time used: 0.006 (sec). Leaf size: 26

dsolve(x*diff(y(x),x)-y(x)=sqrt(x^2+y(x)^2),y(x), singsol=all)
 
\[ \frac {-c_{1} x^{2}+y \left (x \right )+\sqrt {x^{2}+y \left (x \right )^{2}}}{x^{2}} = 0 \]

Solution by Mathematica

Time used: 0.289 (sec). Leaf size: 13

DSolve[x*D[y[x],x]-y[x]==Sqrt[x^2+y[x]^2],y[x],x,IncludeSingularSolutions -> True]
 
\[ y(x)\to x \sinh (\log (x)+c_1) \]