Skip to main content

Differential Equations MCQ: Solution of x dydx + y = xe^x, is

JEE · Mathematics · Differential Equations

1 Easy +4 | -1 Application
Solution of xdydx+y=xexx\frac{{dy}}{{dx}} + y = x{e^x}, is
View answer and explanation
Correct option: B
xy=ex(x−1)+Cxy = {e^x}\left( {x - 1} \right) + C
Option B (xy=ex(x−1)+Cxy = {e^x}\left( {x - 1} \right) + C) is correct because it is the solution obtained by integrating the given differential equation.
Solution approach
  1. Correct Answer + Core Reason: xy=ex(x−1)+Cxy = {e^x}\left( {x - 1} \right) + C. The solution is found by integrating the differential equation.

    Step-by-Step Solution:

    Step 1: Given the differential equation xdydx+y=xexx\frac{{dy}}{{dx}} + y = x{e^x}.

    Step 2: Rewrite the equation as ddx(xy)=xex\frac{d}{{dx}}(xy) = x{e^x}.

    Step 3: Integrate both sides with respect to xx: ∫ddx(xy)dx=∫xexdx⇒xy=∫xexdx\int {\frac{d}{{dx}}(xy)dx} = \int {x{e^x}dx} \Rightarrow xy = \int {x{e^x}dx}.

    Step 4: Integrate by parts: ∫xexdx=x∫exdx−∫(ddxx∫exdx)dx=xex−∫exdx=xex−ex+C=ex(x−1)+C\int {x{e^x}dx} = x\int {{e^x}dx} - \int {\left( {\frac{d}{{dx}}x\int {{e^x}dx} } \right)dx} = x{e^x} - \int {{e^x}dx} = x{e^x} - {e^x} + C = {e^x}(x - 1) + C.

    Step 5: Substitute the result back into the equation: xy=ex(x−1)+Cxy = {e^x}(x - 1) + C.

    Why other options are wrong:
    - Option A: xy=ex(x+1)+Cxy = {e^x}\left( {x + 1} \right) + C is incorrect because the integration by parts was performed incorrectly.
    - Option C: xy=ex(1−x)+Cxy = {e^x}\left( {1 - x} \right) + C is incorrect because the integration by parts was performed incorrectly.
    - Option D: xy=ey(y−1)+Cxy = {e^y}\left( {y - 1} \right) + C is incorrect because the integration was performed with respect to the wrong variable.

    Key Concepts:
    - Differential Equations
    - Integration by Parts

    Memory Aids:
    - Remember the integration by parts formula: ∫udv=uv−∫vdu\int {udv = uv - \int {vdu} }.

    Quick Tips:
    - Always check your integration by differentiating the result.

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.