Skip to main content

Differential Equations MCQ: The solution of (d y)/(d x)+y=e^-x, y(0)=0, is

JEE · Mathematics · Differential Equations

1 Medium +4 | -1 Application
The solution of dydx+y=e−x,y(0)=0\frac{d y}{d x}+y=e^{-x}, y(0)=0, is
View answer and explanation
Correct option: D
y=xe−xy=x e^{-x}
Option D (y=xe−xy=x e^{-x}) is correct because it is the solution obtained by solving the given differential equation with the given initial condition.
Solution approach
  1. Correct Answer + Core Reason: y=xe−xy=x e^{-x}. The solution is found by applying the integrating factor method and using the initial condition to find the constant of integration.

    Step-by-Step Solution:

    Step 1: Identify the given differential equation: dydx+y=e−x\frac{dy}{dx} + y = e^{-x}

    Step 2: Find the integrating factor (I.F.).
    I.F.=e∫P(x)dxI.F. = e^{\int P(x) dx}, where P(x)=1P(x) = 1
    I.F.=e∫1dx=exI.F. = e^{\int 1 dx} = e^x

    Step 3: Multiply the differential equation by the integrating factor.
    exdydx+exy=e−xexe^x \frac{dy}{dx} + e^x y = e^{-x} e^x
    exdydx+exy=1e^x \frac{dy}{dx} + e^x y = 1

    Step 4: Recognize that the left side is the derivative of the product yexy e^x.
    ddx(yex)=1\frac{d}{dx}(y e^x) = 1

    Step 5: Integrate both sides with respect to x.
    ∫ddx(yex)dx=∫1dx\int \frac{d}{dx}(y e^x) dx = \int 1 dx
    yex=x+cy e^x = x + c

    Step 6: Solve for y.
    y=xe−x+ce−xy = x e^{-x} + c e^{-x}

    Step 7: Apply the initial condition y(0)=0y(0) = 0.
    0=0e−0+ce−00 = 0 e^{-0} + c e^{-0}
    0=0+c0 = 0 + c
    c=0c = 0

    Step 8: Substitute c = 0 back into the equation.
    y=xe−xy = x e^{-x}

    Why other options are wrong:
    - Option A: y=e−x(x−1)y=e^{-x}(x-1) does not satisfy the given differential equation and initial condition.
    - Option B: y=xexy=x e^x does not satisfy the given differential equation.
    - Option C: y=xe−x+1y=x e^{-x}+1 does not satisfy the initial condition y(0)=0y(0)=0.

    Key Concepts:
    - Linear Differential Equations
    - Integrating Factor
    - Initial Value Problem

    Memory Aids:
    - I.F. = e∫P(x)dxe^{\int P(x) dx}

    Quick Tips:
    - Always apply the initial condition to find the constant of integration.
    - Check your solution by plugging it back into the original differential equation.

More Questions from Differential Equations

Practice all chapter MCQs →
Type at least 2 characters or jump directly:

Save your learning progress

Sign in with a free account to save your practice answers and quiz results, then return to them when you revise.

Scan to install TopAll Pro

Point your Android or iPhone camera at this code to open TopAll Pro. Try 2 chapters and 25 AI credits free first.

Question image

Use + and − to zoom, arrow keys or drag to pan, Escape to close.