One may notice, $$\displaystyle \sum_{k=1}^n \log k=\log n!$$ Applying Integral test for convergence one can obtain, $$\log \left[\dfrac{e^2}{4}\cdot\left(\dfrac{n}{e}\right)^n\right] \le \displaystyle \sum_{k=1}^n \log k\le \log \left[\dfrac{e^2}{2}\cdot\left( \dfrac{n}{e}\right)^n\right]$$ or, say $$\log \left[\dfrac{e^2}{4}\cdot\left(\dfrac{n}{e}\right)^n\right] \le \log n!\le \log \left[\dfrac{e^2}{2}\cdot\left( \dfrac{n}{e}\right)^n\right]$$ Now playing with exponents gives us, $$\dfrac{e^2}{4}\cdot\left(\dfrac{n}{e}\right)^n \le n!\le \dfrac{e^2}{2}\cdot\left( \dfrac{n}{e}\right)^n$$ The higher bound $\dfrac{e^2}{2}\cdot\left( \dfrac{n}{e}\right)^n$ gives a good approximation for $n!$ but it's not so good compared to Stirling's approximation. Any explanation for this or, idea to improve this any further?
2026-03-25 18:58:45.1774465125
Approximation for $n!$
420 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
1
There are 1 best solutions below
Related Questions in FACTORIAL
- How is $\frac{\left(2\left(n+1\right)\right)!}{\left(n+1\right)!}\cdot \frac{n!}{\left(2n\right)!}$ simplified like that?
- Remainder of $22!$ upon division with $23$?
- What is the name of this expression?
- How to compute $\left(\frac{n-1}{2}\right)!\pmod{n}$ fast?
- Proving $\sum_{k=1}^n kk!=(n+1)!−1$
- How do we know the Gamma function Γ(n) is ((n-1)!)?
- Approximate value of $15!$
- Limit of a Sequence involving factorials
- How to understand intuitively the fact that $\log(n!) = n\log(n) - n + O(\log(n))$?
- Deriving the fact that the approximation $\log(n!) \approx n\log(n) - n + \frac{1}{2}\log(2\pi n)$ is $O(1/n)$.
Related Questions in STIRLING-NUMBERS
- About the corvergence of series involving Stirling numbers of first kind and number theoretic functions
- Algebraic derivation of the recurrence for Stirling numbers of the second kind
- A sum involving Stirling numbers of the second kind.
- Number of entries are not divisible by x in the n th row of triangle
- odd property of Eulerian numbers
- Statistics: Using Stirling's Approximation with $3 N$
- General form of the coefficients of the polynomial $p(z)=\binom{q+z}{n}+\binom{q-z}{n}$
- Combinatorial proof for a Stirling identity
- How can I find $f(a,b,c)=e^{-c^a/a}\sum\limits_{n=0}^{\infty}\left(\frac{c^a}{a}\right)^{n}\frac{(an)^{b}}{n!}$?
- Asymptotic formula for the integral sequence s(n)
Trending Questions
- Induction on the number of equations
- How to convince a math teacher of this simple and obvious fact?
- Find $E[XY|Y+Z=1 ]$
- Refuting the Anti-Cantor Cranks
- What are imaginary numbers?
- Determine the adjoint of $\tilde Q(x)$ for $\tilde Q(x)u:=(Qu)(x)$ where $Q:U→L^2(Ω,ℝ^d$ is a Hilbert-Schmidt operator and $U$ is a Hilbert space
- Why does this innovative method of subtraction from a third grader always work?
- How do we know that the number $1$ is not equal to the number $-1$?
- What are the Implications of having VΩ as a model for a theory?
- Defining a Galois Field based on primitive element versus polynomial?
- Can't find the relationship between two columns of numbers. Please Help
- Is computer science a branch of mathematics?
- Is there a bijection of $\mathbb{R}^n$ with itself such that the forward map is connected but the inverse is not?
- Identification of a quadrilateral as a trapezoid, rectangle, or square
- Generator of inertia group in function field extension
Popular # Hahtags
second-order-logic
numerical-methods
puzzle
logic
probability
number-theory
winding-number
real-analysis
integration
calculus
complex-analysis
sequences-and-series
proof-writing
set-theory
functions
homotopy-theory
elementary-number-theory
ordinary-differential-equations
circles
derivatives
game-theory
definite-integrals
elementary-set-theory
limits
multivariable-calculus
geometry
algebraic-number-theory
proof-verification
partial-derivative
algebra-precalculus
Popular Questions
- What is the integral of 1/x?
- How many squares actually ARE in this picture? Is this a trick question with no right answer?
- Is a matrix multiplied with its transpose something special?
- What is the difference between independent and mutually exclusive events?
- Visually stunning math concepts which are easy to explain
- taylor series of $\ln(1+x)$?
- How to tell if a set of vectors spans a space?
- Calculus question taking derivative to find horizontal tangent line
- How to determine if a function is one-to-one?
- Determine if vectors are linearly independent
- What does it mean to have a determinant equal to zero?
- Is this Batman equation for real?
- How to find perpendicular vector to another vector?
- How to find mean and median from histogram
- How many sides does a circle have?
Edit: This started as random estimates on $n!$. It turns out that one can actually prove Stirling's formula this way, if one believes Wallis's formula for $\pi$.
In fact your upper bound is wrong. Stirling says $$\frac{n!}{(n/e)^n}\sim\sqrt{2\pi n},$$hence $n!$ is not bounded above by $c(n/e)^n$.
Possibly you did the integral wrong, or more likely you compared the sum to the wrong integral. You can get valid bounds by this method. Noting that $\log(n!)=\sum_{k=2}^n\log(k)$ it follows that $$\int_1^n\log(t)\,dt\le\log(n!)\le\int_2^{n+1}\log(t)\,dt;$$now note that $\int\log(t)\,dt=t\log(t)-t$ and see what happens... When I do the calculus I get $$e\left(\frac ne\right)^n\le n!\le\frac e4\frac{(n+1)^{n+1}}{e^n}.$$ Note I didn't do the calculus very carefully.
This is very crude; the upper and lower bounds differ by roughly a factor of $cn$. (In fact Stirling's formula shows that the truth is just a constant times the geometric mean of the upper and lower bounds, a satisfying sanity check.) The reason it's so bad is we're using just $\int_{k-1}^k\log t\le\log k\le\int_k^{k+1}\log t$, which is pretty rough.
You could get a better estimate, with upper and lower bounds differing by a constant, by comparing $\log k$ to $\int_{k-1/2}^{k+1/2}\log t$. Except now the comparison is not so trivial. For example, $$\begin{align}\log k-\int_{k-1/2}^{k+1/2}\log t&=\int_0^{1/2} 2\log k-(\log(k+t)+\log(k-t)) \\&=\int_0^{1/2}\log\left(1+\frac{t^2}{k^2-t^2}\right) \\&\le\int_0^{1/2}\frac{t^2}{k^2-t^2} \\&\le\frac1{k^2-1/4}\int_0^{1/2}t^2 \\&=\frac1{24}\frac1{(k-1)^2},\end{align}$$so that $$0\le\log(n!)-\int_{3/2}^{n+1/2}\log t\le\frac{\pi^2}{144}.$$I'm not going to bother working out that last integral, since this doesn't quite give Stirling's formula anyway. But it does give estimates within a constant of Stirling's formula...
No wait! Actually this does give Stirling's formula, except with an unknown constant. The above shows that $\sum|\log k-\int_{k-1/2}^{k+1/2}\log t|<\infty$, and hence there exists a finite $c$ so that $$\log(n!)-\int_{3/2}^{n+1/2}\log t\to c.$$So (letting the value of $c$ vary from line to line), $$\log(n!)-((n+1/2)\log(n+1/2)-n)\to c.$$ Now $$\frac{(n+1/2)^{n+1/2}}{n^n}\sim\sqrt n\left(\frac{n+1/2}{n}\right)^n\sim c\sqrt n,$$ so we get $$n!\sim c\sqrt n\left(\frac ne\right)^n.$$
Bonus I asked elsewhere whether there was a trick to find $c$ here. Someone suggested Wallis's formula. Sure enough: Wallis's formula says that $$\frac\pi 2=\lim_{n\to\infty}\frac1{2n+1}\frac{2^{4n}(n!)^4}{((2n)!)^2}.$$If you insert $n!\sim c\sqrt n(n/e)^n$ it follows that $c=\sqrt{2\pi}$, and we have Stirling's formula.