Lebesgue Integral – Any Simple Example of Lebesgue Integration?

lebesgue-integral

I saw several conceptual explanations regarding Lebesgue Integration, but can I see few practical examples that require Lebesgue Integration? What I need is just a toy case of Lebesgue Integration.

For instance, how can I integrate $f(x)=x$ using Lebesgue Integration? I know it is $F(x)=\frac{1}{2}x^2$ since Riemann Integration is applicable, but do not know how to do this using Lebesgue Integration instead.

Also can I apply Lebesgue Integration to compute moments of distributions? For example, can I compute $\mathrm{E}[X]=\lambda^{-1}$ for a random variable $X$ that follows the exponential distribution with $\lambda$?

Best Answer

When they both exist, Lebesgue and Riemann integration give the same thing. In particular, the fundamental theorem of calculus, substitution theorems, etc, are just as true for the Lebesgue integral as for the Riemann integral. So when you use substitution to compute the expected value of an exponential as $$ E(X) = \int_0^\infty x\lambda e^{-\lambda x}dx = \frac{1}{\lambda}$$ it doesn't matter at all whether it's a Lebesgue integral or a Riemann integral.

Nonetheless, we can certainly do a toy computation of $\int_0^1 x^2 dx$ "the Lebesgue way". The basic idea, as I'm sure you've heard, is to partition the $y$ axis rather than the $x$ axis. So let's take an even-spaced partition $A^n_i = [\frac{i-1}{n},\frac{i}{n})$ of $[0,1).$ Then we can partition the $x$ axis into $$B_i^n = \{x\in[0,1) \mid f(x)\in A_i^n\}.$$ Here this partition is simple since $f$ is increasing. We have $B_i^n = [ \sqrt{\frac{i-1}{n}},\sqrt{\frac{i}{n}}).$ (But note that for a non-monotonic function the $B_i^n$ could be the union of several intervals, not just a single interval).

Then, we can write a sequence of simple functions (i.e. step functions) $$ s^{lower}_n(x) = \sum_{i=1}^n \frac{i-1}{n} 1_{B_i^n}(x)$$ where $1_E(x)$ is the indicator function that is one if $x\in E$ and zero otherwise. So it's a function that is locally constant on the sets $B_i^n$ but takes different values between the different sets... it looks like a staircase here. Notice that $\frac{i-1}{n}$ is the lower limit of the y-axis partition interval $A_i^n,$ so that $s^{lower}_n < f.$

Now, we define that for a constant function $f(x)=c$, the integral of the function over some set $E$ is just $c\mu(E)$ where $\mu(E)$ is the measure of $E,$ and we extend it to simple functions in the obvious way: $$ \int \sum_{i=1}^n a_i 1_{E_i} \;d\mu = \sum_{i=1}^n a_i \mu(E_i).$$

So we have $$ \int_{[0,1]} s^{lower}_n \;d\mu = \sum_{i=1}^n \frac{i-1}{n}\mu(B_i^n) = \sum_{i=1}^n \frac{i-1}{n}\left(\sqrt{\frac{i}{n}}-\sqrt{\frac{i-1}{n}} \right).$$

Similarly, we can define a function $s_n^{upper}(x) >f $ by $$s_n^{upper}(x)=\sum_{i=1}^n \frac{i}{n} 1_{B_i^n}(x) $$ and compute $$ \int_{[0,1]} s^{upper}_n \; d\mu= \sum_{i=1}^n \frac{i}{n}\left(\sqrt{\frac{i}{n}}-\sqrt{\frac{i-1}{n}} \right).$$

I'm not sure if these sums can be computed in closed form, but in any event, it is true that $$ \lim_{n\to\infty} \int_{[0,1]} s^{lower}_n \; d\mu = \lim_{n\to\infty} \int_{[0,1]} s^{upper}_n \; d\mu = \frac{1}{3},$$ so since $s_n^{upper} > f > s_n^{lower}$ for all $x,$ the integral of $f(x) = x^2$ is squeezed to $1/3.$

(Formally, the Lebesgue integral of a non-negative function is defined as $$ \int_{[0,1]} f(x)d\mu = \sup_{s\in\Sigma_{[0,1]}} \left\{\int s d\mu \mid s <f\right\}$$ where $\Sigma_{[0,1]}$ is the set of all simple functions on $[0,1].$ We can show that for any simple, $s < f,$ $\int s\;d\mu \le \int s_n^{upper} d\mu,$ so we indeed have $\int f\;d\mu \le \int s_n^{upper} d\mu,$ and analogously for $s^{lower}.$)

This might be a little unsatisfying for your purpose, cause we can't compute the sum in closed form before you take the limit, like you could in the Riemann case (or I can't, anyway). But this was due to the fact that I chose an evenly spaced partition of the y-axis for clarity. If I instead let $A^n_i = [\left(\frac{i-1}{n}\right)^2,\left(\frac{i}{n}\right)^2),$ then we get $B^n_i = [\frac{i-1}{n},\frac{i}{n})$ and going through the same motions we get $$s^{lower}_n(x) = \sum_{i=1}^n \left(\frac{i-1}{n}\right)^2 \mu(B_n^i) = \sum_{i=1}^n \left(\frac{i-1}{n}\right)^2 \frac{1}{n}$$ which is precisely the same thing you'd write down for a Riemann sum computation (and that I presume you know how to compute in closed form). This is no accident, of course... Any proper Riemann-integrable function is Lebesgue integrable and the integrals have the same value.

Hopefully my indulgence of your question doesn't obscure what I said in the first paragraph. The "point" of Lebesgue integration is not that it's a way to do standard integrals of calculus by some new method. It's that the definition of the integral is more theoretically powerful: it leads to more elegant formalism and cleaner results (like the dominated convergence theorem) that are very useful in harmonic/functional analysis and probability theory. It's also true, as said in the comments, that it allows you to integrate more functions, like the indicator function of the rationals. This isn't really that compelling of an advantage in and of itself (and note that if we extend to improper integrals there are things that are Riemann-integrable but not Lebesgue), but the argument that it is zero shows how nice of an ally measure theory can be... a function that was ugly and too cumbersome for Riemann integration to deal with is tamed quite easily by Lebesgue.