Tutorials › Measure Theory › Half-Line Tests for Real-Valued Measurability

Measurable Functions · Tutorial 180 of 798

Half-Line Tests for Real-Valued Measurability

Learn to recognize real-valued measurable functions by testing the preimages of all open upper rays, and verify the criterion in concrete settings.

Intermediate 9 min read

What You'll Learn

  • Define real-valued measurability using Borel preimages.
  • Prove that open upper rays generate the Borel sigma-algebra on the real line.
  • Prove both directions of the half-line measurability criterion.
  • Compute strict upper-ray preimages for a square function and the floor function.
  • Apply the criterion on a finite measurable space and track threshold endpoints.
  • Avoid confusing strict upper rays with closed upper rays.

Why Test Upper Rays?

A real-valued function can be tested for measurability by examining a simple family of subsets of the real line: the open upper rays \((a,\infty)\), one for each real number \(a\). The point is not that these are the only Borel sets, but that they generate all Borel sets through countable sigma-algebra operations. Once this generation is established, checking the preimages of the rays is enough to check the preimages of every Borel set.

Throughout, let \((X,\mathcal{M},\mu)\) be an arbitrary measure space: no finiteness, sigma-finiteness, or completeness assumption is imposed. A function \(f:X\to\mathbb{R}\) is real-valued, meaning it is finite at every point. It is \(\mathcal{M}/\mathcal{B}_{\mathbb{R}}\)-measurable if \(f^{-1}(B)=\{x\in X:f(x)\in B\}\) belongs to \(\mathcal{M}\) for every \(B\in\mathcal{B}_{\mathbb{R}}\). These are set equalities everywhere, not assertions up to a null set. The criterion below concerns measurability only; it does not assert that \(f\) is integrable.

Why Upper Rays Generate the Borel Sets

Write \(\sigma(\mathcal{E})\) for the smallest sigma-algebra containing a family of sets \(\mathcal{E}\). Let \(\mathcal{H}=\{(a,\infty):a\in\mathbb{R}\}\). We first verify that \(\sigma(\mathcal{H})=\mathcal{B}_{\mathbb{R}}\). This generation fact is what allows one family of tests to control preimages of every Borel set.

Proposition: The sigma-algebra generated by the open upper rays is the Borel sigma-algebra: \(\sigma(\mathcal{H})=\mathcal{B}_{\mathbb{R}}\).

Proof. Each \((a,\infty)\) is open, hence Borel, so \(\sigma(\mathcal{H})\subseteq\mathcal{B}_{\mathbb{R}}\). For the reverse inclusion, fix \(b\in\mathbb{R}\). Since a sigma-algebra is closed under countable intersections and complements, it contains \[ \mathbb{R}\setminus\bigcap_{n=1}^{\infty}(b-1/n,\infty)=(-\infty,b). \] Indeed, a real number \(x\) belongs to every ray in that intersection exactly when \(x\ge b\): if \(x\ge b\), then \(x>b-1/n\) for every \(n\); if \(x<b\), choose \(n\) with \(1/n<b-x\), so \(x\le b-1/n\) and \(x\) is not in that ray. Thus \((a,b)=(a,\infty)\cap(-\infty,b)\) belongs to \(\sigma(\mathcal{H})\).

Every open set \(U\subseteq\mathbb{R}\) is the union of the rational-endpoint intervals \((p,q)\) that are contained in \(U\). To see coverage, for each \(x\in U\), openness gives an interval around \(x\) contained in \(U\); density of the rationals gives \(p,q\in\mathbb{Q}\) with \(p<x<q\) and \((p,q)\subseteq U\). There are only countably many rational pairs, so this union is countable. The empty open set is the empty union. Each such interval belongs to \(\sigma(\mathcal{H})\), hence every open set does. Since the Borel sigma-algebra is generated by the open sets, \(\mathcal{B}_{\mathbb{R}}\subseteq\sigma(\mathcal{H})\). Both inclusions give the claim. \(\square\)

The Half-Line Criterion

