# Null set

The notion of null set should not be confused with the empty set as defined in set theory. Although the empty set has Lebesgue measure zero, there are also non-empty sets which are null. For example, any non-empty countable set of real numbers has Lebesgue measure zero and therefore is null.

Every finite or countably infinite subset of the real numbers is a null set. For example, the set of natural numbers and the set of rational numbers are both countably infinite and therefore are null sets when considered as subsets of the real numbers.

The Cantor set is an example of an uncountable null set.^{[further explanation needed]}

where the *U*_{n} are intervals and |*U*| is the length of U, then A is a null set,^{[1]} also known as a set of zero-content.

In terminology of mathematical analysis, this definition requires that there be a sequence of open covers of A for which the limit of the lengths of the covers is zero.

The empty set is always a null set. More generally, any countable union of null sets is null. Any measurable subset of a null set is itself a null set. Together, these facts show that the *m*-null^{[further explanation needed]} sets of *X* form a sigma-ideal on *X*. Similarly, the measurable *m*-null sets form a sigma-ideal of the sigma-algebra of measurable sets. Thus, null sets may be interpreted as negligible sets, defining a notion of almost everywhere.

The Lebesgue measure is the standard way of assigning a length, area or volume to subsets of Euclidean space.

Null sets play a key role in the definition of the Lebesgue integral: if functions *f* and *g* are equal except on a null set, then *f* is integrable if and only if *g* is, and their integrals are equal. This motivates the formal definition of *L*^{p} spaces as sets of equivalence classes of functions which differ only on null sets.

A measure in which all subsets of null sets are measurable is *complete*. Any non-complete measure can be completed to form a complete measure by asserting that subsets of null sets have measure zero. Lebesgue measure is an example of a complete measure; in some constructions, it is defined as the completion of a non-complete Borel measure.

The Borel measure is not complete. One simple construction is to start with the standard Cantor set *K*, which is closed hence Borel measurable, and which has measure zero, and to find a subset F of *K* which is not Borel measurable. (Since the Lebesgue measure is complete, this F is of course Lebesgue measurable.)

First, we have to know that every set of positive measure contains a nonmeasurable subset. Let *f* be the Cantor function, a continuous function which is locally constant on *K ^{c}*, and monotonically increasing on [0, 1], with

*f*(0) = 0 and

*f*(1) = 1. Obviously,

*f*(

*K*) is countable, since it contains one point per component of

^{c}*K*. Hence

^{c}*f*(

*K*) has measure zero, so

^{c}*f*(

*K*) has measure one. We need a strictly monotonic function, so consider

*g*(

*x*) =

*f*(

*x*) +

*x*. Since

*g*(

*x*) is strictly monotonic and continuous, it is a homeomorphism. Furthermore,

*g*(

*K*) has measure one. Let

*E*⊂

*g*(

*K*) be non-measurable, and let

*F*=

*g*

^{−1}(

*E*). Because g is injective, we have that

*F*⊂

*K*, and so F is a null set. However, if it were Borel measurable, then

*g*(

*F*) would also be Borel measurable (here we use the fact that the preimage of a Borel set by a continuous function is measurable;

*g*(

*F*) = (

*g*

^{−1})

^{−1}(

*F*) is the preimage of

*F*through the continuous function

*h*=

*g*

^{−1}.) Therefore, F is a null, but non-Borel measurable set.

In a separable Banach space (*X*, +), the group operation moves any subset *A* ⊂ *X* to the translates *A* + *x* for any *x* ∈ *X*. When there is a probability measure *μ* on the σ-algebra of Borel subsets of X, such that for all x, *μ*(*A* + *x*) = 0, then A is a **Haar null set**.^{[3]}

The term refers to the null invariance of the measures of translates, associating it with the complete invariance found with Haar measure.

Some algebraic properties of topological groups have been related to the size of subsets and Haar null sets.^{[4]}
Haar null sets have been used in Polish groups to show that when A is not a meagre set then *A*^{−1}*A* contains an open neighborhood of the identity element.^{[5]} This property is named for Hugo Steinhaus since it is the conclusion of the Steinhaus theorem.