After coming across this question: How to verify this limit, I have the following question:

When taking the limit of an integral, is it valid to move the limit inside the integral, providing the limit does not affect the limits of integration?

For instance in the question, the OP is trying to determine that:

limn→∞∫10dx(1+xn)n=1−e−1

The answers to the question involve evaluating the integral and then taking the limit to prove the result; but I was wondering if it would be valid to move the integral inside the limit, that is:

limn→∞∫10dx(1+xn)n=∫10limn→∞dx(1+xn)n=∫10dxex=e0−e−1=1−e−1

As required. So is this a valid technique, or is it just coincidental that this works?

Check :limn→∞∫10dx(1+xn)n=limn→∞[−nn−1(1+xn)1−n]10==limn→∞−nn−1[(1+1n)1−n−1]==limn→∞nn−1[1−(1+1n)1−n]==limn→∞nn−1[1−(1+1n)(1+1n)n]==1⋅[1−1e]==1−e−1

∫10limn→∞dx(1+xn)n=∫10dxex=[−e−x]10==e0−e−1=1−e−1

**Answer**

Taking the limit inside the integral is not always allowed. There are several theorems that allow you to do so. The major ones being Lebesgue dominated convergence theorem and Monotone convergence theorem.

The uniform convergence mentioned in the comments is a special case of Dominated convergence theorem.

**Attribution***Source : Link , Question Author : Thomas Russell , Answer Author : Cantor*