Given equation
$$ x^2 + Bxy + Cy^2 = 0. $$
I want to factorize it in the form
$$ (x + my)(x + ny) = 0. $$
What are the values of $m$ and $n$ in terms of $B$ and $C$?
I tried writing the equation as
$$ x^2 + Bxy + Cy^2 = (x + kCy)(x + \dfrac{1}{k}y) = 0. $$
In this case the following equation must be satisfied:
$$ kC + \dfrac{1}{k} = B $$
I solved it for $k$ to find
$$ k = \dfrac{B \mp \sqrt{B^2 - 4C}}{2C}. $$
That makes
$$ x^2 + Bxy + Cy^2 = (x + \dfrac{B \mp \sqrt{B^2 - 4C}}{2}y)(x + \dfrac{2C}{B \mp \sqrt{B^2 - 4C}}y) = 0. $$
Which implies that
$$ \begin{array}{rcl} m &=& \dfrac{B \mp \sqrt{B^2 - 4C}}{2} \\ n &=& \dfrac{2C}{B \mp \sqrt{B^2 - 4C}}, \end{array} $$
and there are at most four $(m,n)$ pairs.
Is my solution correct? Are there any (other) solution methods for this factorization?
Your approach is quite satisfactory. It just skips a formal step by assuming the solution form rather than deriving it.
$$ (x+my)(x+ny) = x^2 +(m+n)xy + mny^2 $$ Therefore $$ B = m+n\\ C = mn $$ From the equation for $C$, we can write $$ n = \frac{C}m $$ which turns the first equation into $$ B = m + \frac{C}m $$ Now, if you let $k=\frac1m$, then you can write these as $$ n = Ck\\ m = \frac1k\\ B = \frac1k + Ck $$ And this is the same as the assumed form that you started with. As you can see, this derivation requires no additional assumptions (except, perhaps, that $m\neq 0$, which should be fine because $m=0$ would make $C=0$ anyway), and so there are no other solutions than the one you provided.