The study of Sets, which are collections of distinct objects.

Fundamentals

Set

An unordered collection of elements

Notation

Let be sets.

Symbol NameNotation
Cardinality
Cartesian Product
Complement or
Empty Set or
Power Set
Subset
Superset
or
Set
Subset
Superset
Symmetric Difference or
Universe
or U

Operators

Binary

Equality

Let be sets

Intersection

Union

Relative Complement

Symmetric Difference

Symmetric Difference

Link to original

Cartesian Product

Cartesian Product

Link to original

Membership

Object is an element of the set of

Unary

Cardinality

Cardinality

The quantity of unique elements in a Set.

Link to original

Complement

Complement

Link to original

Power Set

Power Set

The powerset of the Set , , is the set of all subsets of

Link to original

Link to original

Subset

A part of a Set; Set A is a subset of B.

Definition

A set is a subset of if all elements of A are also elements of B.

Proper Subset

Link to original

Superset

A Set encompassing/extending another set; Set B is a subset of A.

  • A superset is the converse of a Subset. They are defined the same way, but the operands are swapped.
  • Exclusively using subsets is favored

Definition

Proper Superset

Link to original

Set Builder Notation

A set with some Object such that etc are true. e.g.

Link to original

Composition

The act of combining the application of multiple Functions into one function.

PeopleIntegersBooleansAgeGreaterThan18±AgeidGreaterThan18
  • Age is a function that maps People to Integers
  • GreaterThan18 is a function that maps Integers to Booleans
  • GreaterThan18 Age is the Composition of the above functions that maps People to Booleans
    • It is equivalent to applying Age, then applying GreaterThan18
    • It can be thought of as: GreaterThan18 follows Age
    • GreaterThan18 Age = Age(GreaterThan18(…))
  • id is the Identity Morphism, which is depicted above to map People to People
    • It exists for all sets, but is omitted for the others
Link to original

Universe

The Universe, Universal Set, or Universe of Discourse, denoted by is the Set that contains all the entities one wishes to consider in a given situation.

  • denoted mainly by but also sometimes by
Link to original

Venn Diagram

In Set Theory, a Venn Diagram is a diagram that visually demonstrates the relationship between Sets, their overlap, and their relation to the Universe of Discourse

Link to original

Principle of Inclusion-Exclusion

For 2 sets, for example

For 3 sets, for example Note that we add

Link to original

Numbers

Number

An element of a Division Ring, used for measuring, counting, quantifying, etc.

Set NameSymbolDescriptionExamples
Natural NumberCounting numbers
Whole Number or Nonzero Integers
IntegerNatural numbers, their negatives, and zero.
Rational NumberAny number expressible as a fraction .
Irrational NumberNumbers that cannot be fractions (non-repeating decimals).
Real NumberAll points on the continuous number line ().
Imaginary Number
Complex Number
Quaternion
Octonion + fm+gn+ho$$a,b,c,d,e,f,g,h \in \mathbb{R}Takes up too much space
Link to original

Functions

Function

A Mathematical Object that takes a set as an input, and outputs a set

  • A mapping between sets
  • Maps a Domain to a Codomain
  • is the function from to where and are Sets.
Link to original

Domain

The Set of all inputs to a Function

Link to original

Codomain

The Set of all outputs of a Function

Link to original

Injective

If there is at most one location in the Codomain for every location in the Domain

Link to original

Surjective

If there is a location in the Codomain for every location in the Domain

Link to original

Bijective

If there is exactly one location in the Codomain for every location in the Domain for the Transformation

Link to original