Let and be defined asand . Then, is:
- Option A: one-one but not onto
- Option B: neither one-one nor onto
- Option C: onto but not one-one
- Option D: both one-one and onto
Solution
Core idea. A composite of piecewise functions is written out piece by piece before it is tested.
Concept refresher. A function is one-one when
forces , and onto when its range is the whole of .
Picture the situation. For , , so returns it unchanged. For , , so gives . For , , so returns it unchanged.
Approach. Write the composite piece by piece, then test for repeated values and for missing values.
Step 1: Not one-one
The piece on and the piece on both take the value 1, at and at . So the composite is not one-one.
Step 2: Not onto
The three pieces take values in , and , so the range is . Negative numbers are never reached, so the composite is not onto .
Answer. (B) neither one-one nor onto
Sanity check. Check the two inputs: and .
Why the other options are wrong
- (A) It is not one-one, since and both give the value 1.
- (C) It is not onto, since every value of the composite is at least 0.
- (D) It fails both tests: a value is repeated, and the negative numbers are missed.
Key takeaway
The trap. The piece of the outer function is chosen by the sign of the inner value, not of the variable.
How toppers think. They sketch the three pieces to see repeats and gaps.
Remember. Range of is