Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #7286

Re: integrate a sum using Mathematica

From Alexei Boulbitch <Alexei.Boulbitch@iee.lu>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: integrate a sum using Mathematica
Date 2011-12-16 11:10 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <jcf8u9$72r$1@smc.vnet.net> (permalink)

Show all headers | View raw


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





Why not? The syntax is a bit different. For example,

This is a sum (for this example I have chosen the one that will be
then certainly integrated):



sum[x] :=

Sum[x^i Exp[-x], {i, 0, n},

Assumptions -> {n \[Element] Integers && n > 0}]

sum[x]



(E^-x (-1 + x^(1 + n)))/(-1 + x)



And this is the integral:


Integrate[sum[x], {x, 0, Infinity},

Assumptions -> {n \[Element] Integers && n > 0}]



(I \[Pi] + ExpIntegralEi[1])/E -

E^(-I n \[Pi]) Gamma[2 + n] Subfactorial[-2 - n]



I did it in the last version, but I do not expect anything wrong also
in the 7th version.

Have fun, Alexei



Alexei BOULBITCH, Dr., habil.

IEE S.A.

ZAE Weiergewan,

11, rue Edmond Reuter,

L-5326 Contern, LUXEMBOURG



Office phone: +352-2454-2566

Office fax: +352-2454-3566

mobile phone: +49 151 52 40 66 44



e-mail: alexei.boulbitch@iee.lud

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Re: integrate a sum using Mathematica Alexei Boulbitch <Alexei.Boulbitch@iee.lu> - 2011-12-16 11:10 +0000

csiph-web