Tutorials › Topology (Undergraduate) › Ultrafilters and Maximal Filters

Tychonoff's Theorem and Products · Tutorial 520 of 799

Ultrafilters and Maximal Filters

Learn how maximality forces a filter to decide every subset, and use that criterion to analyze finite and cofinite filters.

Advanced 10 min read

What You'll Learn

  • Define proper filters and maximality among proper filters.
  • Prove that an ultrafilter contains exactly one of each subset and its complement.
  • Construct a proper filter extension when a filter fails to contain a subset or its complement.
  • Classify ultrafilters on a finite set as principal filters.
  • Check why the cofinite filter on an infinite set is not an ultrafilter.

From Filters to Maximal Filters

Filters record collections of subsets that are treated as large: they are closed under finite intersections and under passing to larger sets. Maximal proper filters have a stronger feature. For every subset, they choose that subset or its complement, but never both. This decision property is useful because it replaces a maximality condition with a test involving each individual subset.

Let \(X\) be a set. A filter on \(X\) must contain \(X\), so there is no proper filter when \(X=\varnothing\). In what follows, unless stated otherwise, \(X\) is nonempty. A filter is proper when it does not contain the empty set.

Definition: A proper filter on \(X\) is a collection \(\mathcal{U}\subseteq\mathcal{P}(X)\) such that: (1) \(X\in\mathcal{U}\) and \(\varnothing\notin\mathcal{U}\); (2) if \(A,B\in\mathcal{U}\), then \(A\cap B\in\mathcal{U}\); and (3) if \(A\in\mathcal{U}\) and \(A\subseteq B\subseteq X\), then \(B\in\mathcal{U}\). A proper filter \(\mathcal{U}\) is an ultrafilter if no proper filter on \(X\) strictly contains \(\mathcal{U}\).

Here maximality is relative to proper filters: a larger collection containing the empty set is not a proper filter and therefore does not contradict maximality. The distinction matters when we prove the decision property.

The Decision Property

Theorem (Ultrafilter decision property): A proper filter \(\mathcal{U}\) on \(X\) is an ultrafilter if and only if, for every \(A\subseteq X\), exactly one of \(A\) and \(X\setminus A\) belongs to \(\mathcal{U}\).

Proof. First suppose that \(\mathcal{U}\) is an ultrafilter, and fix \(A\subseteq X\). A proper filter cannot contain both \(A\) and \(X\setminus A\), since it would then contain their intersection \(\varnothing\). Thus at most one belongs to \(\mathcal{U}\). We show that at least one belongs.

Suppose, to the contrary, that \(A\notin\mathcal{U}\) and \(X\setminus A\notin\mathcal{U}\). Consider the collection \[ \mathcal{G}=\{B\subseteq X:\text{there is some }F\in\mathcal{U}\text{ with }F\cap A\subseteq B\}. \] We verify that \(\mathcal{G}\) is a proper filter. Since \(X\in\mathcal{U}\) and \(X\cap A=A\subseteq X\), we have \(X\in\mathcal{G}\). If \(\varnothing\in\mathcal{G}\), there would be \(F\in\mathcal{U}\) with \(F\cap A\subseteq\varnothing\), hence \(F\cap A=\varnothing\). This implies \(F\subseteq X\setminus A\), so upward closure of \(\mathcal{U}\) gives \(X\setminus A\in\mathcal{U}\), contrary to the assumption. Therefore \(\varnothing\notin\mathcal{G}\).

If \(B\in\mathcal{G}\) and \(B\subseteq C\subseteq X\), the same filter member witnessing \(B\in\mathcal{G}\) also witnesses \(C\in\mathcal{G}\). If \(B,C\in\mathcal{G}\), choose \(F,G\in\mathcal{U}\) with \(F\cap A\subseteq B\) and \(G\cap A\subseteq C\). Since \(F\cap G\in\mathcal{U}\), we have \[ (F\cap G)\cap A\subseteq B\cap C, \] so \(B\cap C\in\mathcal{G}\). These facts verify all the filter conditions.

Every \(H\in\mathcal{U}\) belongs to \(\mathcal{G}\), because \(H\cap A\subseteq H\). Also \(A\in\mathcal{G}\), witnessed by \(F=X\). Since \(A\notin\mathcal{U}\), this is a proper filter strictly containing \(\mathcal{U}\), contradicting maximality. Therefore at least one of \(A\) and \(X\setminus A\) belongs to \(\mathcal{U}\).

