Skip to main content

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

JEE · Mathematics · Differential Equations

1 Easy +4 | -1 Application
The solution of dydx+y=e−x,y(0)=0\frac{{dy}}{{dx}} + y = {e^{ - x}},y\left( 0 \right) = 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 satisfies the given differential equation and the initial condition y(0) = 0.
Solution approach
  1. Correct Answer + Core Reason: y=xe−xy = x{e^{ - x}}. This solution is obtained by solving the linear differential equation and applying the initial condition.

    Step-by-Step Solution:

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

    Step 2: Recognize that this is a linear first-order differential equation of the form dydx+Py=Q\frac{{dy}}{{dx}} + Py = Q, where P=1P = 1 and Q=e−xQ = {e^{ - x}}.

    Step 3: Calculate the integrating factor (I.F.): I.F.=e∫Pdx=e∫1dx=exI.F. = {e^{\int Pdx}} = {e^{\int 1dx}} = {e^x}.

    Step 4: Multiply both sides of the differential equation by the integrating factor: exdydx+exy=exe−x{e^x}\frac{{dy}}{{dx}} + {e^x}y = {e^x}{e^{ - x}}.

    Step 5: Simplify the equation: exdydx+exy=1{e^x}\frac{{dy}}{{dx}} + {e^x}y = 1.

    Step 6: 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 7: Integrate both sides with respect to x: ∫ddx(yex)dx=∫1dx\int \frac{d}{{dx}}(y{e^x})dx = \int 1dx.

    Step 8: Evaluate the integrals: yex=x+cy{e^x} = x + c, where c is the constant of integration.

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

    Step 10: Apply the initial condition y(0)=0y(0) = 0: 0=0e−0+ce−0⇒0=0+c⇒c=00 = 0{e^{ - 0}} + c{e^{ - 0}} \Rightarrow 0 = 0 + c \Rightarrow c = 0.

    Step 11: Substitute the value of c back into the equation: y=xe−x+0e−x⇒y=xe−xy = x{e^{ - x}} + 0{e^{ - x}} \Rightarrow y = x{e^{ - x}}.

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

    Key Concepts:
    - Linear first-order differential equations
    - Integrating factor
    - Initial conditions

    Memory Aids:
    - The integrating factor formula: I.F.=e∫P(x)dxI.F. = {e^{\int P(x)dx}}

    Quick Tips:
    - Always check the solution by substituting it back into the original differential equation and verifying the initial condition.

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.