9

How i can correct the positioning of the limits of this integral enter image description here

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}
\begin{equation}
\int_{-\infty}^{+\infty}\int_{-\infty}^{+\infty} \int_{-\infty}^{+\infty} \psi_{nlm}(r,\theta,\phi)\, dr\,d\theta\,d\phi=1
\end{equation}
\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
  • 8
    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
  • 1
    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 ? – Aurelius Jun 6 '12 at 6:48
12

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

enter image description here

\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)

enter image description here

\[
    \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? – Aurelius 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... – Aurelius Jun 5 '12 at 21:10
  • @FormlessCloud perhaps it's the \limits that makes the difference – cmhughes Jun 5 '12 at 21:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.