Mathematics (JEE)HardJEE Advanced

The number of functions f from {1, 2, 3, 4} to itself that satisfy f(f(x)) = f(x) for every x is:

  1. A. 10
  2. B. 41
  3. C. 24
  4. D. 36

Correct answer: B. 41

Such f fix every point of their image. Choosing the image size k and its set gives Σ C(4,k)·k^(4−k) = 4 + 24 + 12 + 1 = 41. The value 10 counts functions with f(f(x)) = x (involutions), and 24 counts only the bijections.

More Sets, Relations and Functions questions

Exams that ask this topic