Math & Sciencemskip problem

Information and discussion about LaTeX's math and science related features (e.g. formulas, graphs).
Post Reply
latexforever
Posts: 120
Joined: Fri Nov 14, 2008 9:40 pm

mskip problem

Post by latexforever »

Hello,

I am using this code in a part of my document.

Code: Select all

 \begin{align}
 &\int\left(-2\sin^{2}(t)-2\cos(t)\sin^{2}t-\sin^{2}(t)\cos(t)-2\sin(t)\left(1+\cos(t)\left(\frac{2}{\sqrt{1+\cos(t)}}\right)\right)\,\mathrm dt\right)\\ &=-2\int\left(\sin^{2}(t)\,\mathrm dt\right)-3\int\left(\cos(t)\sin^{2}(t)\right\,\mathrm dt)-2\int\left(\left(\left(1+\cos(t)\right)\left(\frac{2\left(\sin(t)\right)}{\sqrt{1+\cos(t)}}\right)\right)\,\mathrm dt\right)\\
&=-2\int\left(\frac{1-\cos(2t)}{2}\,\mathrm dt\right)-\frac{3}{2}\int\left(\sqrt{\abs{u}}\,\mathrm du\right)_{u=\sin^{2}(t)}-2\int\left(\left(\left(1+\cos(t)\right)\left(\frac{2\left(\sin(t)\right)}{\sqrt{1+\cos(t)}}\right)\right)\,\mathrm dt\right)\\ &=-2\left(\frac{t}{2}-\frac{\sin(2t)}{4}\right)-\frac{3}{2}\frac{2u^{\frac{3}{2}}}{3}-2\int\left(\left(\left(1+\cos(t)\right)\left(\frac{2\left(\sin(t)\right)}{\sqrt{1+\cos(t)}}\right)\right)\,\mathrm dt\right)\\
&=-t+\frac{\sin(2t)}{2}-u^{\frac{3}{2}}-4\int\left(\left(\left(1+\cos(t)\right)\left(\frac{\sin(t)}{\sqrt{1+\cos(t)}}\right)\right)\,\mathrm dt\right)\\
&=-t+\frac{\sin(2t)}{2}-u^{\frac{3}{2}}+4\int\left(\frac{u\,\mathrm du}{\sqrt{u}}\right)\\
&=-t+\frac{\sin(2t)}{2}-u^{\frac{3}{2}}+4\int\left(u^{\frac{1}{2}}\,\mathrm du\right)\\
&\simeq -t+\frac{\sin(2t)}{2}-u^{\frac{3}{2}}+4\left(\frac{u^{\frac{3}{2}}\cdot 2}{3}\right)\\
&=-t+\frac{\sin(2t)}{2}-u^{\frac{3}{2}}+8\left(\frac{u^{\frac{3}{2}}}{3}\right)\\
&=-t+\frac{\sin(2t)}{2}-\left(\sin^{2}(t)\right)^{\frac{3}{2}}+8\left(\frac{\left(\sin^{2}(t)\right)^{\frac{3}{2}}}{3}\right)\\
&=-t+\frac{\sin(2t)}{2}-\left(\sin^{3}(t)\right)+8\left(\frac{\left(\sin^{3}(t)\right)}{3}\right).
\end{align}
At compilation, I receive two times the following error:
Missing delimiter (. inserted) <to be read again> \mskip \end{align}.

I have looked many times at my code, but I cannot find any mismatched brackets.

Thanks for help.
Last edited by latexforever on Sun Jun 14, 2009 8:24 am, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

mskip problem

Post by Stefan Kottwitz »

Hi Luca,

comment out or remove some lines to find the cause. Have a look at the \right\, here:

Code: Select all

... &=-3\int\left(\cos(t)\sin^{2}(t)\right\,\mathrm dt) ...
Stefan
LaTeX.org admin
latexforever
Posts: 120
Joined: Fri Nov 14, 2008 9:40 pm

mskip problem

Post by latexforever »

Stefan_K wrote:Have a look at the \right\, here:

Code: Select all

... &=-3\int\left(\cos(t)\sin^{2}(t)\right\,\mathrm dt) ...
Thanks! Looking at it with ``a fresh eye'' is always nice, and you found the problem. :)
Post Reply