Group Abstract Group Abstract

Message Boards Message Boards

0
|
4.5K Views
|
3 Replies
|
0 Total Likes
View groups...
Share
Share this post:

Potential Bug In Summation Formula

Posted 11 years ago

I've been trying for a long time to essentially write this formula (which I know is weird - substance only minimally matters here):

Sum[(x - Sum[x,{x,1,9}]/9), {x,1,9}] The divided by nine is for some reason corrupting the formula. I've also tried * 1/9 and switched the order ... nothing works.

The annoying thing is when I use the "build a function" offering from Wolfram Alpha (input fields prompt me for the equation, lower and upper limits), I enter: x - Sum[x, {x,1,9}] * 1/9 and set the lower limit to 1 and upper limit to 9 ... and it works (but I need to do a bit more than just evaluate it - I know there are some ways I can cheat this and get the same result, but I'm going for the exact image).

POSTED BY: Daniel Folsom
3 Replies
POSTED BY: Frank Kampas

So I can understand, what is wrong?

Do you believe that Mathematica gives the wrong result when evaluating:

Sum[(x - Sum[x, {x, 1, 9}]/9), {x, 1, 9}]

If so, what result do you expect from it? This will help clarify what you expect.

As a general rule, you should not nest Sums inside each other when they have the same independant variable. You should change the independant variable so that it reads:

Sum[(x - Sum[i, {i, 1, 9}]/9), {x, 1, 9}]

If this isn't the forumula you are looking for, then please write out (maybe with TeX or something) what summation you want to put into Mathematica. Mathematica is evaluating your code correctly.

POSTED BY: Sean Clarke
Posted 11 years ago
POSTED BY: Daniel Folsom
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard