Types of Relations

What a relation is (one-line recap)

A relation RR in a set AA is simply a subset of A×AA \times A — a collection of ordered pairs of elements of AA. If (a,b)∈R(a, b) \in R we say "aa is related to bb" and write a R ba\,R\,b. From Class XI you know two ways of describing one: listing the pairs (roster form) or giving the rule (set-builder form), e.g. in {1,2,3,4}\{1, 2, 3, 4\} the rule b=a+1b = a + 1 describes R={(1,2),(2,3),(3,4)}R = \{(1,2), (2,3), (3,4)\}.

The two extremes: empty and universal

Since a relation is a subset of A×AA \times A, the two extreme cases are the smallest and largest possible subsets.

Empty relation: no element is related to anything — R=ϕ⊂A×AR = \phi \subset A \times A.

Universal relation: every element is related to every element — R=A×AR = A \times A.

Both are called trivial relations. Example: in A={1,2,3,4}A = \{1, 2, 3, 4\}, the rule a−b=10a - b = 10 produces the empty relation (no pair manages a difference of 10), while ∣a−b∣≥0\vert a - b \vert \geq 0 produces the universal relation (every pair qualifies). Similarly, in the set of students of a boys school, "aa is sister of bb" is empty, while "heights of aa and bb differ by less than 3 metres" is universal.

The three structural properties

Everything in this section revolves around three properties a relation may or may not have.

Cards illustrating reflexive, symmetric, transitive; partition of integers into three classes

Definition. A relation RR in a set AA is called

(i) reflexive if (a,a)∈R(a, a) \in R for every a∈Aa \in A,

(ii) symmetric if (a1,a2)∈R(a_1, a_2) \in R implies (a2,a1)∈R(a_2, a_1) \in R, for all a1,a2∈Aa_1, a_2 \in A,

(iii) transitive if (a1,a2)∈R(a_1, a_2) \in R and (a2,a3)∈R(a_2, a_3) \in R together imply (a1,a3)∈R(a_1, a_3) \in R, for all a1,a2,a3∈Aa_1, a_2, a_3 \in A.

In arrow language: reflexive means every element carries a self-loop; symmetric means every arrow has a return arrow; transitive means every two-step chain has its one-step shortcut.

How to check the properties (the exam template)

Step 1 — reflexive: take an arbitrary a∈Aa \in A and test whether (a,a)(a, a) satisfies the rule. One failing element is enough to destroy reflexivity — the property demands all of AA.

Step 2 — symmetric: assume (a,b)∈R(a, b) \in R and test whether the rule forces (b,a)∈R(b, a) \in R. To disprove, exhibit one concrete pair in RR whose reverse is not.

Step 3 — transitive: assume (a,b),(b,c)∈R(a, b), (b, c) \in R and test whether (a,c)∈R(a, c) \in R must follow. To disprove, exhibit one concrete broken chain.

Worked check 1. In {1,2,3}\{1, 2, 3\}, let R={(1,1),(2,2),(3,3),(1,2),(2,3)}R = \{(1,1), (2,2), (3,3), (1,2), (2,3)\}.

Reflexive: (1,1),(2,2),(3,3)(1,1), (2,2), (3,3) all present ✓. Symmetric: (1,2)∈R(1,2) \in R but (2,1)∉R(2,1) \notin R ✗. Transitive: (1,2)∈R(1,2) \in R and (2,3)∈R(2,3) \in R but (1,3)∉R(1,3) \notin R ✗. So RR is reflexive but neither symmetric nor transitive.

Worked check 2. In the set LL of all lines in a plane, let R={(L1,L2):L1⊥L2}R = \{(L_1, L_2) : L_1 \perp L_2\}.

Reflexive: no line is perpendicular to itself ✗. Symmetric: L1⊥L2L_1 \perp L_2 certainly gives L2⊥L1L_2 \perp L_1 ✓. Transitive: if L1⊥L2L_1 \perp L_2 and L2⊥L3L_2 \perp L_3, then L1L_1 is parallel to L3L_3, never perpendicular ✗. So perpendicularity is symmetric only.

