PrepRung

NDA 2017 Maths · Mathematics · Differential Equations · medium

If y(x) satisfies dy/dx+y=e^-x with y(0)=1, then y(1) equals

Single correct option

If y(x)y(x) satisfies dydx+y=e−x\dfrac{dy}{dx}+y=e^{-x} with y(0)=1y(0)=1, then y(1)y(1) equals
  1. A. 2e\frac2e
  2. B. 1e\frac1e
  3. C. 2e2e
  4. D. ee
Show answer and solution

Answer: (A) 2e\frac2e

The integrating factor is exe^x, so ddx(yex)=1\frac{d}{dx}(ye^x)=1 and yex=x+Cye^x=x+C. From y(0)=1y(0)=1, C=1C=1, hence y=(x+1)e−xy=(x+1)e^{-x} and y(1)=2ey(1)=\frac2e. Without the constant C=1C=1 one would get 1e\frac1e.
Report a mistake

Original question written in the NDA 2017 Maths pattern and checked twice for the correct answer. Not an official question paper. How we write and check questions · Corrections policy · Report a mistake