LaTeX (Slightly OT) Multiple integrals in LaTeX

AI Thread Summary
To format limits in a triple integral in LaTeX, using \iiint \limits can help position the limits above and below the integral signs, but it may still look awkward. A better approach is to define a set R for the conditions, allowing for a cleaner representation. Multiline limits can be achieved using \substack, which provides more flexibility for stacking conditions. However, in some cases, it may be more practical to use simpler notation with defined sets instead of complex limits. Ultimately, the choice of format depends on the clarity needed for the integral's description.
Muzza
Messages
689
Reaction score
1
How do you make the limits in a triple integral look okay? I need to write something like:

\iiint_{x \geq 3, y \geq 4, z \geq 5, 2z - x \geq 5} f(x, y, z)\, dx\,dy\,dz

but it looks kind of silly right now.
 
Physics news on Phys.org
If you use \ limits_{down}^{up} you can get the text 'down' and 'up' above and below the integral signs. Also works for summation symbols.

\iiint \limits_{x \geq 3, y \geq 4, z \geq 5, 2z - x \geq 5} f(x, y, z)\, dx\,dy\,dz

But it still looks crappy. :frown:

I'd advice just writing
\iiint \limits_{R} f(x, y, z)\, dx\,dy\,dz
where
R=\{(x,y,z)|x \geq 3, y \geq 4, z \geq 5, 2z - x \geq 5\}
 
Last edited:
You're right. I'm probably better off just defining some set S = {(x, y, z); x >= 3, blah} and taking the integral over S.
 
I'm wondering what in the world you mean! You want to take an integral over x\ge 3 but no upper limit on x? That just doesn't make sense.

If you want something like
\int_{x=3}^{5}\int_{y= 4}^{5- x}\int_{z=5}^{x+ y}f(x,y,z)dzdydx
click on the LaTex to see how it is done.
 
It's an improper integral. But this is all beside the point, I don't actually want to compute this particular integral. It was just an example I pulled out of thin air to illustrate my point.
 
Last edited:
You should be able to stack the conditions in the limit:

\iiint \limits_{\substack{x \geq 3,\\ y \geq 4,\\ z \geq 5,\\ 2z - x \geq 5}} f(x, y, z)\, dx\,dy\,dz

ok, not very nice as-is, but multiline limits should give more flexibility.
 
Why not just give each integral sign -- say, the one for the variable x -- a lower limit of 3 and an upper limit of infinity?

- Warren
 
Again, the limits in my original post were just examples. There are situations where it's difficult or even impossible to write down the iterated integral, hence the need for descriptions like those in my first post.
 

Similar threads

Replies
8
Views
3K
Replies
5
Views
3K
Replies
3
Views
3K
Replies
4
Views
4K
Replies
3
Views
2K
Replies
27
Views
3K
Replies
2
Views
741
Back
Top