Question:

The general solution of the differential equation \[\frac{\mathrm{d} y}{\mathrm{~d} x}=\frac{3 x+y}{x-y}\] is (where \[C\] is a constant of integration.)

Show Hint

The equation is homogeneous, so put y = vx and separate variables.
Updated On: Nov 17, 2026
  • \(\mathrm{tan}^{-1}(\frac{y}{x})+\mathrm{log}(\frac{y^{2}+3x^{2}}{x^{2}})=\mathrm{log}(x)+C\)
  • \(\frac{1}{\sqrt{3}}\mathrm{tan}^{-1}(\frac{y}{x\sqrt{3}})+\mathrm{log}(\frac{y^{2}+3x^{2}}{x^{2}})^{\frac{1}{2}}=\mathrm{log}(x)+C\)
  • \(\frac{1}{\sqrt{3}}\mathrm{tan}^{-1}(\frac{y}{x\sqrt{3}})-\mathrm{log}(\frac{y^{2}+3x^{2}}{x^{2}})^{\frac{1}{2}}=\mathrm{log}(x)+C\)
  • \(\mathrm{tan}^{-1}(\frac{x}{y})+\mathrm{log}(\frac{y^{2}+3x^{2}}{x^{2}})=\mathrm{log}(x)+C\)
Show Solution
collegedunia
Verified By Collegedunia

The Correct Option is C

Solution and Explanation

Step 1: Understanding the Concept
Both numerator and denominator are of degree 1, so put \(y = vx\) and \(\dfrac{dy}{dx} = v + x\dfrac{dv}{dx}\).

Step 2: Separate Variables
\(v + x\dfrac{dv}{dx} = \dfrac{3+v}{1-v}\), so \(x\dfrac{dv}{dx} = \dfrac{3+v^2}{1-v}\).\n\(\displaystyle\int\dfrac{1-v}{3+v^2}dv = \int\dfrac{dx}{x}\).

Step 3: Integrate
\(\dfrac{1}{\sqrt{3}}\tan^{-1}\dfrac{v}{\sqrt{3}} - \dfrac{1}{2}\log(3+v^2) = \log x + C\).

Step 4: Back-substitute
With \(v = \dfrac{y}{x}\), \(3 + v^2 = \dfrac{y^2+3x^2}{x^2}\). The solution is \(\dfrac{1}{\sqrt{3}}\tan^{-1}\dfrac{y}{x\sqrt{3}} - \log\left(\dfrac{y^2+3x^2}{x^2}\right)^{1/2} = \log x + C\).

Final Answer:
The solution has the arc tangent term minus half the log term equal to log x plus C. \[ \boxed{\text{(C) }\dfrac{1}{\sqrt{3}}\tan^{-1}\left(\dfrac{y}{x\sqrt{3}}\right)-\log\left(\dfrac{y^{2}+3x^{2}}{x^{2}}\right)^{\frac{1}{2}}=\log x+C} \]
Was this answer helpful?
0
0