Mathematics (JEE)Very hardJEE Advanced pattern

The number of functions f: {1, 2, 3} → {1, 2, 3} satisfying f(f(f(x))) = x for every x is:

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

Correct answer: C. 3

f∘f∘f = identity forces f to be a bijection whose cycles have length dividing 3: either the identity or one of the two 3-cycles (1 → 2 → 3 → 1 and 1 → 3 → 2 → 1). Transpositions fail, since applying a 2-cycle three times is the same 2-cycle. So there are 3 such functions.

More Sets, Relations and Functions questions

Exams that ask this topic