Class 12 Maths, Worked in Full Past papersGet updates
Chapter 1 · Relations and Functions

Miscellaneous · Q7 (MCQ): Equivalence relations containing (1, 2): how many?

Miscellaneous ExerciseCounting relations · Miscellaneous Exercise
The question

Let A={1,2,3}A = \{1, 2, 3\}⁠. Then number of equivalence relations containing (1,2)(1, 2) is

(A) 1    (B) 2    (C) 3    (D) 4

Exam answer

An equivalence relation containing (1,2)(1, 2) must contain

S1={(1,1),(2,2),(3,3),(1,2),(2,1)},\begin{aligned} S_1 = \{&(1, 1), (2, 2), (3, 3), \\ &(1, 2), (2, 1)\}, \end{aligned}

which is itself an equivalence relation. By symmetry, (1,3),(3,1)(1, 3), (3, 1) are added together, and so are (2,3),(3,2)(2, 3), (3, 2)⁠. Adding only (1,3),(3,1)(1, 3), (3, 1) fails transitivity: (2,1),(1,3)(2, 1), (1, 3) need (2,3)(2, 3)⁠. Adding only (2,3),(3,2)(2, 3), (3, 2) fails: (1,2),(2,3)(1, 2), (2, 3) need (1,3)(1, 3)⁠. Adding both gives A×AA \times A⁠, an equivalence relation.

So there are 2: S1S_1 and A×AA \times A⁠.

Answer: (B) 2

Want the reason behind every step, the basics and the checks?

The one idea this problem is built on

An equivalence relation on AA is the same thing as a way of splitting AA into groups (its equivalence classes): two elements are related exactly when they are in the same group. "Contains (1,2)(1,2)" means 1 and 2 are in the same group. The element 3 then has only two options: join that group, or stand alone. So there are two such relations. We prove this directly from the definitions, pair by pair, and then confirm it with the grouping picture.

Given, to find, and the plan
Given
A={1,2,3}A = \{1,2,3\}⁠; the relation must contain (1,2)(1,2) and be reflexive, symmetric and transitive.
To find
The number of such relations.
Plan
(1) Find the pairs every such relation must contain. (2) Use symmetry to reduce the free pairs to a few candidates. (3) Test each candidate for transitivity. (4) Confirm the count with equivalence classes. (5) Check every option.

Basics you need

1Equivalence relation

A relation that is reflexive, symmetric and transitive (Definition 4). On A={1,2,3}A = \{1,2,3\} it is a subset of the 9 pairs of A×AA \times A⁠. Basics: reflexive, symmetric, transitive

2Equivalence classes split the set

An equivalence relation divides AA into disjoint classes whose union is AA⁠; elements are related exactly when they are in the same class. Conversely, every such splitting comes from exactly one equivalence relation. Basics: equivalence classes

3Not transitive: one witness

A relation is not transitive if some (a,b)(a,b) and (b,c)(b,c) are in it but (a,c)(a,c) is not. Basics: proving and disproving

4Counting by complete listing

When the possibilities are few, list all of them, test each, and count the ones that pass. The list must be complete and without repeats. Basics: counting choices

Solution

  1. The pairs every such relation must contain

    Let RR be an equivalence relation on AA with (1,2)∈R(1,2) \in R⁠.

    • Reflexive: (1,1),(2,2),(3,3)∈R(1,1), (2,2), (3,3) \in R⁠.
    • Symmetric, applied to (1,2)(1,2)⁠: (2,1)∈R(2,1) \in R⁠.

    So every such RR contains

    S1={(1,1),(2,2),(3,3),(1,2),(2,1)}.S_1 = \{(1,1), (2,2), (3,3), (1,2), (2,1)\}.

    S1S_1 is itself an equivalence relation: it is reflexive, it is symmetric ((1,2)(1,2) and (2,1)(2,1) are both present), and it is transitive, because the only chains through two different elements are (1,2),(2,1)(1,2),(2,1)⁠, giving (1,1)∈S1(1,1) \in S_1⁠, and (2,1),(1,2)(2,1),(1,2)⁠, giving (2,2)∈S1(2,2) \in S_1⁠; chains using a loop (a,a)(a,a) just return a pair already in S1S_1⁠. So S1S_1 counts.

    The question says "containing (1,2)(1,2)" only, but symmetry forces (2,1)(2,1) as well, so this question asks for the same count as the textbook's Example 24 ("containing (1,2)(1,2) and (2,1)(2,1)"). Starting from the smallest possible relation is the textbook's method there.
    A chain (a,a),(a,c)(a,a),(a,c) or (a,c),(c,c)(a,c),(c,c) always gives back (a,c)(a,c)⁠, which is already present, so loops never create new transitivity demands. Basics: reflexive, symmetric, transitive
  2. The free pairs, and the four symmetric candidates

    Of the 9 pairs in A×AA \times A⁠, the 5 in S1S_1 are forced, leaving 4 undecided: (1,3),(3,1),(2,3),(3,2)(1,3), (3,1), (2,3), (3,2)⁠. That gives 24=162^4 = 16 ways to choose which to add. Symmetry requires (1,3)(1,3) and (3,1)(3,1) to be added together or not at all, and the same for (2,3)(2,3) and (3,2)(3,2)⁠. So only 4 of the 16 choices are symmetric:

    S1,T13=S1∪{(1,3),(3,1)},T23=S1∪{(2,3),(3,2)},A×A.\begin{aligned} &S_1, \qquad T_{13} = S_1 \cup \{(1,3),(3,1)\},\\ &T_{23} = S_1 \cup \{(2,3),(3,2)\}, \qquad A \times A. \end{aligned}
    Every equivalence relation containing (1,2)(1,2) is S1S_1 plus some of the 4 free pairs, and it must be symmetric, so it is one of these four. The four are different from each other, so no relation will be counted twice.
    With symmetry, the two pairs (a,b),(b,a)(a,b), (b,a) act as one unit: 2 units, each in or out, gives 2×2=42 \times 2 = 4 candidates.
  3. Test the two middle candidates for transitivity

    T13T_{13} contains (2,1)(2,1) and (1,3)(1,3)⁠, so transitivity would need (2,3)(2,3)⁠; but (2,3)∉T13(2,3) \notin T_{13}⁠. So T13T_{13} is not transitive.

    T23T_{23} contains (1,2)(1,2) and (2,3)(2,3)⁠, so transitivity would need (1,3)(1,3)⁠; but (1,3)∉T23(1,3) \notin T_{23}⁠. So T23T_{23} is not transitive.

    A×AA \times A contains every pair, so it is transitive, and it is reflexive and symmetric too: A×AA \times A counts.

    This is the textbook's observation in Example 24: once 3 is linked to either 1 or 2, transitivity drags in the link to the other one, and symmetry then fills in the reverse, so the relation grows all the way to A×AA \times A⁠. There is no way to link 3 to only one of them.
    Universal relation A×AA \times A (Definition 2) is an equivalence relation, since every pair it could need is present.
  4. The same answer through equivalence classes

    Each equivalence relation on {1,2,3}\{1,2,3\} corresponds to a way of splitting {1,2,3}\{1,2,3\} into classes. There are exactly five splittings:

    123{1} {2} {3}1, 2 apartP1123{1,2} {3}1, 2 togetherP2132{1,3} {2}1, 2 apartP3231{2,3} {1}1, 2 apartP4123{1,2,3}1, 2 togetherP5
    The five ways to split {1,2,3}\{1,2,3\} into classes. The relation contains (1,2)(1,2) exactly when 1 and 2 are in the same class, which happens only for P2, {1,2}{3}\{1,2\}\{3\} (this is S1S_1⁠), and P5, {1,2,3}\{1,2,3\} (this is A×AA \times A⁠). P3 and P4 put 3 with only one of 1, 2, which is why T13T_{13} and T23T_{23} were not equivalence relations.

    Two of the five keep 1 and 2 together, matching the two relations found in Steps 1 to 3.

    This check uses a completely different route (classes instead of pairs), so agreement is strong evidence. It also explains the answer in one line: 1 and 2 share a class, and 3 either joins it or forms its own class.
    An equivalence relation divides the set into mutually disjoint classes whose union is the set, and conversely (Section 1.2, after Example 5). Lesson: equivalence relations
  5. Count: every possibility exactly once

    Every equivalence relation containing (1,2)(1,2) is one of the four symmetric candidates of Step 2. Of these, S1S_1 and A×AA \times A are equivalence relations and T13T_{13}⁠, T23T_{23} are not. So there are exactly 2.

    The list in Step 2 contains every possibility (nothing missed) and each candidate once (nothing doubled), and Steps 1 and 3 checked each candidate against all three properties.
  6. Check every option

    OptionVerdictWhy
    (A) 1wrongCounts only the smallest relation S1S_1 and forgets the universal relation A×AA \times A⁠, which also contains (1,2)(1,2)⁠.
    (B) 2correctExactly S1S_1 and A×AA \times A⁠.
    (C) 3wrongWould require one of T13,T23T_{13}, T_{23} to be an equivalence relation, but both fail transitivity.
    (D) 4wrongCounts all four reflexive symmetric candidates, ignoring transitivity.
    The complete list makes every other number impossible, and each wrong option corresponds to a specific overlooked relation or skipped condition.
