Question
Mathematics Question on Differential equations
The solution of the differential equation dxdy=xy+xxy+y is
A
x+y−logxcy
B
x+y=log(cxy)
C
x−y−logycx
D
y−x=logycx
Answer
y−x=logycx
Explanation
Solution
dxdy=xy+xdy+y ⇒dxdy=x(y+1)y(x+1) ⇒∫(yy+1)dy=∫(xx+1)dx ⇒∫(1+y1)dy=∫(1+x1)dx ⇒y+logy=x+logx+logc ⇒y−x+logy−logx=logc ⇒y−x+logyx=logc ⇒y−x=logc−logxy ⇒y−x=logc+logxy ⇒y−x=log(ycx)