The chapter in short
A set is a well-defined collection of objects. The chapter describes sets, the kinds of set, and the operations of union, intersection, difference and complement, shown with Venn diagrams, and the laws they obey.
It then builds ordered pairs and Cartesian products, defines a binary relation as a subset of a Cartesian product, and a function as a relation that gives each input exactly one output, with its domain and range.
SetSubsetProper subsetPower setUniversal setDisjoint sets
Key points
- A set is written in braces, in descriptive, tabular (roster) or set-builder form.
- The empty set {} or ∅ has no elements; a singleton has exactly one.
- A is a subset of B (A ⊆ B) if every element of A is in B; the power set P(A) is the set of all subsets of A.
- A ∪ B contains elements in A or B; A ∩ B those in both; A − B those in A but not B; A′ those not in A.
- De Morgan's laws: (A ∪ B)′ = A′ ∩ B′ and (A ∩ B)′ = A′ ∪ B′.
- The Cartesian product A × B is the set of all ordered pairs (a, b) with a in A and b in B.
- A function from A to B relates each element of A to exactly one element of B; A is its domain, the set of images its range.
Definitions
- 1
Set
A well-defined collection of distinct objects.
- 2
Subset
A set every one of whose elements is also in another set.
- 3
Proper subset
A subset that is not equal to the whole set.
- 4
Power set
The set of all subsets of a set.
- 5
Universal set
The set containing all the elements under discussion.
- 6
Disjoint sets
Sets with no element in common: A ∩ B = ∅.
- 7
Ordered pair
A pair of elements in a fixed order, (a, b).
- 8
Binary relation
Any subset of the Cartesian product A × B.
- 9
Function
A relation in which every element of the domain has exactly one image.
- 10
Domain and range
The domain is the set of inputs of a function; the range is the set of its outputs.
Formulas
Number of subsets
n(P(A)) = 2ⁿ
for a set of n elements
Union
n(A ∪ B) = n(A) + n(B) − n(A ∩ B)
Cartesian product
n(A × B) = n(A) × n(B)
De Morgan's laws
(A ∪ B)′ = A′ ∩ B′; (A ∩ B)′ = A′ ∪ B′