Result

The equivalence relations on {1,2,3}\{1,2,3\} containing (1,2)(1,2) are S1={(1,1),(2,2),(3,3),(1,2),(2,1)}S_1 = \{(1,1),(2,2),(3,3),(1,2),(2,1)\} (classes {1,2}\{1,2\}⁠, {3}\{3\}⁠) and A×AA \times A (one class {1,2,3}\{1,2,3\}⁠). The answer is (B) 2. (Textbook answer: B.)

Play this problem

Relation Builder, in the chapter’s Games tab. Level 1 is this question: build every equivalence relation containing (1, 2), then count. Play Relation Builder ↗

Check it with numbers

The site's verification script lists all 29=5122^9 = 512 relations on {1,2,3}\{1,2,3\} and tests reflexive, symmetric and transitive for each. It finds exactly 5 equivalence relations (one for each splitting in the figure), and exactly 2 of them contain (1,2)(1,2)⁠: S1S_1 and A×AA \times A⁠. It also confirms that the 16 ways of filling the free pairs include exactly 4 symmetric ones, of which exactly 2 are transitive.

Common mistakes
  1. Forgetting the universal relation. A×AA \times A contains (1,2)(1,2) and is an equivalence relation.
  2. Linking 3 to just one of 1, 2. Transitivity then forces the other link, as Step 3 shows.
  3. Forgetting (2,1)(2,1)⁠. Symmetry forces it as soon as (1,2)(1,2) is in.
  4. Counting all 5 equivalence relations on {1,2,3}\{1,2,3\}⁠. Only those with 1 and 2 in the same class contain (1,2)(1,2)⁠.
What to take away
  1. Equivalence relations and splittings into classes are the same thing; counting one counts the other.
  2. Start with the smallest relation that satisfies the conditions and ask which additions are possible.
  3. Transitivity tends to snowball: adding one link can force several more.

Every fact used, and where it comes from

FactUsed inSource
Reflexive, symmetric, transitive; equivalence relationSteps 1–5Definitions 3 and 4, Section 1.2 (Lesson: types of relations)
Universal relation A×AA \times AStep 3Definition 2, Section 1.2
Equivalence classes partition the set, and converselyStep 4Section 1.2, discussion after Example 5 (Lesson: equivalence relations)
The count is two (with (1,2)(1,2) and (2,1)(2,1)⁠)Steps 1, 3Example 24, Miscellaneous Examples (Lesson: counting functions and relations)
Counts 512, 5, 16, 4, 2CheckBrute force over all relations in the site's verification script
Found an error, or want more?

Tell us if something on this page is wrong or unclear, or if you would like a fuller explanation, another method or a new feature. Send feedback on this problem →