TITLE: Evaluation of $\int_{0}^{1} \frac{dx}{1+\sqrt[n]{x}}$ for $n\in\mathbb{N}$
QUESTION [14 upvotes]: So some quick checks seem to indicate that
$$\int_{0}^{1} \frac{dx}{1+\sqrt[n]{x}} = C_{n} + (-1)^{n+1}\log(2^{n})$$ 
Where $C_{n}\in\mathbb{Q}$. The denominators of $C_{2n}$  appear to correspond to oeis:A117664. Is it possible to obtain $C_{n}$ for arbitrary $n$ in closed form? (I'm actually trying to evaluate $\prod_{n=1}^{\infty} \int_{0}^{1} \frac{2 dx}{1+\sqrt[n]{x}}$ numerically, but it's easier to evaluate if I can evaluate the integrals symbolically.)

REPLY [6 votes]: Another method, similar to Jim's solution, is to evaluate this separating it into two cases with $n$ even and $n$ odd and work it out.
Let $I_n = \displaystyle \int_{0}^{1} \frac{u^{n-1}}{1+u} du$
If $n=2k+1$, then
$$\int_0^1 \frac{u^{2k}}{1+u} du = \int_0^1 \frac{u^{2k}-1}{1+u} du + \int_0^1 \frac{1}{1+u} du$$
$$\int_0^1 \frac{u^{2k}-1}{1+u} du = - \int_0^1 \left(\sum_{m=0}^{2k-1} (-u)^m du \right) = \sum_{m=0}^{2k-1} (-1)^{m+1} \int_0^1 u^m du = \sum_{m=0}^{2k-1} \frac{(-1)^{m+1}}{m+1}$$
$$\int_0^1 \frac{1}{1+u} du = \log(2)$$
Hence, if $n$ is odd we get
$$I_{n} = n \log(2) + n \times \sum_{m=1}^{n-1} \frac{(-1)^m}{m}$$
If $n=2k$, then
$$\int_0^1 \frac{u^{2k-1}}{1+u} du = \int_0^1 \frac{u^{2k-1}+1}{1+u} du - \int_0^1 \frac{1}{1+u} du$$
$$\int_0^1 \frac{u^{2k-1}+1}{1+u} du = \int_0^1 \left(\sum_{m=0}^{2k-2} (-u)^m du \right) = \sum_{m=0}^{2k-2} (-1)^{m} \int_0^1 u^m du = \sum_{m=0}^{2k-2} \frac{(-1)^{m}}{m+1}$$
$$\int_0^1 \frac{1}{1+u} du = \log(2)$$
Hence, if $n$ is even we get
$$I_{n} = -n \log(2) + n \times \sum_{m=1}^{n-1} \frac{(-1)^{m-1}}{m}$$
Hence $$C_n = n \times (-1)^n \times \sum_{m=1}^{n-1} \frac{(-1)^{m-1}}{m}$$
In Jim's answer, though it is correct and can be argued out, we still need to prove that we can swap the limit and the integrals. However in this method there is no infinite sum and hence makes the argument a bit easier.