5.1.3 Basic Measure Theory Definitions

This section briefly indicates how to define volume in a metric space. This provides a basis for defining concepts such as integrals or probability densities. Measure theory is an advanced mathematical topic that is well beyond the scope of this book; however, it is worthwhile to briefly introduce some of the basic definitions because they sometimes arise in sampling-based planning.

Measure can be considered as a function that produces real values for subsets of a metric space, $ (X,\rho)$. Ideally, we would like to produce a nonnegative value, $ \mu(A) \in [0,\infty]$, for any subset $ A \subseteq X$. Unfortunately, due to the Banach-Tarski paradox, if $ X = {\mathbb{R}}^n$, there are some subsets for which trying to assign volume leads to a contradiction. If $ X$ is finite, this cannot happen. Therefore, it is hard to visualize the problem; see [836] for a construction of the bizarre nonmeasurable sets. Due to this problem, a workaround was developed by defining a collection of subsets that avoids the paradoxical sets. A collection $ {\cal B}$ of subsets of $ X$ is called a sigma algebra if the following axioms are satisfied:

  1. The empty set is in $ {\cal B}$.
  2. If $ B \in {\cal B}$, then $ X \setminus B \in {\cal B}$.
  3. For any collection of a countable number of sets in $ {\cal B}$, their union must also be in $ {\cal B}$.
Note that the last two conditions together imply that the intersection of a countable number of sets in $ {\cal B}$ is also in $ {\cal B}$. The sets in $ {\cal B}$ are called the measurable sets.

A nice sigma algebra, called the Borel sets, can be formed from any metric space $ (X,\rho)$ as follows. Start with the set of all open balls in $ X$. These are the sets of the form

$\displaystyle B(x,r) = \{x^\prime \in X \;\vert\; \rho(x,{ x}^\prime) < r\}$ (5.13)

for any $ x \in X$ and any $ r \in (0,\infty)$. From the open balls, the Borel sets $ {\cal B}$ are the sets that can be constructed from these open balls by using the sigma algebra axioms. For example, an open square in $ {\mathbb{R}}^2$ is in $ {\cal B}$ because it can be constructed as the union of a countable number of balls (infinitely many are needed because the curved balls must converge to covering the straight square edges). By using Borel sets, the nastiness of nonmeasurable sets is safely avoided.

Example 5..9 (Borel Sets)   A simple example of $ {\cal B}$ can be constructed for $ {\mathbb{R}}$. The open balls are just the set of all open intervals, $ (x_1,x_2) \subset {\mathbb{R}}$, for any $ x_1,x_2 \in {\mathbb{R}}$ such that $ x_1 < x_2$. $ \blacksquare$

Using $ {\cal B}$, a measure $ \mu$ is now defined as a function $ \mu:
{\cal B}\rightarrow [0,\infty]$ such that the measure axioms are satisfied:

  1. For the empty set, $ \mu(\emptyset) = 0$.
  2. For any collection, $ E_1, E_2, E_3, \ldots$, of a countable (possibly finite) number of pairwise disjoint, measurable sets, let $ E$ denote their union. The measure $ \mu$ must satisfy

    $\displaystyle \mu(E) = \sum_i \mu(E_i) ,$ (5.14)

    in which $ i$ counts over the whole collection.

Example 5..10 (Lebesgue Measure)   The most common and important measure is the Lebesgue measure, which becomes the standard notions of length in $ {\mathbb{R}}$, area in $ {\mathbb{R}}^2$, and volume in $ {\mathbb{R}}^n$ for $ n \geq 3$. One important concept with Lebesgue measure is the existence of sets of measure zero. For any countable set $ A$, the Lebesgue measure yields $ \mu(A) = 0$. For example, what is the total length of the point $ \{1\} \subset
{\mathbb{R}}$? The length of any single point must be zero. To satisfy the measure axioms, sets such as $ \{1,3,4,5\}$ must also have measure zero. Even infinite subsets such as $ {\mathbb{Z}}$ and $ {\mathbb{Q}}$ have measure zero in $ {\mathbb{R}}$. If the dimension of a set $ A \subseteq {\mathbb{R}}^n$ is $ m$ for some integer $ m < n$, then $ \mu(A) = 0$, according to the Lebesgue measure on $ {\mathbb{R}}^n$. For example, the set $ {\mathbb{S}}^2 \subset {\mathbb{R}}^3$ has measure zero because the sphere has no volume. However, if the measure space is restricted to $ {\mathbb{S}}^2$ and then the surface area is defined, then nonzero measure is obtained. $ \blacksquare$

Example 5..11 (The Counting Measure)   If $ (X,\rho)$ is finite, then the counting measure can be defined. In this case, the measure can be defined over the entire power set of $ X$. For any $ A \subset X$, the counting measure yields $ \mu(A) = \vert A\vert$, the number of elements in $ A$. Verify that this satisfies the measure axioms. $ \blacksquare$

Example 5..12 (Probability Measure)   Measure theory even unifies discrete and continuous probability theory. The measure $ \mu$ can be defined to yield probability mass. The probability axioms (see Section 9.1.2) are consistent with the measure axioms, which therefore yield a measure space. The integrals and sums needed to define expectations of random variables for continuous and discrete cases, respectively, unify into a single measure-theoretic integral. $ \blacksquare$

Measure theory can be used to define very general notions of integration that are much more powerful than the Riemann integral that is learned in classical calculus. One of the most important concepts is the Lebesgue integral. Instead of being limited to partitioning the domain of integration into intervals, virtually any partition into measurable sets can be used. Its definition requires the notion of a measurable function to ensure that the function domain is partitioned into measurable sets. For further study, see [346,546,836].

Steven M LaValle 2020-08-14