Skip to content
Official PYQ · 2001

GATE CS 2001 Q1.2 — Sets, Relations and Functions

Explain with AI

Consider the following relations:

  • R1 (a,b)R_1\:(a,b) iff (a+b)(a+b) is even over the set of integers
  • R2 (a,b)R_2 \:(a,b) iff (a+b)(a+b) is odd over the set of integers
  • R3 (a,b)R_3 \:(a,b) iff a.b>0a.b > 0 over the set of non-zero rational numbers
  • R4 (a,b)R_4\:(a,b) iff ∣a−b∣≤2|a-b| \leq 2 over the set of natural numbers

Which of the following statements is correct?

Choose one option
View worked solution

Answer: B

To determine which relations are equivalence relations, we test each for reflexivity, symmetry, and transitivity.

  1. Relation R1R_1: a+ba + b is even over Z\mathbb{Z}
    • Reflexive: For any a∈Za \in \mathbb{Z}, a+a=2aa + a = 2a, which is always even. Thus, (a,a)∈R1(a, a) \in R_1.
    • Symmetric: If a+ba + b is even, then b+a=a+bb + a = a + b is also even. Thus, if (a,b)∈R1(a, b) \in R_1, then (b,a)∈R1(b, a) \in R_1.
    • Transitive: If a+ba + b is even and b+cb + c is even, then aa and bb have the same parity (both even or both odd), and bb and cc have the same parity. Consequently, aa and cc must have the same parity, making a+ca + c even. Thus, (a,c)∈R1(a, c) \in R_1.
    Since R1R_1 satisfies all three properties, R1R_1 is an equivalence relation.

  2. Relation R2R_2: a+ba + b is odd over Z\mathbb{Z}
    • Reflexive: For any a∈Za \in \mathbb{Z}, a+a=2aa + a = 2a, which is always even (never odd). Thus, (a,a)∉R2(a, a) \notin R_2.
    Since it is not reflexive, R2R_2 is not an equivalence relation.

  3. Relation R3R_3: a⋅b>0a \cdot b > 0 over non-zero rationals Q∗\mathbb{Q}^*
    • Reflexive: For any a∈Q∗a \in \mathbb{Q}^*, a⋅a=a2>0a \cdot a = a^2 > 0 (since a≠0a \neq 0). Thus, (a,a)∈R3(a, a) \in R_3.
    • Symmetric: If a⋅b>0a \cdot b > 0, then b⋅a=a⋅b>0b \cdot a = a \cdot b > 0. Thus, (b,a)∈R3(b, a) \in R_3.
    • Transitive: If a⋅b>0a \cdot b > 0 and b⋅c>0b \cdot c > 0, then aa and bb have the same sign, and bb and cc have the same sign. Therefore, aa and cc must have the same sign, which implies a⋅c>0a \cdot c > 0. Thus, (a,c)∈R3(a, c) \in R_3.
    Since R3R_3 satisfies all three properties, R3R_3 is an equivalence relation.

  4. Relation R4R_4: ∣a−b∣≤2|a - b| \le 2 over N\mathbb{N}
    • Transitive: Consider a=1a = 1, b=3b = 3, and c=5c = 5 in N\mathbb{N}:
      • ∣1−3∣=2≤2  ⟹  (1,3)∈R4|1 - 3| = 2 \le 2 \implies (1, 3) \in R_4
      • ∣3−5∣=2≤2  ⟹  (3,5)∈R4|3 - 5| = 2 \le 2 \implies (3, 5) \in R_4
      • But ∣1−5∣=4>2  ⟹  (1,5)∉R4|1 - 5| = 4 > 2 \implies (1, 5) \notin R_4
    Since transitivity fails, R4R_4 is not an equivalence relation.

Thus, R1R_1 and R3R_3 are equivalence relations, while R2R_2 and R4R_4 are not.

Free practice · Your answers on this page are not saved.

Published
Report a correction
Keep exploringMore Sets, Relations and Functions questions