Mathematics (JEE)Very hardJEE Main pattern

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

  1. A. 24
  2. B. 15
  3. C. 64
  4. D. 41

Correct answer: D. 41

f∘f = f means f fixes every point of its range. Choose the range R with k elements (each fixed) and send each of the other 4 − k points into R: Σ ⁴Cₖ·k^(4−k) = 4·1 + 6·4 + 4·3 + 1·1 = 4 + 24 + 12 + 1 = 41.

More Sets, Relations and Functions questions

Exams that ask this topic