# Solve equation for F

How can I rewrite this equation to solve for F? All other variables are known. This is not homework. I do not know how to simplify this equation to solve for F or even if its possible.

$$\frac{aF - b}{\sqrt{(aF - b)^2 + (cF - d)^2 + (eF - g)^2}} = \frac{hF - i}{\sqrt{(hF - i)^2 + (jF - k)^2 + (mF - n)^2}}$$

• Could you please edit your question to add Latex - without it, questions are very difficult to read. – user122283 Jan 24 '14 at 23:30

If you square each side, move the denominators to the numerators on the other side, bring everything over to the left, and carry out the multiplication, it looks like you will get quartic equation for $F$. A closed form solution for such equation an exist, though it gets a bit messy.
$$(aF-b)^2 \left( (hF-i)^2 + (jF-k)^2 +(mf-n)^2 \right) - (hF-i)^2 \left( (aF-b)^2 + (cF-d)^2 +(ef-g)^2 \right) = 0$$
Eventually you will end up with something of the form $\alpha F^4 + \beta F^3 + \gamma F^2 + \delta F + \epsilon = 0$, the solutions to which can be found at the linked Wikipedia page.