Number of Onto Functions
CAT 2024 Slot 1 · QA · Medium · Functions and Relations
Consider two sets and . Let be a function from to such that for every element in , there is at least one element in such that . Then, the total number of such functions is
- A.
540
- B.
537
- C.
665
- D.
667
Answer
A
Explanation
Number of elements in domain and codomain . The condition states that is an onto (surjective) function. Using the principle of inclusion-exclusion, the number of onto functions is:
Practise this under exam conditions
Sign in to solve it with a live timer, the on-screen CAT calculator, and streak and accuracy tracking across every question you attempt.
Solve in the workspace