Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'sums with delta functions' topicStudent Support Forum > General > "sums with delta functions"

Help | Reply To Topic
Author Comment/Response
Za
09/08/08 9:38pm


I was trying to get mathematica to simplify sums such as the following:

Sum[KroneckerDelta[i, k], {i, 1, n}, {k, 1, n}]

which should automatically resolve to n, or to simplify

Sum[KroneckerDelta[i, k]x[i], {i, 1, n}, {k, 1, n}]

but was unable to do so. Is mathematica capable of doing this, and if so, what is the appropriate command?

Also, I was wondering if there was a way to get the product of sums to be expanded as, for example, an appropriate double-sum.

URL: ,
Help | Reply To Topic