请输入您要查询的字词:

 

单词 AsymptoticBoundsForFactorial
释义

asymptotic bounds for factorial


Stirling’s formulaMathworldPlanetmathPlanetmath furnishes the following asymptoticbound for the factorial:

n!=2πnn+1/2e-n(1+Θ(1n)),n.

The following less precise bounds are useful for counting purposesin computer science:

n!=o(nn)(1)
n!=ω(nλn)  for every 0λ<1(2)
logn!=Θ(nlogn)(3)

(o, ω, and Θ are Landau notation.)

Proof of the upper bound of equation (1).

We must show that for every ε>0, we have

n!εnnfor large enough n.

To see this, write

n!=2πnen(1+O(1n))nn,

and observe that the middle quantity tends to 0 asn,so it can be made smaller than any fixed εby taking n large.∎

Proof of the lower bound of equation (2).

We are to show that for every C>0, we have

n!Cnλnfor large enough n.

We write:

n!=2πn(1+O(1n))(ne1/(1-λ))(1-λ)nnλn,

and the middle expression can be made to be Cby taking n to be large.∎

Proof of bound for logn!, equation (3).

Showing logn!=O(nlogn)is simple:

n!=n(n-1)(2)(1)nn
logn!nlogn

for all n1.

To show logn!=Ω(nlogn),we can take equation (2) with the constants C=1and λ=12. Then

logn!12nlogn

for large enough n. In fact, it may be checked that n1 suffices.∎

References

  • 1 Thomas H. Cormen, Charles E. Leiserson, Ronald L. Rivest, Clifford Stein.Introduction to AlgorithmsMathworldPlanetmath, second edition. MIT Press, 2001.
  • 2 Michael Spivak. Calculus, third edition. Publish or Perish, 1994.
随便看

 

数学辞典收录了18232条数学词条,基本涵盖了常用数学知识及数学英语单词词组的翻译及用法,是数学学习的有利工具。

 

Copyright © 2000-2023 Newdu.com.com All Rights Reserved
更新时间:2025/5/4 16:34:49