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

Online Help

All Products    Maple    MapleSim


convert/binomial

Convert to Binomial Form

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

convert(e, binomial)

Parameters

e

-

expression

Description

• 

This option to convert converts the GAMMA function and factorials in an expression e to binomial coefficients. The code performs the following two transformations on products of factorials and the GAMMA function.

• 

Transformation 1: given a product

…f1!i⁢f2!j⁢f3!k…

  

where i,j,k are integers. Note, the code handles the case where f1, f2, and f3 are GAMMA functions, and also the special case π=Γ⁡12.

  

Case 1: 0<i and j,k<0.  Then if f1−f2−f3=n, an integer, the product is multiplied by

f1f2⁢c⁢f2!⁢f3!f1!

  

where c is a correction factor depending on n and f3.

  

Similarly, CASE 2: where i,0<j, k<0.  This is the case where the binomial appears in the denominator.  Then if f3−f1−f2=n, an integer, the product is multiplied by

c⁢f3!f1!⁢f2!⁢f2f1

• 

Transformation 2: given a product

…f1&excl;i⁢f2&excl;j…

  

where i,j are integers and f1f2 is a rational constant r.

  

Case 1: 1<r.  Multiply by   f2!⁢f1f2⁢f1−f2!f1!

  

Case 2: r<1.  Multiply by   f2!f1!⁢f2f1⁢f2−f1!

Examples

> 

a≔n!k!⁢n−k!

a≔n!k!⁢n−k!

(1)
> 

convert⁡a&comma;binomial

nk

(2)
> 

a≔n⁢n2+m−k+2⁢n2+m!k!⁢n2+m−k+2!

a≔n⁢n2−k+m+2⁢n2+m!k!⁢n2−k+m+2!

(3)
> 

convert⁡a&comma;binomial

n⁢n2+mkn2−k+m+1

(4)
> 

a≔m!33⁢m!

a≔m!33⁢m!

(5)
> 

convert⁡a&comma;binomial

13⁢mm⁢2⁢mm

(6)
> 

a≔Γ⁡m+32sqrt⁡π⁢Γ⁡m

a≔Γ⁡m+32π⁢Γ⁡m

(7)
> 

convert⁡a&comma;binomial

m⁢m+1⁢m+12−12

(8)

See Also

convert/factorial

convert/GAMMA