The equation is homogeneous, so put \( y = vx \) and separate the variables. Use \( \frac{1 - v^2}{v(1+v^2)} = \frac{1}{v} - \frac{2v}{1+v^2} \) before integrating.
Step 1: Recognise the type:
Write the equation as \( \dfrac{dy}{dx} = \dfrac{2xy}{x^2 - y^2} \). The numerator and the denominator are both of degree 2 in \( x \) and \( y \), so the equation is homogeneous.
We use the substitution \( y = vx \).
Step 2: Substitute y = vx:
Then \( \dfrac{dy}{dx} = v + x\dfrac{dv}{dx} \). Putting this in:
\[ v + x\frac{dv}{dx} = \frac{2vx^2}{x^2 - v^2 x^2} = \frac{2v}{1 - v^2} \]
Step 3: Separate the variables:
\[ x\frac{dv}{dx} = \frac{2v}{1 - v^2} - v = \frac{2v - v + v^3}{1 - v^2} = \frac{v(1 + v^2)}{1 - v^2} \]
Move the \( v \) terms to one side and the \( x \) terms to the other:
\[ \frac{1 - v^2}{v(1 + v^2)}\,dv = \frac{dx}{x} \]
Step 4: Split into partial fractions:
We check that
\[ \frac{1 - v^2}{v(1 + v^2)} = \frac{1}{v} - \frac{2v}{1 + v^2} \]
Indeed, the right side is \( \dfrac{(1 + v^2) - 2v^2}{v(1 + v^2)} = \dfrac{1 - v^2}{v(1 + v^2)} \).
Step 6: Go back to x and y:
Replace \( v = \dfrac{y}{x} \). Then \( \dfrac{v}{1+v^2} = \dfrac{y/x}{(x^2 + y^2)/x^2} = \dfrac{xy}{x^2 + y^2} \):
\[ \frac{xy}{x^2 + y^2} = Cx \quad \Longrightarrow \quad \frac{y}{x^2 + y^2} = C \]
Write \( c = \dfrac{1}{C} \). Then
\[ x^2 + y^2 = cy \]
The line \( y = 0 \) also satisfies the given equation, but it is only a limiting case (\( c \to \infty \)) of this family.
Final Answer:
The general solution of the equation is the family of circles
\[ \boxed{x^2 + y^2 = cy} \]