Show that the given differential equation is homogeneous and then solve it.
xdy−ydx=√x2+y2dx
Given, xdy−ydx=√x2+y2dx
⇒dydx=y+√x2+y2x ...(i)
Here, the numerator and denominator both have polynomial of degree 1. So, the given differential equation is homogeneous.
So, put y=vx
⇒dydx=v+xdvdx,then Eq. (i) becomes
v+xdvdx=vx+√x2+x2v2x
⇒v+xdvdx=x[v+√1+v2]x⇒v+xdvdx=v+√1+v2⇒1√1+v2dv=1xdx
On integrating both sides, we get
∫1√1+v2dv=∫dxx⇒log(v+√1+v2)=logx+C [∵∫dx√x2+a2=log|x+√x2+a2|+C]
⇒log[yx+√1+(yx)2]=logx+logC (Put v=yx)
⇒log[yx+√x2+y2x2]=log(xC) [∵logm+logn=logmn]
⇒yx+x2+y2x=Cx
⇒y+√x2+y2=Cx2
which is the required solutions.