Consider two setsand. Then the number of onto functions is equal to :
- Option A:
- Option B:
- Option C:
- Option D:
Solution
Core idea. Settle each set completely before counting functions between them.
Concept refresher. For , means , and means . A logarithm is exactly when , and needs . If and , there are functions , and all except the constant ones are onto:
Approach. List the elements of from the nested modulus inequality, find by solving the product equal to zero with the excluded points removed, then count onto maps.
Step 1: Find the set A
The outer modulus gives a double inequality, which fixes the range of :
so , that is . The integers are , and .
Step 2: Find the set B
For the fraction and the logarithm are defined (). A product is zero when a factor is zero:
and is excluded, so only remains. Next,
which gives or , and is excluded. So and .
Step 3: Count the onto maps
Each of the elements of can go to or , and only the two constant maps miss an element of :
Answer. (D)
Sanity check. Count by the number of elements sent to , where :
Why the other options are wrong
- (A) Dividing all maps by , as if swapping the images and gave the same function, gives ; the two images are different, and only the constant maps fail to be onto.
- (B) is more than the total number of maps from to , which is , so no count of onto maps can reach it.
- (C) also exceeds the maps from a six-element set to a two-element set, so it cannot be a count of onto maps.
Key takeaway
The trap. Keeping the excluded points or in , which changes .
How toppers think. They peel nested moduli from the outside, one double inequality at a time.
Remember. Onto maps from an -element set to a -element set number .