Question
Mathematics Question on Differential equations
The solution of the differential equation xdy+ydx=xydx when y(1)=1 is
A
y=xex
B
exex
C
y=exex
D
none of these
Answer
exex
Explanation
Solution
From given xyxdy+ydx=dx On integration, we get loge(xy)=x+k ∴x=1, y=1 ⇒k=−1 ⇒xy=ex−1 ⇒xy=eex ∴y=exex