A counterexample to "the integral of the limit is the limit of the integral"

  • Context: Undergrad 
  • Thread starter Thread starter pasmith
  • Start date Start date
Click For Summary

SUMMARY

The discussion presents a counterexample to the interchange of limit and integral, specifically showing that the integral of the pointwise limit of a sequence of functions does not equal the limit of their integrals. The sequence of functions \(f_n\) defined on \([0,1]\) converges pointwise to a function \(f\) that is zero almost everywhere except at zero, but the integrals \(\int_0^1 f_n(x) \, dx\) converge to \(\frac{1}{2}\) while \(\int_0^1 f(x) \, dx = 0\). The convergence is non-uniform, with \(\sup |f_n - f| = n\). A generalization involves functions \(f_n(x) = ng(nx)\) for a fixed \(g\), preserving the integral but yielding a zero pointwise limit except possibly at zero.

PREREQUISITES

  • Pointwise and uniform convergence of function sequences
  • Lebesgue integration and properties of the Riemann integral
  • Dominated Convergence Theorem and counterexamples in analysis
  • Function sequence construction and limit operations in real analysis

NEXT STEPS

  • Study the Dominated Convergence Theorem and its conditions for exchanging limits and integrals
  • Explore uniform convergence criteria and their impact on integration
  • Analyze other classical counterexamples in real analysis involving limit and integral interchange
  • Investigate measure theory concepts to understand almost everywhere convergence versus pointwise convergence

USEFUL FOR

Mathematics students, real analysis researchers, and anyone studying advanced calculus or measure theory who needs to understand the subtleties of limit operations and integration, especially the conditions under which integration and limit operations commute.

pasmith
Science Advisor
Homework Helper
Messages
3,365
Reaction score
1,908
I was going to append this to @chwala's thread here, but thought it deserved a new thread.

For ##n \geq 1##, define $$f_n : [0,1] \to \mathbb{R} : x \mapsto \begin{cases} 1 & x = 0, \\ n(1 - nx) & x \in (0, \tfrac 1n], \\ 0 & x \in (\tfrac 1n, 1]. \end{cases}$$ (Note that ##f_n## is discontinuous at 0 for ##n \geq 2##.)

This sequence has the pointwise limit $$ f: [0,1] \to \mathbb{R} : x \mapsto \begin{cases} 1 & x = 0, \\ 0 & x \in (0,1] \end{cases}$$ since if ##x > 0## then there exists ##N \in \mathbb{N}## such that ##x > \frac 1N## and thus ##f_n(x) = 0## for all ##n > N##.

The convergence is non-uniform since ##\sup |f_n - f| = n##.

This example is constructed so that$$\lim_{n \to \infty} \int_0^1 f_n(x)\,dx = \frac12 \neq 0 = \int_0^1 \lim_{n \to \infty} f_n(x)\,dx.$$

EDIT: We can instead set ##f_n(0) = 0##, so that the pointwise limit is simply the zero function.
 
Last edited:
  • Like
Likes   Reactions: chwala, Greg Bernhardt and weirdoguy
Physics news on Phys.org
A generalization is to fix ##g: [0,1] \to \mathbb{R}## and let $$f_n : [0,1] \to \mathbb{R} : x \mapsto \begin{cases} ng(nx) & x < \frac 1n \\ 0 & x \geq \frac 1n \end{cases}.$$ Then $$\int_0^1 f_n(x)\,dx = \int_0^1 g(x)\,dx.$$ The pointwise limit is again zero for ##x > 0##, but at zero we have ##f_n(0) = ng(0)## which diverges unless ##g(0) = 0##. The pointwise limit is then everywhere zero. Convergence is still non-uniform, since ##\sup |f_n - f| = n \sup |g|##.

A suitable ##g## is $$g : x \mapsto \begin{cases} 2x & x < \frac 12, \\ 2(1 - x) & x \geq \frac12. \end{cases}$$
 
  • Informative
Likes   Reactions: chwala

Similar threads

  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 16 ·
Replies
16
Views
5K