PYQ Vault

CBSE Class 12 Maths · Relations and Functions

Equivalence Relations and Equivalence Classes

A relation that is reflexive, symmetric and transitive, the standard proof layout for one, relations on ordered pairs of natural numbers, and the equivalence classes into which such a relation splits a set.

Why this matters

33 questions, fifteen of them from board papers in every year from 2023 to 2026. The board asks you to prove that a relation is an equivalence relation: one on integers given by divisibility (twice in 2026), a square product (2025) or a shared colony or sex (2023, 2026); one on ordered pairs of natural numbers (2023, and twice in 2024). In 2024 it set five questions on equivalence classes: the class [5] or [2], the number of classes, which statement about classes is false, and the lines parallel to a given line. On relations listed on {1, 2, 3} it asked which pairs make one an equivalence relation (2025) and set an assertion-reason item (2026).

Concept 1 of 4: Proving a relation is an equivalence relation

An equivalence relation behaves like 'is the same as' in some one respect: same remainder, same colony, same number of pages. Anything is the same as itself, sameness works both ways, and two things the same as a third are the same as each other. The proof checks exactly these three things, in this order, and then says so.

Definition

  • A relation R in a set A is an equivalence relation if R is reflexive, symmetric and transitive.
  • Lay the proof out in three labelled parts (Reflexive, Symmetric, Transitive), each starting from general elements, then write the conclusion.
  • For a divisibility rule, write it as an equation: 'n divides a−ba - b' means a−b=nka - b = nk for some integer kk. Then show the new multiplier (−k-k, k+mk + m) is an integer.
  • If the rule has a modulus, such as 'p divides ∣x−y∣|x - y|', note that p divides ∣x−y∣|x - y| exactly when it divides x−yx - y, then work without the modulus.
  • Relations of 'same' type (same colony, same number of pages, congruent triangles) follow the same three steps in words.

Equivalence relation

reflexive  +  symmetric  +  transitive\text{reflexive} \;+\; \text{symmetric} \;+\; \text{transitive}

Worked example

Show that the relation R={(a,b):a2−b2 is divisible by 3}R = \{(a, b) : a^2 - b^2 \text{ is divisible by } 3\} in the set Z\mathbb{Z} of integers is an equivalence relation.
Practise this conceptself-check · 3 quick reps

The same idea in a real exam question:

CBSE Class 12 · 2026 · 65/4/1 · 26 (b)Moderate

Example 1 · Relations and Functions · Equivalence Relations and Classes

Let n be a fixed positive integer. A relation R is defined in set Z\mathbb{Z} such that R={(x,y):(x−y)R = \{(x, y) : (x - y) is divisible by n,  x,y∈Z}n, \; x, y \in \mathbb{Z}\}. Determine if R is an equivalence relation.

Writing 'divisible' with no equation

Write a−b=nka - b = nk with kk an integer, and in each step name the new multiplier and say it is an integer. 'So it is divisible' alone does not show the step.

Leaving out the conclusion

After the three checks, write 'Hence R is an equivalence relation'. A proof that stops after transitivity has not answered the question.

Adding moduli

From ∣x−y∣|x - y| and ∣y−z∣|y - z| you cannot add to get ∣x−z∣|x - z|. Drop the modulus first, add x−yx - y and y−zy - z, then return to the modulus.

Concept 2 of 4: Equivalence relations on ordered pairs of natural numbers

Here each element is itself a pair, so a relation compares two pairs (a, b) and (c, d) through a condition on four numbers. The trick is to rearrange the condition so that one side uses only a and b and the other only c and d. Then the three properties follow almost at once.

Definition

  • The set is N×NN \times N; an element is a pair (a,b)(a, b), and (a,b) R (c,d)(a, b)\,R\,(c, d) is a condition on a,b,c,da, b, c, d.
  • Reflexive: put (c,d)=(a,b)(c, d) = (a, b) in the condition.
  • Symmetric: start from the condition for (a,b) R (c,d)(a, b)\,R\,(c, d) and rearrange it into the condition for (c,d) R (a,b)(c, d)\,R\,(a, b).
  • Transitive: number the two given conditions (i) and (ii), then add or multiply them so that cc and dd cancel.
  • All entries are natural numbers, so none is zero and you may divide by any of them. Say this before you divide.

Pairs relation

(a,b) R (c,d) is a condition on a,b,c,d∈N(a, b)\,R\,(c, d) \text{ is a condition on } a, b, c, d \in \mathbf{N}

Worked example

R is defined on N×NN \times N by (a,b) R (c,d)(a, b)\,R\,(c, d) if a2+d2=b2+c2a^2 + d^2 = b^2 + c^2. Show that R is an equivalence relation.
Practise this conceptself-check · 2 quick reps

The same idea in a real exam question:

CBSE Class 12 · 2024 · 65/2/1 · 32 (b)Hard

Example 2 · Relations and Functions · Equivalence Relations and Classes

A relation R is defined on N×NN \times N (where N is the set of natural numbers) as : (a,b) R (c,d)⇔a−c=b−d(a, b)\ R\ (c, d) \Leftrightarrow a - c = b - d Show that R is an equivalence relation.

Dividing without saying why

Before dividing by aa, bb, cc or dd, write that they are natural numbers and so not zero.

Transitivity from one equation

Transitivity needs both given conditions. Write and number both, then combine them; quoting only the first cannot remove cc and dd.

Concept 3 of 4: Equivalence classes

