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?

simplify \frac{a}{2a}works – minseong Nov 16 '22 at 19:26awitha_xora_{x}in my previously commented working example leads to wolframalpha interpreting them as function applications $a(x)$ – minseong Nov 16 '22 at 19:30