Question
Mathematics Question on Differential equations
The solution of the differential equation dxdy=x+y21 is
A
y=−x2−2x−2+cex
B
y=x2+2x+2−cex
C
x=−y2−2y+2−cey
D
x=−y2−2y−2+cey
Answer
x=−y2−2y−2+cey
Explanation
Solution
Given differential equation is dxdy=x+y21 ⇒ dydx−x=y2 Here, P=−1,Q=y2 If =e∫−1dy=e−y ∴ Solution is xe−y=∫e−yy2dy =−e−yy2+∫2e−yydy =−e−yy2+2[−e−yy+∫e−ydy]+c =−e−yy2+2[−e−yy−e−y]+c ⇒ xe−y=e−y(−y2−2y−2)+c ⇒ x=−y2−2y−2+cey