Question:medium

The solution of differential equation \( x\frac{dy}{dx} = \cot y \) is

Show Hint

Separate the variables to get \( \tan y\,dy = \frac{dx}{x} \) and integrate both sides.
  • \( x\cos y=k \)
  • \( x\tan y=k \)
  • \( x\sec y=k \)
  • \( x\sin y=k \)
Show Solution

The Correct Option is A

Solution and Explanation

Step 1: Plan:
The solution is among four given curves. For each one, differentiate and see whether it gives $x\frac{dy}{dx} = \cot y$.

Step 2: Option (A): $x\cos y = k$:
Differentiate: $\cos y - x\sin y\,\frac{dy}{dx} = 0$, so $x\frac{dy}{dx} = \frac{\cos y}{\sin y} = \cot y$.
This is exactly the given equation, so (A) is a solution.

Step 3: Option (B): $x\tan y = k$:
Differentiate: $\tan y + x\sec^2 y\,\frac{dy}{dx} = 0$, so $x\frac{dy}{dx} = -\frac{\tan y}{\sec^2 y} = -\sin y\cos y$.
This is not $\cot y$, so (B) is wrong.

Step 4: Options (C) and (D):
For $x\sec y = k$: $\sec y + x\sec y\tan y\,\frac{dy}{dx} = 0$, so $x\frac{dy}{dx} = -\frac{1}{\tan y} = -\cot y$. The sign is opposite, so (C) is wrong.
For $x\sin y = k$: $\sin y + x\cos y\,\frac{dy}{dx} = 0$, so $x\frac{dy}{dx} = -\tan y$. This does not match, so (D) is wrong.

Step 5: Direct solution as a cross-check:
Separating gives $\tan y\,dy = \frac{dx}{x}$. Integrating, $-\ln|\cos y| = \ln|x| + C$, which simplifies to $x\cos y = k$.

Final Answer:
The general solution is $x\cos y = k$, so option (A). \[ \boxed{x\cos y = k} \]
Was this answer helpful?
0