Question:hard

The solution of the differential equation \(x\cdot \sin \left(\frac{y}{x}\right)dy=\left[y\cdot \sin \left(\frac{y}{x}\right)-x\right]dx\) is

Show Hint

Put y = vx and separate the variables.
Updated On: Nov 19, 2026
  • \(\cos \left(\frac{x}{y}\right)=\log |x|+c\)
  • \(\cos \left(\frac{y}{x}\right)=\log |y|+c\)
  • \(\cos \left(\frac{y}{x}\right)=\log |x|+c\)
  • \(\cos \left(\frac{x}{y}\right)=\log |y|+c\)
Show Solution

The Correct Option is C

Solution and Explanation

Step 1: Verification Route
Differentiate the candidate $\cos(y/x)=\log|x|+c$ and see if it gives the original equation.

Step 2: Differentiate
$-\sin\left(\dfrac{y}{x}\right)\cdot\dfrac{x\,y'-y}{x^{2}}=\dfrac{1}{x}$, so $\sin\left(\dfrac{y}{x}\right)(x\,y'-y)=-x$.

Step 3: Compare
This rearranges to $x\sin(y/x)\,dy=\left[y\sin(y/x)-x\right]dx$, exactly the given equation.

Final Answer:
The answer is cos(y/x) = log|x| + c. \[ \boxed{\text{(C) }\cos\left(\dfrac{y}{x}\right)=\log |x|+c} \]
Was this answer helpful?
0