I'm doing exercises in Real Analysis of Folland and got stuck on this problem. I don't know how to calculate limit with the variable on the upper bound of the integral. Hope some one can help me solve this. I really appreciate.
Show that $\lim\limits_{k\rightarrow\infty}\int_0^kx^n(1-k^{-1}x)^k~dx=n!$
Thanks so much for your consideration.
We have
$$\int_0^k x^n(1-k^{-1}x)^kdx=\int_0^\infty x^n(1-k^{-1}x)^k\chi_{(0,k)}dx$$ then since $$x^n(1-k^{-1}x)^k\chi_{(0,k)}\le x^n e^{-x},\;\forall k$$ and the function $$x\mapsto x^n e^{-x}$$ is integrable on the interval $(0,\infty)$ then by the dominated convergence theorem we have $$\lim_{k\to\infty}\int_0^k x^n(1-k^{-1}x)^kdx=\int_0^\infty x^ne^{-x}dx=\Gamma(n+1)=n!$$