Sets
Sets are collections of distinct objects, called elements. The elements can be numbers, letters, or more abstract objects. A set is denoted by uppercase letters, and its elements are listed inside braces, for example {1, 2, 3}. The empty set, written as ∅, has no elements. The order of elements and repetition do not matter.
Two sets are equal if they contain exactly the same elements. A is a subset of B,
- Union: A ∪ B contains elements in A or B.
- Intersection: A ∩ B contains elements in both.
- Difference: A \ B contains elements in A but not in B.
- Complement: the complement of A, relative to a universal set U, consists of elements in U not
A derived notion is the power set P(A), the set of all subsets of A. For a
Sets provide foundations for many mathematical concepts, including functions as sets of ordered pairs, relations, and