UNIHIVE

Study Hub UNIPORT MTH 114

MTH 114 · Introduction to Sets, Logic and Algebra

Relations, equivalence relations and posets

Relations as subsets of a product set, reflexive, symmetric, antisymmetric and transitive properties, equivalence classes and partitions, and partial orders with Hasse diagrams.

Our notes

2 min read

Relations

A relation R from A to B is any subset of A × B; we write a R b when (a, b) ∈ R. A relation on A is a subset of A × A.

Properties of a relation on A

  • Reflexive: a R a for every a ∈ A.
  • Symmetric: a R b implies b R a.
  • Antisymmetric: a R b and b R a imply a = b.
  • Transitive: a R b and b R c imply a R c.

Worked example. On A = {1, 2, 3}, R = {(1, 1), (2, 2), (3, 3), (1, 2), (2, 1)}.

  • Reflexive: all three pairs (a, a) are there. ✓
  • Symmetric: (1, 2) and (2, 1) both present. ✓
  • Transitive: (1, 2) and (2, 1) give (1, 1), present; (2, 1) and (1, 2) give (2, 2), present. ✓

So R is an equivalence relation.

Equivalence relations and classes

An equivalence relation is reflexive, symmetric and transitive. The equivalence class of a is [a] = {x ∈ A : x R a}. The classes form a partition of A: they do not overlap and together cover A. In the example the classes are {1, 2} and {3}.
Classic example. On Z, a ~ b if a − b is divisible by 3 (congruence mod 3). Classes: [0] = {..., −3, 0, 3, 6, ...}, [1] = {..., −2, 1, 4, ...}, [2] = {..., −1, 2, 5, ...}.

Partial orders

A partial order is reflexive, antisymmetric and transitive; (A, ≤) is a partially ordered set (poset). Examples: ≤ on R; ⊆ on a power set; "divides" on positive integers.
A Hasse (poset) diagram draws each element as a dot, puts larger elements higher, joins a to b only when b covers a (nothing in between), and leaves out loops and arrows implied by transitivity.
Example. Divisors of 12 under "divides": 1 at the bottom; 2 and 3 above it; 4 above 2; 6 above both 2 and 3; 12 at the top, above 4 and 6. 4 and 6 are incomparable (neither divides the other), which is why the order is only partial.

Exams usually ask: test a relation for the four properties; show congruence mod n is an equivalence relation and list its classes; draw a Hasse diagram for divisors of a number.

Common mistake: thinking "symmetric" and "antisymmetric" are opposites. The relation {(1, 1), (2, 2)} is both; {(1, 2), (2, 1), (1, 3)} is neither.

Written by the UniHive team in our own words. Spotted a mistake? Tell us on WhatsApp.

Read

Watch

We link to free material and never copy it. Every link was opened by our team before it went up; video data is a rough guide at 360p.

All MTH 114 topics

Report

Sign in to report this. It is free.

Is this your work (a lecturer, author or publisher)? Ask us to take it down.