Solveeit Logo

Question

Mathematics Question on Differential equations

Find the general solution: (x+y)dydx=1(x+y)\frac {dy}{dx}=1

Answer

(x+y)dxdy\frac {dx}{dy} = 1

⇒$$\frac {dx}{dy}= 1x+y\frac {1}{x+y}

⇒$$\frac {dx}{dy} = x+y

⇒$$\frac {dx}{dy} - x = y

This is a linear differential equation of the form:

dxdy\frac {dx}{dy} + 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.) = \int(Q×I.F.)dy + C

xe-y = \int(y.e-y)dy + C

xe-y = y.∫e-ydy-\int[ddy\frac {d}{dy}(y)\inte-y dy]dy+C

xe-y = y(-e-y)-\int(-e-y)dy + C

xe-y = - ye-y+\inte-ydy+C

xe-y = -ye-y-e-y+C

x = - y-1+Cey\frac {C}{e^{-y}}

x+y+1 = Cey