MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

Interaction of Sum/Plus and KroneckerDelta


I'm fighting Mathematica 5.1.0 to perform a (seemingly) elementary
simplification, and Mathematica - so far - wins, so i thought i'd
consult some veterans.
Here's a simplified example of the problem.

type:
Sum[KroneckerDelta[i, j], {i, 1, 5}]

and you get:
KroneckerDelta[1, j] + KroneckerDelta[2, j] +
  KroneckerDelta[3, j] + KroneckerDelta[4, j] + KroneckerDelta[5, j]

which i want to simplify to 1.  The direct approach:
Simplify[%, Assumptions -> {j â?? Integers, 0 < j < 3}]

still gives:
KroneckerDelta[1, j] + KroneckerDelta[2, j]

Can Mathematica somehow automatically transform this to 1?
modification of the original sum are welcome too, of course.

  thanks for any ideas,

    Ofek Shilon


  • Prev by Date: Re: Re: New in 5.1.1?
  • Next by Date: Re: Surface Normal
  • Previous by thread: Re: question: re-organising equations
  • Next by thread: Re: Interaction of Sum/Plus and KroneckerDelta