Question:

The particular solution of the differential equation \(\frac{dy}{dx}-e^{x}=ye^{x}\), when \(x=0\) and \(y=1\) is

Show Hint

Separate the variables and use the initial condition to find the constant.
Updated On: Nov 17, 2026
  • \(\log \left(\frac{y+1}{2}\right)=\frac{e^{x}}{2}-\frac{1}{2}\)
  • \(\log \left(\frac{y+1}{2}\right)=e^{x}-1\)
  • \(\log (y-1)=e^{x}-1\)
  • \(\log 2(y-1)=e^{x}-1\)
Show Solution
collegedunia
Verified By Collegedunia

The Correct Option is B

Solution and Explanation

Step 1: Understanding the Concept
Rewrite \(\dfrac{dy}{dx}=e^{x}(1+y)\), which is a separable equation.

Step 2: Calculation
\(\displaystyle\int\dfrac{dy}{1+y}=\int e^{x}dx\Rightarrow \log(1+y)=e^{x}+c\).
At \(x=0,\,y=1\): \(\log 2=1+c\Rightarrow c=\log 2-1\).

Step 3: Result
\(\log(1+y)-\log 2=e^{x}-1\), i.e. \(\log\dfrac{y+1}{2}=e^{x}-1\).

Final Answer:
The particular solution is log((y+1)/2) = e^x - 1. \[ \boxed{\text{(B) }\log\left(\dfrac{y+1}{2}\right)=e^{x}-1} \]
Was this answer helpful?
0
0