Indexed Families of Sets
Suppose you have infinitely many sets to talk about at once. There is one for every natural number, or one for every point on a circle. How do you even name them without listing them all? This is the concrete question that motivates indexed families. Instead of a bare collection of sets, we attach a label to each set. The label is drawn from some index set. We then study the resulting labeled collection as a single mathematical object. This labeling device looks trivial. But it is exactly the piece of bookkeeping that makes arbitrary unions and intersections precise rather than hand-wavy. These unions and intersections may be infinite or even uncountable. The idea matters for a clear reason. Ordinary set-builder notation and finite lists of sets do not scale. They fail once we have infinitely many, or non-numerically-labeled, sets. Once we index sets by an arbitrary set , we can define and . We can do this with the same rigor as their two-set counterparts and . We can also quantify over the index set using ordinary first-order logic. This is the bridge between the finite Boolean algebra of sets — union, intersection, complement on two or three sets — and the fully general theory of unions and intersections over arbitrary families. The big picture is simple. An indexed family is nothing more, and nothing less, than a function whose values happen to be sets. Recognizing this identification demystifies a notation that otherwise looks like new machinery. The identification is this: "family" equals "function with codomain a collection of sets." It also connects indexed families immediately to the concept of a Function and to Cartesian products. A choice function on a family is a special kind of function. The product is defined directly in terms of the family. This article gives the formal definition of an indexed family. It builds intuition with number-line and Venn-style pictures. It proves the basic distributive and De Morgan identities for indexed unions and intersections. It works through two asymmetric examples. It shows exactly what breaks when the indexing structure is dropped. It closes by setting up the language needed for the fully general theory of Arbitrary Unions and Intersections.
- An indexed family is formally a function sending each index to a set .
- The index set can be finite, countably infinite, uncountable, or even empty — the definition does not care.
- Indexed unions/intersections and are defined purely by quantifiers over , no ordering needed.
- Repetition and relabeling are allowed: and may be equal as sets even when .
- The empty index set forces but is only meaningful relative to a fixed universe.
- Key idea: indexing turns "a bunch of sets" into a genuine mathematical object — a set-valued function — so that union and intersection over that bunch can be defined by pure quantifier logic, with no upper bound on how many sets there are.
Where this lives today
In topology, a topology on a space is, by definition, a family of subsets of closed under arbitrary unions indexed by any index set and finite intersections — the indexed-union axiom is precisely what distinguishes topology from mere finite Boolean combinatorics, and it is stated using exactly the notation of this article. In measure theory and probability, -algebras are required to be closed under countably indexed unions , and the distinction between finite, countable, and arbitrary index sets (as flagged throughout this article) is the crux of why -algebras are more restrictive than topologies. In algebra, direct sums and direct products of a family of groups, rings, or modules are defined directly via the indexed family, with the direct sum consisting of elements that are "almost all zero" — a condition that only makes sense once the family is indexed. In computer science, indexed families appear as dependent types / dependent products (a family of types indexed by a type, as in Martin-Löf type theory), and as the mathematical model behind indexed data structures such as arrays and hash tables keyed by an arbitrary index type. In cryptography, families of keyed functions or distributions indexed by a security parameter or key space are studied via exactly this apparatus, and indistinguishability arguments quantify over the index set of possible keys. In statistics, a parametric family of distributions is an indexed family in precisely this sense, with the index (parameter) set, and questions about identifiability are questions about whether is injective.
:::quiz[In Example 2, why does even though no single term of the family equals ?]
- Because the family is finite, so intersections always simplify
- Because every individually already equals
- Because the intersection of infinitely many strictly larger open sets can equal a closed set not among them, by the Archimedean property ✓
- Because intersections of open intervals are always empty
Ask the tutor: How does the notion of an indexed family extend to define the Cartesian product , and why does that construction require the Axiom of Choice to guarantee nonemptiness?
Let be a set, called the index set, and let be a set (or class) all of whose elements are sets. An indexed family of sets over , written
is a function . For each , the value is written and called the term of the family at index , or the set indexed by . Two indexed families and are considered the same family exactly when they are the same function, i.e. and for every . In particular the family does not require the map to be injective: it is entirely possible that for distinct , and the family is still regarded as having "one term per index," not "one term per distinct set." Given an indexed family , define its indexed union and indexed intersection by
When , the union is defined to be by the (vacuously true) reading of the existential quantifier, while the intersection is only well-defined relative to an ambient universal set , in which case , since the defining condition "" is vacuously true for every .
Intuition
The key mental shift is: stop thinking of an indexed family as "a set of sets" and start thinking of it as a labeling scheme. A bare collection has no order and no repetition — it is a set, so either holds or does not, once and for all. An indexed family is different: it is a function, and functions can send different inputs to the same output. So remembers which index produced a set, even when two indices happen to produce the same set. This is exactly analogous to the difference between a sequence (which can repeat values, e.g. the constant sequence ) and the set of values (which collapses repeats). Once you see a family as a function , the definitions of and stop being new notation and become old friends in a bigger font: they are just and quantified over the domain of that function, exactly as and are the special case. This is the payoff of the definition — it is designed so that the two-set case, the finite -set case, the countably infinite case, and the wildly uncountable case are all literally the same formula, differing only in what is. The picture below shows a finite family indexed by , drawn as three overlapping disks, alongside a family indexed by an interval of the real line, , where is an interval on a second number line whose endpoints move continuously as varies — illustrating that the index set need not be discrete or finite at all.
:::svg[Left: a finite family indexed by {1,2,3}; right: a continuously varying family indexed by the interval [0,3]]
Central theorem: distributive and De Morgan laws for indexed families
Let be a set, let be an indexed family of subsets of a fixed universal set , and let be any subset of . Then:
(1) Distributivity.
(2) De Morgan's Laws. Writing for the complement in ,
These identities hold for every index set , including (interpreting as in the Definition above) and every infinite , with no assumption that is countable, ordered, or finite.
We use the standard technique of element-chasing with biconditionals: to prove two sets are equal, we fix an arbitrary element (of the ambient universe ) and show belongs to the left side if and only if it belongs to the right side. Because is a primitive relation and equality of sets is governed by the Axiom of Extensionality, this suffices to establish set equality. No property of beyond " is a set" (so that and are meaningful quantifiers) is used anywhere below, which is exactly why the argument is uniform in .
Proof of the first distributive law. Let be arbitrary. Then
Since "" does not mention , it may be pulled inside the existential quantifier as a conjunct:
The middle biconditional — "" for a proposition not depending on — is a theorem of first-order logic (it holds whenever trivially by substitution, and when both sides are false, so the equivalence holds unconditionally). Chaining the displayed biconditionals gives
for every , so by Extensionality the two sets are equal.
Proof of the second distributive law. Let be arbitrary. Then
Now use the logical equivalence "" for not depending on . (This too holds unconditionally: if , the right side is vacuously true and equals "" reduced from the left, both true regardless of ; if , this is the standard distribution of over , valid because the choice of witness is irrelevant to .) Hence
As before, this biconditional for arbitrary gives the claimed set equality by Extensionality.
Proof of the first De Morgan law. Let . Then
by the logical equivalence (one of the two quantifier-negation laws, valid for arbitrary index set , including , where both sides reduce to the truth value "true"). Continuing,
Chaining gives for all , hence equality of the two sets by Extensionality.
Proof of the second De Morgan law. Symmetric to the first, using the other quantifier-negation law :
Again, Extensionality finishes the proof. Since every step used only propositional logic and the quantifier laws , , and the distribution of a fixed proposition over / — none of which reference cardinality, order, or any special structure of — every identity holds for arbitrary index sets , including (checked as a boundary case within each equivalence above) and infinite, even uncountable, .
∎Taking recovers the familiar two-set identities , , and , , since unwinds to " or " and likewise for . This shows the indexed theorem strictly generalizes, rather than merely resembles, the elementary two-set laws.
Worked examples
Example 1 — an index set that is not a set of numbers at all. Let the index set be , a three-element set with no arithmetic structure, and define an indexed family of subsets of by
This is a legitimate indexed family exactly because the definition only demands a function ; there is no requirement that carry an order or that the family be given by a "formula in ." We compute the union and intersection directly from the definitions. Union. iff or or . Checking small integers: (multiple of 4) and also ; () and ; but is it in ? , no, and is not a multiple of , so 's membership in the union comes solely from . Meanwhile , not a multiple of 4, not in , so . In general
which cannot be simplified to a single congruence class because the three pieces genuinely overlap in a complicated pattern (e.g. and simultaneously exactly when , by the Chinese Remainder Theorem, since ). Intersection. requires to be a multiple of 4, and , and . The third condition restricts to ; among these, multiples of 4 are only ; but . So no integer satisfies all three simultaneously, giving
This example shows the machinery works verbatim when has no numerical or ordering structure whatsoever — the quantifiers , range over an arbitrary three-element set of color-labels, and the proof of the Distributive and De Morgan Laws for Indexed Families theorem applies to this family exactly as stated.
Example 2 — a countably infinite family with a "collapsing" intersection, contrasted with a shifted version. For define, inside the universe ,
Note the family is not symmetric: the left endpoint tends to from below and the right endpoint tends to from above, at different rates relative to a fixed interval, and the interval is not centered at a nice point. Claim: . Proof. First, if , then for every we have , so ; since this holds for all , . This shows . Conversely, suppose , so for every . If , then , and by the Archimedean property of there is with , i.e. , contradicting for that particular . So . Symmetrically, if , then , so there is with , giving , contradicting . So . Hence , proving . Combining both inclusions, , even though no single term of the family equals — every is a strictly larger open interval. This is the sense in which indexed intersections over an infinite family can produce a set not equal to (and not equal to any) individual term of the family, a phenomenon impossible for a finite union or intersection of distinct named sets read off literally from the list. Union. By contrast, . Indeed already, and fails for larger in general — wait, check directly: since decreases as increases, shrinks as (each , because and ). So the family is nested decreasing, , which means the largest term is and the union of a decreasing chain equals its first (largest) term:
This second example foreshadows the general theory of nested families to be developed under Arbitrary Unions and Intersections, where monotone families of sets play a role directly analogous to monotone sequences of real numbers.
The theorem's proof leaned on two hypotheses that are easy to overlook because they seem automatic: (a) that is a set (so that quantifiers "" and "" are meaningful and the logical laws , apply to it), and (b) that is genuinely a function of , assigning one definite set to each index. Here is what goes wrong if we corrupt (b) by allowing the "family" to be multi-valued, i.e. not a function at all. Suppose someone defines, sloppily, "the family where and is either or " — that is, the assignment is not single-valued; index is allowed to point to two different sets depending on which one you feel like using in a given formula. This is not a function , since a function must assign to each input exactly one output (this is part of the very definition of "function," inherited from Function). If we nonetheless try to use it: is ? Using , yes. Using , no. The membership statement "" is supposed to be a determinate proposition — true or false — for each fixed , by the very definition ; but with a multi-valued "family," the predicate "" is not a well-defined proposition at all (it depends on an unstated further choice), so is not a well-defined set. The entire proof of the theorem breaks at its very first line, "let be arbitrary; then " — the right-hand side is no longer a proposition with a fixed truth value. This is precisely why the formal definition insists is a function : functionality is not a minor technical nicety, it is what guarantees is a genuine proposition for each , which is in turn what the entire quantifier-logic proof of the distributive and De Morgan laws depends on at every single step.
Scope, edge cases & common traps
| Situation | What happens | Common error |
|---|---|---|
| always; (needs ambient universe) | Forgetting the empty intersection needs a fixed universe to make sense, and writing by false analogy with the union | |
| infinite, uncountable | All theorems above still hold verbatim; no extra hypothesis needed | Assuming a proof "by induction on " automatically extends to infinite/uncountable without re-justifying the quantifier steps |
| Repeated values , | Perfectly allowed; family still has "one term per index" | Conflating (a function, can repeat) with (the set of values, which discards repeats) |
| Family not literally a function of | Union/intersection notation becomes meaningless (see counterexample) | Writing "let be or " and still invoking as if well-defined |
| Converse-type claims, e.g. "if then some " | False in general — see Example 1's family, where but every | Asserting this converse without proof; it is simply false, as Example 1 shows |
The mathematician behind it
Origins · 1 minFelix Hausdorff and how this was discovered
Hausdorff's 1914 treatise Grundzüge der Mengenlehre was one of the first texts to treat arbitrary — not merely finite or countable — unions and intersections of sets as routine objects of study, alongside a systematic treatment of cardinal and ordinal numbers built on Cantor's set theory. His formulation of what is now called a Hausdorff space, and his systematic use of families of sets indexed by arbitrary index sets in defining topologies (a topology being a family of open sets closed under arbitrary unions and finite intersections), made the indexed-family notation indispensable rather than a mere convenience. Hausdorff, who was Jewish, was stripped of his professorship at Bonn under Nazi racial laws in 1935; facing deportation to a concentration camp in 1942, he and his wife and sister-in-law died by suicide rather than be taken. His mathematical legacy — Hausdorff dimension, Hausdorff spaces, Hausdorff measure — remains foundational across topology, analysis, and fractal geometry.
Is an indexed family the same thing as the set ?
No, and this distinction is important. is a function , which remembers the index attached to each set, including when two different indices happen to produce equal sets. The notation , by contrast, is ordinary set-builder notation for the range of that function — it is a genuine set of sets, and by the Axiom of Extensionality it automatically discards duplicate values. For example, if and , the family has three terms (two of them equal), but has only two elements.
Can the index set itself be one of the sets , or otherwise overlap with the sets being indexed?
Yes — there is no requirement that and the sets be disjoint, of different "type," or unrelated in any set-theoretic sense; is simply the domain of the family-function, and the are its values. It is entirely possible, for instance, to index a family by while also having or even itself. Some care is needed only in genuinely self-referential constructions (a family indexed by itself with depending on the family as a whole), which can run into the same paradoxes that motivate the Axiom of Foundation in axiomatic set theory, but ordinary indexed families used in analysis, algebra, and topology do not encounter this issue.
Why does the definition allow for ? Doesn't that make the family "redundant"?
It is intentional, not an oversight. Allowing repeats is exactly what makes indexed families behave like sequences rather than like sets, which is essential in contexts such as -algebras (closed under countable unions of a sequence , where repeats are common and harmless) or direct sums of modules where many might be isomorphic or literally equal as sets. If the definition instead forced to be injective, families like the constant family for all (used constantly in constructing product spaces such as ) would be disallowed, which would cripple the theory.
Does the empty intersection really equal "everything"? Isn't that strange?
It follows necessarily from the logic of the definition, once you fix an ambient universe . The condition "" unwinds to "," and a universally quantified statement over the empty set is vacuously true for every — there being no to violate it — so every satisfies the condition, giving . This is exactly analogous to the fact that "all unicorns in this room are green" is vacuously true when there are no unicorns in the room. Without a fixed ambient , the empty intersection is not well-defined, since "everything" is not itself a set (by Russell's paradox considerations), which is why some treatments simply refuse to define except relative to a universe.
Is the union/intersection notation different from for a set of sets ?
They compute the same underlying operation but start from different data. Given an indexed family , one can form the set of its values (the range of the function), and then always holds, since both sides equal . So indexed unions and "big union of a set of sets" agree in value. The difference is bookkeeping: the indexed version keeps track of which index produced which set (useful for repeats, for defining products, and for stating results "for each "), while only ever sees the final collection of distinct sets involved.
How does this relate to a Cartesian product of a family of sets?
The Cartesian product of an indexed family is defined as the set of all functions such that for every — a "choice function" picking one element from each , indexed consistently by . This construction is only expressible because the family is indexed: without labels attached to each set, there would be no way to say "pick one element from this specifically," only "pick some elements from the union," which loses the per-index structure entirely. The question of whether is nonempty whenever every is nonempty, for arbitrary index sets , is precisely the content of the Axiom of Choice.
Why does the article emphasize that the theorem holds "for arbitrary , even uncountable"? Isn't that automatic?
It is not automatic from a naive standpoint, because many students first meet union and intersection only for finite lists and prove facts about them by induction on . Induction is a proof technique tied to , and it simply does not apply when is uncountable (there is no way to "start from and go one further"). The proof given here deliberately avoids induction entirely, working instead by direct quantifier manipulation (, ) that makes sense for any set regardless of its cardinality, which is exactly why the same argument covers finite, countable, and uncountable index sets uniformly.