Index

Sets

A set is a collection of objects. If A and B are sets, is conjunction, is disjunction, ¬ is negation, and is equivalence then

Some identities:

A set is sometimes written {a,b,c}, or {x|f(x)}. A set A is a singleton set if |A|=1. Two sets A and B are disjoint if A∩B=Θ. A set of sets {A0,A1,...,An} is pairwise disjoint if 0≤i≠j≤n Ai∩Aj.

Some sets:

A set whose a cardinality is a natural number is finite. A set which is not finite is infinite. If there is an bijection between the set A and N, then we say that A is countably infinite.

The power set of a set A, written either as P(A) or 2A, is the set of all subsets of A

The Cartesian product of the sets A0,A1,...,An is the set {(a0,a1,...,an)|a0∈A0∧a1∈A1∧...∧an∈An}. This is sometimes written as A0×A1×...×An.

References

T. H. Cormen, C. E. Leiserson, R. L. Rivest, Introduction to Algorithms. MIT Press, 1990.

Index