6.7 problem Exercise 12.7, page 103

Internal problem ID [4528]

Book: Ordinary Differential Equations, By Tenenbaum and Pollard. Dover, NY 1963
Section: Chapter 2. Special types of differential equations of the first kind. Lesson 12, Miscellaneous Methods
Problem number: Exercise 12.7, page 103.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [[_homogeneous, `class A`], _rational, _dAlembert]

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

Solution by Maple

Time used: 0.016 (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}+\sqrt {x^{2}+y \left (x \right )^{2}}+y \left (x \right )}{x^{2}} = 0 \]

Solution by Mathematica

Time used: 0.337 (sec). Leaf size: 27

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

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