GATE / CS ARCHIVE

GATE CSE 1998 / QUESTION 11(b)

Draw the equivalence relation graph

Discrete Mathematics · Sets, Relations & Functions · Full GATE CSE 1998 paper

GATE 1998, Q11(b) Descriptive
Report issue

Sets, Relations & Functions

Question 11(b), GATE 1998: Draw the graph of the equivalence relation induced by {{a,b,c},{d}} on {a,b,c,d}.
Question 11(b), GATE 1998: Draw the graph of the equivalence relation induced by {{a,b,c},{d}} on {a,b,c,d}.
Tap to enlarge
Answer & solution

Answer: A complete directed graph with loops on {a,b,c}, plus the isolated looped vertex d. (no official key was published)

Use one vertex for each element and an arrow x→y for every ordered pair in the relation. Within {a,b,c}, put arrows in both directions between each pair of distinct vertices, and add a self-loop to each vertex. Add vertex d with its self-loop only; no arrows join it to the other component.

       a ↺                 d ↺
      ↙ ↖ ↘ ↗
   b ↺ ⇄ c ↺

The arrow layout is schematic. The precise edge specification, resolving any drawing ambiguity, is
loops: a→a, b→b, c→c, d→d;
other arrows: a→b, b→a, a→c, c→a, b→c, c→b.

An adjacency-matrix version in row/column order a,b,c,d is
1 1 1 0
1 1 1 0
1 1 1 0
0 0 0 1.

The block-diagonal matrix emphasizes the two equivalence classes. A triangle drawn with undirected edges is acceptable only if it is explicitly understood to stand for arrows in both directions and the reflexive loops are stated. Omitting d's loop or drawing a connection between d and the triangle would describe a different relation.

Original paper, page 7