Mathematics (JEE)Very hardJEE Advanced

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

  1. A. 120
  2. B. 31
  3. C. 196
  4. D. 256

Correct answer: C. 196

f(f(x)) = f(x) means f fixes every point of its image. Choose the image of size k (C(5, k) ways) and send each of the other 5 − k points anywhere in it (k^(5 − k) ways): 5 + 80 + 90 + 20 + 1 = 196. Assuming f must be a bijection gives the identity only, not 120.

More Sets, Relations and Functions questions

Exams that ask this topic