Skip to main content
Logo image

Section 9.7 Sets of sets

Note 9.7.1.

Sets can be made up of any kind of objects, even other sets! (But now we must be careful of the use of the phrase β€œcontained in”.)

Example 9.7.2.

Consider
T={3n|n∈N},X={AβŠ‚N|A∩T=βˆ…},Y=XβˆͺT.
Elements of T are numbers. Elements of X are subsets of N β€” that is, X is a set of subsets of N, but is not itself a subset of N. Elements of Y are either from X or from T, so some elements of Y are numbers, and some elements of Y are sets of numbers.
power set
given a set A, the power set of A is the set {BβŠ†A} of all subsets of A
P(A)
the power set of the set A

Warning 9.7.3.

The elements of a power set are subsets of the set in question.
Both βˆ… and A are subsets of A, so both are elements of P(A). Even if A=βˆ…, we still have
P(βˆ…)={βˆ…}β‰ βˆ….

Example 9.7.5. Power set of a β€œsmall” set.

For A={a,b,c}, we have
P(A)={βˆ…,{a},{b},{c},{a,b},{a,c},{b,c},{a,b,c}}.
Note the use of curly braces here. In particular, note that βˆ… has not been placed in its own set of curly braces because it is already a set itself.

Warning 9.7.7.

We are not completely free to define sets any way we want.

Example 9.7.8.

R={any set X|X is not an element of itself.}.
First note that there exist sets which satisfy the condition for membership in R; for example, the empty set. So R should not be not empty. If R is a set, then it is a β€œcandidate” for membership in itself! Break into cases.

Case R∈R.

Then Rβˆ‰R, which contradicts the case assumption.

Case Rβˆ‰R.

Then R∈R, which contradicts the case assumption.
Since all cases lead to a contradiction, R is cannot be a set! This is called Russell’s Paradox, and is one of the reasons we rely upon β€œnaive set theory” in this course.

Remark 9.7.9.

One of the ways to avoid Russell’s Paradox is by requiring every object, including sets, to have a type, similar to how variables in a computer language can be declared to have a type. In such a scheme, a set is never just a set β€” it is always a set of a certain kind of object. Then an operation such as NβˆͺP(N) would not be allowed, as N is a set of numbers while P(N) is a set of sets of numbers, and we have a type mismatch. And, more importantly, asking a question like β€œIs R∈R?” becomes nonsensical, as on the left of the ∈ symbol R is required to be some type of object while on the right R is required to be a set of that type of object, and again we have a type mismatch.