definite and indefinite symbolic summation
name; summation index
integers or arbitrary expressions
The sum command (sum) is for symbolic summation.
You can enter the command sum using either the 1-D or 2-D calling sequence. For example, sum(k^2,k) is equivalent to ∑kk2.
Computes a closed form for a sum.
Maple returns the call unevaluated if it cannot find a closed form.
To add a finite sequence of values, rather than compute a formula, use the add command. For example, add(k, k=0..9) returns 45. Although the sum command can often be used to compute explicit sums, it is strongly recommended that the add command be used in programs if an explicit sum is needed, in particular, when summing over all elements of a list, Array, Matrix, or similar data structure.
To add a finite sequence of values, the add command can be used.
For detailed information including:
Complete description of all parameters
Complete description of functionality including indefinite summation and the inert form, Sum
Details and examples comparing sum and add commands
see the sum/details help page.
The sum command was updated in Maple 15; see Enhancements to Computational Algorithms in Maple 15.
The sum command was updated in Maple 2016; see Advanced Math.
Download Help Document
What kind of issue would you like to report? (Optional)
Thank you for submitting feedback on this help document. Your feedback will be used
to improve Maple's help in the future.