Sets

A set is a well-defined collection of distinct elements. Sets are denoted with { }, for example the set of positive integers less than 5 would be written as . Sets can also be denoted by listing criteria met by all elements, for example the same set can be written as .

Sets , , and are the same since they contain the same elements. It doesn’t matter how many times an element is repeated.

Elements do not have to be numerical (ie. the set of Australian states is ).

The number of distinct elements in a set is the cardinality of that set, denoted by . For example, if , .

We say that is an element of like: . We say that two sets and are equal, , if for all .

Unions, Intersections, Compliments

The intersection of sets and (both) is defined as . The union of sets and (either or) is defined as . The compliment of the set (not in ) is defined as .

Empty Sets, Set Differences, Subsets

A set with no elements is denoted as the “empty set” . The set difference of sets and , the set of elements in but not , is denoted as . For example if and , then and .

being a subset of (all elements of are in ) is denoted as if . This also means that . If and , then .

is a strict subset of () if and (there are other elements in that are not in ).

Logic and Set Theory: De Morgan’s Laws

De Morgan’s laws gives us and . Both laws have close analogies in set theory. and resemble the above laws.

Proving

  • , (picking any element belonging to the left side)

  • or , hence . This gives .

  • or .

  • .

  • , hence .