Note on vacuous truth. If a relation contains no chain (a,b),(b,c)(a,b), (b,c) at all, the transitivity condition is never violated, so the relation counts as transitive. Example: R={(1,6),(2,7),(3,8)}R = \{(1,6), (2,7), (3,8)\} in N\mathbb{N} (from y=x+5y = x + 5, x<4x < 4) has no two pairs that link up, hence it is transitive — while failing reflexivity and symmetry. Watch for this in MCQs.

Equivalence Relations and Equivalence Classes

The star of the section

Definition. A relation RR in a set AA is an equivalence relation if it is reflexive, symmetric and transitive.

Equivalence relations are the relations that behave like "equality with a theme": congruence of triangles (equal shape and size), similarity of triangles, "same number of pages", "same remainder on division by 3" — each declares two objects interchangeable from one point of view.

The model proof (learn this rhythm). In Z\mathbb{Z}, let R={(a,b):2 divides a−b}R = \{(a, b) : 2 \text{ divides } a - b\}.

Step 1 — reflexive: a−a=0a - a = 0 and 22 divides 00, so (a,a)∈R(a, a) \in R for every aa.

Step 2 — symmetric: if 22 divides a−ba - b, then b−a=−(a−b)b - a = -(a - b) is also divisible by 22, so (b,a)∈R(b, a) \in R.

Step 3 — transitive: if 22 divides both a−ba - b and b−cb - c, then a−c=(a−b)+(b−c)a - c = (a - b) + (b - c) is a sum of two even numbers, hence even, so (a,c)∈R(a, c) \in R.

All three hold, so RR is an equivalence relation. ■\blacksquare

Equivalence classes: the partition picture

In the example above, every even integer is related to 00 and every odd integer is related to 11. The two sets [0]={…,−4,−2,0,2,4,…},[1]={…,−3,−1,1,3,5,…}[0] = \{\ldots, -4, -2, 0, 2, 4, \ldots\}, \qquad [1] = \{\ldots, -3, -1, 1, 3, 5, \ldots\} are called equivalence classes: [a][a] is the set of all elements related to aa. This always happens — an equivalence relation RR in a set XX chops XX into mutually disjoint nonempty subsets AiA_i (the classes) such that

(i) all elements within one class are related to each other, (ii) no element of one class is related to any element of a different class, and (iii) the classes together cover XX: ∪Ai=X\cup A_i = X with Ai∩Aj=ϕA_i \cap A_j = \phi for i≠ji \neq j.

Such a family of subsets is called a partition of XX, and the process reverses: every partition of XX arises from exactly one equivalence relation ("belongs to the same piece").

The mod-3 picture. For R={(a,b):3 divides a−b}R = \{(a,b) : 3 \text{ divides } a - b\} in Z\mathbb{Z}, the classes are [0]={…,−6,−3,0,3,6,…},[1]={…,−5,−2,1,4,7,…},[2]={…,−4,−1,2,5,8,…}[0] = \{\ldots, -6, -3, 0, 3, 6, \ldots\}, \quad [1] = \{\ldots, -5, -2, 1, 4, 7, \ldots\}, \quad [2] = \{\ldots, -4, -1, 2, 5, 8, \ldots\} and note [0]=[3]=[−3]=[3r][0] = [3] = [-3] = [3r] — a class has many names, one for each of its members.

Finding "the set of elements related to aa" is a standard board sub-question: apply the defining rule with one slot fixed at aa. For R={(a,b):∣a−b∣ is a multiple of 4}R = \{(a, b): \vert a - b\vert \text{ is a multiple of } 4\} in {x∈Z:0≤x≤12}\{x \in \mathbb{Z} : 0 \leq x \leq 12\}, the elements related to 11 are those differing from 1 by 0,4,8,120, 4, 8, 12: the set {1,5,9}\{1, 5, 9\}.

