Skip to main content

Differential Equations MCQ: The solution of y-x y^'=2(x+y y^'), y(1)=1 is

JEE · Mathematics · Differential Equations

1 Easy +4 | -1 Application
The solution of y−xy′=2(x+yy′),y(1)=1y-x y^{\prime}=2\left(x+y y^{\prime}\right), y(1)=1 is
View answer and explanation
Correct option: B
tan⁡−1(y/x)+log⁡(x2+y2)=π/4+log⁡2\tan ^{-1}(y / x)+\log \left(x^2+y^2\right)=\pi / 4+\log 2
Option B (tan⁡−1(y/x)+log⁡(x2+y2)=π/4+log⁡2\tan ^{-1}(y / x)+\log \left(x^2+y^2\right)=\pi / 4+\log 2) is correct as it is the solution to the given differential equation with the specified initial condition.
Solution approach
  1. Correct Answer + Core Reason: tan⁡−1(y/x)+log⁡(x2+y2)=π/4+log⁡2\tan ^{-1}(y / x)+\log \left(x^2+y^2\right)=\pi / 4+\log 2. This is the solution obtained after solving the differential equation and applying the initial condition.

    Step-by-Step Solution:

    Step 1: Rewrite the equation: y−xy′=2(x+yy′)⇒y′=y−2x2y+xy - xy' = 2(x + yy') \Rightarrow y' = \frac{y - 2x}{2y + x}.

    Step 2: Use the substitution y=vxy = vx, so y′=v+xdvdxy' = v + x \frac{dv}{dx}.

    Step 3: Substitute into the equation: v+xdvdx=vx−2x2vx+x=v−22v+1v + x \frac{dv}{dx} = \frac{vx - 2x}{2vx + x} = \frac{v - 2}{2v + 1}.

    Step 4: Separate variables: xdvdx=v−22v+1−v=v−2−2v2−v2v+1=−2v2−22v+1x \frac{dv}{dx} = \frac{v - 2}{2v + 1} - v = \frac{v - 2 - 2v^2 - v}{2v + 1} = \frac{-2v^2 - 2}{2v + 1}.

    Step 5: Rearrange and integrate: ∫2v+1v2+1dv=∫−2xdx⇒∫2vv2+1dv+∫1v2+1dv=−2∫1xdx\int \frac{2v + 1}{v^2 + 1} dv = \int -\frac{2}{x} dx \Rightarrow \int \frac{2v}{v^2 + 1} dv + \int \frac{1}{v^2 + 1} dv = -2 \int \frac{1}{x} dx.

    Step 6: Integrate: log⁡(v2+1)+tan⁡−1(v)=−2log⁡(x)+C⇒log⁡(v2+1)+log⁡(x2)+tan⁡−1(v)=C⇒log⁡(x2(v2+1))+tan⁡−1(v)=C\log(v^2 + 1) + \tan^{-1}(v) = -2 \log(x) + C \Rightarrow \log(v^2 + 1) + \log(x^2) + \tan^{-1}(v) = C \Rightarrow \log(x^2(v^2 + 1)) + \tan^{-1}(v) = C.

    Step 7: Substitute back v=yxv = \frac{y}{x}: log⁡(x2(y2x2+1))+tan⁡−1(yx)=C⇒log⁡(y2+x2)+tan⁡−1(yx)=C\log(x^2(\frac{y^2}{x^2} + 1)) + \tan^{-1}(\frac{y}{x}) = C \Rightarrow \log(y^2 + x^2) + \tan^{-1}(\frac{y}{x}) = C.

    Step 8: Apply the initial condition y(1)=1y(1) = 1: log⁡(12+12)+tan⁡−1(11)=C⇒log⁡(2)+π4=C\log(1^2 + 1^2) + \tan^{-1}(\frac{1}{1}) = C \Rightarrow \log(2) + \frac{\pi}{4} = C.

    Step 9: The solution is log⁡(x2+y2)+tan⁡−1(yx)=log⁡(2)+π4\log(x^2 + y^2) + \tan^{-1}(\frac{y}{x}) = \log(2) + \frac{\pi}{4}.

    Why other options are wrong:
    - **Option A (tan⁡−1(y/x)+log⁡(x2+y2)=log⁡2\tan ^{-1}(y / x)+\log \left(x^2+y^2\right)=\log 2):** This option is incorrect because it doesn't include the π4\frac{\pi}{4} term from the initial condition.
    - **Option C (tan⁡−1(y/x)+log⁡(x2+y2)=log⁡3\tan ^{-1}(y / x)+\log \left(x^2+y^2\right)=\log 3):** This option is incorrect because it uses log⁡3\log 3 instead of log⁡2+π4\log 2 + \frac{\pi}{4} as the constant.
    - Option D (none of these): This is incorrect because Option B is the correct solution.

    Key Concepts:
    - Homogeneous differential equations
    - Substitution method
    - Integration
    - Initial value problems

    Memory Aids:
    - Remember the substitution y=vxy = vx for homogeneous equations.
    - Remember the integration formulas for 1x\frac{1}{x} and 11+x2\frac{1}{1+x^2}.

    Quick Tips:
    - Always check your solution by differentiating and substituting back into the original equation.
    - Remember to apply 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.