Ma · Mathematics

Why Are Constant Functions Measurable?

Published By the 9to5Science editorial team

At a glance

  1. 1. Use the definition

    A real-valued function is measurable when the preimage of every Borel set is measurable in the domain.

  2. 2. Check a constant

    For a constant value c, each preimage is either the entire domain or the empty set.

  3. 3. Apply the sigma-algebra

    Both the domain and the empty set belong to every sigma-algebra, so the function is measurable.

A constant function does not need any special properties of the domain or any particular measure to be measurable. The key is that its inverse images can only be two simple sets: the whole domain or the empty set. Both are included in every sigma-algebra.

Measurability in terms of inverse images

Let (X,Σ)(X,\Sigma) be a measurable space, where XX is a set and Σ\Sigma is a sigma-algebra of subsets of XX. A function f:X→Rf:X\to\mathbb{R} is measurable if, for every Borel set B⊆RB\subseteq\mathbb{R}, the inverse image

f−1(B)={x∈X:f(x)∈B}f^{-1}(B)=\{x\in X:f(x)\in B\}

belongs to Σ\Sigma.

This definition checks which inputs are sent into a chosen set BB. It does not require the function’s individual values, or the sets BB themselves, to be elements of Σ\Sigma; Σ\Sigma contains subsets of the domain.

Proof for a constant function

Suppose f(x)=cf(x)=c for every x∈Xx\in X, for some fixed c∈Rc\in\mathbb{R}. Choose any Borel set B⊆RB\subseteq\mathbb{R}. There are two possibilities:

  • If c∈Bc\in B, then every input maps into BB, so f−1(B)=Xf^{-1}(B)=X.
  • If c∉Bc\notin B, then no input maps into BB, so f−1(B)=∅f^{-1}(B)=\varnothing.

A sigma-algebra always contains both XX and ∅\varnothing. Therefore f−1(B)∈Σf^{-1}(B)\in\Sigma for every Borel set BB, and ff is measurable.

The same argument works if the codomain is any measurable space (Y,T)(Y,\mathcal{T}): a constant map f(x)=y0f(x)=y_0 has preimage XX or ∅\varnothing for every set in T\mathcal{T}. Thus every constant map between measurable spaces is measurable.

Worked example

Take X=[0,1]X=[0,1] with the Lebesgue sigma-algebra, and define f(x)=πf(x)=\pi. Consider the Borel set B=(0,4)B=(0,4). Since π∈(0,4)\pi\in(0,4), every point of XX maps into BB, and

f−1((0,4))=[0,1].f^{-1}((0,4))=[0,1].

For the Borel set C=[4,∞)C=[4,\infty), we have π∉C\pi\notin C, so

f−1([4,∞))=∅.f^{-1}([4,\infty))=\varnothing.

Any other Borel set gives one of these two types of preimage. Both are Lebesgue measurable, so the constant function is measurable. The measure of the domain is irrelevant to this proof; measurability depends on the sigma-algebras, not on the numerical values assigned by a measure.

Equivalent test for real-valued functions

A common equivalent criterion is to check that the sets

{x∈X:f(x)>a}\{x\in X:f(x)>a\}

are in Σ\Sigma for every real number aa. For f(x)=cf(x)=c, this set is XX when c>ac>a and ∅\varnothing when c≤ac\leq a. So the same whole-domain-or-empty-set argument proves measurability under this criterion too.

Common mistakes

  • Confusing the value with a measurable set: Measurability does not ask whether cc is measurable. It asks whether inverse images of measurable codomain sets belong to the domain sigma-algebra.
  • Thinking a measure is needed for the proof: A measure assigns sizes to sets, but the definition of a measurable function uses only the sigma-algebras. No finiteness assumption on the measure is needed.
  • Confusing measurability with integrability: A measurable constant need not be integrable on a space of infinite measure. For instance, if c≠0c\ne 0 and μ(X)=∞\mu(X)=\infty, then ∫X∣c∣ dμ=∞\int_X |c|\,d\mu=\infty. That does not affect measurability.
  • Forgetting the domain structure: The statement assumes the domain has a sigma-algebra. Without one, measurability is not defined.

References

  1. Real Analysis, H. L. Royden and P. M. Fitzpatrick

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