Let $$I_n=\int_0^1 (x^n+x^{n-2})\ln(1+x^n)dx.$$
Give an asymptotic developement of $I_n$ at order $O(\frac{1}{n^3})$ when $n\to \infty $.
I wanted to use the fact that $$\sum_{k=1}^\infty \frac{(-1)^{k+1} x^{kn}}{k},$$ and thus $$I_n=\int_0^1(x^n+x^{n-2})\sum_{k=1}^\infty \frac{(-1)^{k+1}}{k}x^{kn}dx,$$ but since the convergence of this series is a priori not uniform and the coefficient are not positive on $[0,1]$ I can't permute the sum and the integral.
Any other idea ?
If $\, f_n(x) := (x^n - x^{n-2}) \log(1+x^n), \,$ then $\, n f_n(e^{-x/n}) \to -2xe^{-x}\log(1+e^{-x}) \,$ as $\, n\to \infty. \,$ Use $\, x = e^{-t/n} \,$ in $\, I_n := \int_0^1\! f_n(x) \, dx \,$ with $\, dx = -e^{-t/n}t/n \,$ so $\, n^2I_n \!=\! \int_0^\infty\! nf_n(e^{-t/n}) e^{-t/n}t\, dt. \,$