Solve the differential equation
yexydx=(xexy+y2)dy(y≠0)
Given, differential equation is yexydx=(xexy+y2)dy
⇒exydxdy=xyexy+y⇒exydxdy−xyexy=y……(i)
On putting xy=v⇒x=vy⇒dxdy=v+ydvdx
The Eq. (i) becomes
ev(v+ydvdy)−vev=y⇒evdvdy=1⇒evdv=dy
On integrating both sides, we get
∫ev dv=∫1 dy=ev=y+C⇒exy=y+C