Question
Mathematics Question on General and Particular Solutions of a Differential Equation
Solution of dxdy−y=1, y(0)=1 is given by
A
xy=−ex
B
xy=−e−x
C
xy=−1
D
y=2ex−1
Answer
y=2ex−1
Explanation
Solution
dxdy−y=1 ⇒dxdy=1+y ⇒1+ydy=dx On integrating, we get log(1+y)=x+c Now, y(0)=1 ⇒log2=c ∴log(1+y)=x+log2 ⇒21+y=ex ⇒1+y=2ex ⇒y=2ex−1