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

Online Help

All Products    Maple    MapleSim


convert/hypergeom

convert functions in an expression to hypergeometric form

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

convert( expr, hypergeom, opt_1, opt_2, ... )

Parameters

expr

-

expression

opt_i

-

optional arguments, see convert/to_special_function

Description

• 

Converts the functions found in expr, including sum and Sum, to their hypergeometric forms when possible.

• 

For sums, no attempt is made to ensure that the resulting hypergeometric function is convergent or terminates.

• 

convert/hypergeom reacts to the setting of the environment variable _EnvFormal (for more information, see sum/details). When that variable is set to true, the conversion will be attempted regardless of whether the original sum may be divergent or not.

Examples

> 

Sum⁡1k⁢binomial⁡k+n,k,k=1..∞

∑k=1∞⁡1k⁢k+nk

(1)
> 

convert⁡&comma;hypergeomassuming0<n

1n

(2)
> 

BesselJ⁡a&comma;z

BesselJ⁡a&comma;z

(3)
> 

=convert⁡&comma;hypergeom

BesselJ⁡a&comma;z=za⁢hypergeom⁡&comma;a+1&comma;−z24Γ⁡a+1⁢2a

(4)
> 

LegendreP⁡a&comma;b&comma;z

LegendreP⁡a&comma;b&comma;z

(5)
> 

=convert⁡&comma;hypergeom

LegendreP⁡a&comma;b&comma;z=z+1b2⁢hypergeom⁡−a&comma;a+1&comma;1−b&comma;12−z2z−1b2⁢Γ⁡1−b

(6)
> 

KummerU⁡a&comma;b&comma;z

KummerU⁡a&comma;b&comma;z

(7)
> 

=convert⁡&comma;hypergeom

KummerU⁡a&comma;b&comma;z=Γ⁡−1+b⁢hypergeom⁡a−b+1&comma;2−b&comma;zz−1+b⁢Γ⁡a+Γ⁡1−b⁢hypergeom⁡a&comma;b&comma;zΓ⁡a−b+1

(8)

For negative a we have

> 

=convert⁡&comma;hypergeomassuminga::negint

KummerU⁡a&comma;b&comma;z=pochhammer⁡a−b+1&comma;−a⁢hypergeom⁡a&comma;b&comma;z

(9)

Elementary functions are not converted by default (see convert/to_special_function)

> 

convert⁡sin⁡z&comma;hypergeom

sin⁡z

(10)

To convert them use either of the optional arguments: include=elementary, or include=all

> 

sin⁡z

sin⁡z

(11)
> 

=convert⁡&comma;hypergeom&comma;include=all

sin⁡z=z⁢hypergeom⁡&comma;32&comma;−z24

(12)

Parametric or divergents sums may not be converted by default. Set _EnvFormal to true, or use appropriate assumptions, to obtain the desired conversion:

> 

S≔Sum⁡xnn&comma;n=1..∞

S≔∑n=1∞⁡xnn

(13)
> 

convert⁡S&comma;hypergeom

∑n=1∞⁡xnn

(14)
> 

convert⁡S&comma;hypergeomassumingabs⁡x<1

−ln⁡1−x

(15)
> 

_EnvFormal≔true

_EnvFormal≔true

(16)
> 

convert⁡S&comma;hypergeom

−ln⁡1−x

(17)

See Also

convert

convert/MeijerG

convert/to_special_function

hypergeom

simplify/hypergeom