Solution
ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2010/ia/paper-4/7e/c/solution
Past exam of the mathematics course of the University of Cambridge 2010 ia Paper 4 7E c Solution by
Codex 0 Created 2026-09-24 Updated 2026-10-14
Let be the set of all functions from the -element domain to the -element codomain, and let consist of the functions which omit codomain element . A function is surjective precisely when it lies outside .
For of size , the intersection consists of maps taking all their values in the remaining elements, so it has members. There are choices of . Applying the complement form of the inclusion-exclusion principle givesWhen , every fibre of a surjective function has at least one member, and the fibres partition an -element domain. Thus every fibre has exactly one member and the function is a bijection. The count of these bijections is by the successive distinct-image choices from part (a). Hence
New to topics? Read the docs here!