HomotopySum - 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]

  

HomotopySum

  

compute closed forms of indefinite sums of expressions containing unspecified functions

 

Calling Sequence

Parameters

Description

Notes

Examples

References

Calling Sequence

HomotopySum(E, k)

Parameters

E

-

any algebraic expression

k

-

name, specifies the summation index

Description

• 

The HomotopySum command allows for the symbolic summation of expressions containing unspecified functions of a discrete variable. A typical example is HomotopySum(u[k+1]-u[k], k), which returns uk.

• 

HomotopySum uses discrete homotopy methods to find an anti-difference of the given expression - see the references at the end.

Notes

• 

This command is based on code written by Bernard Deconinck, Michael A. Nivala, and Matthew S. Patterson.

Examples

> 

with⁡SumToolsIndefiniteSum:

> 

E≔uk+1−uk

E≔uk+1−uk

(1)
> 

HomotopySum⁡E,k

uk

(2)
> 

E≔1uk+2+uk+1−1uk+1+uk

E≔1uk+2+uk+1−1uk+1+uk

(3)
> 

HomotopySum⁡E,k

1uk+1+uk

(4)

If no anti-difference is found, HomotopySum minimizes the number of terms remaining unsummed, as well as the order of their summation indices.

> 

E≔2⁢uk+32⁢uk+2−uk+12⁢uk+uk+2

E≔−uk⁢uk+12+2⁢uk+32⁢uk+2+uk+2

(5)
> 

HomotopySum⁡E,k

2⁢uk⁢uk+12+2⁢uk+22⁢uk+1+uk+uk+1+∑k⁡uk⁢uk+12+uk

(6)

The input expression may contain combinations of specified and unspecified functions of the summation index.

> 

E≔expand⁡k+13⁢uk+2⁢vk+15+vk+23−k3⁢uk+1⁢vk5

E≔−k3⁢uk+1⁢vk5+k3⁢uk+2⁢vk+15+3⁢k2⁢uk+2⁢vk+15+3⁢k⁢uk+2⁢vk+15+uk+2⁢vk+15+vk+23

(7)
> 

HomotopySum⁡E,k

k3⁢uk+1⁢vk5+vk3+vk+13+∑k⁡vk3

(8)

References

  

Hereman, W.; Colagrosso, M.; Sayers, R.; Ringler, A.; Deconinck, B.; Nivala, M.; and Hickman, M. "Continuous and Discrete Homotopy Operators with Applications in Integrability Testing." In Differential Equations with Symbolic computation, pp. 255-290. Edited by D. Wang and Z. Zheng. Birkhauser, 2005.

See Also

SumTools

SumTools[IndefiniteSum]