An equivalence relation sorts a set into groups: everything in one group is related to everything else in it, and nothing is related across groups. For 'a minus b is even' on the integers, the groups are the even numbers and the odd numbers. Each group is called an equivalence class, and the class of an element a is the group that contains a.

Definition

  • The equivalence class [a][a] is the subset of the set containing all elements related to aa. It always contains aa itself.
  • An equivalence relation divides a set X into mutually disjoint subsets AiA_i such that: all elements of AiA_i are related to each other; no element of AiA_i is related to any element of AjA_j, i≠ji \ne j; ∪Aj=X\cup A_j = X and Ai∩Aj=ϕA_i \cap A_j = \phi, i≠ji \ne j.
  • If two classes share an element, they are equal.
  • For '2 divides a−ba - b' in Z\mathbb{Z}: [0][0] = even integers, [1][1] = odd integers. For '3 divides a−ba - b': three classes [0],[1],[2][0], [1], [2].
  • To write [a][a] in a finite set, solve the condition for the unknown element and keep only values inside the set, checking both end points.

Equivalence class of a

[a]={x∈X:x R a}[a] = \{x \in X : x\,R\,a\}

Worked example

R is the equivalence relation on A={x∈Z:0≤x≤15}A = \{x \in \mathbb{Z} : 0 \le x \le 15\} given by R={(a,b):a−b is a multiple of 4}R = \{(a, b) : a - b \text{ is a multiple of } 4\}. Write the equivalence class [3][3] and the number of equivalence classes.
Practise this conceptself-check · 3 quick reps

The same idea in a real exam question:

CBSE Class 12 · 2024 · 65/3/1 · Q32Hard

Example 3 · Relations and Functions · Equivalence Relations and Classes

A relation R on set A={−4,−3,−2,−1,0,1,2,3,4}A = \{-4, -3, -2, -1, 0, 1, 2, 3, 4\} be defined as R={(x,y):x+yR = \{(x, y) : x + y is an integer divisible by 2}2\}. Show that R is an equivalence relation. Also, write the equivalence class [2][2].

Listing elements outside the set

A class lives inside the given set. Solve the condition, then drop values outside it, and keep both end points when the set says 'less than or equal to'.

Classes that overlap

Two different equivalence classes never share an element. An MCQ statement that says Ai∩Aj≠ϕA_i \cap A_j \ne \phi for i≠ji \ne j is the false one.

Leaving a out of [a]

R is reflexive, so aa is always in [a][a]. A class written without its own element is wrong.

Concept 4 of 4: Making a listed relation an equivalence relation

Given a few pairs, you can build the smallest equivalence relation that contains them. Elements joined by a pair, directly or through a chain, end up in one class, and every pair inside a class must then be in the relation. Add pairs property by property, and keep checking until nothing new is forced.

Definition

  • Step 1, reflexive: add every missing (a,a)(a, a).
  • Step 2, symmetric: add the reverse of every pair.
  • Step 3, transitive: for every chain (a,b),(b,c)(a, b), (b, c) add (a,c)(a, c); then repeat step 2 for the new pairs, until nothing new is forced.
  • The largest equivalence relation on A is the universal relation A×AA \times A; the smallest is {(a,a):a∈A}\{(a, a) : a \in A\}.
  • On {1,2,3}\{1, 2, 3\} there are exactly two equivalence relations containing (1,2)(1, 2): {(1,1),(2,2),(3,3),(1,2),(2,1)}\{(1, 1), (2, 2), (3, 3), (1, 2), (2, 1)\} and the universal relation.

Worked example

On A={p,q,r,s}A = \{p, q, r, s\}, find the smallest equivalence relation that contains (p,q)(p, q) and (q,r)(q, r).
Practise this conceptself-check · 2 quick reps

The same idea in a real exam question:

CBSE Class 12 · 2025 · 65/1/1 · 37 (iii) (b)Moderate

Example 4 · Relations and Functions · Equivalence Relations and Classes

A class-room teacher is keen to assess the learning of her students the concept of "relations" taught to them. She writes the following five relations each defined on the set A = {1, 2, 3} : R1={(2,3),(3,2)}R_1 = \{(2, 3), (3, 2)\} R2={(1,2),(1,3),(3,2)}R_2 = \{(1, 2), (1, 3), (3, 2)\} R3={(1,2),(2,1),(1,1)}R_3 = \{(1, 2), (2, 1), (1, 1)\} R4={(1,1),(1,2),(3,3),(2,2)}R_4 = \{(1, 1), (1, 2), (3, 3), (2, 2)\} R5={(1,1),(1,2),(3,3),(2,2),(2,1),(2,3),(3,2)}R_5 = \{(1, 1), (1, 2), (3, 3), (2, 2), (2, 1), (2, 3), (3, 2)\} The students are asked to answer the following questions about the above relations :
What pairs should be added to the relation R2R_2 to make it an equivalence relation ?

Stopping after symmetry

After adding the reflexive and symmetric pairs, check transitivity on the new list. A chain (a,b),(b,c)(a, b), (b, c) forces (a,c)(a, c), and then symmetry forces (c,a)(c, a).

Adding pairs that were not forced

'Smallest' means only forced pairs. Joining a lone element to a class without a reason gives an equivalence relation, but not the smallest one.

Summary — formulas & gotchas at a glance

A revision cheat-sheet for the formulas and gotchas above. Click any concept name to jump back to its full explanation.

Formulas (3)

Watch out for (10)

Test yourself on Relations and Functions

15 past CBSE Class 12 questions from this chapter, timed at 23 minutes and marked the way the exam marks it. You see your score and every answer the moment you finish. Free to start.