If x-y axes are inclined at angle $\omega$ then show that equation $$x^2 + 2xy\cos \omega + y^2 \cos 2\omega = 0$$ represents a pair of perpendicular straight lines passing through origin.
Let two lines with inclination to axis x as $m, n$.
Then the condition of perpendicularity of these lines is $mn + 1 + (m + n)cos \omega = 0$
After some manipulation we get,
$$m = -{n\cos\omega + 1\over \cos \omega + n}$$
So the lines are $$y - nx\ \text{and} \ y + \left({n\cos\omega + 1\over \cos \omega + n}\right)x $$
So pair of straight lines would be
$$(y - nx) \times \left(y + \left({n\cos\omega + 1\over \cos \omega + n}\right)x\right) = 0$$
On Expanding,
$$y^2(\cos \omega - n) - xyn(\cos \omega + n) + xy(n\cos \omega + 1) + x^2(-n)(n\cos\omega + 1) = 0$$
On simplification,
$$y(\cos \omega - n) + xy(1 - n^2) + x^2(-n^2\cos \omega - n) = 0$$
How do I remove $n$ from this equation and get the "to be proven" equation ?