Skip to content
Official PYQ · 2000

GATE CS 2000 Q2.5 — Sets, Relations and Functions

Explain with AI

A relation RR is defined on the set of integers as xRyxRy iff (x+y)(x + y) is even. Which of the following statements is true?

Choose one option
View worked solution

Answer: C

To determine the nature of the relation RR defined on the set of integers Z\mathbb{Z} by xRy  ⟺  (x+y) is evenxRy \iff (x + y) \text{ is even}, we check the three properties of an equivalence relation:

  1. Reflexivity: For any x∈Zx \in \mathbb{Z}, x+x=2xx + x = 2x, which is always even. Thus, xRxxRx is true for all x∈Zx \in \mathbb{Z}.
  2. Symmetry: If xRyxRy, then x+yx + y is even. Since x+y=y+xx + y = y + x, it follows that y+xy + x is also even, meaning yRxyRx.
  3. Transitivity: If xRyxRy and yRzyRz, then both x+yx + y and y+zy + z are even.
    Since the sum of two even numbers is even: (x+y)+(y+z)=x+2y+zis even(x + y) + (y + z) = x + 2y + z \quad \text{is even} Since 2y2y is always even, subtracting it from the even sum (x+2y+z)(x + 2y + z) leaves an even number: x+z=(x+2y+z)−2yis evenx + z = (x + 2y + z) - 2y \quad \text{is even} Thus, xRzxRz.

Since RR is reflexive, symmetric, and transitive, it is an equivalence relation.

Equivalence Classes:

The equivalence class of an element a∈Za \in \mathbb{Z} is defined as [a]={x∈Z∣xRa}[a] = \{x \in \mathbb{Z} \mid xRa\}.

  • If aa is even, then x+ax + a is even if and only if xx is also even. This gives the class of all even integers: [0]={…,−4,−2,0,2,4,… }[0] = \{\dots, -4, -2, 0, 2, 4, \dots\}
  • If aa is odd, then x+ax + a is even if and only if xx is also odd. This gives the class of all odd integers: [1]={…,−3,−1,1,3,5,… }[1] = \{\dots, -3, -1, 1, 3, 5, \dots\}

These two disjoint classes partition the set of all integers Z\mathbb{Z}. Therefore, there are exactly 22 equivalence classes (one for even integers and one for odd integers).

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

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