Why this chapter matters. Relations gave 11 questions in the 7 papers from NDA II 2023 to NDA II 2026, with three in NDA II 2026 alone. The questions are of three kinds: counting the pairs in a Cartesian product, finding the domain and range of a relation, and testing whether a relation is reflexive, symmetric or transitive. There is little to calculate: you need exact definitions and the habit of looking for one example that fails. Five real questions are solved in section 7.
What you will be able to do
- Write the Cartesian product โA \times Bโ and count its elements.
- Find the domain and range of a relation and tell them from the codomain.
- Test a relation for the three properties: reflexive, symmetric, transitive.
- Recognise an equivalence relation and its equivalence classes.
Before you start you should know: sets, subsets and the number of subsets of a set (Chapter M1-1).
1. Ordered pairs and the Cartesian product
In an ordered pair โ(a, b)โ the order matters: โaโ is the first element and โbโ is the second. So โ(2, 3) \ne (3, 2)โ, and โ(a, b) = (c, d)โ only when โa = cโ and โb = dโ.
The Cartesian product โA \times Bโ is the set of all ordered pairs with the first element from โAโ and the second from โBโ:
A \times B = \{(a, b) : a \in A,\ b \in B\}
For โA = \{1, 2\}โ and โB = \{3, 4, 5\}โ:
โA \times B = \{(1, 3), (1, 4), (1, 5), (2, 3), (2, 4), (2, 5)\}โ.
Two facts to remember:
- โn(A \times B) = n(A) \times n(B)โ. Here โ2 \times 3 = 6โ. So โA \times Aโ has โn(A)^2โ elements.
- โA \times Bโ and โB \times Aโ are different sets (unless โA = Bโ), because โ(1, 3)โ is not โ(3, 1)โ.

2. What a relation is
A relation โRโ from โAโ to โBโ is any subset of โA \times Bโ. It is usually given by a rule that picks out some of the pairs.
Take โA = \{1, 2, 3, 4, 5\}โ, โB = \{1, 4, 9, 16, 30\}โ and the rule "โyโ is the square of โxโ":
โR = \{(x, y) : y = x^2,\ x \in A,\ y \in B\} = \{(1, 1), (2, 4), (3, 9), (4, 16)\}โ.
| Word | Meaning | In the example |
|---|---|---|
| Domain | the first elements that are used in โRโ | โ\{1, 2, 3, 4\}โ |
| Range | the second elements that are used in โRโ | โ\{1, 4, 9, 16\}โ |
| Codomain | the whole of the second set โBโ | โ\{1, 4, 9, 16, 30\}โ |
The domain is a part of โAโ and the range is a part of the codomain. They may be smaller: here 5 is not in the domain and 30 is not in the range.

How many relations? โA \times Bโ has โmnโ elements when โn(A) = mโ and โn(B) = nโ. Each subset is a relation, so there are โ2^{mn}โ relations from โAโ to โBโ. For โn(A) = 3โ and โn(B) = 4โ that is โ2^{12} = 4096โ relations.
3. A relation on a set: three properties
A relation on โAโ is a subset of โA \times Aโ. We write โaRbโ to mean โ(a, b) \in Rโ.
| Property | โRโ has it if | To show it fails, find |
|---|---|---|
| Reflexive | โ(a, a) \in Rโ for every โaโ in โAโ | one element โaโ with โ(a, a)โ missing |
| Symmetric | whenever โ(a, b) \in Rโ, also โ(b, a) \in Rโ | one pair in โRโ whose reverse is missing |
| Transitive | whenever โ(a, b) \in Rโ and โ(b, c) \in Rโ, also โ(a, c) \in Rโ | one chain โa \to b \to cโ with โ(a, c)โ missing |
Drawn with arrows on the set โ\{1, 2, 3\}โ, the three properties look like this.

Example: on the integers, let โaRbโ mean โa \le bโ.
- Reflexive: yes, โa \le aโ for every โaโ.
- Symmetric: no. โ2 \le 3โ but โ3 \le 2โ is false.
- Transitive: yes. If โa \le bโ and โb \le cโ then โa \le cโ.
4. Equivalence relations
A relation that is reflexive, symmetric and transitive is called an equivalence relation.
Example: on the integers, let โaRbโ mean "โa - bโ is divisible by 3".
- Reflexive: โa - a = 0โ, and 0 is divisible by 3.
- Symmetric: if โa - bโ is divisible by 3, so is โb - a = -(a - b)โ.
- Transitive: if โa - bโ and โb - cโ are divisible by 3, so is their sum โa - cโ.
An equivalence relation cuts the set into separate groups called equivalence classes. Elements in one class are all related to each other, and no element is in two classes. Here there are three classes:
โ\{\dots, -3, 0, 3, 6, \dots\}โ, โ\{\dots, -2, 1, 4, 7, \dots\}โ and โ\{\dots, -1, 2, 5, 8, \dots\}โ.

