I was doing some work on the integral $\int_0^1 x^ne^x dx$ and I eventually came to this expression in terms of n $$\int_0^1 x^ne^x dx=(-1)^{n+1}n!\biggl(1-e\sum_{k=0}^n\frac{(-1)^k}{k!}\biggr)$$ Now my question is this, how do I compute the limit of this expression as $n$ goes to $\infty$? I recognize that $$\lim_{n\to\infty}e\sum_{k=0}^{n}\frac{(-1)^k}{k!}=1$$ per the series expression of $e^x$ at $-1$. This gives me an indeterminate form, but I can't apply L'Hopital's rule because I can't differentiate $n!$ (or $1/n!$ as the case would be after re-arranging), and I also can't think of a variable substitution that would help me here. Common sense and wolfram definitely imply that the limit is in fact $0$, but how can I show this?
2026-03-28 20:14:28.1774728868
How to compute $(-1)^{n+1}n!(1-e\sum_{k=0}^n\frac{(-1)^k}{k!})$?
359 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
3
When $x\in [0,1]$, $e^x\le e$, by first mean value theorem for definite integrals, \begin{align*} I_n&\le\max_{x\in[0,1]}\{e^x\}\int_0^1x^{n}~\mathrm dx\\ &=\frac{e}{n+1}\to0. \end{align*} Since $I_n>0$, the limit is $0$ by squeeze theorem.