I'm trying to find a general solution for this equation
$xy'=y+\sqrt{x^2+y^2}$
I got $\tan\frac{y}{x}+\sec\frac{y}{x} = x + c$ as an answer.
I substituted $y=vx$ and it led me to the trig-related answer.
The answer sheet gives $y+\sqrt{x^2+y^2} = Cx^2$.
I honestly how to derive this. Can I get some help here?
$$y'=\frac{y}{x}+\sqrt{1+\left(\frac{y}{x}\right)^2}$$ $$u=\frac{y}{x}$$ $$u+xu'=u+\sqrt{1+u^2}$$ Separable ODE : $$\int\frac{dx}{x}=\ln|x[+c_1=\int\frac{u'}{\sqrt{1+u^2}}=\sinh^{-1}(u)+c_2$$ $$u=\sinh\left(\ln|cx[\right)=\frac12\left(cx-\frac{1}{cx}\right)$$ $$y=\frac12\left(cx^2-\frac{1}{c}\right)$$ $x^2=\frac{2}{c}y+\frac{1}{c^2}\quad;\quad x^2+y^2=\frac{2}{c}y+\frac{1}{c^2}+y^2=\left(y+\frac{1}{c}\right)^2$
$y+\sqrt{x^2+y^2}=y+(y+\frac{1}{c})=2y+\frac{1}{c}=\left(cx^2-\frac{1}{c}\right)+\frac{1}{c}$ $$y+\sqrt{x^2+y^2}=cx^2$$