A1446 of 55
0 XP
  1. Hook
  2. Play
  3. Predict
  4. Name it
  5. Check
  6. Explain

A14 · Lesson 46 · Measure and the Lebesgue integral

Slicing the range instead of the domain, and why graduate courses need it

The Riemann integral breaks under limits: the indicator of the rationals in [0, 1] is a pointwise limit of functions that are each zero except at finitely many points, and every one of those has integral 0, yet the limit has no Riemann integral at all. Lebesgue fixed this by measuring sets more cleverly and by slicing the range of a function instead of its domain. The payoff is an integral that limits pass through cleanly, a space L2 that's complete, and a rigorous foundation for probability, where an expected value is an integral and an event of probability 0 is a set of measure 0. Graduate courses in signal processing, control and communications assume it; this lesson gives the ideas without the full construction.

  • Riemann slices the domain into strips. Lebesgue slices the range: the staircase rounds x2 down to multiples of 1n, then adds up each level times the measure (total length) of the set where f is at that level.
  • However wild the function, the rounded version is within 1n of it everywhere (readout), so the sums converge.
  • For a function like the indicator of the rationals, the set where f = 1 has measure 0, so Lebesgue gives its integral as 0 at once, where Riemann's upper and lower sums never meet.

Predict

What's the total length (measure) of the rational numbers in [0, 1]?

Name it

Measure

Lebesgue measure extends length from intervals to a huge family of sets: the measure of a set is the smallest total length of countably many intervals covering it. Properties:

  • the measure of [a, b] is b − a;
  • countably additive: disjoint sets' measures add, even infinitely many;
  • every countable set has measure 0; so does the Cantor set (lesson 11), which is uncountable.

A property holds almost everywhere (a.e.) if it fails only on a set of measure 0. Functions equal a.e. have the same integral and are the same element of L2.

The Lebesgue integral

For a nonnegative measurable f, approximate it from below by simple functions (finitely many levels, each on a measurable set): ∫∑ck𝟏Ek=∑ckμ(Ek), and take the supremum. Equivalently, the layer-cake formula:

∫fdμ=∫0∞μ{x:f(x)>t}dt

How it relates to Riemann

  • Every Riemann-integrable function is Lebesgue integrable, with the same integral.
  • A bounded function on [a, b] is Riemann integrable exactly when its set of discontinuities has measure 0.
  • Lebesgue integrates far more (the indicator of the rationals: integral 0) and, crucially, behaves under limits (lesson 47).

Probability

A probability is a measure with total mass 1, an event is a measurable set, a random variable is a measurable function, and E[X]=∫XdP. "With probability 1" means "almost everywhere": a uniformly random number in [0, 1] is irrational with probability 1.

Worked example

Compute ∫01x2dx by the layer-cake formula.

Show the solution
  1. The level sets. On [0, 1], x2>t exactly when x>t, a set of measure 1−t (for 0 ≤ t ≤ 1).
  2. Integrate the measures. ∫01x2=∫01(1−t)dt=1−23=13
  3. Check. That's 13, as expected, found by integrating the measures of the level sets instead of the heights over the strips.

Answer ∫01x2dx=13.

Worked example

Cover the rationals in [0, 1] by intervals of total length at most 0.001.

Show the solution
  1. List the rationals. q1=0,q2=1,q3=12,q4=13,…
  2. Cover each one. Put an interval of length 0.001/2k around qk.
  3. Add the lengths. total=0.001(12+14+⋯)=0.001
  4. Conclude. However small the budget, a cover exists, so the measure is 0.

Answer an interval of length 0.001/2k around the kth rational covers them all with total length 0.001, so the rationals in [0, 1] have measure 0.

Worked example

For f(x) = x on [0, 1], compare Chebyshev's (Markov's) bound on μ{f≥0.8} with the truth.

Show the solution
  1. Markov's bound. μ{f≥t}≤1t∫f=0.50.8=0.625
  2. The truth. The actual measure of {x≥0.8} is 0.2.
  3. Why use it. The bound is loose but general: it needs only the integral, and it holds for every nonnegative measurable function.
  4. In probability. It's the reason a random variable can't often be far above its mean, and squaring first (Chebyshev's inequality) sharpens it when the variance is known.

Answer Markov's bound gives 0.625, against an actual measure of 0.2.

Check

Using the layer-cake formula with μ{x∈[0,1]:xp>t}=1−t1/p, what's ∫01x3dx?

Check

The rationals in [0, 1] are covered by intervals of length 0.0001/2k for k = 1, 2, 3, .... What's the total length?

Check

How much total length has been removed after 12 stages of the Cantor construction?

Check

f equals 5 on [0, 3] except at the rational points, where it's 0. What's its Lebesgue integral over [0, 3]?

Check

Rounding a function down to multiples of 110: how far can the rounded version be from the function, at most?

Check

A number is chosen uniformly at random from [0, 1]. What's the probability it's rational?

Check

f(x)=x2 on [0, 1].

(a)

What bound does Markov's inequality give on μ{f≥0.5}?

(b)

What is the actual measure?

Check

The layer-cake formula ∫01f=∫01μ{f>t}dt for f=xp.

Step 1

With μ{xp>t}=1−t1/p, what is the integral?

Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.

Explain why

Why does slicing the range (Lebesgue) handle wild functions that slicing the domain (Riemann) can't?

Practice

Keep practicing

9 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.