# Missing } inserted. \end{split}

$$\begin{split} {\delta _{k + 1}} = {\theta _{k + 1}} - {\theta _k} \\ \end{split}$$


I am using TeXstudio to write the equation. I am getting the following error. I am a beginner in latex

Missing } inserted. \end{split}


Where do I have to insert the }?

• Try removing the two $ signs. – GuM Sep 12 '16 at 23:50 • I don't think you want the $ inside the equation environment. There are also a number of spaces i.e.you want \delta_{k+1} with no space under before the underscore. Not sure about the \\ either – Dai Bowen Sep 12 '16 at 23:53

You have spurious 's inside split: \documentclass{article} \usepackage{amsmath} \begin{document} $$\begin{split} {\delta _{k + 1}} = {\theta _{k + 1}} - {\theta _k} \\ \end{split}$$ \end{document}  BTW: If it is only line inside equation, split is completely unneeded. I’ve also eliminated unnecessary braces: % My standard header for TeX.SX answers: \documentclass[a4paper]{article} % To avoid confusion, let us explicitly % declare the paper format. \usepackage[T1]{fontenc} % Not always necessary, but recommended. % End of standard header. What follows pertains to the problem at hand. \usepackage{amsmath} \begin{document} Some text. \begin{split} \delta_{k + 1} &= \theta_{k + 1} - \theta_{k} \\ &= \text{there should be an alignment point, shouldn't it?} \end{split} \end{document}  • This could have easily been a comment to the other answer instead... – Werner Sep 13 '16 at 0:08 • @Werner: I sent my answer when the other one had not yet been posted (I think the server received it a dozen second after, or so). I could delete it, but the sample code gets formatted better in an answer than in a comment… :-) (Note: I immediately upvoted the other answer, anyway.) – GuM Sep 15 '16 at 20:54 Avoid  , \\ and line spacing
$$\begin{split} \delta _{k + 1} = \theta _{k + 1} - \theta _k \end{split}$$