Solve the differential equation:
This is a homogeneous differential equation, meaning can be expressed purely as a function of the ratio . Such equations are solved using the substitution , which transforms them into separable equations through the product rule.
Start with the given differential equation:
Rearrange to isolate the differential terms:
Divide both sides by to obtain the derivative form :
\begin{align*} \frac{y}{x} + \frac{x \cot \left(\frac{y}{x}\right)}{x} &= \frac{d y}{d x} \\ \frac{d y}{d x} &= \frac{y}{x} + \cot \left(\frac{y}{x}\right) \end{align*}
Equation (1) confirms this is a homogeneous differential equation. Apply the standard substitution:
Differentiate with respect to using the product rule:
Substitute this expression into equation (1):
Separate the variables by moving all terms to the left and terms to the right. Recall that :
Integrate both sides:
\begin{align*} \int \tan u \, d u &= \int \frac{d x}{x} \\ \ln (\sec u) &= \ln x + \ln c \\ \ln (\sec u) &= \ln (c x) \\ \sec u &= c x \end{align*}
Substitute back into equation (2) to obtain the general solution: