convert/binomial
Convert to Binomial Form
Calling Sequence
Parameters
Description
Examples
convert(e, binomial)
e
-
expression
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!i⁢f2!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!
a≔n!k!⁢n−k!
convert⁡a,binomial
nk
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!
n⁢n2+mkn2−k+m+1
a≔m!33⁢m!
13⁢mm⁢2⁢mm
a≔Γ⁡m+32sqrt⁡π⁢Γ⁡m
a≔Γ⁡m+32π⁢Γ⁡m
m⁢m+1⁢m+12−12
See Also
convert/factorial
convert/GAMMA
Download Help Document