Skip to main content

Differential Equations MCQ: The solution of the differential equation x dydx =…

JEE · Mathematics · Differential Equations

1 Medium +4 | -1 Application
The solution of the differential equation xdydx=2y+x3exx\frac{{dy}}{{dx}} = 2y + {x^3}{e^x}, where y=0y = 0 when x=1x = 1, is
View answer and explanation
Correct option: C
y=x2(ex−e)y = {x^2}\left( {{e^x} - e} \right)
Option C (y=x2(ex−e)y = {x^2}\left( {{e^x} - e} \right)) is correct because it is the solution obtained by solving the linear differential equation and using the given initial condition.
Solution approach
  1. Correct Answer + Core Reason: y=x2(ex−e)y = {x^2}\left( {{e^x} - e} \right). This is the solution obtained by solving the linear differential equation.

    Step-by-Step Solution:

    Step 1: Given equation: xdydx=2y+x3ex⇒dydx−2xy=x2exx\frac{{dy}}{{dx}} = 2y + {x^3}{e^x} \Rightarrow \frac{{dy}}{{dx}} - \frac{2}{x}y = {x^2}{e^x}

    Step 2: Find the integrating factor (IF): IF=e∫−2xdx=e−2log⁡x=elog⁡x−2=1x2IF = {e^{\int { - \frac{2}{x}dx} }} = {e^{ - 2\log x}} = {e^{\log {x^{ - 2}}}} = \frac{1}{{{x^2}}}

    Step 3: Multiply the equation by the IF: 1x2dydx−2x3y=ex\frac{1}{{{x^2}}}\frac{{dy}}{{dx}} - \frac{2}{{{x^3}}}y = {e^x}

    Step 4: Integrate both sides: ∫(1x2dydx−2x3y)dx=∫exdx⇒yx2=ex+c\int {\left( {\frac{1}{{{x^2}}}\frac{{dy}}{{dx}} - \frac{2}{{{x^3}}}y} \right)dx} = \int {{e^x}dx} \Rightarrow \frac{y}{{{x^2}}} = {e^x} + c

    Step 5: Simplify: y=x2ex+cx2y = {x^2}{e^x} + c{x^2}

    Step 6: Use the initial condition y = 0 when x = 1: 0=12e1+c12⇒c=−e0 = {1^2}{e^1} + c{1^2} \Rightarrow c = - e

    Step 7: Substitute c back into the equation: y=x2ex−ex2=x2(ex−e)y = {x^2}{e^x} - e{x^2} = {x^2}({e^x} - e)

    Why other options are wrong:
    - Option A: This option has an incorrect power of x.
    - Option B: This option has an incorrect sign.
    - Option D: This option has an incorrect power of x and an incorrect sign.

    Key Concepts:
    - Differential Equations
    - Linear Differential Equations
    - Integrating Factor
    - Integration

    Memory Aids:
    - Remember the formula for the integrating factor: IF=e∫P(x)dxIF = {e^{\int {P(x)dx} }}.

    Quick Tips:
    - Identify the linear form of the equation before solving.

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.