Surjections and splitting a set into three groups
Statement
- Show that for the number of surjective maps from an -element set onto a -element set is .
- Deduce the number of ways to split an -element set into nonempty unlabelled groups, and show in particular that is divisible by .
- Prove also that .
Hint
Count all maps and subtract those missing at least one value (inclusion-exclusion). Each partition into groups corresponds to exactly surjections.
Show solutionHide solution
Solution
1. Let the target be . There are maps. Let be the set of maps never taking the value ; , for , and (as ). By inclusion-exclusion the number of maps missing no value is
2. A surjection gives the partition , and each partition arises from exactly surjections. Hence
which is an integer, so .
3. A map onto is surjective unless it is constant: surjections, and each partition into groups comes from surjections. So .
Check. For : ; : ; : .
Remark. In general, the number of surjections onto a -set is .
Lesson. Count labelled objects (surjections) by inclusion-exclusion, then divide by the symmetry of the labels.