5. Three special relations
On a non-empty set โAโ:
| Relation | What it contains | Properties |
|---|---|---|
| Empty (void) relation | no pairs at all | symmetric and transitive, but not reflexive |
| Universal relation | every pair: the whole of โA \times Aโ | an equivalence relation |
| Identity relation | only the pairs โ(a, a)โ | an equivalence relation |
The empty relation is symmetric and transitive because there is no pair in it that can fail the test.
6. Worked examples
Example 1. โR = \{(x, y) : x + 2y = 10\}โ, where โxโ and โyโ are natural numbers. Write โRโ in roster form and find its domain and range.
Put โy = 1, 2, 3, 4โ: then โx = 8, 6, 4, 2โ. For โy = 5โ, โx = 0โ, which is not a natural number. So โR = \{(8, 1), (6, 2), (4, 3), (2, 4)\}โ. Domain โ= \{2, 4, 6, 8\}โ. Range โ= \{1, 2, 3, 4\}โ.
Example 2. โA = \{1, 2, 3\}โ and โR = \{(1, 1), (2, 2), (3, 3), (1, 2), (2, 3)\}โ. Which of the three properties does โRโ have?
- Reflexive: yes. โ(1, 1)โ, โ(2, 2)โ and โ(3, 3)โ are all present.
- Symmetric: no. โ(1, 2) \in Rโ but โ(2, 1) \notin Rโ.
- Transitive: no. โ(1, 2)โ and โ(2, 3)โ are in โRโ but โ(1, 3)โ is not.
Example 3. On the integers, โaRbโ means "โa + bโ is even". Show that โRโ is an equivalence relation.
- Reflexive: โa + a = 2aโ is even.
- Symmetric: โa + b = b + aโ, so if one is even the other is.
- Transitive: if โa + bโ and โb + cโ are even, their sum โa + 2b + cโ is even. Take away the even number โ2bโ: โa + cโ is even.
There are two equivalence classes: the even integers and the odd integers.
Example 4. On the integers, โaRbโ means โ|a - b| \le 1โ. Is โRโ an equivalence relation?
It is reflexive (โ|a - a| = 0โ) and symmetric (โ|a - b| = |b - a|โ). But โ1R2โ and โ2R3โ, while โ|1 - 3| = 2โ, so โ1R3โ is false. โRโ is not transitive, so it is not an equivalence relation.
7. From the real papers
Try each question for 75 seconds before you read the solution.
NDA II 2025, Q42. Set โXโ contains โ3nโ elements and set โYโ contains โ2nโ elements, and they have โnโ elements in common. How many elements does โ(X - Y) \times (Y - X)โ have?
(a) โ5n^2โโโ(b) โ4n^2โโโ(c) โ3n^2โโโ(d) โ2n^2โ
Solution. โX - Yโ has โ3n - n = 2nโ elements and โY - Xโ has โ2n - n = nโ elements. The product has โ2n \times n = 2n^2โ pairs. Answer (d).
NDA II 2023, Q22. Let โA = \{1, 2, 3, \ldots, 20\}โ. Define a relation โRโ from โAโ to โAโ by โR = \{(x, y) : 4x - 3y = 1\}โ, where โx, y \in Aโ. Which of the following statements is/are correct? 1. The domain of โRโ is โ\{1, 4, 7, 10, 13, 16\}โ. 2. The range of โRโ is โ\{1, 5, 9, 13, 17\}โ. 3. The range of โRโ is equal to codomain of โRโ. Select the correct answer using the code given below :
(a) 1 onlyโโ(b) 2 onlyโโ(c) 1 and 2โโ(d) 2 and 3
Solution. โy = \dfrac{4x - 1}{3}โ is a whole number for โx = 1, 4, 7, 10, 13, 16โ, giving โy = 1, 5, 9, 13, 17, 21โ. But 21 is not in โAโ, so the pair with โx = 16โ is not in โRโ. Domain โ= \{1, 4, 7, 10, 13\}โ: statement 1 is wrong. Range โ= \{1, 5, 9, 13, 17\}โ: statement 2 is correct. The codomain is all of โAโ, which is larger than the range: statement 3 is wrong. Answer (b).
NDA I 2024, Q23. Let โRโ be a relation on the open interval โ(-1, 1)โ and is given by โR = \{(x, y) : |x + y| < 2\}โ. Then which one of the following is correct?
(a) โRโ is reflexive but neither symmetric nor transitiveโโ(b) โRโ is reflexive and symmetric but not transitiveโโ(c) โRโ is reflexive and transitive but not symmetricโโ(d) โRโ is an equivalence relation
Solution. For any โxโ and โyโ between โ-1โ and โ1โ, the sum โx + yโ lies between โ-2โ and โ2โ. So โ|x + y| < 2โ is always true and every pair is in โRโ. This is the universal relation, which is an equivalence relation (section 5). Answer (d).
NDA I 2026, Q41. Let โRโ be a relation on the set โNโ of natural numbers defined by โR = \{(x, y) : x, y \in N \text{ and } x = y^3\}โ. Which of the following statements is/are correct? I. โRโ is symmetric relation II. โRโ is transitive relation Select the answer using the code given below :
(a) I onlyโโ(b) II onlyโโ(c) Both I and IIโโ(d) Neither I nor II
Solution. โ(8, 2) \in Rโ because โ8 = 2^3โ, but โ(2, 8) \notin Rโ because โ2 \ne 8^3โ. Not symmetric. Next, โ(512, 8) \in Rโ and โ(8, 2) \in Rโ, but โ(512, 2) \notin Rโ because โ2^3 = 8โ, not 512. Not transitive. Answer (d).
NDA II 2026, Q23. Let โSโ be the set of all real numbers and โRโ be a relation on โSโ defined by โxRy \Rightarrow |x| \le yโ. Then โRโ is
(a) reflexive onlyโโ(b) transitive onlyโโ(c) both reflexive and transitiveโโ(d) neither reflexive nor transitive
Solution. Reflexive needs โ|x| \le xโ for every real โxโ. For โx = -1โ this says โ1 \le -1โ, which is false. Not reflexive. Transitive: let โ|x| \le yโ and โ|y| \le zโ. The first shows โy \ge 0โ, so โ|y| = yโ and then โy \le zโ. Hence โ|x| \le y \le zโ, which means โxRzโ. Transitive. Answer (b).
Notice the pattern: to show a property fails, give one example. To show it holds, argue for every element.
8. Mistakes that cost marks
- Treating โ(a, b)โ like โ\{a, b\}โ. In a set, order does not matter. In an ordered pair it does: โ(2, 3) \ne (3, 2)โ, and so โA \times B \ne B \times Aโ in general.
- Mixing range and codomain. The codomain is the whole second set. The range is only the part that is used. They are equal only in special cases.
- Thinking "symmetric and transitive" gives "reflexive". It does not. On โ\{1, 2, 3\}โ, โR = \{(1, 1), (1, 2), (2, 1), (2, 2)\}โ is symmetric and transitive, but โ(3, 3)โ is missing.
9. Quick check
Do these without help. Answers are at the end.
- โn(A) = 3โ and โn(B) = 2โ. Find โn(A \times B)โ and the number of relations from โAโ to โBโ.
- โA = \{1, 2, 3, 4, 5, 6\}โ and โR = \{(x, y) : y = x + 2\}โ is a relation on โAโ. Write โRโ in roster form, with its domain and range.
- On โA = \{1, 2, 3\}โ, โR = \{(1, 2), (2, 1)\}โ. Is โRโ reflexive? Symmetric? Transitive?
- On the natural numbers, โaRbโ means "โaโ divides โbโ". Which of the three properties does โRโ have?
- On the integers, โaRbโ means "โa - bโ is divisible by 5". How many equivalence classes are there?
10. Read and watch more, free
| What | Where | Language |
|---|---|---|
| Textbook: Cartesian product, relations, domain and range | NCERT Class 11 Mathematics, Chapter 2 Relations and Functions ยท Hindi edition | English, Hindi |
| Textbook: reflexive, symmetric, transitive, equivalence | NCERT Class 12 Mathematics, Chapter 1 Relations and Functions ยท Hindi edition | English, Hindi |
| Self-study notes | NIOS Mathematics: Lesson 2 Relations and Functions-I ยท Hindi edition ยท Lesson 23 Relations and Functions-II ยท Hindi edition | English, Hindi |
| Video, the chapter for NDA | Defence Wallah: Complete Maths, Fast Track Series (the lesson titled "Relations", 1 to 2 hours) | Hinglish |
| Video, short lessons | Khan Academy India: เคเคเฅเคทเคพ 11 เคเคจเคธเฅเคเคเคฐเคเฅ เคเคฃเคฟเคค (find the lessons on relations; the playlist is not in chapter order) | Hindi |
| Past NDA questions | ExamSIDE: Sets, Relations and Functions (no login needed) | English |
The videos were chosen from their titles, length and views; they have not yet been watched by a teacher.
Answers to the quick check
- โn(A \times B) = 6โ. Number of relations โ= 2^6 = 64โ.
- โR = \{(1, 3), (2, 4), (3, 5), (4, 6)\}โ. Domain โ= \{1, 2, 3, 4\}โ. Range โ= \{3, 4, 5, 6\}โ.
- Symmetric only. It is not reflexive (โ(1, 1)โ is missing). It is not transitive: โ(1, 2)โ and โ(2, 1)โ are in โRโ, so โ(1, 1)โ would be needed.
- Reflexive (โaโ divides โaโ) and transitive (if โaโ divides โbโ and โbโ divides โcโ, then โaโ divides โcโ). Not symmetric: 2 divides 4 but 4 does not divide 2.
- Five: one class for each remainder 0, 1, 2, 3, 4 on division by 5.
Next chapter: Real numbers and the number line.