Skip to main content

Differential Equations MCQ: If (d y)/(d x)=(x+y-2)/(x-y) and y(0)=2, find y(2)

JEE · Mathematics · Differential Equations

1 Medium +4 | -1 Application
If dydx=x+y−2x−y\frac{d y}{d x}=\frac{x+y-2}{x-y} and y(0)=2y(0)=2, find y(2)y(2)
View answer and explanation
Correct option: A
0
Option A (0) is correct because solving the differential equation with the given initial condition leads to the solution where y(2) = 0.
Solution approach
  1. Correct Answer + Core Reason: 0. The solution involves solving a homogeneous differential equation.

    Step-by-Step Solution:

    Step 1: Given the differential equation dydx=x+y−2x−y\frac{d y}{d x}=\frac{x+y-2}{x-y} and y(0)=2y(0)=2.

    Step 2: Let X=x−1X=x-1 and Y=y−1Y=y-1. Then x=X+1x = X+1 and y=Y+1y = Y+1, and dydx=dYdX\frac{dy}{dx} = \frac{dY}{dX}. Substituting, we get dYdX=X+1+Y+1−2X+1−(Y+1)=X+YX−Y\frac{dY}{dX} = \frac{X+1+Y+1-2}{X+1-(Y+1)} = \frac{X+Y}{X-Y}.

    Step 3: Let Y=vXY=v X. Then dYdX=v+XdvdX\frac{dY}{dX} = v + X \frac{dv}{dX}. Substituting, we get v+XdvdX=X+vXX−vX=1+v1−vv + X \frac{dv}{dX} = \frac{X+vX}{X-vX} = \frac{1+v}{1-v}.

    Step 4: Rearrange and separate variables: XdvdX=1+v1−v−v=1+v−v+v21−v=1+v21−vX \frac{dv}{dX} = \frac{1+v}{1-v} - v = \frac{1+v-v+v^2}{1-v} = \frac{1+v^2}{1-v}. So, 1−v1+v2dv=dXX\frac{1-v}{1+v^2} dv = \frac{dX}{X}.

    Step 5: Integrate both sides: ∫1−v1+v2dv=∫11+v2dv−∫v1+v2dv=tan⁡−1v−12ln⁡(1+v2)=ln⁡∣X∣+c\int \frac{1-v}{1+v^2} dv = \int \frac{1}{1+v^2} dv - \int \frac{v}{1+v^2} dv = \tan^{-1} v - \frac{1}{2} \ln(1+v^2) = \ln |X| + c.

    Step 6: Substitute back v=YX=y−1x−1v = \frac{Y}{X} = \frac{y-1}{x-1}: tan⁡−1(y−1x−1)−12ln⁡(1+(y−1x−1)2)=ln⁡∣x−1∣+c\tan^{-1} \left(\frac{y-1}{x-1}\right) - \frac{1}{2} \ln \left(1 + \left(\frac{y-1}{x-1}\right)^2\right) = \ln |x-1| + c.

    Step 7: Use the initial condition y(0)=2y(0) = 2: tan⁡−1(2−10−1)−12ln⁡(1+(2−10−1)2)=ln⁡∣0−1∣+c\tan^{-1} \left(\frac{2-1}{0-1}\right) - \frac{1}{2} \ln \left(1 + \left(\frac{2-1}{0-1}\right)^2\right) = \ln |0-1| + c. So, tan⁡−1(−1)−12ln⁡2=ln⁡1+c\tan^{-1} (-1) - \frac{1}{2} \ln 2 = \ln 1 + c, which means −π4−12ln⁡2=c-\frac{\pi}{4} - \frac{1}{2} \ln 2 = c.

    Step 8: Substitute cc back into the equation: tan⁡−1(y−1x−1)−12ln⁡(1+(y−1x−1)2)=ln⁡∣x−1∣−π4−12ln⁡2\tan^{-1} \left(\frac{y-1}{x-1}\right) - \frac{1}{2} \ln \left(1 + \left(\frac{y-1}{x-1}\right)^2\right) = \ln |x-1| - \frac{\pi}{4} - \frac{1}{2} \ln 2.

    Step 9: Evaluate at x=2x=2: tan⁡−1(y−1)−12ln⁡(1+(y−1)2)=ln⁡1−π4−12ln⁡2=−π4−12ln⁡2\tan^{-1} (y-1) - \frac{1}{2} \ln (1 + (y-1)^2) = \ln 1 - \frac{\pi}{4} - \frac{1}{2} \ln 2 = -\frac{\pi}{4} - \frac{1}{2} \ln 2.

    Step 10: Test the given options. If y=0y=0, then tan⁡−1(−1)−12ln⁡(1+(−1)2)=−π4−12ln⁡2\tan^{-1} (-1) - \frac{1}{2} \ln (1 + (-1)^2) = -\frac{\pi}{4} - \frac{1}{2} \ln 2, which is true.

    Step 11: Final Answer: y(2)=0y(2) = 0.

    Why other options are wrong:
    - Option B: This option is incorrect because substituting y=2 into the equation does not satisfy the condition.
    - Option C: This option is incorrect because substituting y=e into the equation does not satisfy the condition.
    - Option D: This option is incorrect because substituting y=e2 into the equation does not satisfy the condition.

    Key Concepts:
    - Homogeneous differential equations
    - Integration techniques
    - Initial value problems

    Memory Aids:
    - Remember the substitution method for homogeneous differential equations.
    - Remember the integration rules.

    Quick Tips:
    - When solving differential equations, look for suitable substitutions to simplify the equation.
    - Always check the initial conditions.

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.