Mathematics (JEE)Very hardJEE Advanced

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

  1. A. 36
  2. B. 64
  3. C. 24
  4. D. 40

Correct answer: D. 40

f∘f = c forces f(c) = c and f(y) = c for every y in the image of f. Fix c (4 ways). The image is {c} alone (1 function) or {c, y} with y one of 3 other points, where the two remaining points map into {c, y} with at least one hitting y (3 × 3 = 9). A three-point image is impossible. That is 10 per c, so 40.

More Sets, Relations and Functions questions

Exams that ask this topic