1

I get

"Missing } inserted. } l.47 \end{align}''

when I'm using the align function to align multiple equations. The code works if I remove \begin{align}...\end{align} and the & symbols before the equals.

This is the section of code with an error.

That is the section of code that has a problem

This is what I get when I remove the \begin{align}...\end{align} and the & before the equals.

When i remove \begin{align} and \end{align}

What I wanna do is aligning all the equals one over another?

Also, I'm new to LaTeX, if i'm doing some general errors or do something wrong I'm open to receiving comments on that.

Thanks for helping!

1
  • 4
    align automatically puts you into math mode, so the $ signs are not only unnecessary, but likely to get you in trouble. also, rather than a screen shot of the input, you can just cut-and-paste into the edit window,, then highlight the block with a mouse-over, and click on the {} above the edit window to indicate that this is code. and welcome to tex.sx. Jan 13, 2016 at 22:37

1 Answer 1

4

The $ are not needed here since the align environment is in math mode. Give this a shot.

\begin{align}
\int_{-1}^{1}\int_{0}^{2}\frac{1}{2^{3/4}}(1+y)dydx &= \int_{-1}^{1}\Big[\frac{y}{2^{3/4}}+\frac{y^{2}}{2^{7/4}}\Big]_{0}^{2}dx\\
&= \int_{-1}^{1}\frac{2}{2^{3/4}}+\frac{4}{2^{7/4}}dx\\
&= \Big[\frac{2x}{2^{3/4}}+\frac{4x}{2^{7/4}}\Big]_{-1}^{1}\\
&= \frac{2}{2^{3/4}}+\frac{4}{2^{7/4}}-\Big(\frac{-2}{2^{3/4}}-\frac{4}{2^{7/4}}\Big)\\
&= 4\sqrt[4]{2}
\end{align}

enter image description here

If you do not want each line to be numbered, simply use align* instead of align.

Hope this helps!

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .