Question:

Given that \[ \frac{dy}{dx}=ye^x \] and when \[ x=0,\quad y=e, \] then the value of \(y\) (\(y>0\)) when \(x=1\) is

Show Hint

For equations of the form \[ \frac{dy}{dx}=y\,f(x), \] separate variables: \[ \frac{dy}{y}=f(x)\,dx, \] integrate, and then apply the initial condition.
Updated On: Jul 9, 2026
  • \[ \frac1e \]
  • \[ e \]
  • \[ e^e \]
  • \[ \log e \] \bigskip
Show Solution
collegedunia
Verified By Collegedunia

The Correct Option is C

Solution and Explanation

Concept: The given differential equation is separable.

Step 1:
Separate the variables. \[ \frac{dy}{dx}=ye^x. \] \[ \frac{dy}{y}=e^x\,dx. \]

Step 2:
Integrate both sides. \[ \int \frac{dy}{y} = \int e^x\,dx. \] \[ \ln y = e^x+C. \] \[ y=e^{\,e^x+C} = Ke^{e^x}, \] where \[ K=e^C. \]

Step 3:
Use the initial condition. Given \[ x=0,\qquad y=e. \] Substituting, \[ e = K e^{e^0} = K e. \] Hence \[ K=1. \] Therefore, \[ y=e^{e^x}. \]

Step 4:
Find \(y\) when \(x=1\). \[ y=e^{e^1}. \] \[ y=e^e. \]

Step 5:
Write the final answer. \[ \boxed{e^e} \]
Was this answer helpful?
0
0