Mathematics (JEE)Very hardJEE Advanced

The number of functions f: {1, 2, 3} → {1, 2, 3} for which f∘f is a constant function is:

  1. A. 3
  2. B. 9
  3. C. 6
  4. D. 27

Correct answer: B. 9

If f(f(x)) = c for all x, then f(c) = c and every value of f must map to c. For each c (3 ways): the other two elements map to c or one maps to the other, which maps to c: 1 + 2 = 3 ways. Total 9.

More Sets, Relations and Functions questions

Exams that ask this topic