Re: integrate a sum using Mathematica
- To: mathgroup at smc.vnet.net
- Subject: [mg123697] Re: integrate a sum using Mathematica
- From: Bob Hanlon <hanlonr357 at gmail.com>
- Date: Fri, 16 Dec 2011 05:43:30 -0500 (EST)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
- References: <201112150954.EAA22899@smc.vnet.net>
I don't know what you are trying to do. One of these may be close. Clear[f, x] n = 3; var = Array[x, n] {x[1], x[2], x[3]} Total[Integrate[f[#], {#, 0, Infinity}] & /@ var] Integrate[f[x[1]], {x[1], 0, Infinity}] + Integrate[f[x[2]], {x[2], 0, Infinity}] + Integrate[f[x[3]], {x[3], 0, Infinity}] Integrate[Total[f /@ var], Evaluate[Sequence @@ ({#, 0, Infinity} & /@ var)]] Integrate[f[x[1]] + f[x[2]] + f[x[3]], {x[1], 0, Infinity}, {x[2], 0, Infinity}, {x[3], 0, Infinity}] Bob Hanlon On Thu, Dec 15, 2011 at 4:54 AM, <rana_dandis at yahoo.com> wrote: > How can I integrate a sum using Mathematica >> eg polyIntegrate[Sum[f[x_[[i]]],{i,1,n}],{x[[i]],0,infinty}] >> am new in using Mathematica ,,,i have version 7 >
- References:
- integrate a sum using Mathematica
- From: rana_dandis@yahoo.com
- integrate a sum using Mathematica