Clear Notion Academy

Variable Separable Equations and Reducible Forms — DPP: Solve dy dx = (x+1)e x-y with y(0)=0 . Find y(1) .

Question

Solve dydx=(x+1)ex−y\frac{dy}{dx} = (x+1)e^{x-y} with y(0)=0y(0)=0. Find y(1)y(1).

Options

  1. ln⁡(e+1)\ln(e+1)
  2. ln⁡(2e)\ln(2e)
  3. e+1e+1
  4. ln⁡(e−1)\ln(e-1)

Answer

Correct option: A

Hint

Rewrite ex−ye^{x-y} as ex⋅e−ye^{x}\cdot e^{-y} and move all yy-terms to one side; the xx-side integral needs integration by parts.

Solution

Write ex−y=exe−ye^{x-y} = e^{x}e^{-y}, so the equation becomes eydy=(x+1)exdxe^{y}dy = (x+1)e^{x}dx, which is separable. By parts, ∫(x+1)exdx=(x+1)ex−ex=xex\int(x+1)e^{x}dx = (x+1)e^{x} - e^{x} = xe^{x}. So ey=xex+Ce^{y} = xe^{x} + C. Using y(0)=0y(0)=0: e0=1=0+Ce^{0}=1 = 0 + C, so C=1C=1, giving ey=xex+1e^{y} = xe^{x}+1. At x=1x=1: ey=e+1e^{y} = e+1, so y=ln⁡(e+1)y = \ln(e+1).

More questions from Variable Separable Equations and Reducible Forms — DPP

Practise the full set: Variable Separable Equations and Reducible Forms — DPP