Question
Question: The particular solution of the differential equation $\frac{dy}{dx}-e^x = ye^x$, when $x = 0$ and $y...
The particular solution of the differential equation dxdy−ex=yex, when x=0 and y=1 is

A
log(2y+1)=ex−1
B
log(y−1)=ex−1
C
log2(y−1)=ex−1
D
log(2y+1)=2ex−21
Answer
log(2y+1)=ex−1
Explanation
Solution
Given the differential equation:
dxdy−ex=yexRearrange to:
dxdy=ex(y+1)Separate variables:
y+1dy=exdxIntegrate both sides:
∫y+1dy=∫exdx⇒ln∣y+1∣=ex+CApply the initial condition x=0 and y=1:
ln∣1+1∣=e0+C⇒ln2=1+C⇒C=ln2−1Thus, the particular solution becomes:
ln∣y+1∣=ex+ln2−1⇒ln(2y+1)=ex−1