Sections 14, 15: Relations and Equivalence Relations
Course: Discrete Mathematics
Instructor: Professor Chikhany
Define a relation.
Discuss properties of relations.
Identify an equivalence relation and its equivalence classes.
Prove a relation is an equivalence relation.
Definition: Suppose A and B are sets, relation R is on A and B if R ⊆ A × B.
Notation: arb (means a is related to b) implies (a, b) ∈ R.
Relation exists if aR b and (a, b) ∈ R, suggesting that R is a relation on A.
Example sets:
Let A = {1, 2, 3}, B = {2, 4, 6}.
Let A = {1, 2, 3, 4}, B = {1, 3, 2, 7}.
Relation R: R = {(x, y) ∈ Z : y = 2x + 1}.
Defined example relations:
R = {(1, 2), (4, 2), (3, 1)} – valid relation.
R defined as 1, 4, 2, 6 – shows valid pairs.
Example of invalid relation: R = {(1, 7)}.
Categorize the following relations based on properties:
Equality (=), Less than (<), Some other relations (not specified), and S = {(1,1),(2,2),(1,2),(2,1),(3,3)} on {1,2,3}.
Relation R = {(1,3),(4,3),(1,1),(2,4),(2,3),(2,5)} on {1,2,3,4,5}.
Categories include: Reflexive, Irreflexive, Symmetric, Antisymmetric, Transitive.
Definitions: For relation R defined on set A:
R is reflexive if aRa for all a ∈ A.
R is irreflexive if no a ∈ A satisfies aRa.
R is symmetric if aRb implies bRa.
R is antisymmetric if aRb and bRa implies a = b.
R is transitive if aRb and bRc implies aRc.
Example relation: R = {(1,3),(4,3),(1,1),(2,4),(2,3),(2,5)}.
Reflexive graph representation: Indicates if loops exist.
Symmetric representation: Indicates bidirectional edges between related pairs.
Assisted review of categorizing relations:
S, R put under Reflexive, Irreflexive, Symmetric, Antisymmetric, Transitive categories.
Set Operations:
Union, Intersection, Set Difference, Symmetric Difference.
Inverse Definition:
The inverse of R, denoted by R⁻¹, is formed by reversing ordered pairs in R.
Definition: A relation R on set A is an equivalence relation if it is reflexive, symmetric, and transitive.
Non-examples: Inequality (≠) and divisibility (|) on integers.
Examples: Equality (=), "Has the same birthday as" among people, congruence (≅) among triangles.
Theorem: To prove R is an equivalence relation, one must show:
R is reflexive.
R is symmetric.
R is transitive.
Show relation: M = {(x, y) ∈ R | x² - y² = 2(y - x)} is an equivalence relation.
Proving M is an equivalence relation by showing reflexivity and symmetry.
Definition of congruence modulo n: x ≡ y (mod n) if n divides (x - y).
Examples: Calculating congruences using mod 2, 5, 13.
Prove congruence modulo n is an equivalence relation. Prove reflexivity, symmetry, and transitivity.
An equivalence class [a] is the set of all elements related to a by R.
Examples: Using congruence modulo n to define equivalence classes.
Elaborated examples of equivalence classes based on earlier definitions.
Analysis of even and odd integer equivalence classes.
M = {(a, b) ∈ R | a² + a = b² + b} verified as an equivalence relation.
Examples showing equivalence classes derived from given relations.
If x, y ∈ [a], then xRy.
Every element a ∈ A belongs to its equivalence class [a].
aRb iff [a] = [b].
Equivalence classes are nonempty, pairwise disjoint subsets of A whose union is A.
Important definitions and methods for verifying relations and equivalence classes.