AccurateSummation - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


SumTools[IndefiniteSum]

  

AccurateSummation

  

compute closed forms of indefinite sums using accurate summation

 

Calling Sequence

Parameters

Description

Examples

References

Calling Sequence

AccurateSummation(T, n)

Parameters

T

-

function of n

n

-

name; specifies summation index

Description

• 

The AccurateSummation(T, n) command solves the problem of indefinite summation using accurate summation.

• 

The output from AccurateSummation is a function G such that T⁡n=G⁡n+1−G⁡n if the algorithm succeeds in constructing one. Otherwise, it returns FAIL.

Examples

> 

with⁡SumToolsIndefiniteSum:

> 

T≔Γ⁡n+1−Γ⁡n−Ψ⁡n

T≔Γ⁡n+1−Γ⁡n−Ψ⁡n

(1)
> 

AccurateSummation⁡T,n

n4−n3−6⁢n2−6⁢n−5⁢Γ⁡n+1−Γ⁡n−Ψ⁡nn2+n+3−n5−n4−10⁢n3−9⁢n2−2⁢Γ⁡n+2−Γ⁡n+1−Ψ⁡n+1n⁢n2+n+3+n+1⁢n3−5⁢n2+4⁢n−2⁢Γ⁡n+3−Γ⁡n+2−Ψ⁡n+2n⁢n2+n+3

(2)

Note that since T is not a hypergeometric term of n, Gosper's algorithm fails to compute an anti-difference:

> 

Hypergeometric⁡T,n

FAIL

(3)

References

  

Abramov, S.A. and van Hoeij, M. "Integration of Solutions of Linear Functional Equations." Integral Transformations and Special Functions, (1999): 3-12. Vol. 8. No. 1-2.

See Also

SumTools[IndefiniteSum]

SumTools[IndefiniteSum][Indefinite]