• (Axiom of Empty Set)
  • (Axiom of Extensionality)
  • A set is an unordered collection of distinct objects, called elements (or members) of the set.
    • A set is said to contain its elements. We write to denote that is an element of the set . The notation denotes that is not an element of the set .
  • The empty set (or null set) is the set containing no elements, denoted by or
  • A singleton is a set with exactly one element
  • An index set is a set whose elements are used to index (label) the elements of another set

Set Operations, Relations, and Properties

  • Let be a set:

    • The power set of is the set
    • The complement of is the set (also denoted by or ), where is a set called the universe (of discourse)
  • Let and be sets:

    • and are disjoint if
    • is a subset of (and is a superset of ) if , and denoted by (and )
    • is a proper subset of if , denoted by (and )
    • The union of and is the set
    • The intersection of and is the set
    • The difference of and is the set
      • Also denoted by
      • Also called the (relative) complement of with respect to
    • The symmetric difference of and is the set
  • Let be a set of sets , where is an index set:

    • The union of the sets is
    • The intersection of the sets is
    • The sets in are pairwise disjoint (or mutually disjoint or non-overlapping) if

Set Identities

IdentityName

Identity laws

Domination laws (Universal Bound)

Idempotent laws
Complementation law (Double Complement)

Commutative laws

Associative laws

Distributive laws

De Morgan’s laws

Absorption laws

Complement laws

Complements of and
Set Difference Law

Theorems

  • Let , , , and be sets:
    • (Inclusion of Intersection)
    • (Inclusion of Union)
    • (Subsets Properties)
      • (Transitivity)
      • (Reflexivity)
      • (Antisymmetry)
    • (Proper Subsets Properties)
      • (Irreflexivity)
      • (Transitivity)
      • (Asymmetry)

Cardinality

  • The term cardinal number (or cardinal) of a set , denoted by or , is what is commonly called the number of elements in a set.

  • Two sets and are said to have the same cardinality, denoted by , if there exists a bijection from to .

    • If there exists an injective function from to , then the cardinality of is said to be less than or equal to the cardinality of , denoted by .
  • (Set equivalence) Two sets and are said to be equivalent (or equipotent) and denoted by iff they have the same cardinality.

  • A set is countably infinite if and its cardinality is denoted by (aleph-null)

  • A set is finite if

  • A set is countable if it is finite or countably infinite

  • A set is uncountable if it is not countable

    • is uncountable
  • The set of real numbers is uncountable, and its cardinality is denoted by (or or ) and called the cardinality of the continuum (or beth-one)

    • (This theorem can be proved either by Cantor’s first uncountability proof or Cantor’s diagonal argument)
    • If a set has a cardinality , then is uncountable
  • (Cantor’s theorem) For every set , we have

  • (Cantor’s paradox) “the set of all sets” does not existtodo

    • (corollary) it is not true that every “collection” of sets is a set (though it is a class)
  • If , then is uncountable

  • (Continuum hypothesis) There is no set such that .

  • Let and be sets:

    • (Cantor–Bernstein theorem)
      • If there exist injective functions and between the sets and , then there exists a bijective function . Equivalently,
      • If and , then .
    • If and , then it is denoted .
    • is countable iff there exists a bijection between and some subset of .
    • If is countable and , then is countable
    • If is uncountable and , then is uncountable
    • If is uncountable and is countable then:
      • is uncountable
      • is uncountable
    • If is infinite, then there exists a set such that is countable
    • If and are countable then:
      • is countable (This can be generalized to a finite number of sets)
      • is countable (This can be generalized to a finite number of sets)
    • If and are finite, then:
      • ,
      • If and are disjoint, then
      • If and are non-disjoint, then
    • if is onto function, and is countable, then is countable
    • if is ono-to-one function, and is countable, then is countable
  • If and is finite, and , then

  • If , and , then and

  • (q4.38a)

  • (q4.38b)

  • (4.38)

  • (4.38)

  • (4.39)

  • (4.42)

  • (4.43)

  • (4.45)

  • If , then

Examples

  • The cardinality of the following sets is :
    • The set of natural numbers
    • The set of integers
    • The set of rational numbers
    • The set of algebraic numbers
  • The following sets have the cardinality :
    • The set of real numbers
    • The set of complex numbers
    • The set of irrational numbers
    • The set of transcendental numbers
    • Eucledian space for any positive integer
    • Every interval non-degenerate in
    • for any positive integer
  • The following sets have the cardinality :

Multisets

  • A multiset (or bag) is a modification of the concept of a set that, unlike a set, allows for multiple instances for each of its elements.
  • A multiset may be formally defined as an ordered pair , where:
    • is a set called the underlying set
    • is a function that assigns to each element of a nonnegative integer
      • The value for an element is called the multiplicity of in the multiset and interpreted as the number of occurrences of in the multiset.
    • The cardinality (or size) of the multiset is the sum of the multiplicities of its elements, denoted by
    • The support of the multiset is the set
    • The elements of the support can be listed with their multiplicities: where and .