Question:medium

Find the particular solution of the differential equation: \[ \frac{dy}{dx} = y \cot 2x, \] given that \( y\left(\frac{\pi}{4}\right) = 2 \).

Show Hint

For separable differential equations, isolate \( y \) and \( x \), then integrate both sides.
Updated On: Jan 13, 2026
Show Solution

Solution and Explanation

Step 1: Variable Separation
The provided differential equation is: \[ \frac{dy}{dx} = y \cot 2x. \] Separating variables yields: \[ \frac{dy}{y} = \cot 2x \, dx. \]
Step 2: Integration
Integrating the left side: \[ \int \frac{dy}{y} = \ln |y|. \] Integrating the right side: \[ \int \cot 2x \, dx = \frac{1}{2} \ln |\sin 2x|. \] Combining these results: \[ \ln |y| = \frac{1}{2} \ln |\sin 2x| + C. \]
Step 3: Solve for \( y \)
Exponentiate both sides: \[ y = e^C \cdot |\sin 2x|^{1/2}. \] Letting \( e^C = k \): \[ y = k \sqrt{|\sin 2x|}. \]
Step 4: Apply Initial Condition
Using the condition \( y\left(\frac{\pi}{4}\right) = 2 \), substitute \( x = \frac{\pi}{4} \): \[ 2 = k \sqrt{|\sin (\frac{\pi}{2})|}. \] Since \( \sin (\pi/2) = 1 \): \[ 2 = k \cdot 1 \quad \Rightarrow \quad k = 2. \]
Step 5: Final Solution
Substituting \( k = 2 \): \[ y = 2 \sqrt{|\sin 2x|}. \]
Conclusion: The particular solution is: \[ y = 2 \sqrt{|\sin 2x|}. \]
Was this answer helpful?
0