Stirling's Approximation - Stirling's Formula For The Gamma Function

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)

    “Given for one instant an intelligence which could comprehend all the forces by which nature is animated and the respective positions of the beings which compose it, if moreover this intelligence were vast enough to submit these data to analysis, it would embrace in the same formula both the movements of the largest bodies in the universe and those of the lightest atom; to it nothing would be uncertain, and the future as the past would be present to its eyes.”
    —Pierre Simon De Laplace (1749–1827)

    “For me being a poet is a job rather than an activity. I feel I have a function in society, neither more nor less meaningful than any other simple job. I feel it is part of my work to make poetry more accessible to people who have had their rights withdrawn from them.”
    —Jeni Couzyn (b. 1942)