Skip to main content

Differential Equations MCQ: If y=y(x) is a function of x and y(1)=0, then the…

JEE · Mathematics · Differential Equations

1 Medium +4 | -1 Application
If y=y(x)y=y(x) is a function of xx and y(1)=0y(1)=0, then the solution of the equation xdydx−yx+1=xx \frac{d y}{d x}-\frac{y}{x+1}=x is
View answer and explanation
Correct option: D
y=xx+1(x−1+log⁡∣x∣)y=\frac{x}{x+1}(x-1+\log |x|)
Option D (y=xx+1(x−1+log⁡∣x∣)y=\frac{x}{x+1}(x-1+\log |x|)) is correct because it is the solution to the given differential equation, obtained by finding the integrating factor and applying the initial condition.
Solution approach
  1. Correct Answer + Core Reason: y=xx+1(x−1+log⁡∣x∣)y=\frac{x}{x+1}(x-1+\log |x|). The solution is found by solving the linear differential equation using an integrating factor and applying the initial condition.

    Step-by-Step Solution:

    Step 1: Rewrite the given differential equation: xdydx−yx+1=x⇒dydx−yx(x+1)=1x \frac{{dy}}{{dx}} - \frac{{y}}{{x+1}} = x \Rightarrow \frac{{dy}}{{dx}} - \frac{{y}}{{x(x+1)}} = 1.

    Step 2: Find the integrating factor (I.F.): I.F. =e−∫1x(x+1)dx=e−∫(1x−1x+1)dx=e−(log⁡∣x∣−log⁡∣x+1∣)=elog⁡∣x+1x∣=x+1x= e^{-\int \frac{{1}}{{x(x+1)}} dx} = e^{-\int (\frac{{1}}{{x}} - \frac{{1}}{{x+1}}) dx} = e^{-(\log |x| - \log |x+1|)} = e^{\log |\frac{{x+1}}{{x}}|} = \frac{{x+1}}{{x}}.

    Step 3: Multiply the differential equation by the integrating factor: x+1xdydx−x+1xyx(x+1)=x+1x⇒x+1xdydx−yx2=x+1x\frac{{x+1}}{{x}} \frac{{dy}}{{dx}} - \frac{{x+1}}{{x}} \frac{{y}}{{x(x+1)}} = \frac{{x+1}}{{x}} \Rightarrow \frac{{x+1}}{{x}} \frac{{dy}}{{dx}} - \frac{{y}}{{x^2}} = \frac{{x+1}}{{x}}.

    Step 4: Recognize that the left side is the derivative of x+1xy\frac{{x+1}}{{x}}y: ddx(x+1xy)=x+1x\frac{{d}}{{dx}}(\frac{{x+1}}{{x}}y) = \frac{{x+1}}{{x}}.

    Step 5: Integrate both sides with respect to xx: ∫ddx(x+1xy)dx=∫x+1xdx⇒x+1xy=∫(1+1x)dx=x+log⁡∣x∣+c\int \frac{{d}}{{dx}}(\frac{{x+1}}{{x}}y) dx = \int \frac{{x+1}}{{x}} dx \Rightarrow \frac{{x+1}}{{x}}y = \int (1 + \frac{{1}}{{x}}) dx = x + \log |x| + c.

    Step 6: Solve for yy: y=xx+1(x+log⁡∣x∣+c)y = \frac{{x}}{{x+1}}(x + \log |x| + c).

    Step 7: Apply the initial condition y(1)=0y(1) = 0: 0=11+1(1+log⁡∣1∣+c)⇒0=12(1+0+c)⇒c=−10 = \frac{{1}}{{1+1}}(1 + \log |1| + c) \Rightarrow 0 = \frac{{1}}{{2}}(1 + 0 + c) \Rightarrow c = -1.

    Step 8: Substitute c=−1c = -1 back into the equation for yy: y=xx+1(x+log⁡∣x∣−1)=xx+1(x−1+log⁡∣x∣)y = \frac{{x}}{{x+1}}(x + \log |x| - 1) = \frac{{x}}{{x+1}}(x - 1 + \log |x|).

    Why other options are wrong:
    - **Option A (y=xx+1(x+log⁡∣x∣)y=\frac{x}{x+1}(x+\log |x|)): This is incorrect because it doesn't include the constant of integration after applying the initial condition.
    -
    Option B (y=1x+1(x−1+log⁡∣x∣)y=\frac{1}{x+1}(x-1+\log |x|)): This is incorrect because the integrating factor was not applied correctly when solving for y.
    -
    Option C (y=x+1x(x−1+log⁡∣x∣)y=\frac{x+1}{x}(x-1+\log |x|)): This is incorrect because the integrating factor was inverted when solving for y.

    Key Concepts:
    - Linear differential equations
    - Integrating factor
    - Initial value problems

    Memory Aids:**
    - Remember the formula for the integrating factor: e∫P(x)dxe^{\int P(x) dx}

    Quick Tips:
    - Always check the initial condition to find the constant of 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.