This is a detailed question from Introduction to Calculus and Analysis, by Courant & John.
1.8b(a) Exercise 2
Let $$F(y) = \int_0^1 \frac{(x-1)x^y}{\log x} dx \quad \text{for} \; y>1$$ Consider $\epsilon \in (0,1/100).$
(a) Prove that there exists two constants $c_1, c_2$ such that $$\left|\int_{1-\epsilon}^1 \frac{(x-1)x^y}{\log x} dx - \frac{1}{y+1}\right| \le \frac{1}{y+1}e^{-c_1(y+1)\epsilon} + c_2\epsilon^2 .$$ for any $\epsilon \in (0,1/100)$ and $y > 1$.
(Hint given by professor: $\log(1-t) = -t + O(t^2)$ for t small, and >$\frac{x-1}{\log x} = 1 + O(\vert x-1 \vert)$ for $\vert x-1 \vert$ small.)
(b) Prove that there exists a constant $c_3$ such that $$\left|\int_0^{1-\epsilon} \frac{(x-1)x^y}{\log x} dx\right| \le e^{-c_3y\epsilon} .$$ for any $\epsilon \in (0,1/100)$ and $y > 1$.
(Hint given by professor: The value of $\frac{(x-1)x}{\log x}$ is between $0$ and $1$ for $x \in [0,1]$)
Some attempts to solve this problem:
$$\int_0^1 x^y\,dx = \frac{1}{y+1}$$ $$\int_{1-\epsilon}^1 x^y\,dx < \frac{1}{y+1}$$ for $\epsilon > 0.$ So, $$\left|\int_{1-\epsilon}^1 \frac{(x-1)x^y}{\log (x)}\,dx - \frac{1}{y+1}\right| > \left|\int_{1-\epsilon}^1 \left(\frac{(x-1)x^y}{\log (x)} - x^y\right)\,dx \right|$$
By applying the hint,
$$ \left|\int_{1-\epsilon}^1 x^y\left(\frac{x-1}{\log (x)}-1\right)\,dx\right| = \left|\int_{1-\epsilon}^1 x^y(1-x)\,dx\right|$$ $$= \frac{1}{y+1}(1-(1-\epsilon)^{y+1}) - \frac{1}{y+2}(1-(1-\epsilon)^{y+2}).$$