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!if2!jf3!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
f1f2cf2!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
cf3!f1!f2!f2f1
Transformation 2: given a product
…f1!if2!j…
where i,j are integers and f1f2 is a rational constant r.
Case 1: 1<r. Multiply by f2!f1f2f1−f2!f1!
Case 2: r<1. Multiply by f2!f1!f2f1f2−f1!
a≔n!k!n−k!
converta,binomial
nk
a≔nn2+m−k+2n2+m!k!n2+m−k+2!
a≔nn2−k+m+2n2+m!k!n2−k+m+2!
nn2+mkn2−k+m+1
a≔m!33m!
13mm2mm
a≔Γm+32sqrtπΓm
a≔Γm+32πΓm
mm+1m+12−12
See Also
convert/factorial
convert/GAMMA
Download Help Document