For a real number , let be the greatest integer less than or equal to . So , and . Define by
Which statement about is correct?
Confirming your payment
Competency-Based Questions (CBQ) · Question 68 of 80
For a real number , let be the greatest integer less than or equal to . So , and . Define by
Which statement about is correct?
(A) is one-one but not onto
(B) is onto but not one-one
(C) is neither one-one nor onto
(D) is both one-one and onto
Option (A) is correct.
Step 1: is strictly increasing, so it is one-one. Take . The greatest-integer function never decreases, so . Adding this to gives
that is, . Two different inputs always give different outputs, so is one-one.
Step 2: find the range, piece by piece. On the interval (with an integer), , so . As runs from up to (but not including) , the value runs from up to (but not including) . So this piece covers exactly
| in | values covered | ||
|---|---|---|---|
So the range is the union of the intervals over all integers . The gaps are never reached.
Step 3: is not onto. Take . It lies in the gap . To check directly, write . By Step 2, lies in . For this interval ends at or below ; for it starts at or above . So no gives an interval containing , and has no preimage.
The function jumps at every integer. For example , but : the values from up to are skipped.
![Graph of f(x) = x + [x] with the skipped bands shaded](/_next/image/?url=https%3A%2F%2Fcontent.supalearn.com%2Fstorage%2Fv1%2Fobject%2Fpublic%2Fimages%2F1d9cd6b4-a4ed-49d5-956d-12cc256082a2-m12c140_24645_graph.png&w=3840&q=75)
Why the other options are wrong