SumTools[Hypergeometric]
DefiniteSum
compute the definite sum
Calling Sequence
Parameters
Description
Examples
References
DefiniteSum(T, n, k, l..u)
T
-
function of n
n
name
k
l..u
range for k
For a specified hypergeometric term T of n and k, the DefiniteSum(T, n, k, l..u) command computes, if it exists, a closed form for the definite sum f⁡n=∑k=lu⁡T.
Let r, s, u, v be integers. The DefiniteSum command computes closed forms for four types of definite sums. They are ∑k=r⁢n+su⁢n+v⁡T⁡n,k, ∑k=r⁢n+s∞⁡T⁡n,k, ∑k=−∞u⁢n+v⁡T⁡n,k, and ∑k=−∞∞⁡T⁡n,k.
A closed form is defined as one that can be represented as a sum of hypergeometric terms or as a d'Alembertian term.
If the input T is a definite sum of a hypergeometric term, and if the environment variable _EnvDoubleSum is set to true, then DefiniteSum tries to find a closed form for the specified definite sum of T. Note that this operation can be very expensive.
For more information on the construction of the minimal Z-pair for T, see ExtendedZeilberger.
Note: If you set infolevel[DefiniteSum] to 3, Maple prints diagnostics.
with⁡SumToolsHypergeometric:
T≔−1k⁢binomial⁡2⁢n,k⁢binomial⁡2⁢n−k,n2⁢2⁢n+12⁢n+1+k:
Sum⁡T,k=0..n=DefiniteSum⁡T,n,k,0..n
∑k=0n⁡−1k⁢2⁢nk⁢2⁢n−kn2⁢2⁢n+12⁢n+1+k=2⁢nn⁢4⁢n+1n3⁢n+1n
T≔−1kk+1⁢binomial⁡2⁢n,k:
Set the infolevel to 3.
infolevelDefiniteSum≔3:
Sum⁡T,k=0..2⁢n−1=DefiniteSum⁡T,n,k,0..2⁢n−1
DefiniteSum: "try algorithms for definite sum" Definite: "Construct the Zeilberger recurrence" Definite: "Solve the recurrence equation ..." Definite: "Find hypergeometric solutions" Definite: "Solve the homogeneous linear recurrence equation" Definite: "Find a particular hypergeometric solution" Definite: "Find a particular d'Alembertian solution" Definite: "Construction of the general solution successful" Definite: "Solve the initial-condition problem"
∑k=02⁢n−1⁡−1kk+1⁢2⁢nk=−2⁢n+1⁢−3⁢Ψ⁡1,n+1+Ψ⁡1,n+124
infolevelDefiniteSum≔0:
T≔−1k⁢binomial⁡n,k⋅1binomial⁡x+k,k:
T≔Sum⁡eval⁡T,n=m,m=0..n
T≔∑m=0n⁡−1k⁢mkx+kk
_EnvDoubleSum≔true
∑k=0n⁡∑m=0n⁡−1k⁢mkx+kk=1+x⁢Ψ⁡x+n+1−x⁢Ψ⁡x+1
Abramov, S.A., and Zima, E.V. "D'Alembertian Solutions of Inhomogeneous Linear Equations (differential, difference, and some other)." Proceedings ISSAC'96, pp. 232-240. 1996.
Petkovsek, M. "Hypergeometric Solutions of Linear Recurrences with Polynomial Coefficients." Journal of Symbolic Computing. Vol. 14. (1992): 243-264.
van Hoeij, M. "Finite Singularities and Hypergeometric Solutions of Linear Recurrence Equations." Journal of Pure and Applied Algebra. Vol. 139. (1999): 109-131.
Zeilberger, D. "The Method of Creative Telescoping." Journal of Symbolic Computing. Vol. 11. (1991): 195-204.
See Also
infolevel
LinearOperators[dAlembertianSolver]
LREtools[hypergeomsols]
sum
SumTools[Hypergeometric][ExtendedZeilberger]
SumTools[Hypergeometric][IndefiniteSum]
SumTools[Hypergeometric][Zeilberger]
Download Help Document