The solution of differential equation (1+x)ydx+(1-y)xdy=0 is
loge(xy)+x–y=C
logexy+x+y=C
logexy-x+y=C
loge(xy)-x+y=C
Explanation for the correct option:
Find the solution of the given differential equation.
Given: (1+x)ydx+(1-y)xdy=0
We can also write as,
⇒(1+x)ydx=−(1−y)xdy⇒1+xxdx=-1−yydy⇒1x+1dx=-1y+1dy
On integrating both sides, we get
∫1x+1dx=∫−1y+1dy⇒∫1xdx+∫1dx=-∫1ydy+∫1dy⇒logex+x=-logey+y+C⇒logex+logey=y-x+C⇒logexy+x-y=C
Hence, option (A) is the correct answer.
The solution of the differential equation dydx=1+x+y+xy is