I have latex
\frac{-\left(2\left(b_{x}-a_{x}\right)\right)+\sqrt{\left(2\left(b_{x}-a_{x}\right)\right)^{2}-4\left(a_{x}-2b_{x}+c_{x}\right)\left(a_{x}-g_{x}\right)}}{2\left(a_{x}-2b_{x}+c_{x}\right)}
It's not malformed and renders as:
$$ \frac{-\left(2\left(b_{x}-a_{x}\right)\right)+\sqrt{\left(2\left(b_{x}-a_{x}\right)\right)^{2}-4\left(a_{x}-2b_{x}+c_{x}\right)\left(a_{x}-g_{x}\right)}}{2\left(a_{x}-2b_{x}+c_{x}\right)} $$
Wolfram Alpha is ignoring it though:
How can I convert latex in general into a representation of an expression that wolframalpha will accept?

Here are some functions I use to convert $\LaTeX$ expressions to regular math expressions and vice versa: