Post · 3 min read· pp. 51–53

On Constructing Functions, Part 4

This post is the fourth example in an ongoing list of various sequences of functions which converge to different things in different ways.

Also in this series:

Example 1: converges almost everywhere but not in L1L^1 Example 2: converges uniformly but not in L1L^1 Example 3: converges in L1L^1 but not uniformly Example 5: converges pointwise but not in L1L^1 Example 6: converges in L1L^1 but does not converge anywhere

‍

Example 4

A sequence of (Lebesgue) integrable functions fn:R→[0,∞)f_n:\mathbb{R}\to[0,\infty) so that {fn}\{f_n\} converges to f:R→[0,∞)f:\mathbb{R}\to[0,\infty) uniformly,  yet ff is not (Lebesgue) integrable.

‍

Our first observation is that "ff is not (Lebesgue) integrable" can mean one of two things: either ff is not measurable or ∫f=∞\int f=\infty. The latter tends to be easier to think about, so we'll do just that. Now what function do you know of such that when you "sum it up" you get infinity? How about something that behaves like the divergent geometric series? Say, its continuous cousin f(x)=1xf(x)=\frac{1}{x}? That should work since we know

∫R1x=∫1∞1x=∞.\int_{\mathbb{R}}\frac{1}{x}=\int_{1}^\infty \frac{1}{x}=\infty.
Now we need to construct a sequence of integrable functions {fn}\{f_n\} whose uniform limit is 1x\frac{1}{x}. Let's think simple: think of drawring the graph of f(x)f(x) one "integral piece" at a time. In other words, define:

‍

This works because: It makes sense to define the fnf_n as  f(x)=1xf(x)=\frac{1}{x} "chunk by chunk" since this way the convergence is guaranteed to be uniform. Why? Because how far out we need to go in the sequence so that the difference f(x)−fn(x)f(x)-f_n(x) is less than ϵ\epsilon only depends on how small (or large) ϵ\epsilon is. The location of xx doesn't matter!

‍

Also notice we have to define fn(x)=0f_n(x)=0 for all x<1x< 1 to avoid the trouble spot ln⁡(0)\ln(0) in the integral ∫fn\int f_n. This also ensures that the area under each fnf_n is finite, guaranteeing integrability.

‍

The details: Each fnf_n is integrable since for a fixed nn,

∫Rfn=∫1n1x=ln⁡(n).\int_{\mathbb{R}}f_n=\int_1^n\frac{1}{x}=\ln(n).
To see fn→ff_n\to f uniformly, let ϵ>0\epsilon >0 and choose NN so that N>1/ϵN>1/\epsilon. Let x∈Rx\in \mathbb{R}. If x≤1x\leq 1, any nn will do, so suppose x>1x>1 and let n>Nn>N. If $1< x \leq n$, then we have ∣fn(x)−f(x)∣=0<ϵ|f_n(x)-f(x)|=0< \epsilon. And if x>nx> n, then
∣1xχ[1,∞)(x)−1xχ[1,n](x)∣=∣1x−0∣=1x<1n<1N<ϵ.\big|\frac{1}{x}\chi_{[1,\infty)}(x)-\frac{1}{x}\chi_{[1,n]}(x)\big|=\big|\frac{1}{x}-0\big|=\frac{1}{x}<\frac{1}{n}< \frac{1}{N}< \epsilon.

‍

Voila!