Stirling's Formula For The Gamma Function
For all positive integers,
However, the Pi function, unlike the factorial, is more broadly defined for all complex numbers other than non-positive integers; nevertheless, Stirling's formula may still be applied. If then
Repeated integration by parts gives
where Bn is the nth Bernoulli number (note that the infinite sum is not convergent, so this formula is just an asymptotic expansion). The formula is valid for z large enough in absolute value when, where ε is positive, with an error term of when the first m terms are used. The corresponding approximation may now be written:
A further application of this asymptotic expansion is for complex argument z with constant . See for example the Stirling formula applied in of the Riemann-Siegel theta function on the straight line .
Read more about this topic: Stirling's Approximation
Famous quotes containing the words stirling, formula and/or function:
“Oh, if thy pride did not our joys control,
What world of loving wonders shouldst thou see!
For if I saw thee once transformed in me,
Then in thy bosom I would pour my soul;”
—William Alexander, Earl O Stirling (1580?1640)
“Ideals possess the strange quality that if they were completely realized they would turn into nonsense. One could easily follow a commandment such as Thou shalt not kill to the point of dying of starvation; and I might establish the formula that for the proper functioning of the mesh of our ideals, as in the case of a strainer, the holes are just as important as the mesh.”
—Robert Musil (18801942)
“The mothers and fathers attitudes toward the child correspond to the childs own needs.... Mother has the function of making him secure in life, father has the function of teaching him, guiding him to cope with those problems with which the particular society the child has been born into confronts him.”
—Erich Fromm (19001980)