The total number of onto functions from a set containing 5 elements to a set containing 3 elements is:
The total number of onto functions from a set containing 5 elements to a set containing 3 elements is:
- A. 150
- B. 243
- C. 125
- D. 120
Answer: A) 150
Explanation: Using the inclusion-exclusion principle: 3⁵ − ³C₁(2⁵) + ³C₂(1⁵) = 243 − 3(32) + 3(1) = 243 − 96 + 3 = 150.
0 Answers
Log in to post your own answer or join the discussion.
No comments yet — start the discussion.