Expanded Relations Notes
Expanded Relations Notes
Cartesian Product:
Given two sets A and B, their Cartesian product is:
A × B = {(a, b) | a ∈ A and b ∈ B}
It is the set of all possible ordered pairs formed by taking an element from A and pairing it
with an element from B.
Example Exercise:
2. Relation
A relation R from set A to set B is a subset of the Cartesian product A × B.
That means R ⊆ A × B. A relation can contain any number of ordered pairs from A × B.
Example:
Let A = {a, b, c}, B = {0, 1, 2, 3}
R = {(a, 0), (a, 1), (a, 3), (b, 1), (b, 2), (c, 0), (c, 3)}
4. Representations of Relations
Relations can be represented in the following ways:
- Arrow Diagram: Visual representation showing arrows from elements of one set to
another.
- Graphical Form: A directed graph where nodes represent elements and arrows represent
ordered pairs.
- Tabular Form: A table where each row is an ordered pair in the relation.
5. Types of Relations
- Reflexive: For every a ∈ A, (a, a) ∈ R.
- Symmetric: If (a, b) ∈ R, then (b, a) ∈ R.
- Transitive: If (a, b) ∈ R and (b, c) ∈ R, then (a, c) ∈ R.
Example:
Let R = {(1,1), (2,2), (1,2), (2,1)}
- Reflexive? Yes, since (1,1), (2,2) are present.
- Symmetric? Yes, since (1,2) and (2,1) both exist.
- Transitive? Yes, as (1,2), (2,1) implies (1,1) and (2,2) exist.
6. Inverse of a Relation
The inverse of a relation R, denoted R⁻¹, is formed by swapping each ordered pair in R.
If R = {(a, b)}, then R⁻¹ = {(b, a)}.
Example: R = {(2,6), (3,6)} → R⁻¹ = {(6,2), (6,3)}
7. Equivalence Relation
A relation R on a set A is called an equivalence relation if it satisfies all three properties:
- Reflexive
- Symmetric
- Transitive