SumTools[IndefiniteSum]
Polynomial
compute closed forms of indefinite sums of polynomials
Calling Sequence
Parameters
Description
Examples
Polynomial(f, k)
f
-
polynomial in k
k
name
The Polynomial(f, k) command computes a closed form of the indefinite sum of f with respect to k.
Polynomials are summed using a formula based on Bernoulli polynomials.
with⁡SumToolsIndefiniteSum:
p≔68⁢y2−17⁢x2⁢y2−98⁢x⁢y3−36⁢x4⁢y+40⁢x3⁢y2+22⁢x2⁢y3
p≔−36⁢x4⁢y+40⁢x3⁢y2+22⁢x2⁢y3−17⁢x2⁢y2−98⁢x⁢y3+68⁢y2
dpx≔Polynomial⁡p,x
dpx≔3916⁢y2⁢x−60⁢x2⁢y3+1583⁢x⁢y3+223⁢x3⁢y3−773⁢x3⁢y2+372⁢x2⁢y2+10⁢y2⁢x4−365⁢y⁢x5+18⁢x4⁢y−12⁢y⁢x3+65⁢y⁢x
expand⁡p−eval⁡dpx,x=x+1−dpx
0
dpy≔Polynomial⁡p,y
dpy≔−18⁢y2⁢x4+18⁢x4⁢y+403⁢x3⁢y3−503⁢x2⁢y3+683⁢y3−20⁢x3⁢y2+14⁢x2⁢y2−34⁢y2+203⁢y⁢x3−176⁢x2⁢y+343⁢y+112⁢x2⁢y4−492⁢x⁢y4+49⁢x⁢y3−492⁢y2⁢x
expand⁡p−eval⁡dpy,y=y+1−dpy
See Also
SumTools[IndefiniteSum][Indefinite]
Download Help Document