|
|
|
|
asymptotic bounds for factorial
|
(Result)
|
|
|
Stirling's formula furnishes the following asymptotic bound for the factorial:
The following less precise bounds are useful for counting purposes in computer science:
($o$ , $\omega$ , and $\Theta$ are Landau notation.)
Proof. [Proof of the upper bound of equation ( 1)] We must show that for every $\varepsilon > 0$ , we have $$ n! \leq \varepsilon \, n^n \quad \text{for large enough $n$.} $$
To see this, write
and observe that the middle quantity tends to $0$ as $n \to \infty$ , so it can be made smaller than any fixed $\varepsilon$ by taking $n$ large. 
Proof. [Proof of the lower bound of equation ( 2)] We are to show that for every $C > 0$ , we have $$ n! \geq C \, n^{\lambda n} \quad \text{for large enough $n$.} $$
We write:
and the middle expression can be made to be $\geq C$ by taking $n$ to be large. 
Proof. [Proof of bound for $\log n!$ , equation ( 3)] Showing $\log n! = O (n \log n)$ is simple:
for all $n \geq 1$ .
To show $\log n! = \Omega (n \log n)$ , we can take equation (2) with the constants $C = 1$ and $\lambda = \tfrac 1 2$ . Then
for large enough $n$ . In fact, it may be checked that $n \geq 1$ suffices. 
- 1
- Thomas H. Cormen, Charles E. Leiserson, Ronald L. Rivest, Clifford Stein. Introduction to Algorithms, second edition. MIT Press, 2001.
- 2
- Michael Spivak. Calculus, third edition. Publish or Perish, 1994.
|
"asymptotic bounds for factorial" is owned by stevecheng.
|
|
(view preamble | get metadata)
Cross-references: simple, expression, lower bound, fixed, equation, upper bound, Landau notation, computer, useful, factorial, bound, Stirling's formula
There is 1 reference to this entry.
This is version 4 of asymptotic bounds for factorial, born on 2006-05-09, modified 2006-05-10.
Object id is 7910, canonical name is AsymptoticBoundsForFactorial.
Accessed 6740 times total.
Classification:
| AMS MSC: | 41A60 (Approximations and expansions :: Asymptotic approximations, asymptotic expansions ) | | | 68Q25 (Computer science :: Theory of computing :: Analysis of algorithms and problem complexity) |
|
|
|
|
|
|
Pending Errata and Addenda
|
|
|
|
|
|
|
|
|
|
|