Subsets and Set Inclusion

Suppose you have two sets and want to say that one is "contained" in the other. How should mathematics make this precise? The subset relation A⊆BA \subseteq B answers this question. It says that every element of AA is also an element of BB. Nothing more and nothing less. This is one of the two most basic relations in set theory, alongside membership itself. Confusing the two — asking whether an object is in a set versus asking whether one set is inside another — is the single most common error beginners make. The idea matters because almost every mathematical construction is a comparison of collections. When we say "the rationals are contained in the reals," or "every group homomorphism image is a subgroup," we are invoking ⊆\subseteq. The same is true when we say "the solution set of one inequality lies inside the solution set of another." Set inclusion is also the seed of the Power Set construction. It underlies Set Equality and Extensionality as well. Two sets turn out to be equal exactly when each is a subset of the other. The big picture is that ⊆\subseteq organizes sets into a hierarchy — a partial order — rather than a linear ranking. Some sets are comparable, meaning one contains the other. Some are simply incomparable, sharing no containment relationship at all. Understanding this structure is the first step toward understanding lattices of sets and Venn diagrams. It also leads eventually to the algebra of sets used throughout mathematics and computer science. This article gives the formal definition of ⊆\subseteq. It distinguishes it sharply from ∈\in, and introduces proper subsets ⊊\subsetneq. It proves the central structural facts: reflexivity, transitivity, and the special role of the empty set. Every claim is proved directly from the definition of a set. It relies on the axiom of extensionality that underlies it. Careful attention is paid to quantifiers and to hypotheses that cannot be dropped.

Key takeaways
  • A⊆BA \subseteq B means: every element of AA is an element of BB — a statement about all elements, not about AA or BB as single objects.
  • ∈\in relates an element to a set; ⊆\subseteq relates a set to a set. They live at different logical levels and are never interchangeable.
  • ⊆\subseteq is reflexive (A⊆AA \subseteq A always) and transitive (A⊆BA\subseteq B and B⊆CB \subseteq C imply A⊆CA \subseteq C), but not symmetric.
  • The empty set ∅\emptyset is a subset of every set, vacuously — this is a favorite source of "obvious once you see it" confusion.
  • Proper subset A⊊BA \subsetneq B adds the extra requirement A≠BA \neq B: BB has at least one element not in AA.
  • Key idea: ⊆\subseteq is a universally-quantified statement about membership, so proving it always starts with "let x∈Ax \in A be arbitrary."

Where this lives today

