Skip to main content

Differential Equations MCQ: y+x^2=(d y)/(d x) has the solution

JEE · Mathematics · Differential Equations

1 Medium +4 | -1 Application
y+x2=dydxy+x^2=\frac{d y}{d x} has the solution
View answer and explanation
Correct option: A
y+x2+2x+2=cexy+x^2+2 x+2=c e^x
Option A (y+x2+2x+2=cexy+x^2+2 x+2=c e^x) is correct because it is the solution obtained by solving the given first-order linear differential equation.
Solution approach
  1. Correct Answer + Core Reason: y+x2+2x+2=cexy+x^2+2 x+2=c e^x. The solution is found by solving the linear differential equation using the integrating factor method.

    Step-by-Step Solution:

    Step 1: Rewrite the given equation in the standard form: dydx−y=x2\frac{dy}{dx} - y = x^2

    Step 2: Identify P(x)P(x) and Q(x)Q(x).
    P(x)=−1P(x) = -1 and Q(x)=x2Q(x) = x^2

    Step 3: Calculate the integrating factor (I.F.).
    I.F.=e∫P(x)dx=e∫−1dx=e−xI.F. = e^{\int P(x) dx} = e^{\int -1 dx} = e^{-x}

    Step 4: Multiply the differential equation by the integrating factor.
    e−xdydx−e−xy=x2e−xe^{-x} \frac{dy}{dx} - e^{-x} y = x^2 e^{-x}

    Step 5: Recognize that the left side is the derivative of the product ye−xy e^{-x}.
    ddx(ye−x)=x2e−x\frac{d}{dx}(y e^{-x}) = x^2 e^{-x}

    Step 6: Integrate both sides with respect to x.
    ∫ddx(ye−x)dx=∫x2e−xdx\int \frac{d}{dx}(y e^{-x}) dx = \int x^2 e^{-x} dx
    ye−x=∫x2e−xdxy e^{-x} = \int x^2 e^{-x} dx

    Step 7: Evaluate the integral ∫x2e−xdx\int x^2 e^{-x} dx using integration by parts twice.
    ∫x2e−xdx=−x2e−x−2xe−x−2e−x+c\int x^2 e^{-x} dx = -x^2 e^{-x} - 2x e^{-x} - 2 e^{-x} + c

    Step 8: Substitute the integral back into the equation.
    ye−x=−x2e−x−2xe−x−2e−x+cy e^{-x} = -x^2 e^{-x} - 2x e^{-x} - 2 e^{-x} + c

    Step 9: Multiply both sides by exe^x.
    y=−x2−2x−2+cexy = -x^2 - 2x - 2 + c e^x
    y+x2+2x+2=cexy + x^2 + 2x + 2 = c e^x

    Why other options are wrong:
    - Option B: y+x+x2+2=ce2xy+x+x^2+2=c e^{2 x} is incorrect because the integration and simplification steps are not performed correctly.
    - Option C: y+x+2x2+2=cexy+x+2 x^2+2=c e^x is incorrect due to errors in the integration by parts.
    - Option D: y2+x+x2+2=cexy^2+x+x^2+2=c e^x is incorrect because the equation is not solved correctly as a linear differential equation.

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

    Memory Aids:
    - I.F. = e∫P(x)dxe^{\int P(x) dx}
    - Integration by parts: ∫udv=uv−∫vdu\int u dv = uv - \int v du

    Quick Tips:
    - Remember to use integration by parts when necessary.
    - Keep track of signs during integration.

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.