The old version of sogou does not support formula input.
Go to official website to download the latest version, and then right-click to apply the mathematical formula.
You can navigate the cursor position through arrow keys and tab, and directly enter the formula without clicking with the mouse.