Skip to content
NCERT Exemplar · Q88

Q.The solution of dydx+y=e−x\frac{dy}{dx}+y=e^{-x}, y(0)=0y(0)=0 is:
(A) y=e−x(x−1)y=e^{-x}(x-1)
(B) y=xexy=xe^x
(C) y=xe−x+1y=xe^{-x}+1
(D) y=xe−xy=xe^{-x}

Puducherry CbseMCQ· 1mImportance★★★★★
94% · 208/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 →

This is a first-order linear ODE solved using the integrating factor method. The solution satisfying y(0)=0y(0)=0 is y=xe−xy = x e^{-x}, which corresponds to option (D).

The equation dydx+y=e−x\frac{dy}{dx} + y = e^{-x} with y(0)=0y(0)=0 is a classic Initial Value Problem (IVP). The key idea: when you have a first-order linear ODE of the form dydx+P(x)y=Q(x)\frac{dy}{dx} + P(x)y = Q(x), you can multiply both sides by an integrating factor — a function that turns the left side into the derivative of a product. This makes the equation directly integrable.

Why does this work? Because the left side dydx+y\frac{dy}{dx} + y looks almost like the derivative of yy times something, but it's missing the derivative of that "something". The integrating factor supplies exactly that missing piece.

Let's walk through it.

  1. Identify the standard form.

    The equation is already in the form dydx+P(x)y=Q(x)\frac{dy}{dx} + P(x)y = Q(x), with P(x)=1P(x) = 1 and Q(x)=e−xQ(x) = e^{-x}.

  2. Compute the integrating factor.

    The integrating factor μ(x)\mu(x) is given by e∫P(x) dxe^{\int P(x)\,dx}.

    Here ∫1 dx=x\int 1\,dx = x, so

μ(x)=ex.\mu(x) = e^{x}.

  1. Multiply the entire ODE by μ(x)\mu(x).

exdydx+exy=ex⋅e−x=1.e^{x}\frac{dy}{dx} + e^{x}y = e^{x} \cdot e^{-x} = 1.

Notice the left side is now exactly ddx(exy)\frac{d}{dx}(e^{x} y), because by the product rule:

ddx(exy)=exdydx+exy.\frac{d}{dx}(e^{x} y) = e^{x}\frac{dy}{dx} + e^{x}y.

  1. Rewrite and integrate.

ddx(exy)=1.\frac{d}{dx}(e^{x} y) = 1.

Integrate both sides with respect to xx:

exy=∫1 dx=x+C,e^{x} y = \int 1\,dx = x + C,

where CC is the constant of integration.

  1. Solve for yy. …

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.