Skip to main content

Differential Equations MCQ: The solution of (y+x+5) d y=(y-x+ 1) d x is

JEE · Mathematics · Differential Equations

1 Medium +4 | -1 Application
The solution of (y+x+5)dy=(y−x+(y+x+5) \mathrm{d} y=(y-x+ 1) dx\mathrm{d} x is
View answer and explanation
Correct option: C
log⁡((y+3)2+(x+2)2)+2tan⁡−1y+3x+2=C\log \left((y+3)^2+(x+2)^2\right)+2 \tan ^{-1} \frac{y+3}{x+2}=C
The correct answer is C (log⁡((y+3)2+(x+2)2)+2tan⁡−1y+3x+2=C\log \left((y+3)^2+(x+2)^2\right)+2 \tan ^{-1} \frac{{y+3}}{{x+2}}=C) because it is the solution to the homogeneous differential equation after substitution and integration.
Solution approach
  1. Correct Answer + Core Reason: log⁡((y+3)2+(x+2)2)+2tan⁡−1y+3x+2=C\log \left((y+3)^2+(x+2)^2\right)+2 \tan ^{-1} \frac{{y+3}}{{x+2}}=C. This solution is obtained by solving the homogeneous differential equation after appropriate substitutions.

    Step-by-Step Solution:

    Step 1: Given the differential equation (y+x+5)dy=(y−x+1)dx(y+x+5)dy = (y-x+1)dx.

    Step 2: Find the intersection of y−x+1=0y - x + 1 = 0 and y+x+5=0y + x + 5 = 0. Solving these equations gives x=−2x = -2 and y=−3y = -3.

    Step 3: Substitute x=X−2x = X - 2 and y=Y−3y = Y - 3. Then dx=dXdx = dX and dy=dYdy = dY.

    Step 4: The equation becomes (Y−3+X−2+5)dY=(Y−3−X+2+1)dX(Y - 3 + X - 2 + 5)dY = (Y - 3 - X + 2 + 1)dX, which simplifies to (Y+X)dY=(Y−X)dX(Y + X)dY = (Y - X)dX.

    Step 5: Rearrange to get dYdX=Y−XY+X\frac{{dY}}{{dX}} = \frac{{Y - X}}{{Y + X}}. This is a homogeneous equation.

    Step 6: Substitute Y=vXY = vX, so dY=vdX+XdvdY = vdX + Xdv.

    Step 7: The equation becomes v+XdvdX=vX−XvX+X=v−1v+1v + X\frac{{dv}}{{dX}} = \frac{{vX - X}}{{vX + X}} = \frac{{v - 1}}{{v + 1}}.

    Step 8: Simplify: XdvdX=v−1v+1−v=v−1−v2−vv+1=−v2+1v+1X\frac{{dv}}{{dX}} = \frac{{v - 1}}{{v + 1}} - v = \frac{{v - 1 - v^2 - v}}{{v + 1}} = -\frac{{v^2 + 1}}{{v + 1}}.

    Step 9: Separate variables: v+1v2+1dv=−dXX\frac{{v + 1}}{{v^2 + 1}} dv = -\frac{{dX}}{{X}}.

    Step 10: Integrate both sides: ∫vv2+1dv+∫1v2+1dv=−∫dXX\int \frac{{v}}{{v^2 + 1}} dv + \int \frac{{1}}{{v^2 + 1}} dv = -\int \frac{{dX}}{{X}}.

    Step 11: 12log⁡(v2+1)+tan⁡−1v=−log⁡∣X∣+Const\frac{{1}}{{2}} \log(v^2 + 1) + \tan^{-1} v = -\log |X| + \text{{Const}}.

    Step 12: Multiply by 2: log⁡(v2+1)+2tan⁡−1v=−2log⁡∣X∣+Const\log(v^2 + 1) + 2\tan^{-1} v = -2\log |X| + \text{{Const}}.

    Step 13: log⁡(v2+1)+2tan⁡−1v+2log⁡∣X∣=Const\log(v^2 + 1) + 2\tan^{-1} v + 2\log |X| = \text{{Const}}.

    Step 14: log⁡(X2(v2+1))+2tan⁡−1v=Const\log(X^2(v^2 + 1)) + 2\tan^{-1} v = \text{{Const}}.

    Step 15: log⁡(X2v2+X2)+2tan⁡−1v=Const\log(X^2v^2 + X^2) + 2\tan^{-1} v = \text{{Const}}.

    Step 16: log⁡(Y2+X2)+2tan⁡−1YX=Const\log(Y^2 + X^2) + 2\tan^{-1} \frac{{Y}}{{X}} = \text{{Const}}.

    Step 17: Substitute back X=x+2X = x + 2 and Y=y+3Y = y + 3: log⁡((y+3)2+(x+2)2)+2tan⁡−1y+3x+2=C\log((y + 3)^2 + (x + 2)^2) + 2\tan^{-1} \frac{{y + 3}}{{x + 2}} = C.

    Step 18: Final Answer: log⁡((y+3)2+(x+2)2)+2tan⁡−1y+3x+2=C\log \left((y+3)^2+(x+2)^2\right)+2 \tan ^{-1} \frac{{y+3}}{{x+2}}=C.

    Why other options are wrong:
    - Option A: log⁡((y+3)2+(x+2)2)+tan⁡−1y+3x+2=C\log \left((y+3)^2+(x+2)^2\right)+\tan ^{-1} \frac{{y+3}}{{x+2}}=C - Incorrect coefficient for the arctangent term.
    - Option B: log⁡((y+3)2+(x−2)2)+tan⁡−1y−3x−2=C\log \left((y+3)^2+(x-2)^2\right)+\tan ^{-1} \frac{{y-3}}{{x-2}}=C - Incorrect signs in the arguments of the logarithm and arctangent.
    - Option C: log⁡((y+3)2+(x+2)2)+2tan⁡−1y+3x+2=C\log \left((y+3)^2+(x+2)^2\right)+2 \tan ^{-1} \frac{{y+3}}{{x+2}}=C - This is the correct solution.
    - Option D: log⁡((y+3)2+(x+2)2)−2tan⁡−1y+3x+2=C\log \left((y+3)^2+(x+2)^2\right)-2 \tan ^{-1} \frac{{y+3}}{{x+2}}=C - Incorrect sign for the arctangent term.

    Key Concepts:
    - Differential Equations
    - Homogeneous Differential Equations
    - Substitution Method
    - Integration

    Memory Aids:
    - Remember to substitute back to find the solution in terms of xx and yy.

    Quick Tips:
    - Always check your solution by substituting it back into the original differential equation.

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.