Re: Multiple Integrals
- To: mathgroup at smc.vnet.net
- Subject: [mg117609] Re: Multiple Integrals
- From: Murray Eisenberg <murray at math.umass.edu>
- Date: Thu, 24 Mar 2011 06:30:01 -0500 (EST)
I don't understand what more you could want, really: you're going to have to supply as input the function expression, the names of the variables, and the lower- and upper-limit for each. So the only conceivable simplification I can see is to let the names of the variables be automatically generated by a defined multipleIntegrate function you define. But is that a significant saving? You'll already have to provide 2n + 1 inputs; is adding another n (the names x1, x2, ..., xn) such a big deal? On 3/23/2011 3:56 AM, schomi wrote: > Hi everybody > > I'm having troubles with multiple integrals in Mathematica and hope > that you guys might be able to help me. > > Calculating a multiple integral per se is not such a big deal, for > instance for n=2 the code would be of the form > > Integrate[f(x, y), {x, x_min, x_max}, {y, y_min,y_max}]. > > What I'd like to have is a general formula for computing an intergral > in R^n, ie of the form > > Integrate[f(x1, x2, ...., xn), {x1, x1_min, x1_max}, {x2, > x2_min,x2_max}, ...., {xn, xn_min, xn_max}] > > The dots .... should of course be replaced by code. Is there a way to > build something of this form? > > Any help would be appreciated. In case I am not making myself clear, > do not hesitate to ask question and I'll try to give you a better > explanation. > > Thanks a lot! > > schomi > -- Murray Eisenberg murray at math.umass.edu Mathematics & Statistics Dept. Lederle Graduate Research Tower phone 413 549-1020 (H) University of Massachusetts 413 545-2859 (W) 710 North Pleasant Street fax 413 545-1801 Amherst, MA 01003-9305