Question:

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
collegedunia
Verified By Collegedunia

The Correct Option is C

Solution and Explanation

Step 1: Understanding the Concept
The equation is homogeneous in \(x\) and \(y\), so substitute \(y=vx\).

Step 2: Rewrite
\(\dfrac{dy}{dx}=\dfrac{y\sin(y/x)-x}{x\sin(y/x)}=\dfrac{y}{x}-\dfrac{1}{\sin(y/x)}\).

Step 3: Substitute
With \(y=vx\), \(\dfrac{dy}{dx}=v+x\dfrac{dv}{dx}\). So \(v+x\dfrac{dv}{dx}=v-\dfrac{1}{\sin v}\), giving \(\sin v\,dv=-\dfrac{dx}{x}\).

Step 4: Integrate
\(-\cos v=-\log|x|+c_1\), so \(\cos\left(\dfrac{y}{x}\right)=\log|x|+c\).

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