Skip to main content

Differential Equations MCQ: The solution of y^'+y=-x/y is given by

JEE · Mathematics · Differential Equations

1 Medium +4 | -1 Application
The solution of y′+y=−xyy^{\prime}+y=-\frac{x}{y} is given by
View answer and explanation
Correct option: C
y2=−x+12(1+e−2π)y^2=-x+\frac{1}{2}\left(1+e^{-2 \pi}\right)
The correct answer is C (y2=−x+12(1+e−2π)y^2=-x+\frac{{1}}{{2}}\left(1+e^{-2 \pi}\right)) because it is the solution of the given differential equation with the initial condition y(0)=1.
Solution approach
  1. Correct Answer + Core Reason: y2=−x+12(1+e−2x)y^2=-x+\frac{{1}}{{2}}\left(1+e^{-2 x}\right). The solution is found by reducing the equation to a linear equation and solving with the initial condition.

    Step-by-Step Solution:

    Step 1: Rewrite the equation as yy′+y2=−xyy' + y^2 = -x.

    Step 2: Substitute z=y2z = y^2, so z′=2yy′z' = 2yy'. Then 12z′+z=−x\frac{{1}}{{2}}z' + z = -x, or z′+2z=−2xz' + 2z = -2x.

    Step 3: Find the integrating factor: IF=e∫2dx=e2xIF = e^{\int 2 dx} = e^{2x}.

    Step 4: Multiply the equation by the integrating factor: e2xz′+2e2xz=−2xe2xe^{2x}z' + 2e^{2x}z = -2xe^{2x}.

    Step 5: Recognize that the left side is the derivative of e2xze^{2x}z: ddx(e2xz)=−2xe2x\frac{{d}}{{dx}}(e^{2x}z) = -2xe^{2x}.

    Step 6: Integrate both sides with respect to xx: ∫ddx(e2xz)dx=∫−2xe2xdx\int \frac{{d}}{{dx}}(e^{2x}z) dx = \int -2xe^{2x} dx.

    Step 7: Evaluate the integrals: e2xz=−2∫xe2xdx=−2[xe2x2−∫e2x2dx]=−xe2x+e2x2+Ce^{2x}z = -2 \int xe^{2x} dx = -2[x\frac{{e^{2x}}}{{2}} - \int \frac{{e^{2x}}}{{2}} dx] = -xe^{2x} + \frac{{e^{2x}}}{{2}} + C.

    Step 8: Solve for zz: z=−x+12+Ce−2xz = -x + \frac{{1}}{{2}} + Ce^{-2x}.

    Step 9: Substitute back z=y2z = y^2: y2=−x+12+Ce−2xy^2 = -x + \frac{{1}}{{2}} + Ce^{-2x}.

    Step 10: Apply the initial condition y(0)=1y(0) = 1: 12=−0+12+Ce−2(0)1^2 = -0 + \frac{{1}}{{2}} + Ce^{-2(0)}, so 1=12+C1 = \frac{{1}}{{2}} + C, which means C=12C = \frac{{1}}{{2}}.

    Step 11: Substitute C=12C = \frac{{1}}{{2}} into the equation: y2=−x+12+12e−2x=−x+12(1+e−2x)y^2 = -x + \frac{{1}}{{2}} + \frac{{1}}{{2}}e^{-2x} = -x + \frac{{1}}{{2}}(1 + e^{-2x}).

    Why other options are wrong:
    - Option A: This option is incorrect because it is not the correct solution to the differential equation.
    - Option B: This option is incorrect because it is not the correct solution to the differential equation.
    - Option C: This is the correct answer.
    - Option D: This option is incorrect because it is not the correct solution to the differential equation.

    Key Concepts:
    - Reducible to linear differential equations
    - Integrating factor
    - Initial conditions
    - Integration by parts

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

    Quick Tips:
    - Always check the initial condition after finding the general solution.
    - Be careful with integration by parts.

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.