Skip to main content

Differential Equations MCQ: Solution of the equation (x+ log y) d y+y d x=0 is

JEE · Mathematics · Differential Equations

1 Medium +4 | -1 Application
Solution of the equation (x+log⁡y)dy+ydx=0(x+\log y) d y+y d x=0 is
View answer and explanation
Correct option: B
xy+ylog⁡y−y=cx y+y \log y-y=c
Option B (xy+ylog⁡y−y=cx y+y \log y-y=c) is correct because it is the solution obtained by solving the given differential equation.
Solution approach
  1. Correct Answer + Core Reason: xy+ylog⁡y−y=cx y+y \log y-y=c. The solution is found by rearranging the equation and applying the integrating factor method.

    Step-by-Step Solution:

    Step 1: Rewrite the given equation: (x+log⁡y)dy+ydx=0(x + \log y) dy + y dx = 0
    xdy+log⁡ydy+ydx=0x dy + \log y dy + y dx = 0
    xdy+ydx=−log⁡ydyx dy + y dx = - \log y dy

    Step 2: Divide by dy.
    x+ydxdy=−log⁡yx + y \frac{dx}{dy} = - \log y
    ydxdy+x=−log⁡yy \frac{dx}{dy} + x = - \log y

    Step 3: Divide by y.
    dxdy+xy=−log⁡yy\frac{dx}{dy} + \frac{x}{y} = - \frac{\log y}{y}

    Step 4: Find the integrating factor (I.F.).
    I.F.=e∫P(y)dyI.F. = e^{\int P(y) dy}, where P(y)=1yP(y) = \frac{1}{y}
    I.F.=e∫1ydy=elog⁡y=yI.F. = e^{\int \frac{1}{y} dy} = e^{\log y} = y

    Step 5: Multiply the differential equation by the integrating factor.
    ydxdy+yxy=−ylog⁡yyy \frac{dx}{dy} + y \frac{x}{y} = - y \frac{\log y}{y}
    ydxdy+x=−log⁡yy \frac{dx}{dy} + x = - \log y
    ydxdy+x=−log⁡yy \frac{dx}{dy} + x = - \log y

    Step 6: Recognize that the left side is the derivative of the product xyx y.
    ddy(xy)=−log⁡y\frac{d}{dy}(x y) = - \log y

    Step 7: Integrate both sides with respect to y.
    ∫ddy(xy)dy=∫−log⁡ydy\int \frac{d}{dy}(x y) dy = \int - \log y dy
    xy=−∫log⁡ydyx y = - \int \log y dy

    Step 8: Evaluate the integral ∫log⁡ydy\int \log y dy using integration by parts.\nLet u=log⁡yu = \log y and dv=dydv = dy, then du=1ydydu = \frac{1}{y} dy and v=yv = y
    ∫log⁡ydy=ylog⁡y−∫y1ydy=ylog⁡y−∫1dy=ylog⁡y−y+c\int \log y dy = y \log y - \int y \frac{1}{y} dy = y \log y - \int 1 dy = y \log y - y + c

    Step 9: Substitute the integral back into the equation.
    xy=−(ylog⁡y−y)+cx y = - (y \log y - y) + c
    xy=−ylog⁡y+y+cx y = - y \log y + y + c
    xy+ylog⁡y−y=cx y + y \log y - y = c

    Why other options are wrong:
    - Option A: xy+ylog⁡y=cx y+y \log y=c is incorrect because the integration by parts is not performed completely.
    - Option C: xy+log⁡y−x=cx y+\log y-x=c is incorrect due to errors in the integration and simplification.
    - Option D: None of these is incorrect because option B is the correct solution.

    Key Concepts:
    - Linear Differential Equations
    - Integrating Factor
    - Integration by Parts

    Memory Aids:
    - I.F. = e∫P(y)dye^{\int P(y) dy}
    - Integration by parts: ∫udv=uv−∫vdu\int u dv = uv - \int v du

    Quick Tips:
    - Remember to use integration by parts when necessary.
    - Keep track of signs during 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.