GATE Computer ScienceVery hardGATE CS (PYQ pattern)

Let I be the identity relation on {1, 2, 3, 4}. How many relations R on this set satisfy R∘R = I (composition of R with itself equals I)?

  1. A. 7
  2. B. 9
  3. C. 24
  4. D. 10

Correct answer: D. 10

R∘R = I forces R to be a bijection that is its own inverse: if some element had two images the composite would relate it to more than itself. So R is an involutive permutation: 1 + C(4,2) + 3 = 10. Counting all 24 permutations (or only the 6 transpositions plus identity = 7) are the traps.

More Discrete Mathematics questions

Exams that ask this topic