Set Operations & De Morgan's Laws
Complement of a union is the intersection of complements and vice versa; difference and symmetric difference are expressed through intersection and complement within the universal set U.
Set operations, Venn diagram counting, number of subsets, relations, equivalence relations and counting of functions.
Complement of a union is the intersection of complements and vice versa; difference and symmetric difference are expressed through intersection and complement within the universal set U.
Counting rule for two finite sets A and B; the symmetric difference counts elements in exactly one of the two sets.
Inclusion-exclusion for three finite sets; each region of the Venn diagram is counted exactly once.
Number of elements belonging to exactly two or exactly one of three sets A, B, C, where the sums run over the three sets and the three pairs.
Counts elements in the union of n finite sets by alternately adding and subtracting sums over all intersections of 1, 2, 3, ... sets.
Counting subsets of a set with n elements; each element is either in or out of a subset.
If n(A) = m and n(B) = n, a relation from A to B is any subset of A × B, so there are 2^{mn} of them.
Counts of relations on a set of n elements with a given property, obtained by choosing independently for the n diagonal pairs and the n(n-1)/2 unordered off-diagonal pairs.
An equivalence relation partitions the set into disjoint equivalence classes whose union is the whole set.
Each equivalence relation on an n-element set corresponds to exactly one partition into non-empty blocks; B_n is the n-th Bell number.
The inverse reverses each ordered pair, so domain and range swap; composition chains R from A to B with S from B to C.
Counting rules for functions from a set of m elements to a set of n elements.
Open, closed and half-open intervals as subsets of the real line, and how they intersect and complement.
Frequently tested misconceptions in Sets & Relations