Conversely, suppose \(\mathcal{U}\) has the stated decision property. If a proper filter \(\mathcal{V}\) strictly contains \(\mathcal{U}\), choose \(A\in\mathcal{V}\setminus\mathcal{U}\). By the decision property, \(X\setminus A\in\mathcal{U}\subseteq\mathcal{V}\). But \(A\in\mathcal{V}\) as well, so closure under intersections gives \(\varnothing=A\cap(X\setminus A)\in\mathcal{V}\), contradicting that \(\mathcal{V}\) is proper. No proper filter strictly contains \(\mathcal{U}\), so \(\mathcal{U}\) is an ultrafilter. \(\square\)

The theorem proves both directions. In the forward direction, failure to decide a subset would allow us to build a larger proper filter. In the reverse direction, a proper extension would have to add a subset whose complement is already in the original filter, forcing the extension to contain the empty set.

Ultrafilters on Finite Sets

Proposition: If \(X\) is finite and nonempty, every ultrafilter on \(X\) consists exactly of the subsets containing one fixed point \(x\in X\). Such a filter is called the principal ultrafilter at \(x\).

Proof. Let \(\mathcal{U}\) be an ultrafilter on the finite, nonempty set \(X\). If no singleton \(\{x\}\) belonged to \(\mathcal{U}\), then the decision property would give \(X\setminus\{x\}\in\mathcal{U}\) for every \(x\in X\). Taking the intersection of these finitely many filter members would put \[ \bigcap_{x\in X}(X\setminus\{x\})=\varnothing \] in \(\mathcal{U}\), which is impossible. Thus \(\{x\}\in\mathcal{U}\) for some \(x\in X\).

Every subset \(B\subseteq X\) containing \(x\) belongs to \(\mathcal{U}\), since \(\{x\}\subseteq B\) and filters are upward closed. If \(B\in\mathcal{U}\), it must contain \(x\): otherwise \(B\cap\{x\}=\varnothing\), contradicting closure under intersections and properness. Hence \(\mathcal{U}\) consists exactly of the subsets containing \(x\). Conversely, the collection of all subsets containing \(x\) is a proper filter and satisfies the decision property: if \(x\in B\), then \(B\) belongs; if \(x\notin B\), then \(x\in X\setminus B\), so the complement belongs. The decision theorem makes it an ultrafilter. \(\square\)

Worked Example: A Principal Ultrafilter on Three Points

Let \(X=\{a,b,c\}\), and consider the principal filter at \(a\): \[ \mathcal{U}_a=\bigl\{\{a\},\{a,b\},\{a,c\},\{a,b,c\}\bigr\}. \] These are exactly the subsets of \(X\) containing \(a\).

For a direct filter check, \(X\) is in the collection and \(\varnothing\) is not. Intersections of two members still contain \(a\), so they remain in the collection. Any superset in \(X\) of a member still contains \(a\), so it also belongs. The collection is proper.

To check the decision property, take any \(A\subseteq X\). If \(a\in A\), then \(A\in\mathcal{U}_a\) and \(a\notin X\setminus A\), so \(X\setminus A\notin\mathcal{U}_a\). If \(a\notin A\), then \(a\in X\setminus A\), so \(X\setminus A\in\mathcal{U}_a\) and \(A\notin\mathcal{U}_a\). Thus exactly one of each pair is included, and the decision theorem confirms that \(\mathcal{U}_a\) is an ultrafilter.

Check: for \(A=\{b,c\}\), we have \(a\notin A\), so \(A\notin\mathcal{U}_a\); its complement is \(\{a\}\), which is in \(\mathcal{U}_a\). For \(A=\{a,c\}\), the set itself is in \(\mathcal{U}_a\), while its complement \(\{b\}\) is not.

Worked Example: All Ultrafilters on a Two-Point Set

Let \(X=\{p,q\}\). The finite-set proposition says that any ultrafilter must be principal at \(p\) or at \(q\). The two collections are \[ \mathcal{U}_p=\bigl\{\{p\},X\bigr\},\qquad \mathcal{U}_q=\bigl\{\{q\},X\bigr\}. \] Each is a proper filter: it contains \(X\), excludes \(\varnothing\), and is closed under intersections and supersets. Each satisfies the decision property, because a subset either contains its designated point or its complement does.

