Question:

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

The Correct Option is A

Solution and Explanation

Step 1: Separate the variables:
The equation is \( x\frac{dy}{dx} = \cot y \). We keep all y terms with \( dy \) and all x terms with \( dx \).
\[ \frac{dy}{\cot y} = \frac{dx}{x} \quad \Rightarrow \quad \tan y\,dy = \frac{dx}{x} \]

Step 2: Integrate both sides:
We use \( \int \tan y\,dy = -\ln|\cos y| \) and \( \int \frac{dx}{x} = \ln|x| \).
\[ -\ln|\cos y| = \ln|x| + C \]

Step 3: Combine the logarithms:
Move the log of cosine to the right side.
\[ 0 = \ln|x| + \ln|\cos y| + C \quad \Rightarrow \quad \ln|x\cos y| = -C \]
Taking the exponential, \( x\cos y = k \), where \( k = \pm e^{-C} \) is an arbitrary constant.

Step 4: Check by differentiating:
Differentiate \( x\cos y = k \) with respect to x: \( \cos y - x\sin y\,\frac{dy}{dx} = 0 \).
So \( x\frac{dy}{dx} = \frac{\cos y}{\sin y} = \cot y \), which is the given equation.
The other options give \( x\frac{dy}{dx} = -\sin y\cos y \) for (B), \( -\cot y \) for (C) and \( -\tan y \) for (D). None of these match, so they are wrong.

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