exy(1−xy)+(1+exy)dxdy=0
⇒dxdy=exy(1−xy)1+exy ...(i)
Since (i) is of the form dxdy=g(xy). It is a homogeneous differential equation.
Put x=vy
⇒dxdy=v+ydvdy
Substituting the values of x and dxdy in (i), we get
v+ydvdy=−ev(1−v)1+ev
⇒ydvdy=−ev(1−v)1+ev−v
=−v−ev1+ev
⇒1+evv+evdv=−dyy
On integrating both sides, we get
log|v+ev|=−log|y|+c
⇒log|y(v+ev)|=c
⇒y(xy+exy)=±ec
⇒x+yexy=A ...(i)
Where, A is arbitrary constant.
When x=0,y=1, A=1 [∵0+1e0/1=0+1×1=1]
Substituting this value of A in equation (i), we get
x+yexy=1, which is the required particular solution.