Q.Find the number of all onto functions from the set to itself.
You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.
Start your 14-day free trial to unlock the full solution →For a finite set, an onto self-map is automatically a bijection, i.e. a permutation, so the number of onto functions from to itself is .
The key observation
Let and let be onto. "Onto" means every one of the elements of is an output of . But has only inputs to produce those distinct outputs. If two different inputs mapped to the same value, then would produce at most distinct outputs and could not cover all targets. So the outputs must all be distinct — is also one-one.
A map that is both one-one and onto is a bijection, and a bijection from a set to itself is exactly a rearrangement (permutation) of its elements.
Counting the permutations
Building a permutation, assign images one element at a time:
- can be any of the elements — choices.
- must differ from — choices.
- must differ from both — choices. …
Unlock everything free for 14 days
- Full step-by-step solutions
- Concept-first explanations
- Methods, shortcuts & mistakes
- PYQ mapping + timed mock tests
Full access for 14 days. No credit card required.