Question
Mathematics Question on Differential equations
Find the general solution: (x+y)dxdy=1
Answer
(x+y)dydx = 1
⇒$$\frac {dx}{dy}= x+y1
⇒$$\frac {dx}{dy} = x+y
⇒$$\frac {dx}{dy} - x = y
This is a linear differential equation of the form:
dydx + px = Q (where p=-1 and Q=y)
Now, I.F. = e∫pdy= e-y.
The general solution of the given differential equation is given by the relation,
x(I.F.) = ∫(Q×I.F.)dy + C
⇒xe-y = ∫(y.e-y)dy + C
⇒xe-y = y.∫e-ydy-∫[dyd(y)∫e-y dy]dy+C
⇒xe-y = y(-e-y)-∫(-e-y)dy + C
⇒xe-y = - ye-y+∫e-ydy+C
⇒xe-y = -ye-y-e-y+C
⇒x = - y-1+e−yC
⇒x+y+1 = Cey