Mathematics (JEE)HardJEE Main · JEE Advanced

If dy/dx + 1 = x·e^(−(x + y)) with y(0) = 0, then y(2) equals

  1. A. ln 3
  2. B. ln 3 + 2
  3. C. ln 5 − 2
  4. D. ln 3 − 2

Correct answer: D. ln 3 − 2

With v = x + y, v′ = 1 + y′ = xe^(−v), so e^v dv = x dx and e^v = x²/2 + 1 (v(0) = 0). Then x + y = ln(1 + x²/2), so y(2) = ln 3 − 2. Forgetting to subtract x gives ln 3.

More Differential Equations questions

Exams that ask this topic