Skip to main contentSkip to solution

If curve represented by differential equation xdydx+y=exx \frac{dy}{dx} + y = e^x passes through (1, 1), then y(−1)y(-1) is :

Solution

✅ Correct Option: 4

xdydx+y=ex⇒ddx(xy)=exx \frac{dy}{dx} + y = e^x \Rightarrow \frac{d}{dx}(xy) = e^x.

Integrating: xy=ex+Cxy = e^x + C.

At (1,1)(1, 1): 1=e+C⇒C=1−e1 = e + C \Rightarrow C = 1 - e.

So xy=ex+1−exy = e^x + 1 - e.

At x=−1x = -1: −y=e−1+1−e⇒y=e−1−1e=e2−e−1e=e2−(e+1)e-y = e^{-1} + 1 - e \Rightarrow y = e - 1 - \frac{1}{e} = \frac{e^2 - e - 1}{e} = \frac{e^2 - (e+1)}{e}.

Keyboard Shortcuts

  • Left arrow: Previous question
  • Right arrow: Next question
  • S key: Jump to solution
  • Q key: Jump to question