Menu

Week 2: Sets and Relations

SETS & RELATIONS

The Universe of Sets

A set is a collection of distinct objects. But in mathematics, it’s the foundation of everything.

Set Notation

We typically use capital letters for sets and lowercase for elements.

A = 5

Element membership: 3∈A3 \in A (3 belongs to A)

Operations on Sets

Union

∪\cup

Combining all elements from both sets.

Intersection

∩\cap

Elements common to both sets.

Difference

−-

Elements in one set but not the other.

Relations

A relation defines a connection between elements of two sets.

CONNECTING DOTS

💡 Cartesian Product

The Cartesian product of sets A and B, denoted A×BA \times B, is the set of all ordered pairs (a,b)(a, b) where a∈Aa \in A and b∈Bb \in B.

A×B={(a,b)∣a∈A,b∈B}A \times B = \{(a, b) \mid a \in A, b \in B\}

Types of Relations

  1. Reflexive: Every element is related to itself. (a,a)∈R(a, a) \in R for all a∈Aa \in A.
  2. Symmetric: If aa is related to bb, then bb is related to aa.
  3. Transitive: If aa is related to bb and bb is related to cc, then aa is related to cc.

Equivalence Relation

If a relation is Reflexive, Symmetric, AND Transitive, it is called an Equivalence Relation.

Important!