# Integral of volume

How i can correct the positioning of the limits of this integral

i would an effect like this...

\documentclass{article}
\usepackage{amsmath}
\begin{document}

\iiint \limits_{-\infty\ -\infty\ -\infty}
^{\ \ \ +\infty\ +\infty\ +\infty}
\psi_{nlm}(r,\theta,\phi)\, dr\,d\theta\,d\phi

\end{document}


i have found the code below what do you think about it?

\documentclass{article}
\usepackage{amsmath}

\begin{document}
$$\int_{-\infty}^{+\infty}\int_{-\infty}^{+\infty} \int_{-\infty}^{+\infty} \psi_{nlm}(r,\theta,\phi)\, dr\,d\theta\,d\phi=1$$
\begin{document}

-
It's quite hard to understand where you want them to begin with. –  egreg Jun 5 '12 at 20:34
Could you please put that code into an MWE so we can just copy paste it? Even better would be to also add a picture of your equation. –  Ingo Jun 5 '12 at 20:36
I would skip the limits and just put the domain of integration as: \iiint \limits_{\mathbb{R}\times\mathbb{R}\times\mathbb{R}}\psi_{nlm}(r,\theta,\phi)\, dr\,d\theta\,d\phi. and change the integral to volume integral –  percusse Jun 5 '12 at 20:38
This is a comment about the content of your formula rather than about its representation using TeX: the limits of integration should not be the real numbers but (i) [0,\infty] for the radius r and (ii) [0,2\pi] for the two angles $\theta$ and $\phi$. –  Mico Jun 6 '12 at 1:30
thanks why only from 0 to infty for the radius ? –  FormlessCloud Jun 6 '12 at 6:48
show 1 more comment

You could use separate \int\limits... for each one:

\documentclass{article}
\usepackage{amsmath}
\begin{document}

Original:
$\iiint \limits_{-\infty\ -\infty\ -\infty}^{+\infty\ +\infty\ +\infty} \psi_{nlm}(r,\theta,\phi)\, dr\,d\theta\,d\phi=1$
Separate:
$\int\limits_{-\infty}^{+\infty} \int\limits_{-\infty}^{+\infty} \int\limits_{-\infty}^{+\infty} \psi_{nlm}(r,\theta,\phi)\, dr\,d\theta\,d\phi=1$
\end{document}


In my experience the \iint and \iiint are more useful when you are specifying the region of integration using a local definition- this is what Percusse mentioned in his comment (permission given to post in chat)

$\iiint \limits_{\mathbb{R}\times\mathbb{R}\times\mathbb{R}}\psi_{nlm}(r,\theta,\phi)\, dr\,d\theta\,d\phi=1$


On another note, you might like to use \mathrm{d} for the d in each integration.

-
good i have found also the code that i have added in my question, what do you think about it? –  FormlessCloud Jun 5 '12 at 21:03
@FormlessCloud should be equivalent –  cmhughes Jun 5 '12 at 21:09
the distance between integrals is bigger with my code... –  FormlessCloud Jun 5 '12 at 21:10
@FormlessCloud perhaps it's the \limits that makes the difference –  cmhughes Jun 5 '12 at 21:16