The number of one-one functions such thatis ______
Solution
Core idea. A value fixed by a linear condition leaves a small bounded search over the remaining values.
Concept refresher. A function is one-one when
forces , and onto when its range is the whole of .
Picture the situation. Write , , . Then must be at most 10. The values , , must be different, and then is automatically different from each of them, because it exceeds each one. Since carries the weight 3, only are possible.
Approach. List the cases by the value of and count the allowed pairs of and in each.
Step 1: When f(c) is 0
Here with . For the value must differ from 0 and and satisfy , which gives 7, 5, 3 and 2 choices, 17 in all.
Step 2: When f(c) is 1
Here with and different from 1 and from each other. For this gives 6, 2 and 1 choices of , 9 in all.
Step 3: When f(c) is 2 or 3
For we need : gives and gives , which is 4 ways. For we need , which allows only , . The total is .
Answer. 31
Sanity check. One valid function has , , and , four different values.
Common wrong answers
- 67: Counting all functions that satisfy the condition, without requiring different values, gives 67.
Key takeaway
The trap. A one-one function needs every pair of values to differ, which removes cases from each count.
How toppers think. They organise the cases by the term with the largest coefficient.
Remember.