## spot the LaTeX mistake

It took me forever to spot the (obvious) mistake in the following LaTeX formula


\int \exp$-\{ (n+\sigma^{-2})\mu^2 -2n\mu{\bar x_n} + n ({\bar x_n})^2 \}/2$



Can you find it?!

### 18 Responses to “spot the LaTeX mistake”

1. $means something different .. How is your thumb? 2. chanminkim Says: \int and \exp !! I might avoid using [ ] in a complex mathematical expression not to get confused.. thanks! 3. it’s the {} instead of _{ } just after \mu ? 4. annalisa Says: read of your accident soon after posting my reply.. get well soon! 5. annalisa Says: \left[……………….\right] ? 6. Alan J. Izenman Says: I think your \[ and$ will give you problems. You should just use [ and ].

7. p.s. … how is the hand?

8. I’m pretty sure $won’t do what you want it to, in here. To say nothing of the$

9. Dawen Liang Says:

Isn’t “$” (and “$”) just “[” (and “]”) in LaTex?

10. Tatiana X Says:

I guess that the \[ is not in the beginning as it should be..

This site uses Akismet to reduce spam. Learn how your comment data is processed.