The solution of differential equation ydx−1+e−xy2dy=0 is
eyx=y+c
ex=y2+cy
ey=y2+cx
ex=y2+cx
ydx−dy=e−xy2dyex(ydx−dy)y2=dy⇒dexy=dy integrations both sides ex=y2+cy