The correct syntax is \[ ... \] for displayed formulas and \( ... \) for inline formulas.
\[ ... \]
\( ... \)