Set inclusion is the backbone of the subset lattice used throughout combinatorics, where counting subsets, chains, and antichains of a finite set (Sperner's theorem, the Boolean lattice) all rest on ⊆\subseteq. In topology, open sets are compared by inclusion to define bases, neighborhoods, and the specialization order on a space. In logic and model theory, one theory "extends" another when its consequences are a superset of the other's, and substructures are literally defined via subset inclusion on domains and compatible operations. In computer science, type systems use subtyping relations that are formally modeled as ⊆\subseteq on sets of admissible values, and database theory expresses query containment — whether one query's results are always a subset of another's — as a decidability problem built directly on ⊆\subseteq. In probability and measure theory, events are subsets of a sample space, and A⊆BA \subseteq B underlies monotonicity of probability: P(A)≤P(B)P(A) \le P(B) whenever A⊆BA \subseteq B. Cryptographic access-control models (like lattice-based security levels) also use inclusion orders on sets of permissions to formalize "who can see what."

Ask the tutor: Can you show me why A⊆BA \subseteq B and B⊆AB \subseteq A together forcing A=BA = B actually needs the Axiom of Extensionality, rather than being automatic from the definition of ⊆\subseteq alone?

DefinitionSubset and proper subset

Let AA and BB be sets. We say AA is a subset of BB, written

A⊆B,A \subseteq B,

if every element of AA is an element of BB; formally,

A⊆B  ⟺  ∀x (x∈A→x∈B).A \subseteq B \iff \forall x\,(x \in A \to x \in B).

We say AA is a superset of BB, or B⊇AB \supseteq A, meaning the same thing with roles reversed. We say AA is a proper subset of BB, written A⊊BA \subsetneq B (or A⊂BA \subset B in some texts), if

A⊆BandA≠B.A \subseteq B \quad \text{and} \quad A \neq B.

Equivalently, A⊊BA \subsetneq B holds iff every element of AA is an element of BB, and there exists at least one element of BB that is not an element of AA. Negation: A⊈BA \nsubseteq B means ¬(A⊆B)\neg(A \subseteq B), i.e. ∃x (x∈A∧x∉B)\exists x\,(x\in A \wedge x \notin B) — there is some element of AA that fails to be in BB.

Intuition

Think of a set as a bag of labeled marbles, and think of A⊆BA \subseteq B as the claim "every marble in bag AA can also be found in bag BB." This says nothing about whether bag BB has extra marbles, and nothing about whether the bags themselves are marbles inside some larger bag. The relation lives entirely at the level of checking each element of AA one at a time. This is exactly why ∈\in and ⊆\subseteq must never be conflated. If x∈Ax \in A, then xx is a single object that happens to be a member of AA; if A⊆BA \subseteq B, then AA is itself a whole set being compared to another whole set. The classic trap: for A={1,2}A = \{1,2\} and B={1,{1,2},3}B = \{1, \{1,2\}, 3\}, it is true that A∈BA \in B (since {1,2}\{1,2\} appears as an element of BB), but it is false that A⊆BA \subseteq B, because 2∈A2 \in A while 2∉B2 \notin B. Conversely 1∈A1 \in A and 1∈B1 \in B, but 1⊆B1 \subseteq B is not even a well-formed possibility to assert casually — 11 is not a set of the right form for ⊆\subseteq to have its usual meaning unless we're in a context where numbers are coded as sets (as with the von Neumann ordinals), and even then it is a separate fact to check. A useful mental picture is a Venn diagram in which the circle for AA sits entirely inside the circle for BB: no part of AA's circle sticks outside BB's.

Figure
Venn diagram of A⊆BA \subseteq B: the circle for AA lies entirely within the circle for BB
B A x, y, z ∈ A also w ∈ B, w ∉ A x y w

The second picture below shows the relation among sets themselves — not elements inside sets, but sets arranged by inclusion — for a tiny concrete family. This is the beginning of the partial-order structure that ⊆\subseteq imposes.

Figure
The subsets of {1,2}\{1,2\} arranged by inclusion, forming a diamond lattice
∅ {1} {2} {1,2}
TheoremBasic properties of set inclusion

Let AA, BB, CC be sets. Then: 1. (Reflexivity) A⊆AA \subseteq A. 2. (Transitivity) If A⊆BA \subseteq B and B⊆CB \subseteq C, then A⊆CA \subseteq C. 3. (Antisymmetry, via extensionality) If A⊆BA \subseteq B and B⊆AB \subseteq A, then A=BA = B. 4. (Empty set is least) ∅⊆A\emptyset \subseteq A for every set AA. 5. (Non-symmetry, as a general fact) It is not true in general that A⊆BA \subseteq B implies B⊆AB \subseteq A; i.e., ⊆\subseteq is not a symmetric relation.

Proof

We use the Sets and Membership definition of set and the Axiom of Extensionality (two sets with exactly the same elements are equal), together with the The Empty Set characterization that ∅\emptyset has no elements. The technique throughout is direct proof from the definition of ⊆\subseteq, driven by universal generalization: to show X⊆YX \subseteq Y, we fix an arbitrary xx, assume x∈Xx \in X, and derive x∈Yx \in Y.

(1) Reflexivity. We must show ∀x (x∈A→x∈A)\forall x\,(x \in A \to x \in A). Let xx be arbitrary and suppose x∈Ax \in A. Then trivially x∈Ax \in A holds — this is an instance of the tautology P→PP \to P from propositional logic. Since xx was arbitrary, ∀x (x∈A→x∈A)\forall x\,(x\in A \to x \in A), i.e. A⊆AA \subseteq A. ■\blacksquare

(2) Transitivity. Assume A⊆BA \subseteq B and B⊆CB \subseteq C. We must show A⊆CA \subseteq C, i.e. ∀x (x∈A→x∈C)\forall x\,(x \in A \to x \in C). Let xx be arbitrary and suppose x∈Ax \in A. Since A⊆BA \subseteq B, the hypothesis x∈Ax \in A gives x∈Bx \in B (instantiating the universal statement A⊆BA \subseteq B at this particular xx, then applying modus ponens). Since B⊆CB \subseteq C, the fact x∈Bx \in B gives x∈Cx \in C by the same reasoning. Hence x∈A→x∈Cx \in A \to x \in C. As xx was arbitrary, this holds for all xx, so A⊆CA \subseteq C. ■\blacksquare

(3) Antisymmetry. Assume A⊆BA \subseteq B and B⊆AB \subseteq A. We claim AA and BB have exactly the same elements, i.e. ∀x (x∈A↔x∈B)\forall x\,(x \in A \leftrightarrow x \in B). Let xx be arbitrary.

  • (→\to) If x∈Ax \in A, then since A⊆BA \subseteq B, we get x∈Bx \in B.
  • (←\leftarrow) If x∈Bx \in B, then since B⊆AB \subseteq A, we get x∈Ax \in A.

So x∈A↔x∈Bx \in A \leftrightarrow x \in B, and since xx was arbitrary, AA and BB have the same elements. By the Axiom of Extensionality — which states that sets with identical elements are identical — A=BA = B. ■\blacksquare

(4) Empty set is least. We must show ∀x (x∈∅→x∈A)\forall x\,(x \in \emptyset \to x \in A). Let xx be arbitrary. The hypothesis "x∈∅x \in \emptyset" is false for every xx, by the defining property of the empty set (it has no elements). A conditional statement with a false antecedent is true — this is the rule of vacuous truth from propositional logic (the implication P→QP \to Q is true whenever PP is false, regardless of QQ). Hence x∈∅→x∈Ax \in \emptyset \to x \in A holds for this arbitrary xx, and so it holds for all xx. Therefore ∅⊆A\emptyset \subseteq A. Since AA was an arbitrary set, this holds for every set AA. ■\blacksquare

(5) Failure of symmetry, in general. To show ⊆\subseteq is not symmetric as a general law, it suffices to exhibit one pair of sets A,BA, B with A⊆BA \subseteq B but B⊈AB \nsubseteq A — a single counterexample refutes a universally quantified claim. Take A=∅A = \emptyset and B={1}B = \{1\}. By part (4), A⊆BA \subseteq B. But B⊈AB \nsubseteq A: taking x=1x = 1, we have 1∈B1 \in B while 1∉∅=A1 \notin \emptyset = A (since ∅\emptyset has no elements), so the defining condition for B⊆AB \subseteq A fails at x=1x=1. Hence A⊆BA \subseteq B does not imply B⊆AB \subseteq A in general. ■\blacksquare

∎

Worked examples

Example 1 — a subset check with mixed structure. Let

A={2,4,{6}},B={2,4,6,{6},{2,4}}.A = \{2, 4, \{6\}\}, \qquad B = \{2, 4, 6, \{6\}, \{2,4\}\}.

Is A⊆BA \subseteq B? Is B⊆AB \subseteq A? Checking A⊆BA \subseteq B. We must verify, for each of the three elements of AA, that it also lies in BB.

  • 2∈A2 \in A: is 2∈B2 \in B? Yes, 22 is listed explicitly in BB.
  • 4∈A4 \in A: is 4∈B4 \in B? Yes, listed explicitly.
  • {6}∈A\{6\} \in A: is {6}∈B\{6\} \in B? Yes — note carefully that {6}\{6\} is itself one of the listed elements of BB (not to be confused with the element 66, which is a different object from the singleton set {6}\{6\}). So {6}∈B\{6\} \in B.

All three elements of AA pass the test, so A⊆BA \subseteq B. Checking B⊆AB \subseteq A. BB has five elements: 2,4,6,{6},{2,4}2, 4, 6, \{6\}, \{2,4\}. Take x=6x = 6. Is 6∈A6 \in A? Looking at A={2,4,{6}}A = \{2,4,\{6\}\}, the elements are 22, 44, and {6}\{6\} — and 66 itself (the bare number) is not one of these three objects, since {6}\{6\} is a set containing 66, not equal to 66. So 6∉A6 \notin A. This single failure means B⊈AB \nsubseteq A. Conclusion: A⊊BA \subsetneq B (proper subset), since A⊆BA \subseteq B, A≠BA \ne B (they even have different cardinalities, 3 versus 5), and we exhibited 6∈B∖A6 \in B \setminus A.

Example 2 — subsets defined by a condition, requiring an existential witness for non-inclusion. Let

A={n∈Z:n2<15},B={n∈Z:−3≤n≤3}.A = \{ n \in \mathbb{Z} : n^2 < 15 \}, \qquad B = \{ n \in \mathbb{Z} : -3 \le n \le 3 \}.

First compute AA explicitly: we need integers nn with n2<15n^2 < 15. Checking, 32=9<153^2 = 9 < 15 but 42=16≮154^2 = 16 \not< 15, and by symmetry (−4)2=16≮15(-4)^2 = 16 \not< 15 while (−3)2=9<15(-3)^2 = 9 < 15. So

A={−3,−2,−1,0,1,2,3}.A = \{-3,-2,-1,0,1,2,3\}.

And directly, B={−3,−2,−1,0,1,2,3}B = \{-3,-2,-1,0,1,2,3\} as well, by unpacking the inequality. So here A=BA = B exactly — a good moment to note the standard proof strategy for set equality via inclusion in both directions, foreshadowing Set Equality and Extensionality. Let's instead modify the example to make it asymmetric: define

A′={n∈Z:n2<10}.A' = \{ n \in \mathbb{Z} : n^2 < 10 \}.

Since 32=9<103^2 = 9 < 10 but (−3)2=9<10(-3)^2 = 9 < 10 too, and 22=4<102^2=4<10, checking all cases gives

A′={−3,−2,−1,0,1,2,3}.A' = \{-3,-2,-1,0,1,2,3\}.

That's still equal to BB — the point is that squares grow slowly near small integers, so let's push further and use A′′={n∈Z:n2<5}A'' = \{n \in \mathbb Z : n^2 < 5\}. Then 22=4<52^2 = 4 < 5 but (−3)2=9≮5(-3)^2 = 9 \not< 5, and checking all integers gives

A′′={−2,−1,0,1,2}.A'' = \{-2,-1,0,1,2\}.

Now compare with B={−3,−2,−1,0,1,2,3}B = \{-3,-2,-1,0,1,2,3\}. Claim: A′′⊆BA'' \subseteq B. Let n∈A′′n \in A'' be arbitrary, so n∈{−2,−1,0,1,2}n \in \{-2,-1,0,1,2\}. In every one of these five cases, −3≤n≤3-3 \le n \le 3 holds (check: −3≤−2-3\le -2, and 2≤32 \le 3, with everything in between trivially satisfying both bounds). Hence n∈Bn \in B. Since nn was an arbitrary element of A′′A'', A′′⊆BA'' \subseteq B. Claim: B⊈A′′B \nsubseteq A''. We must produce one element of BB not in A′′A''. Take n=3∈Bn = 3 \in B (since −3≤3≤3-3 \le 3 \le 3). Is 3∈A′′3 \in A''? We need 32<53^2 < 5, i.e. 9<59 < 5, which is false. So 3∉A′′3 \notin A''. This single witness refutes B⊆A′′B \subseteq A''. Conclusion: A′′⊊BA'' \subsetneq B, and the specific witness n=3n=3 demonstrates properness — a concrete instance of turning the definition of ⊊\subsetneq ("some element of BB is missing from AA") into an explicit numeral.

CounterexampleWhy "every element" must mean every, not some — dropping universality

The theorem's proof of reflexivity, transitivity, and the empty-set fact all crucially used a universally quantified hypothesis: A⊆BA \subseteq B means x∈Ax \in A implies x∈Bx \in B for all xx, not for some xx. What happens if we (incorrectly) weaken the definition of ⊆\subseteq to an existential one — "AA is sub-related to BB" if some element of AA is in BB? Call this weaker relation A⊑B  ⟺  ∃x (x∈A∧x∈B)A \sqsubseteq B \iff \exists x\,(x \in A \wedge x \in B) (nonempty intersection, essentially). Consider

A={1,2},B={2,3},C={3,4}.A = \{1, 2\}, \qquad B = \{2, 3\}, \qquad C = \{3, 4\}.

Then A⊑BA \sqsubseteq B holds (witness x=2x = 2), and B⊑CB \sqsubseteq C holds (witness x=3x = 3). Under the real transitivity theorem we would expect A⊑CA \sqsubseteq C. But checking directly: A∩C={1,2}∩{3,4}=∅A \cap C = \{1,2\} \cap \{3,4\} = \emptyset, so there is no xx with x∈Ax \in A and x∈Cx \in C. Hence A⊑CA \sqsubseteq C fails. Transitivity breaks completely once the universal quantifier is replaced by an existential one. This shows the hypothesis "for all xx" in the definition of ⊆\subseteq is not a stylistic nicety — it is exactly what makes the chain-of-implications argument in the transitivity proof valid, because that argument instantiates the universal statement at the same arbitrary xx throughout the chain. An existential statement gives you a witness, but a different (possibly incompatible) witness for each hypothesis, and nothing forces them to agree.

Scope, edge cases & common traps

SituationCorrect readingCommon error
A=∅A = \emptyset∅⊆B\emptyset \subseteq B for every BB, vacuously trueThinking ∅\emptyset needs a "witness" element to compare, and wrongly concluding ∅⊈B\emptyset \not\subseteq B
A=BA = BA⊆BA \subseteq B holds (reflexivity); A⊊BA \subsetneq B fails since A=BA = BWriting ⊂\subset to mean ⊆\subseteq and then also asserting A≠BA \ne B automatically
Singletons{x}⊆A  ⟺  x∈A\{x\} \subseteq A \iff x \in AWriting x⊆Ax \subseteq A when xx is an element, not a set (type mismatch)
Sets of sets{6}∈B\{6\} \in B vs. 6∈B6 \in B are different claimsTreating {6}\{6\} and 66 as interchangeable
Two-way inclusionA⊆B∧B⊆A⇒A=BA\subseteq B \wedge B \subseteq A \Rightarrow A = B (needs proof, uses extensionality)Assuming this "obviously" without invoking extensionality
Notation ⊂\subsetSome authors use ⊂\subset for any subset (like ⊆\subseteq); others use it only for proper subsetAssuming everyone uses the same convention without checking the source's definitions

The mathematician behind it

Origins · 1 minGeorg Cantor and how this was discovered
GC
Georg Cantor
1845–1918 · Founder of set theory, University of Halle

Cantor developed the theory of sets from the 1870s onward while investigating the convergence of trigonometric (Fourier) series, a problem that forced him to classify increasingly intricate sets of exceptional points. Out of this analytic problem grew an entirely new abstract framework: sets as objects of study in their own right, compared by the containment and cardinality relations that are now foundational to all of mathematics. Cantor's willingness to treat infinite collections as completed objects, comparable in size and containment just like finite ones, met fierce resistance from contemporaries such as Kronecker, but it ultimately reshaped the foundations of the subject.

History
- 1874 — Cantor publishes his first paper distinguishing the cardinalities of the reals and rationals, an early use of comparing infinite collections.
- 1883 — Cantor's Grundlagen einer allgemeinen Mannigfaltigkeitslehre develops ordinal numbers and a more systematic set-theoretic language, including the containment idea for well-ordered sets.
- 1895–1897 — Cantor's Beiträge papers give a mature treatment of cardinal and ordinal arithmetic built on inclusion and correspondence between sets.
- 1908 — Ernst Zermelo axiomatizes set theory, making the notion of ⊆\subseteq and its algebraic laws (reflexivity, transitivity, the role of ∅\emptyset) fully explicit and rigorous within a formal system.
- 1963 — Paul Cohen proves the independence of the Continuum Hypothesis, a deep question phrased entirely in terms of cardinalities and inclusion relations among sets of reals, showing how far the humble subset relation ultimately reaches.
Is ⊆\subseteq the same as << for numbers?

No. Both are transitive, but they behave very differently otherwise. Reflexivity holds for ⊆\subseteq (A⊆AA \subseteq A always) but fails for strict << (n<nn < n is never true). More importantly, << on numbers is a total order: any two numbers are comparable, one is always less than, equal to, or greater than the other. But ⊆\subseteq on sets is only a partial order: two sets can be incomparable, with neither A⊆BA \subseteq B nor B⊆AB \subseteq A holding, such as A={1,2}A=\{1,2\} and B={2,3}B=\{2,3\}. This distinction — total versus partial order — is essential and is a recurring theme once you study order relations generally.

Does A⊆BA \subseteq B say anything about the sizes of AA and BB?

For finite sets, yes in one direction: if A⊆BA \subseteq B then ∣A∣≤∣B∣|A| \le |B|, since every element of AA contributes a distinct element to BB (an injection from AA into BB given by the identity map). But the converse fails — having fewer elements does not imply being a subset; e.g. {5}\{5\} has size 1 and {1,2}\{1,2\} has size 2, yet {5}⊈{1,2}\{5\} \nsubseteq \{1,2\}. For infinite sets the size relationship becomes subtler still: N⊆Z\mathbb{N} \subseteq \mathbb{Z}, yet N\mathbb N and Z\mathbb Z have the same cardinality, so inclusion and "size" can diverge dramatically for infinite sets.

Why do some textbooks use ⊂\subset for "subset" and others for "proper subset"?

This is purely a notational convention, not a mathematical disagreement, but it causes real confusion. Some authors (following one tradition) use ⊂\subset exactly as we used ⊆\subseteq here, allowing A⊂AA \subset A. Others reserve ⊂\subset strictly for proper subsets, requiring A≠BA \ne B, and always write ⊆\subseteq when equality is allowed. Because of this split, the safest practice — and the one used in this article — is to always write ⊆\subseteq for the general (possibly-equal) relation and ⊊\subsetneq for the strictly proper relation, since these symbols are unambiguous across all conventions.

How does ⊆\subseteq relate to logical implication?

Very directly: if you think of a set AA as the collection of things satisfying some property PP, and BB as the collection satisfying property QQ, then A⊆BA \subseteq B translates exactly to the implication P(x)→Q(x)P(x) \to Q(x) holding for all xx. This is why the defining formula for ⊆\subseteq literally contains a universally quantified conditional. It's a genuinely useful bridge: proving an inclusion of solution sets is the same activity as proving an implication between the defining conditions, and the proof techniques (direct proof, contrapositive, etc.) transfer immediately.

Can a set be a subset of itself and also a proper subset of a bigger set at the same time?

Yes, and this is routine, not contradictory. Reflexivity gives A⊆AA \subseteq A for every set AA — this is not a proper subset relationship, since A=AA = A. Separately, if A⊊BA \subsetneq B, that's a genuinely different, stronger relationship between AA and a different set BB. There is no conflict: A⊆AA \subseteq A and A⊊BA \subsetneq B can both hold simultaneously, describing AA's relationship to itself and to BB respectively. What can never happen is A⊊AA \subsetneq A, since that would require A≠AA \ne A, which is impossible.

Does A⊆BA \subseteq B imply anything about the power sets of AA and BB?

Yes — this is one of the first facts proved once Power Sets are introduced: A⊆BA \subseteq B implies P(A)⊆P(B)\mathcal{P}(A) \subseteq \mathcal{P}(B), since any subset of AA is automatically a subset of BB by transitivity of ⊆\subseteq. This is a clean illustration of how the inclusion relation "lifts" naturally to inclusion between the associated families of subsets, a pattern that recurs throughout order theory and topology.

Is the empty set the only set with no proper subsets?

No — every singleton set {a}\{a\} also has no proper subsets other than ∅\emptyset itself, and ∅\emptyset is not a proper subset of itself, but it is a proper subset of {a}\{a\}. If you mean "no subsets at all besides itself," then ∅\emptyset is unique in having only one subset overall (itself), since ∅\emptyset's only subset is ∅\emptyset. Any nonempty set has at least two distinct subsets: ∅\emptyset and itself, and if it has more than one element it has additional subsets besides, so ∅\emptyset is indeed the unique set with only one subset.

Before this

Where this leads