The question ask us to use the fact that if $f(x) < g(x)$, $\forall x \in [a,b]$, then $\int_a^b f(x) dx < \int_a^b g(x) dx $.
I have no idea about how to choose $f(x)$ so that $\int_0^1 f(x) dx$ will smaller than $\int_0^1 x^ne^{-x} dx$ (which is $I_n$) and $\int_0^1 f(x) dx$ will be $0$.
I have tried letting $f(x) = 0$ but it seems not working.
And I also don't know how to choose $g(x)$. I have tried to let $g(x) = \frac{-1}{(n+1)^2}$(becaues its integral will be $\frac{1}{n+1}$, but I don't know how to compare $\frac{-1}{(n+1)^2}$ with $ x^ne^{-x}$
Thanks for giving any tips in advance!
$e^{x}>1$ for $x\in(0,1]$ and hence $e^{-x}<1$ for all such $x$, now $\displaystyle\int_{0}^{1}x^{n}e^{-x}dx<\int_{0}^{1}x^{n}dx=\dfrac{1}{n+1}$.