I am interested in an integral $\int_{0}^{1/2}\frac{x^s-1}{-\log(x)}$ for $s \le -1$.
The lecture notes I am using claim that it diverges. I am not sure why.
I was trying to find a function $0 \le g \le \frac{x^s-1}{-\log(x)}$ on $(0,\frac{1}{2}]$ such that $\int_{0}^{1/2}g= \infty$. The only thing which comes to mind is $g=\frac{x^s-1}{\frac{1}{x}-1}$, but this apparently does not work e.g. for $s = -1$ (though seems to work for $s \le -2$).
Hint. Note that $$\int_{0}^{1/2}\frac{x^s-1}{-\log(x)}\,dx =\int_{0}^{1/2}\frac{1}{x^{-s}(-\log(x))}\,dx+\int_{0}^{1/2}\frac{1}{\log(x)}\,dx\\\geq \int_{0}^{1/2}\frac{1}{x(-\log(x))}\,dx-\frac{1}{2\log(2)}.$$ Moreover $$\int \frac{1}{x\log(x)}\,dx=\log(|\log(x)|)+C.$$ Can you take it from here?