Prove that nlog(n)−n+1≤log(n!)≤(n+1)log(n+1)−(n+1)−(2log(2)−2).
Approximating ∫n1log(x)dx using a riemman sum at right endpoints is log(2)+log(3)+⋯+log(n)=log(n!) which overestimates so the claim for the lower bound follows. For the upper bound we integrate ∫n+12log(x)dx.
I can prove the upper bound if I can show that log(1+1n)≤1n. I know that the Taylor expansion of log(1+1n) is an alternating series but I am not sure how to show this.
I hope someone can provide some guidance and also clarify why is
∫n1log(x)dx≤∫n+12log(x)dx. Is this because log(x) is an increasing function?
Answer
The fact that log(1+x)≤x for x>−1 is a consequence of just concavity, no higher than second derivatives are required. This is a general principle: concave functions lie below their tangent lines.
In general for an increasing function f and a fixed b>0, F(a)=∫a+baf(x)dx is an increasing function of a (when it makes sense). Thus in your case it is important that the lengths of the two intervals of integration are the same.
No comments:
Post a Comment