Prove that $$\lim_{n\rightarrow\infty}\int_{1}^{a}\frac{1}{1+x^{n}}\,\mathrm{d}x=\ln2.$$ We can write $$\frac{1}{1+x^{n}}=1-\frac{x^{n}}{1+x^{n}},$$ so $$\int_{1}^{a}\frac{1}{1+x^{n}}\,\mathrm{d}x=a-1-\int_{1}^{a}\frac{x^n}{1+x^n}\,\mathrm{d}x$$ and $$\int_{1}^{a}\frac{x^n}{1+x^n}\,\mathrm{d}x=\frac{1}{n}x\ln(1+x^n)|_{1}^{a}+\int_{1}^{a}\ln(1+x^n)\,\mathrm{d}x$$
The last can be manipulated to providing a limit using $e^x\geq x+1$, in our case $x \geq \ln(x+1)$, $x \geq0$. However, I need help from this point on or, if the method is faulty, on the problem itself. EDIT: Thanks for clarifications. I see the mistake. However, by changing it into$\lim_{n\rightarrow\infty}n\int_{1}^{a}\frac{1}{1+x^{n}}\,\mathrm{d}x=\ln2.$ I followed Cosmin's duplicate, but I am unable to grasp the proof, as the level is high. Could you give an easier proof for this than one using improper integrals, please?