Speed of Convergence and Error Estimates
More precisely,
with
Stirling's formula is in fact the first approximation to the following series (now called the Stirling series):
Explicit formula for the coefficients in this series was given by G. Nemes . The first graph in this section shows the relative error vs. n, for 1 through all 5 terms listed above.
As, the error in the truncated series is asymptotically equal to the first omitted term. This is an example of an asymptotic expansion. It is not a convergent series; for any particular value of n there are only so many terms of the series that improve accuracy, after which point accuracy actually gets worse. This is demonstrated in the next graph, which shows the relative error vs. the number of terms in the series, for larger numbers of terms. (More precisely, let be the Stirling series to t terms evaluated at n. The graphs show, which, when small, is essentially the relative error.)
Writing Stirling's series in the form:
it is known that the error in truncating the series is always of the same sign and at most the same magnitude as the first omitted term.
Read more about this topic: Stirling's Approximation
Famous quotes containing the words speed of, speed, error and/or estimates:
“No speed of wind or water rushing by
But you have speed far greater.”
—Robert Frost (18741963)
“For myself and my loved ones, I want the heat, which comes at the speed of light. I dont want to have to hang about for the blast, which idles along at the speed of sound.”
—Martin Amis (b. 1949)
“Error is a supposition that pleasure and pain, that intelligence, substance, life, are existent in matter. Error is neither Mind nor one of Minds faculties. Error is the contradiction of Truth. Error is a belief without understanding. Error is unreal because untrue. It is that which seemeth to be and is not. If error were true, its truth would be error, and we should have a self-evident absurditynamely, erroneous truth. Thus we should continue to lose the standard of Truth.”
—Mary Baker Eddy (18211910)
“A State, in idea, is the opposite of a Church. A State regards classes, and not individuals; and it estimates classes, not by internal merit, but external accidents, as property, birth, etc. But a church does the reverse of this, and disregards all external accidents, and looks at men as individual persons, allowing no gradations of ranks, but such as greater or less wisdom, learning, and holiness ought to confer. A Church is, therefore, in idea, the only pure democracy.”
—Samuel Taylor Coleridge (17721834)