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


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

Splitting sums in mathematica

From jimbo <james.a.gordon1@googlemail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Splitting sums in mathematica
Date 2012-06-09 07:09 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <jqusrg$rnm$1@smc.vnet.net> (permalink)

Show all headers | View raw


Hello,

Does anyone know of a way to algebraically split sums (if that is the
correct name for it) in mathematica? I need to do the following (and
higher-order versions of the same)...

Sum_over_p [  Sum_over_q (  a_p * a_q  )   ] = Sum_over_p_equal_q
(a_p^2) + Sum_over_p_not_equal_q (a_p*a_q)

...in other words, turn a nested sum running over two indices into two
sum, one for when the indices are equal, and one for when they are
different?

I then need to make some substitutions once there are no nested sums
and simplify my answer. I have an equation with many hundreds of terms
in it, so doing it by hand is not an option. I can send a typeset
example if anyone needs clarification

I have version 5.2 for students

Thanks in advance

James

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


Thread

Splitting sums in mathematica jimbo <james.a.gordon1@googlemail.com> - 2012-06-09 07:09 +0000
  Re: Splitting sums in mathematica Ray Koopman <koopman@sfu.ca> - 2012-06-10 06:14 +0000
    Re: Splitting sums in mathematica Ray Koopman <koopman@sfu.ca> - 2012-06-11 04:04 +0000
      Re: Splitting sums in mathematica Ray Koopman <koopman@sfu.ca> - 2012-06-13 08:54 +0000
  Re: Splitting sums in mathematica "james.a.gordon1" <james.a.gordon1@googlemail.com> - 2012-06-13 09:00 +0000
    Re: Splitting sums in mathematica Ray Koopman <koopman@sfu.ca> - 2012-06-14 09:30 +0000

csiph-web