An equation of the curve satisfying xdy-ydx=x2-y2dx and y(1)=0 is
y=x2logsinx
y=xsinlogx
y2=xx−12
y=2x2x−1
The equation can be written as x2xdy-ydxx2=x1-(y/x)2dx
⇒dy/x1−y/x2=dxx⇒sin−1y/x=logx+cont
Since y(1)=0 so const =0. Hence y=xsin(log|x|)