Common mistakes to avoid

Mistake 1 — proving reflexivity from symmetry. "If (a,b)∈R(a,b) \in R and (b,a)∈R(b,a) \in R then transitivity gives (a,a)∈R(a,a) \in R" only covers elements that are related to something. Reflexivity must hold for every element of AA, related or not — this is why symmetric + transitive does not imply reflexive.

Mistake 2 — testing properties on one example. To prove a property you must argue for arbitrary elements; a single verified instance proves nothing. One counterexample, however, disproves a property completely.

Mistake 3 — forgetting vacuous transitivity. A relation with no linking chains is transitive by default (nothing violates the condition).

Mistake 4 — assuming symmetry means "looks symmetric". Test the actual rule: a≤b2a \leq b^2 feels symmetric-ish but (1,2)∈R(1, 2) \in R (since 1≤41 \leq 4) while (2,1)∉R(2, 1) \notin R (since 2≰12 \not\leq 1).

Mistake 5 — mixing up [a][a] with aa. An equivalence class is a set of elements, not a number; and [1]=[5][1] = [5] is a perfectly correct statement when 11 and 55 are related.

Solved Examples

Example 1 — The two trivial relations

Let AA be the set of all students of a boys school. Show that the relation R={(a,b):aR = \{(a, b) : a is sister of b}b\} is the empty relation and R′={(a,b):R' = \{(a, b) : the difference between heights of aa and bb is less than 3 metres}\} is the universal relation.

Step 1 — test RR: in a boys school no student can be the sister of another, so no pair whatsoever satisfies the rule: R=ϕR = \phi, the empty relation.

Step 2 — test R′R': any two students' heights certainly differ by less than 3 metres, so every pair qualifies: R′=A×AR' = A \times A, the universal relation.

Answer: RR is empty and R′R' is universal — the two extremes a relation can be.

Example 2 — Congruence is an equivalence relation

Let TT be the set of all triangles in a plane and R={(T1,T2):T1R = \{(T_1, T_2) : T_1 is congruent to T2}T_2\}. Show that RR is an equivalence relation.

Step 1 — reflexive: every triangle is congruent to itself, so (T1,T1)∈R(T_1, T_1) \in R.

Step 2 — symmetric: if T1T_1 is congruent to T2T_2 then T2T_2 is congruent to T1T_1, so (T1,T2)∈R⇒(T2,T1)∈R(T_1, T_2) \in R \Rightarrow (T_2, T_1) \in R.

Step 3 — transitive: if T1T_1 is congruent to T2T_2 and T2T_2 to T3T_3, then T1T_1 is congruent to T3T_3.

Answer: all three properties hold, so congruence is an equivalence relation. ■\blacksquare

Example 3 — Perpendicularity: symmetric only

Let LL be the set of all lines in a plane and R={(L1,L2):L1R = \{(L_1, L_2) : L_1 is perpendicular to L2}L_2\}. Show that RR is symmetric but neither reflexive nor transitive.

Step 1 — not reflexive: a line is never perpendicular to itself, so (L1,L1)∉R(L_1, L_1) \notin R.

Step 2 — symmetric: L1⊥L2L_1 \perp L_2 immediately gives L2⊥L1L_2 \perp L_1.

Step 3 — not transitive: if L1⊥L2L_1 \perp L_2 and L2⊥L3L_2 \perp L_3, then L1L_1 and L3L_3 are parallel, not perpendicular — a concrete broken chain.

Answer: symmetric only. Geometric relations make the cleanest counterexamples; keep this one ready.

Example 4 — Reading properties off a finite list

Show that the relation R={(1,1),(2,2),(3,3),(1,2),(2,3)}R = \{(1, 1), (2, 2), (3, 3), (1, 2), (2, 3)\} in the set {1,2,3}\{1, 2, 3\} is reflexive but neither symmetric nor transitive.

Step 1 — reflexive: (1,1),(2,2),(3,3)(1,1), (2,2), (3,3) are all in RR ✓.

Step 2 — not symmetric: (1,2)∈R(1, 2) \in R but (2,1)∉R(2, 1) \notin R.

Step 3 — not transitive: (1,2)∈R(1, 2) \in R and (2,3)∈R(2, 3) \in R, but (1,3)∉R(1, 3) \notin R.

Answer: reflexive only. For a listed relation, the checks are pure inspection — scan for the three diagonal pairs, then hunt for a missing reverse and a missing shortcut.

Example 5 — The parity relation on Z\mathbb{Z}

Show that the relation R={(a,b):2R = \{(a, b) : 2 divides a−b}a - b\} in Z\mathbb{Z} is an equivalence relation, and describe its equivalence classes.

Step 1 — reflexive: a−a=0a - a = 0 is divisible by 2.

Step 2 — symmetric: if 2∣(a−b)2 \mid (a - b) then 2∣(b−a)2 \mid (b - a), since b−a=−(a−b)b - a = -(a - b).

Step 3 — transitive: a−c=(a−b)+(b−c)a - c = (a - b) + (b - c) — a sum of two even numbers is even.

Step 4 — the classes: every even integer is related to 0 and every odd integer to 1: [0]={even integers},[1]={odd integers}[0] = \{\text{even integers}\}, \qquad [1] = \{\text{odd integers}\}

Answer: RR is an equivalence relation partitioning Z\mathbb{Z} into the evens and the odds — two disjoint classes covering everything.

Example 6 — Equivalence classes inside a finite set

Show that R={(a,b):∣a−b∣R = \{(a, b) : \vert a - b \vert is even}\} in A={1,2,3,4,5}A = \{1, 2, 3, 4, 5\} is an equivalence relation, and show that all elements of {1,3,5}\{1, 3, 5\} are related to each other, all elements of {2,4}\{2, 4\} are related to each other, but no element of {1,3,5}\{1, 3, 5\} is related to any element of {2,4}\{2, 4\}.

Step 1 — equivalence: ∣a−a∣=0\vert a - a \vert = 0 is even (reflexive); ∣a−b∣=∣b−a∣\vert a - b \vert = \vert b - a \vert (symmetric); if a−ba - b and b−cb - c are both even, their sum a−ca - c is even, and ∣a−c∣\vert a - c\vert is even (transitive).

Step 2 — the two blocks: any two odd numbers differ by an even amount, so 1,3,51, 3, 5 are mutually related; likewise 2,42, 4. An odd and an even number differ by an odd amount, so no cross-pair is in RR.

Answer: RR is an equivalence relation with classes {1,3,5}\{1, 3, 5\} and {2,4}\{2, 4\} — the partition made visible in a five-element set.

Example 7 — When all three properties fail

Check whether the relation R={(a,b):b=a+1}R = \{(a, b) : b = a + 1\} in the set {1,2,3,4,5,6}\{1, 2, 3, 4, 5, 6\} is reflexive, symmetric or transitive.

Step 1 — list it: R={(1,2),(2,3),(3,4),(4,5),(5,6)}R = \{(1,2), (2,3), (3,4), (4,5), (5,6)\}.

Step 2 — not reflexive: (1,1)∉R(1, 1) \notin R since 1≠1+11 \neq 1 + 1.

Step 3 — not symmetric: (1,2)∈R(1, 2) \in R but (2,1)∉R(2, 1) \notin R (1≠2+11 \neq 2 + 1).

Step 4 — not transitive: (1,2),(2,3)∈R(1, 2), (2, 3) \in R but (1,3)∉R(1, 3) \notin R (3≠1+13 \neq 1 + 1).

Answer: none of the three properties holds. "Successor" relations are the standard example of a relation with no structure at all.