TeX source:
\begin{aligned} 3 x^{2}+1 &=0 \\ x^{2} &=-\frac{1}{3} \\ x &=\pm \sqrt{-\frac{1}{3}}=\pm \frac{i \sqrt{3}}{3} \end{aligned}