How to evaluate following integral
$$\int_0^1\frac{x^{-a}-x^{a}}{1-x}\,\mathrm dx$$
I tried the feynman way $$\begin{align} I'(a)&=\int_0^1\frac{-x^{-a}\ln x-x^{a}\ln x}{1-x}\,\mathrm dx\\ &= \int_0^1\ln x\left(\frac{-x^{-a}-x^{a}}{1-x}\right)\,\mathrm dx\\ \end{align}$$
I don't have any idea about how to proceed!
Some help is appreciated
Write
$$x^a-x^{-a} = \log{x} \int_{-a}^a dy \, x^y $$
Reverse the order of integration to get
$$-\int_{-a}^a dy \, \int_0^1 dx \frac{x^y \log{x}}{1-x} $$
Now,
$$\int_0^1 dx \frac{x^y \log{x}}{1-x} = \sum_{k=0}^{\infty} \int_0^1 dx \, x^{y+k} \log{x} = -\sum_{k=0}^{\infty} \frac1{(y+k+1)^2} $$
So we now have, as the integral,
$$\sum_{k=1}^{\infty} \int_{-a}^a \frac{dy}{(y+k)^2} = 2 a \sum_{k=1}^{\infty} \frac1{k^2-a^2} = \frac1{a} \left (1-\pi a \cot{\pi a} \right ) $$
This last sum is a well-known result which may be proven in any number of ways, for example by the residue theorem.
Note that, for convergence, $a \in (-1,1)$.