Let be the set of natural numbers and two functions and be defined as such thatand . Then is:
- Option A: onto but not one-one
- Option B: Both one-one and onto
- Option C: One-one but not onto
- Option D: Neither one-one nor onto
Solution
Core idea. A function that pairs up consecutive inputs is onto but takes each value twice.
Concept refresher. A function is one-one when
forces , and onto when its range is the whole of .
Picture the situation. For odd , and , an even number. For even , , an odd number. So interchanges 1 and 2, 3 and 4, and so on. The outer function halves an even input and halves one more than an odd input.
Approach. Compute the composite for each parity, then test repeated values and missing values.
Step 1: The composite
For odd the inner value is even, so . For even the inner value is odd, so .
Step 2: The tests
The inputs 1 and 2 both give 1, so the composite is not one-one. Every natural number is the value at , so it is onto.
Answer. (A) onto but not one-one
Sanity check. The first values are 1, 1, 2, 2, 3, 3 for to 6: every number appears, each twice.
Why the other options are wrong
- (B) It is not one-one, since and both give 1.
- (C) It is onto, since is the value at , and it is not one-one.
- (D) It is onto: every natural number is reached at .
Key takeaway
The trap. The parity of the inner value, not of the input, decides the piece of the outer function.
How toppers think. They list the first few values of the composite.
Remember.