Mathematics (JEE)HardJEE Main

The number of non-decreasing functions f: {1, 2, 3, 4} → {1, 2, 3, 4, 5} is:

  1. A. 70
  2. B. 5
  3. C. 126
  4. D. 625

Correct answer: A. 70

A non-decreasing function is a multiset of 4 values from 5, so the count is C(5 + 4 − 1, 4) = C(8, 4) = 70. Strictly increasing functions number only C(5, 4) = 5, and 625 counts all functions.

More Sets, Relations and Functions questions

Exams that ask this topic