Skip to content
Mad4Study

Defence & Civil Services

UPSC NDA

  • NDA
  • 2026–27 pattern practice
  • Mathematics
  • Differential equations
  • Medium

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

Calculus

Pick an option to check your answer.

Write ex−y=exe−ye^{x - y} = e^x e^{-y} and separate: ey dy=ex dxe^y\,dy = e^x\,dx. Integrating both sides gives ey=ex+Ce^y = e^x + C.

Why not the others

  • e−y=ex+Ce^{-y} = e^x + C keeps e−ye^{-y} on the left instead of moving it across.
  • y=ex+Cy = e^x + C forgets the e−ye^{-y} factor entirely.
  • ey=e−x+Ce^y = e^{-x} + C flips the sign of x.

Report an error

NDA · Mathematics · Calculus