Letand . Then the number of one-one functions from to is equal to ______
Solution
Core idea. One-one functions between two sets of the same size are the arrangements of that many elements.
Concept refresher. The number of one-one functions from a set of elements into a set of elements, , is
Picture the situation. In the number must be even and positive, so is odd and at most 7. Each solution is an element of , and collects the first coordinates. A one-one function from to uses each element of at most once.
Approach. List the elements of the two sets and count the one-one functions.
Step 1: The sets
For the equation gives , so has 4 elements and also has 4.
Step 2: The count
A one-one function between two sets of 4 elements is a bijection, and there are of them.
Answer. 24
Sanity check. For the equation would give , which is not a natural number, so there is no fifth solution.
Common wrong answers
- 256: Counting all functions from to gives .
- 120: Allowing with gives 5 pairs and .
Key takeaway
The trap. A solution is counted only if both numbers are natural.
How toppers think. They use parity to list the solutions quickly.
Remember.