For instance, the four subsets are \(\varnothing,\{p\},\{q\},X\). For \(\mathcal{U}_p\), the empty set is excluded and its complement \(X\) is included; \(\{p\}\) is included and its complement \(\{q\}\) is excluded; \(\{q\}\) is excluded and its complement \(\{p\}\) is included; and \(X\) is included while its complement is excluded. The same check with \(p\) and \(q\) interchanged verifies \(\mathcal{U}_q\). The proposition also shows there are no other ultrafilters on this set.

Check: these two ultrafilters are distinct because \(\{p\}\in\mathcal{U}_p\) but \(\{p\}\notin\mathcal{U}_q\). Neither contains both a set and its complement.

The Cofinite Filter on an Infinite Set

For an infinite set \(X\), the cofinite filter consists of the subsets \(A\subseteq X\) whose complements \(X\setminus A\) are finite. It is proper: \(X\) has finite complement \(\varnothing\), whereas \(\varnothing\) does not have finite complement because \(X\) is infinite. Intersections remain cofinite because \[ X\setminus(A\cap B)=(X\setminus A)\cup(X\setminus B), \] and a union of two finite sets is finite. A superset of a cofinite set is also cofinite, since its complement is a subset of a finite set.

Worked Example: The Cofinite Filter on the Natural Numbers

Take \(X=\mathbb{N}=\{1,2,3,\dots\}\), and let \(\mathcal{F}\) be the cofinite filter. Set \(E=\{2,4,6,\dots\}\), the even positive integers, and \(O=\{1,3,5,\dots\}\), the odd positive integers. They are complements: \(\mathbb{N}\setminus E=O\) and \(\mathbb{N}\setminus O=E\).

Neither \(E\) nor \(O\) belongs to \(\mathcal{F}\). Indeed, \(E\) has infinite complement \(O\), and \(O\) has infinite complement \(E\). Therefore \(\mathcal{F}\) does not decide the subset \(E\): neither \(E\) nor its complement belongs to the filter. By the decision theorem, \(\mathcal{F}\) is not an ultrafilter.

Check: \(E\) is infinite because its distinct elements \(2n\) occur for all \(n\in\mathbb{N}\); \(O\) is infinite because its distinct elements \(2n-1\) occur for all \(n\in\mathbb{N}\). Thus neither complement is finite, which verifies both exclusions from \(\mathcal{F}\).

Common pitfall. One might argue that the cofinite filter on \(\mathbb{N}\) is maximal because it contains every subset with finite complement. That does not establish maximality: the decision property must hold for every subset, including \(E\). The explicit calculation above shows that both \(E\) and \(\mathbb{N}\setminus E=O\) have infinite complements, so neither is in the filter. The decision criterion therefore rules out maximality.

There is a related finite-set trap. On a finite set \(X\), every subset has finite complement, including \(\varnothing\), since \(X\setminus\varnothing=X\) is finite. Consequently the collection of all subsets with finite complement contains \(\varnothing\), so it is not a proper filter. The cofinite-filter example requires an infinite underlying set.

Why the Decision Property Is Useful

Maximality is a comparison with every proper filter that might contain a given one. The decision property turns that global comparison into a subset-by-subset test. On finite sets, it forces an ultrafilter to concentrate on a single point. On an infinite set, the cofinite filter demonstrates that being a proper filter is not enough: a subset and its complement can both fail to be cofinite. The key distinction is therefore not just closure under intersections and supersets, but the additional requirement that maximal proper filters make a consistent choice between every subset and its complement.

Check Your Understanding

Use the definition of a proper filter and the decision theorem to justify each answer.

  1. Explain why no proper filter exists on the empty set.
  2. For the principal ultrafilter at \(x\in X\), determine which of \(A\) and \(X\setminus A\) belongs when \(x\notin A\).
  3. Why must a proper filter exclude the possibility that it contains both a subset and its complement?
  4. On a finite nonempty set, why can an ultrafilter not omit every singleton?
  5. For the cofinite filter on \(\mathbb{N}\), test the decision property using the set of odd positive integers.