TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

For some reason, the following excerpt from my code is not compiling correctly and I can't figure out why.

\frac{100}{-6} &= -16(-6) + 4\\
&\implies z^100 = z^4\\
z^4 &= \left(e^{\frac{-i\pi}{3}\right)^4 \\
&=e^{\frac{-4\pi}{3}} \\
&\cos\left(\frac{-4\pi}{3}\right) = -\frac{1}{2}, ~\sin\left(\frac{-4\pi}{3}\right) = \frac{\sqrt{3}}{2} \\
&\implies z = -\frac{1}{2} + \frac{\sqrt{3}}{2} i \\

The error I get is that paragraph ended before split was complete and that a missing endgroup has been inserted. Any help would be greatly appreciated.

share|improve this question
Welcome to TeX.SX! Please make your code compilable (if possible), or at least complete it with \documentclass{...}, the required \usepackage's, \begin{document}, and \end{document}. That may seem tedious to you, but think of the extra work it represents for TeX.SX users willing to give you a hand. Help them help you: remove that one hurdle between you and a solution to your problem. – Martin Schröder Feb 15 '14 at 13:52
up vote 6 down vote accepted

You are missing a closing brace in line z^4:

z^4 &= \left(e^{\frac{-i\pi}{3}}\right)^4 \\ % Closing brace was missing
share|improve this answer
Haha yep that was it. Been stressing out over it for the past 20 minutes. Thank you so much for finding that. – user44609 Feb 14 '14 at 4:08

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.