Let be a set of people. Define the binary relation by

This relation satisfies the following properties: \begin{itemize} \item \textbf{Reflexive:} (everyone is their own friend), \item \textbf{Symmetric:} , \item \textbf{Not necessarily transitive:} . \end{itemize}

Let be a set of people. Define the binary relation such that for ,

This relation satisfies the following properties: \begin{itemize} \item \textbf{Reflexive:} (everyone is their own friend), \item \textbf{Symmetric:} , \item \textbf{Not necessarily transitive:} . \end{itemize}

Set Theory Notation Reference

Basic Set Relations

ElementDefinitionDescription
is an element of set "
" is not an element of set "
" is a subset of ” (all elements of are in )
is a proper subset of ” (subset but not equal)
is a superset of "
" is a proper superset of "
" equals ” (same elements)
does not equal

Set Operations

ElementDefinitionDescription
Union: elements in either or or both
Intersection: elements in both and

Also
Set difference: elements in but not in
Symmetric difference: elements in or but not both
Complement of (relative to universal set )
Cartesian product: set of ordered pairs

Special Sets

ElementDefinitionDescription
Empty set (set with no elements)
Context-dependentUniversal set (contains all elements under consideration)
Natural numbers (positive integers)
Integers
Rational numbers
All real numbersReal numbers (includes rationals and irrationals)
Complex numbers

Set Construction

ElementDefinitionDescription
Explicit enumerationSet containing elements , ,
Set of all such that property holds
Alternative notation for set-builderSame as above
Closed interval from to
Open interval from to
Half-open interval (closed at , open at )
Half-open interval (open at , closed at )

Cardinality and Size

ElementDefinitionDescription
number of elements in Cardinality of finite set
Cardinality of countably infinite sets
Power set of (set of all subsets)
Alternative notation for power set

Advanced Notations

ElementDefinitionDescription
Union over indexed collection
Intersection over indexed collection
if relation holdsEquivalence relation
if Proportional to (for some constant )

Common Examples

Set Difference Example: If and , then:

Set Builder Notation: