Skip to content
NCERT Exemplar · Q7

Q.Solve the differential equation dydx+1=ex+y\frac{dy}{dx}+1=e^{x+y}.

Yanam CbseShort· 3mImportance★★★★★
57% · 127/222 Questions
🔒 Locked · start free trial →

You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.

Start your 14-day free trial to unlock the full solution →

The key idea is to use the substitution u=x+yu = x + y to turn the given equation into a separable form. The general solution is e−(x+y)+x=Ce^{-(x+y)} + x = C.

Why this approach works

The equation dydx+1=ex+y\frac{dy}{dx} + 1 = e^{x+y} is not directly separable — the variables xx and yy are tangled inside the exponential. But notice the combination x+yx+y appears. Whenever you see an expression like f(x+y)f(x+y) or f(ax+by)f(ax+by), a substitution u=x+yu = x+y (or u=ax+byu = ax+by) often simplifies the derivative as well, because dudx=1+dydx\frac{du}{dx} = 1 + \frac{dy}{dx}. That turns the left-hand side into something neat.

This is a classic Initial Value Problem technique: transform a non-separable equation into a separable one by a clever change of variable.


Step-by-step solution

  1. Set up the substitution Let u=x+yu = x + y. Then differentiate with respect to xx:

dudx=1+dydx.\frac{du}{dx} = 1 + \frac{dy}{dx}.

The given equation is dydx+1=ex+y\frac{dy}{dx} + 1 = e^{x+y}. The left side is exactly dudx\frac{du}{dx}, and the right side becomes eue^u. So the equation simplifies to:

dudx=eu.\frac{du}{dx} = e^u.

  1. Separate variables This is now a separable differential equation:

dueu=dx⇒e−u du=dx.\frac{du}{e^u} = dx \quad \Rightarrow \quad e^{-u} \, du = dx.

  1. Integrate both sides

∫e−u du=∫dx.\int e^{-u} \, du = \int dx.

The left integral gives −e−u-e^{-u}, and the right gives x+Cx + C:

−e−u=x+C.-e^{-u} = x + C.

  1. Back-substitute u=x+yu = x + y

−e−(x+y)=x+C.-e^{-(x+y)} = x + C.

Multiply both sides by −1-1 to get a cleaner form:

e−(x+y)=−x−C.e^{-(x+y)} = -x - C. …

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.