A set is a collection of elements. Elements can be numbers, points, functions, etc.
Example
2, 4, 6, and 8 are all elements apart of the set .
means 2 is an element of or 2 is in .
Special sets:
Sets can have other sets as elements. Consider , which has three elements: the number 1, the set and the set . Thus and and . But note that , and .
If is a finite set, then its cardinality or size is the number of elements in the set, denoted by .
is the empty set. . The empty set is the only set with a cardinality of zero. . and .
Set Builder Notation:
Used to describe sets that are too big or complex to list between braces.
Example
Consider the infinite set of even integers . In set builder notation:
More generally:
Cartesian Product:
The Cartesian product of two sets and is another set, denoted as and defined as .
Example
if and , then .
Info
If A and B are finite sets, then .
The set is the set of points on a Cartesian plane.
Subsets:
Suppose and are sets. If every element of is also an element of , then we say is a subset of , and we denote this as . We write if is not a subset of , that is, if it is not true that every element of is also an element of . Thus means that there
is at least one element of that is not an element of .
The empty set is a subset of all sets, that is, for any set .
If a finite set has elements, then it has subsets.
Power Sets:
If is a set, the power set of is another set, denoted as and defined to be the set of all subsets of . In symbols, .
Example
Suppose
If is a finite set, then .
Union, Intersection, and Difference
The union of and is the set .
The intersection of and is the set .
The difference of and is the set .
Example
Suppose , and .
Complement
Let be a set with a universal set . Universal sets: . The complement of , denoted , is the set .
Multiset
A multiset is a hybrid of a set and a list; in a multiset, elements can be
repeated, but order does not matter.
The number of k-element multisets that can be made from the
elements of an -element set is