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


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

Re: Bug in Sum?

From Dana DeLouis <dana01@me.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Bug in Sum?
Date 2011-07-02 09:05 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <iumn1a$abt$1@smc.vnet.net> (permalink)

Show all headers | View raw


Hi.  I've noticed over time that Mathematica doesn't work well with specific values in the power function, just as you noticed.
It's been this way for a while.
I find that using a variable for the power usually works well.
Hence...

Sum[1/((n*(1 + n))*(1 - x)^p), {n, 1, m}]

m/((1 - x)^p*(1 + m))

Then... put your power of 4 back in:

% /. p -> 4
m/((1 + m)*(1 - x)^4)

Just note that the capital letter M is a reserve word in the Combinatorica Package.

= = = = = = = = = =
HTH  : >)
Dana DeLouis
$Version
8.0 for Mac OS X x86 (64-bit) (November 6, 2010)



On Jun 29, 5:42 pm, Dario <dario.benede...@aei.mpg.de> wrote:
> I am very puzzled by the fact that Mathematica does not evaluate the following Sum (it keeps running endlessly):
>
> Sum[1/(n  (1 + n)) 1/((1 - x)^4) , {n, 1, M}]
>
> where x and M are some undefined variables,
>
> but it does evaluate
>
> Sum[1/(n  (1 + n)) 1/((1 - x)^2) , {n, 1, M}]
>
> where I have only changed the power of (1-x), which should not matter as it must factor out!
>
> Any help on this please?


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


Thread

Re: Bug in Sum? Dana DeLouis <dana01@me.com> - 2011-07-02 09:05 +0000

csiph-web