Theorem: Let \((X,\mathcal{M},\mu)\) be any measure space and let \(f:X\to\mathbb{R}\) be real-valued. Then \(f\) is \(\mathcal{M}/\mathcal{B}_{\mathbb{R}}\)-measurable if and only if \[ \{x\in X:f(x)>a\}\in\mathcal{M}\qquad\text{for every }a\in\mathbb{R}. \] No condition on the size or completeness of \(\mu\) is required.

Proof. Suppose first that \(f\) is \(\mathcal{M}/\mathcal{B}_{\mathbb{R}}\)-measurable. For every \(a\in\mathbb{R}\), the ray \((a,\infty)\) is Borel, so its preimage \(f^{-1}((a,\infty))=\{x:f(x)>a\}\) belongs to \(\mathcal{M}\).

Conversely, suppose \(\{x:f(x)>a\}\in\mathcal{M}\) for every real \(a\). Define \[ \mathcal{D}=\{B\subseteq\mathbb{R}: f^{-1}(B)\in\mathcal{M}\}. \] This is a sigma-algebra: \(f^{-1}(\mathbb{R})=X\), \(f^{-1}(B^c)=(f^{-1}(B))^c\), and \(f^{-1}(\bigcup_{j=1}^{\infty}B_j)=\bigcup_{j=1}^{\infty}f^{-1}(B_j)\). By the assumption, \(\mathcal{D}\) contains every ray in \(\mathcal{H}\). Therefore it contains \(\sigma(\mathcal{H})=\mathcal{B}_{\mathbb{R}}\), by the proposition. Thus the preimage of every Borel set is in \(\mathcal{M}\), which is precisely the stated measurability of \(f\). \(\square\)

The strict inequality is part of the test: the sets tested are \(\{f>a\}\), not \(\{f\ge a\}\). The theorem asks for every real threshold, and the resulting sets must be in the given sigma-algebra \(\mathcal{M}\). It neither assumes that all subsets of \(X\) are measurable nor changes the definition of measurability.

Applying the Test

Worked Example: The Square Function

Let \(X=\mathbb{R}\), let \(\mathcal{M}=\mathcal{L}\), the Lebesgue sigma-algebra, and let \(\mu=m\), Lebesgue measure. For \(f(x)=x^2\), compute the preimage of \((a,\infty)\) for every real \(a\).

If \(a<0\), then \(x^2\ge0>a\) for every \(x\), so \(f^{-1}((a,\infty))=\mathbb{R}\). If \(a=0\), the strict inequality \(x^2>0\) holds exactly when \(x\ne0\), giving \((-\infty,0)\cup(0,\infty)\). If \(a>0\), then \(x^2>a\) is equivalent to \(|x|>\sqrt a\), so the preimage is \((-\infty,-\sqrt a)\cup(\sqrt a,\infty)\). Each set is Borel, hence Lebesgue measurable, in all three cases. The half-line criterion proves that \(f\) is measurable.

Check: At \(a=4\), the formula gives \((-\infty,-2)\cup(2,\infty)\). Substituting \(x=2\) gives \(x^2=4\), which does not satisfy \(x^2>4\); substituting \(x=3\) gives \(9>4\), so \(3\) is included.

Worked Example: The Floor Function

On \((\mathbb{R},\mathcal{L},m)\), define \(f(x)=\lfloor x\rfloor\), where \(\lfloor x\rfloor\) is the unique integer \(k\) satisfying \(k\le x<k+1\). For an arbitrary \(a\in\mathbb{R}\), let \(N=\lfloor a\rfloor+1\), an integer. An integer \(k\) satisfies \(k>a\) exactly when \(k\ge N\). Consequently, \[ \lfloor x\rfloor>a \quad\Longleftrightarrow\quad \lfloor x\rfloor\ge N \quad\Longleftrightarrow\quad x\ge N. \] The last equivalence follows from the defining inequalities for the floor: if \(x\ge N\), its floor is at least \(N\); if its floor is at least \(N\), then \(x\ge\lfloor x\rfloor\ge N\). Thus \(f^{-1}((a,\infty))=[\lfloor a\rfloor+1,\infty)\), a Borel set for every real \(a\). The criterion proves measurability.

