Skip to content
Mad4Study

Engineering & Science

JEE Advanced

  • JEE Advanced
  • 2026–27 pattern practice
  • Mathematics
  • Differential equations
  • Medium

What is the general solution of dydx+y=e−x\dfrac{dy}{dx} + y = e^{-x}?

Calculus

Pick an option to check your answer.

The integrating factor is e∫1 dx=exe^{\int 1\,dx} = e^x. Then ddx(yex)=1\dfrac{d}{dx}(ye^x) = 1, so yex=x+Cye^x = x + C and y=(x+C)e−xy = (x + C)e^{-x}. Check: y′+y=e−xy' + y = e^{-x} ✓.

Why not the others

  • y=Ce−xy = Ce^{-x} solves only the homogeneous equation.
  • y=(x+C)exy = (x + C)e^{x} and y=xex+Cy = xe^{x} + C use the wrong exponent.

Report an error

JEE Advanced · Mathematics · Calculus