Overview
Sets provide a language for collecting mathematical objects and comparing collections. Their defining feature is extensionality: membership, rather than the order of a description or the number of times something is mentioned, determines identity. This makes sets useful for solution spaces, possible outcomes, and domains of functions. A set of solutions records which answers are allowed without recording how an algorithm found them.
Prerequisites
No advanced course is required. Read as “ belongs to ,” and distinguish a mathematical object from a collection containing that object. Logical phrases such as “every” and “there exists” enter naturally when expressing membership conditions.
Definition and conventions
In Zermelo–Fraenkel set theory, set and membership are primitive notions rather than definitions in terms of simpler objects. Extensionality asserts
Write when every member of belongs to ; equality is allowed. Write when additionally . The empty set has no members. The expression selects members of an already available set satisfying a specified formula. It does not license forming a set from every imaginable condition without an ambient set.
Intuition
Think of membership as a yes-or-no test. A description can change while its answers remain identical. For instance, “integers strictly between one and four” and “the integers two and three” select the same objects. This explains why set equality is proved by checking membership in both directions. It also explains why a list with repeated entries may describe a perfectly ordinary set.
Examples and non-examples
Let and . Then , , and . The set is still , whereas the sequences and differ.
Also : the latter contains one member. A proposed “set of all sets” is a non-example in ZF. If it were a set , separation would produce . Substituting gives exactly when , a contradiction.
Important properties
To prove , establish both and . This is more informative than comparing names or presentations. The same method proves identities: means both membership conditions hold, so reversing their order shows . The empty set is a subset of every set because no member can violate the required implication.
Connections and further reading
Functions and relations can be encoded using sets of ordered pairs. Power sets collect possible subcollections, while quotient sets collect equivalence classes. Read Logic and Proof, §11.1 and §11.4 for elementary constructions, and Li, “ZFC 公理一览” for their axiomatic setting.