Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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

    \begin{equation}
\begin{split}
\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 \\
\end{split}
  \end{equation}

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 at 13:52

1 Answer 1

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
1  
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 at 4:08

Your Answer

 
discard

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.