Math Lab
Home/Class XII/Ch 1/Types of relations

Types of relations

A relation on a set AA is any subset of A×AA \times A. That definition is so wide that almost everything counts as a relation. To extract useful structure we ask which special properties the relation has. Five basic types appear again and again in Class XII: empty, universal, reflexive, symmetric, and transitive. The first two are extreme; the next three describe how a relation interacts with the elements of the set.

Definitions

Let AA be a non-empty set and let RA×AR \subseteq A \times A.

  • RR is the empty relation if R=R = \varnothing. No element is related to anything.
  • RR is the universal relation if R=A×AR = A \times A. Every element is related to every other.
  • RR is reflexive if (a,a)R(a, a) \in R for every aAa \in A.
  • RR is symmetric if for all a,bAa, b \in A, (a,b)R(b,a)R(a, b) \in R \Rightarrow (b, a) \in R.
  • RR is transitive if for all a,b,cAa, b, c \in A, {(a,b),(b,c)}R(a,c)R\{(a, b), (b, c)\} \subseteq R \Rightarrow (a, c) \in R.

The empty and universal relations are sometimes called trivial relations because they carry no information about how individual elements compare.

Reading the quantifiers

Every property here is a universal statement. To prove RR is reflexive you must verify (a,a)R(a, a) \in R for all aa. A single missing pair destroys reflexivity. To prove RR is symmetric you must show the implication for all pairs (a,b)(a, b). To disprove any of these properties you only need one counter-example. Many students confuse the two directions and lose easy marks. Memorise the slogan: to prove a universal claim, argue generally; to refute it, exhibit one bad case.

Worked discussion

Take A={1,2,3}A = \{1, 2, 3\}. Consider R={(1,1),(2,2),(3,3),(1,2),(2,1)}R = \{(1, 1), (2, 2), (3, 3), (1, 2), (2, 1)\}.

  • Reflexive? Yes, all three diagonal pairs are present.
  • Symmetric? (1,2)R(1, 2) \in R and (2,1)R(2, 1) \in R, no other off-diagonal pairs. Yes.
  • Transitive? (1,2)(1, 2) and (2,1)(2, 1) are in RR, so we need (1,1)R(1, 1) \in R. Yes. Similarly (2,1),(1,2)(2,2)(2, 1), (1, 2) \Rightarrow (2, 2). Yes. So transitive holds.

Now consider R={(1,2),(2,3),(1,3)}R' = \{(1, 2), (2, 3), (1, 3)\}.

  • Reflexive? No: (1,1)R(1, 1) \notin R'.
  • Symmetric? No: (1,2)R(1, 2) \in R' but (2,1)R(2, 1) \notin R'.
  • Transitive? Check (1,2),(2,3)(1, 2), (2, 3) \Rightarrow need (1,3)(1, 3). Yes, it is there. No other chain to check. So transitive holds.

The second example shows that transitivity does not require reflexivity or symmetry. The three properties are independent.

Counter-examples worth memorising

A relation can have any combination of the three properties. Here are minimal examples on A={a,b,c}A = \{a, b, c\}.

CombinationExample RR
reflexive only{(a,a),(b,b),(c,c),(a,b)}\{(a, a), (b, b), (c, c), (a, b)\}
symmetric only{(a,b),(b,a)}\{(a, b), (b, a)\}
transitive only{(a,b)}\{(a, b)\}
reflexive + symmetric, not transitive{(a,a),(b,b),(c,c),(a,b),(b,a),(b,c),(c,b)}\{(a, a), (b, b), (c, c), (a, b), (b, a), (b, c), (c, b)\}
reflexive + transitive, not symmetric{(a,a),(b,b),(c,c),(a,b)}\{(a, a), (b, b), (c, c), (a, b)\}
symmetric + transitive, not reflexive{(a,a),(a,b),(b,a),(b,b)}\{(a, a), (a, b), (b, a), (b, b)\}

The last entry is subtle and often appears in JEE problems: a symmetric and transitive relation need not be reflexive on AA. If (a,b)R(a, b) \in R then by symmetry (b,a)R(b, a) \in R, and by transitivity (a,a)R(a, a) \in R. But this only gives reflexivity at elements that appear in some pair of RR. An element of AA that never shows up forces reflexivity to fail.

A theorem and its proof

Theorem. If RR is reflexive and transitive on AA, then RR1R \cap R^{-1} is an equivalence relation on AA, where R1={(b,a):(a,b)R}R^{-1} = \{(b, a) : (a, b) \in R\}.

Proof. Let S=RR1S = R \cap R^{-1}.

Reflexive. For any aAa \in A, (a,a)R(a, a) \in R (reflexivity of RR) and (a,a)R1(a, a) \in R^{-1} since (a,a)R(a, a) \in R. So (a,a)S(a, a) \in S.

Symmetric. Suppose (a,b)S(a, b) \in S. Then (a,b)R(a, b) \in R and (a,b)R1(a, b) \in R^{-1}, which means (b,a)R(b, a) \in R. Also (b,a)R1(b, a) \in R^{-1} because (a,b)R(a, b) \in R. So (b,a)RR1=S(b, a) \in R \cap R^{-1} = S.

Transitive. Suppose (a,b),(b,c)S(a, b), (b, c) \in S. Then (a,b),(b,c)R(a, b), (b, c) \in R so (a,c)R(a, c) \in R by transitivity of RR. Also (b,a),(c,b)R(b, a), (c, b) \in R for the same reason, so (c,a)R(c, a) \in R, i.e. (a,c)R1(a, c) \in R^{-1}. Hence (a,c)S(a, c) \in S. \blacksquare

