Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

(Slightly OT) Multiple integrals in LaTeX

  1. Sep 14, 2006 #1
    How do you make the limits in a triple integral look okay? I need to write something like:

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

    but it looks kind of silly right now.
     
  2. jcsd
  3. Sep 14, 2006 #2

    Galileo

    User Avatar
    Science Advisor
    Homework Helper

    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.

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

    But it still looks crappy. :frown:

    I'd advice just writing
    [tex]\iiint \limits_{R} f(x, y, z)\, dx\,dy\,dz[/tex]
    where
    [tex]R=\{(x,y,z)|x \geq 3, y \geq 4, z \geq 5, 2z - x \geq 5\}[/tex]
     
    Last edited: Sep 14, 2006
  4. Sep 14, 2006 #3
    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.
     
  5. Sep 14, 2006 #4

    HallsofIvy

    User Avatar
    Staff Emeritus
    Science Advisor

    I'm wondering what in the world you mean! You want to take an integral over [itex]x\ge 3[/itex] but no upper limit on x? That just doesn't make sense.

    If you want something like
    [tex]\int_{x=3}^{5}\int_{y= 4}^{5- x}\int_{z=5}^{x+ y}f(x,y,z)dzdydx[/tex]
    click on the LaTex to see how it is done.
     
  6. Sep 14, 2006 #5
    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: Sep 14, 2006
  7. Sep 14, 2006 #6

    shmoe

    User Avatar
    Science Advisor
    Homework Helper

    You should be able to stack the conditions in the limit:

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

    ok, not very nice as-is, but multiline limits should give more flexibility.
     
  8. Sep 14, 2006 #7

    chroot

    User Avatar
    Staff Emeritus
    Science Advisor
    Gold Member

    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
     
  9. Sep 15, 2006 #8
    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.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?



Similar Discussions: (Slightly OT) Multiple integrals in LaTeX
  1. Statistics, slightly (Replies: 4)

  2. Multiple Integrals (Replies: 4)

Loading...