Skip to content
Official PYQ · 2004

GATE CS 2004 Q24 — Sets, Relations and Functions

Explain with AI

Consider the binary relation:

S={(x,y)∣y=x+1 and x,y∈{0,1,2}}S= \left\{\left(x, y\right) \mid y=x+1 \text{ and } x, y \in \left\{0, 1, 2\right\} \right\}

The reflexive transitive closure is SS is

Choose one option
View worked solution

Answer: B

Let the domain set be A={0,1,2}A = \{0, 1, 2\}.

The given relation is defined as:
S={(x,y)∣y=x+1 and x,y∈A}S = \{(x, y) \mid y = x + 1 \text{ and } x, y \in A\}

Listing the elements of SS explicitly:
S={(0,1),(1,2)}S = \{(0, 1), (1, 2)\}

To find the reflexive transitive closure of SS (denoted as S∗S^*), we perform two steps:

  1. Transitive Closure (S+S^+):
    Since (0,1)∈S(0, 1) \in S and (1,2)∈S(1, 2) \in S, by transitivity, (0,2)(0, 2) must be in S+S^+.
    S+={(0,1),(1,2),(0,2)}S^+ = \{(0, 1), (1, 2), (0, 2)\}
  2. Reflexive Transitive Closure (S∗S^*):
    We add the reflexive pairs (x,x)(x, x) for all x∈Ax \in A to the transitive closure:
    S∗=S+∪{(0,0),(1,1),(2,2)}S^* = S^+ \cup \{(0, 0), (1, 1), (2, 2)\}
    S∗={(0,0),(1,1),(2,2),(0,1),(1,2),(0,2)}S^* = \{(0, 0), (1, 1), (2, 2), (0, 1), (1, 2), (0, 2)\}

Now, let's evaluate the given options for x,y∈{0,1,2}x, y \in \{0, 1, 2\}:

  • Option A: {(x,y)∣y>x}={(0,1),(0,2),(1,2)}\{ (x, y) \mid y > x \} = \{(0, 1), (0, 2), (1, 2)\} (This is only the transitive closure S+S^+).
  • Option B: {(x,y)∣y≥x}={(0,0),(1,1),(2,2),(0,1),(0,2),(1,2)}\{ (x, y) \mid y \geq x \} = \{(0, 0), (1, 1), (2, 2), (0, 1), (0, 2), (1, 2)\} (This matches S∗S^* exactly).
  • Option C: {(x,y)∣y<x}={(1,0),(2,0),(2,1)}\{ (x, y) \mid y < x \} = \{(1, 0), (2, 0), (2, 1)\}.
  • Option D: {(x,y)∣y≤x}={(0,0),(1,1),(2,2),(1,0),(2,0),(2,1)}\{ (x, y) \mid y \leq x \} = \{(0, 0), (1, 1), (2, 2), (1, 0), (2, 0), (2, 1)\}.

Thus, the reflexive transitive closure of SS is represented by the relation y≥xy \geq x.

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

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