Skip to main content

Differential Equations MCQ: A function y=f(x) satisfies (x+1) ·…

JEE · Mathematics · Differential Equations

1 Medium +4 | -1 Application
A function y=f(x)y=f(x) satisfies
(x+1)⋅f′(x)−2(x2+x)f(x)=ex2(x+1),∀x>−1(x+1) \cdot f^{\prime}(x)-2\left(x^2+x\right) f(x)=\frac{e^{x^2}}{(x+1)}, \forall x>-1 .
If f(0)=5f(0)=5, then f(x)f(x) is
View answer and explanation
Correct option: B
(6x+5x+1)⋅ex2\left(\frac{6 x+5}{x+1}\right) \cdot e^{x^2}
Option B ((6x+5x+1)⋅ex2\left(\frac{{6 x+5}}{{x+1}}\right) \cdot e^{x^2}) is correct because it satisfies the given differential equation and the initial condition f(0)=5.
Solution approach
  1. Correct Answer + Core Reason: (6x+5x+1)⋅ex2\left(\frac{{6 x+5}}{{x+1}}\right) \cdot e^{x^2}. This solution satisfies the given differential equation and the initial condition f(0)=5.

    Step-by-Step Solution:

    Step 1: Rewrite the given differential equation:
    (x+1)⋅f′(x)−2(x2+x)f(x)=ex2(x+1)(x+1) \cdot f^{\prime}(x)-2\left(x^2+x\right) f(x)=\frac{{e^{x^2}}}{{(x+1)}}
    f′(x)−2x(x+1)x+1f(x)=ex2(x+1)2f^{\prime}(x) - \frac{{2x(x+1)}}{{x+1}} f(x) = \frac{{e^{x^2}}}{{(x+1)^2}}
    f′(x)−2xf(x)=ex2(x+1)2f^{\prime}(x) - 2x f(x) = \frac{{e^{x^2}}}{{(x+1)^2}}

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

    Step 3: Multiply the differential equation by the integrating factor:
    e−x2f′(x)−2xe−x2f(x)=ex2(x+1)2e−x2e^{-x^2} f^{\prime}(x) - 2x e^{-x^2} f(x) = \frac{{e^{x^2}}}{{(x+1)^2}} e^{-x^2}
    e−x2f′(x)−2xe−x2f(x)=1(x+1)2e^{-x^2} f^{\prime}(x) - 2x e^{-x^2} f(x) = \frac{{1}}{{(x+1)^2}}

    Step 4: Integrate both sides with respect to xx:
    ∫(e−x2f′(x)−2xe−x2f(x))dx=∫1(x+1)2dx\int \left( e^{-x^2} f^{\prime}(x) - 2x e^{-x^2} f(x) \right) dx = \int \frac{{1}}{{(x+1)^2}} dx
    f(x)e−x2=∫(x+1)−2dx=−1x+1+Cf(x) e^{-x^2} = \int (x+1)^{-2} dx = -\frac{{1}}{{x+1}} + C

    Step 5: Solve for f(x)f(x):
    f(x)=ex2(−1x+1+C)f(x) = e^{x^2} \left( -\frac{{1}}{{x+1}} + C \right)

    Step 6: Apply the initial condition f(0)=5f(0) = 5:
    5=e02(−10+1+C)5 = e^{0^2} \left( -\frac{{1}}{{0+1}} + C \right)
    5=1⋅(−1+C)5 = 1 \cdot (-1 + C)
    C=6C = 6

    Step 7: Substitute C=6C = 6 into the equation for f(x)f(x):
    f(x)=ex2(−1x+1+6)=ex2(−1+6(x+1)x+1)=ex2(6x+5x+1)f(x) = e^{x^2} \left( -\frac{{1}}{{x+1}} + 6 \right) = e^{x^2} \left( \frac{{-1 + 6(x+1)}}{{x+1}} \right) = e^{x^2} \left( \frac{{6x + 5}}{{x+1}} \right)

    Why other options are wrong:
    - Option A: (3x+5x+1)⋅ex2\left(\frac{{3 x+5}}{{x+1}}\right) \cdot e^{x^2} does not satisfy the given differential equation and the initial condition.
    - Option C: (6x+5(x+1)2)⋅ex2\left(\frac{{6 x+5}}{{(x+1)^2}}\right) \cdot e^{x^2} does not satisfy the given differential equation and the initial condition.
    - Option D: (5−6xx+1)⋅ex2\left(\frac{{5-6 x}}{{x+1}}\right) \cdot e^{x^2} does not satisfy the given differential equation and the initial condition.

    Key Concepts:
    - Differential Equations
    - Integrating Factor
    - Initial Value Problems

    Memory Aids:
    - Remember the formula for the integrating factor: IF=e∫P(x)dxIF = 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.