Check: For \(a=2.4\), \(\lfloor a\rfloor+1=3\), so the preimage is \([3,\infty)\). At \(x=2.9\), \(\lfloor x\rfloor=2\), which is not greater than \(2.4\); at \(x=3\), \(\lfloor x\rfloor=3>2.4\). At the integer threshold \(a=3\), the formula instead gives \([4,\infty)\), correctly excluding \(x=3\), where \(\lfloor x\rfloor=3\).

Worked Example: A Function on a Finite Measurable Space

Let \(X=\{1,2,3,4\}\), \(\mathcal{M}=\{\varnothing,\{1,2\},\{3,4\},X\}\), and let \(\mu\) be counting measure restricted to \(\mathcal{M}\). This is a finite measure space with \(\mu(X)=4\). Define \(f(1)=f(2)=-1\) and \(f(3)=f(4)=2\). For each real \(a\), determine \(\{x:f(x)>a\}\).

If \(a<-1\), both values \(-1\) and \(2\) exceed \(a\), so the preimage is \(X\). If \(-1\le a<2\), the value \(-1\) does not exceed \(a\), while \(2\) does, so the preimage is \(\{3,4\}\). If \(a\ge2\), neither value exceeds \(a\), so the preimage is \(\varnothing\). These three sets all belong to \(\mathcal{M}\); therefore the criterion proves that \(f\) is measurable on this space.

Check: At \(a=-1\), the preimage is \(\{3,4\}\), not \(X\), because the test is strict. Its counting measure is \(2\). At \(a=2\), the preimage is empty and its measure is \(0\). These endpoint checks agree with the three cases.

A Common Endpoint Mistake

A frequent error is to replace the strict upper ray \((a,\infty)\) with the closed upper ray \([a,\infty)\) without changing the set identity. For the identity function \(f(x)=x\) on \((\mathbb{R},\mathcal{L},m)\), the wrong calculation \(\{x:f(x)\ge0\}=\{x:f(x)>0\}\) would identify \([0,\infty)\) with \((0,\infty)\). This is false: \(0\) belongs to the first set and not the second.

The correct relation, useful when a closed upper level set is needed, is \[ \{x:f(x)\ge b\}=\bigcap_{n=1}^{\infty}\{x:f(x)>b-1/n\}. \] If \(f(x)\ge b\), then \(f(x)>b-1/n\) for every \(n\). If \(f(x)<b\), choose \(n\) with \(1/n<b-f(x)\); then \(b-1/n>f(x)\), so \(x\) is absent from that particular set in the intersection. This proves the equality pointwise. In the identity-function example with \(b=0\), the intersection is \(\bigcap_{n\ge1}(-1/n,\infty)=[0,\infty)\), not \((0,\infty)\). This countable-intersection formula also shows why the strict-ray tests retain enough information to recover boundary points.

The criterion matters because it reduces measurability to a structured family of threshold events. In applications, each such event can often be described by inequalities or intervals, as for the square and floor functions. The generation argument is essential: it is what turns those threshold checks into the full requirement of Borel measurability, without any assumption that the measure space is complete or finite.

Check Your Understanding

For each question, keep track of the strict inequality and state which sigma-algebra contains the preimage.

  1. For \(f(x)=x^2\) on \((\mathbb{R},\mathcal{L},m)\), find \(f^{-1}((a,\infty))\) when \(a<0\), \(a=0\), and \(a>0\).
  2. For \(f(x)=\lfloor x\rfloor\), compute \(f^{-1}((a,\infty))\) at \(a=-2\) and at \(a=-2.3\). Explain why the two answers differ.
  3. Show directly that \((-\infty,b)\) belongs to the sigma-algebra generated by \(\{(a,\infty):a\in\mathbb{R}\}\), using a countable intersection and a complement.
  4. On the finite space in the third example, what is the preimage of \((a,\infty)\) at \(a=2\), and what is its counting measure?
  5. For the identity function on \(\mathbb{R}\), compare \(\{x:f(x)\ge0\}\) with \(\{x:f(x)>0\}\). Which point distinguishes them?