This little theorem shows the power of definitions: once you trust them and quote them carefully, proofs are mechanical.

Worked examples

Example 1. On Z\mathbb{Z}, let aRb    aba R b \iff a - b is even. Show RR is reflexive, symmetric and transitive.

  • Reflexive: aa=0a - a = 0, even. So (a,a)R(a, a) \in R.
  • Symmetric: if aba - b is even, then ba=(ab)b - a = -(a - b) is even.
  • Transitive: if aba - b and bcb - c are both even, then (ab)+(bc)=ac(a - b) + (b - c) = a - c is even.

Example 2. On R\mathbb{R}, let aRb    aba R b \iff a \le b. Which properties hold?

  • Reflexive: aaa \le a, yes.
  • Symmetric: 121 \le 2 but 2≰12 \not\le 1, no.
  • Transitive: aba \le b and bcb \le c implies aca \le c, yes.

Example 3. On the set of all lines in a plane, let 1R2    12\ell_1 R \ell_2 \iff \ell_1 \parallel \ell_2. Take parallelism to include "the same line".

  • Reflexive: every line is parallel to itself.
  • Symmetric: 1221\ell_1 \parallel \ell_2 \Rightarrow \ell_2 \parallel \ell_1.
  • Transitive: 12\ell_1 \parallel \ell_2 and 2313\ell_2 \parallel \ell_3 \Rightarrow \ell_1 \parallel \ell_3.

So RR has all three properties.

Example 4. On Z{0}\mathbb{Z} \setminus \{0\}, let aRb    aba R b \iff a \mid b. Check the three properties.

  • Reflexive: aaa \mid a, yes.
  • Symmetric: 242 \mid 4 but 424 \nmid 2, no.
  • Transitive: aba \mid b and bcacb \mid c \Rightarrow a \mid c, yes.

Example 5. On the set of all triangles in a plane, let T1RT2    T1T_1 R T_2 \iff T_1 is similar to T2T_2. Show RR is reflexive, symmetric and transitive.

This is geometric: every triangle is similar to itself (use the identity correspondence). Similarity is symmetric by reversing the correspondence. Transitivity follows from composing two similarity correspondences.

Example 6. On A={1,2,3,4,5}A = \{1, 2, 3, 4, 5\}, count the relations that are (i) reflexive, (ii) symmetric. Total relations: 2252^{25}.

  • Reflexive: the five diagonal pairs are forced; the remaining 2020 off-diagonal pairs can be present or absent freely. Count =220= 2^{20}.
  • Symmetric: pair up off-diagonal positions: (i,j)(i, j) and (j,i)(j, i) must be the same. There are (52)=10\binom{5}{2} = 10 such pairs, each free, plus 55 diagonal entries free. Count =210+5=215= 2^{10 + 5} = 2^{15}.

Try it yourself

  1. On N\mathbb{N}, define aRb    a+ba R b \iff a + b is even. Check the three properties.
  2. On Z\mathbb{Z}, define aRb    ab>0a R b \iff a \cdot b > 0. Is RR reflexive? Symmetric? Transitive?
  3. Give a relation on {1,2,3}\{1, 2, 3\} that is symmetric but neither reflexive nor transitive.
  4. On the set of all books in a library, let aRba R b mean "aa and bb share an author". Discuss the three properties.
  5. Show that the universal relation on any non-empty set is reflexive, symmetric and transitive.
  6. On R\mathbb{R}, let aRb    ab<1a R b \iff |a - b| < 1. Is RR transitive? Justify.
  7. How many reflexive relations are there on a set of nn elements?
  8. How many symmetric relations are there on a set of nn elements?
  9. Construct a relation on {1,2,3,4}\{1, 2, 3, 4\} that is transitive but not reflexive.
  10. Prove: if RR and SS are both reflexive on AA, then so is RSR \cap S.
  11. Prove: if RR and SS are both symmetric on AA, then so is RSR \cup S. What about RSR \cap S?
  12. Show by example that the union of two transitive relations need not be transitive.
  13. Let RR be the relation on Z\mathbb{Z} defined by aRb    a2=b2a R b \iff a^2 = b^2. Check the three properties.
  14. Prove: if RR is symmetric, then RR1=RR \cap R^{-1} = R.

Pitfalls / Tricks

  • A relation can be both symmetric and antisymmetric only when it is a subset of the diagonal.
  • Transitivity is vacuously true when no chain (a,b),(b,c)(a, b), (b, c) exists; this is why singleton relations like {(1,2)}\{(1, 2)\} are transitive.
  • A reflexive relation always has at least A|A| pairs; an empty relation on a non-empty set is never reflexive.
  • The trap "symmetric + transitive \Rightarrow reflexive" is false. The standard counter-example: A={1,2,3}A = \{1, 2, 3\} with R={(1,1),(1,2),(2,1),(2,2)}R = \{(1, 1), (1, 2), (2, 1), (2, 2)\}. Element 33 is never reflexive.
  • When checking symmetry on tabular data, scan only off-diagonal entries; the diagonal is automatically symmetric.

Mastering this section is a matter of patience: every claim is a one-line implication, and writing them out forms the backbone of every later proof in the chapter.

Practice quiz

Quick check on this topic.

Quiz
Quick check : Types of relations
6 questions · pick the best answer
Q1

Q2

Q3

Q4

Q5

Q6