Ma · Mathematics

How to Approximate Simple Functions by Step Functions Almost Uniformly

Published By the 9to5Science editorial team

At a glance

  1. 1. Write level sets

    Express the simple function as a finite sum of constants times indicators of measurable sets.

  2. 2. Approximate each set

    On a finite interval, choose finite unions of intervals whose symmetric differences with the level sets have summable measures.

  3. 3. Build step functions

    Replace each level-set indicator by the indicator of its interval approximation.

  4. 4. Control the tail

    Outside a set of arbitrarily small measure, all sufficiently late approximations agree exactly with the original function.

A measurable simple function takes only finitely many values. On a finite interval, you can approximate it by step functions that converge almost uniformly: after removing a set of arbitrarily small measure, the approximations converge uniformly on what remains.

The key is to approximate each level set by a finite union of intervals, with errors small enough that their measures add to a finite total. The summability of those errors controls all later approximations at once.

The setting and the result

Let I=[a,b]I=[a,b] be a finite interval, equipped with Lebesgue measure, and let f:I→Rf:I\to\mathbb{R} be a measurable simple function. Write its distinct values and level sets as

f=∑j=1rcj1Ej,f=\sum_{j=1}^{r} c_j\mathbf{1}_{E_j},

where the cjc_j are constants and the EjE_j are measurable and pairwise disjoint. The level set where f=0f=0 may be included or omitted.

A step function here means a function constant on each interval of some finite partition of II. Equivalently, it can be written as a finite linear combination of indicators of finite unions of intervals. The claim is that there is a sequence of such step functions sns_n that converges to ff almost uniformly.

Almost-uniform convergence means that for every δ>0\delta>0, there is a measurable set A⊆IA\subseteq I with measure less than δ\delta such that sn→fs_n\to f uniformly on I∖AI\setminus A.

Construct the approximations

Every Lebesgue-measurable subset EE of a finite interval can be approximated in measure by a finite union of intervals. In particular, for any η>0\eta>0, there is such a union GG with

m(E△G)<η,m(E\mathbin{\triangle}G)<\eta,

where E△GE\mathbin{\triangle}G is the symmetric difference: the points belonging to exactly one of the two sets. This is a standard consequence of the regularity of Lebesgue measure.

For each nn and each level set EjE_j, choose a finite union of intervals Gj,nG_{j,n} such that

m(Ej△Gj,n)<2−nr.m(E_j\mathbin{\triangle}G_{j,n})<\frac{2^{-n}}{r}.

Now define

sn=∑j=1rcj1Gj,n.s_n=\sum_{j=1}^{r}c_j\mathbf{1}_{G_{j,n}}.

Each sns_n is a step function: there are only finitely many interval endpoints among the sets Gj,nG_{j,n}, and those endpoints partition II into finitely many subintervals on which every indicator, and hence sns_n, is constant.

Let

Bn=⋃j=1r(Ej△Gj,n).B_n=\bigcup_{j=1}^{r}(E_j\mathbin{\triangle}G_{j,n}).

By subadditivity of measure,

m(Bn)≤∑j=1rm(Ej△Gj,n)<2−n.m(B_n)\leq\sum_{j=1}^{r}m(E_j\mathbin{\triangle}G_{j,n})<2^{-n}.

At every point outside BnB_n, all the relevant indicators agree, so sn(x)=f(x)s_n(x)=f(x). Thus any point that belongs to only finitely many BnB_n satisfies sn(x)=f(x)s_n(x)=f(x) for all sufficiently large nn.

Why the convergence is almost uniform

Fix δ>0\delta>0. Choose NN large enough that

∑n=N∞2−n<δ,\sum_{n=N}^{\infty}2^{-n}<\delta,

and remove the set A=⋃n=N∞BnA=\bigcup_{n=N}^{\infty}B_n. Its measure satisfies

m(A)≤∑n=N∞m(Bn)≤∑n=N∞2−n<δ.m(A)\leq\sum_{n=N}^{\infty}m(B_n)\leq\sum_{n=N}^{\infty}2^{-n}<\delta.

For every x∈I∖Ax\in I\setminus A and every n≥Nn\geq N, we have x∉Bnx\notin B_n, so sn(x)=f(x)s_n(x)=f(x). In fact, the functions agree everywhere on I∖AI\setminus A for every n≥Nn\geq N. Therefore

sup⁡x∈I∖A∣sn(x)−f(x)∣=0(n≥N),\sup_{x\in I\setminus A}|s_n(x)-f(x)|=0\qquad(n\geq N),

which proves uniform convergence there. Since δ\delta was arbitrary, the convergence is almost uniform.

Worked example

Suppose I=[0,1]I=[0,1] and

f=31E−21F,f=3\mathbf{1}_E-2\mathbf{1}_F,

where EE and FF are disjoint measurable sets. For each nn, choose finite unions of intervals GnG_n and HnH_n satisfying

m(E△Gn)<2−n−1,m(F△Hn)<2−n−1.m(E\mathbin{\triangle}G_n)<2^{-n-1},\qquad m(F\mathbin{\triangle}H_n)<2^{-n-1}.

Then sn=31Gn−21Hns_n=3\mathbf{1}_{G_n}-2\mathbf{1}_{H_n} is a step function. The set on which either indicator might be wrong has measure less than 2−n2^{-n}. The union of these error sets over n≥Nn\geq N has measure at most ∑n=N∞2−n=21−N\sum_{n=N}^{\infty}2^{-n}=2^{1-N}. Given any δ>0\delta>0, choose NN so that 21−N<δ2^{1-N}<\delta. Outside that union, sn=fs_n=f for every n≥Nn\geq N, giving uniform convergence on a set whose complement has measure less than δ\delta.

The approximating interval unions GnG_n and HnH_n need not be disjoint. That does not affect the argument: outside the error sets, their indicators match the original level-set indicators, which are what determine ff.

Common mistakes

  • Using only that the errors tend to zero. The condition m(Bn)→0m(B_n)\to0 alone does not make the union of all later error sets small. Choose errors with a finite sum, as above.
  • Confusing almost-uniform with pointwise convergence almost everywhere. Almost-uniform convergence requires uniform convergence after removing one small set. The tail-union argument supplies that stronger control.
  • Ignoring the finite-measure setting. The interval approximation and the stated almost-uniform conclusion are being used on a finite-measure domain. On an infinite-measure domain, first specify an appropriate finite-measure setting or formulate a local version.
  • Assuming this applies to every measurable function. The argument uses the fact that a simple function has finitely many level sets. Approximation results for general measurable functions require additional steps.

The essential mechanism is summability: approximate each level set with errors whose total measure is finite, then discard the union of all errors after a sufficiently late index.

References

  1. Real Analysis: Modern Techniques and Their Applications — Gerald B. Folland
  2. Real Analysis — H. L. Royden and Patrick M. Fitzpatrick

Spotted an error? Send a correction. Read how we write and check articles in our editorial policy.