Inline math can be typed between \( \backslash( \text{ and }\backslash) \). For display mode, use two dollar signs: $$x = {-b \pm \sqrt{b^2-4ac} \over 2a}.$$