Find the range of the real function .
Relations and Functions · Question 114 of 135
Find the range of the real function f(x) = 1 - [x - 2] .
Solution:
Key idea: In this exercise is the greatest integer function (as in Q14): is the greatest integer less than or equal to . Its values are always integers, and every integer is a value.
Step 1 — Find the domain.
We check for which the expression can be worked out. The number is real for every real , and is defined for every real , so is defined for every real .
Step 2 — Show that every value of is an integer.
We look at the type of number can be. For any real , is an integer, and minus an integer is again an integer. So every value of is an integer.
Step 3 — Show that every integer is a value of .
We take any integer and look for an with , and we try .
The number is already an integer, so its greatest integer is itself.
Now we substitute this into .
So every integer is a value of .
Step 4 — Put the two parts together.
Steps 2 and 3 show that the set of values of is exactly the set of integers.
Note: The book's answer, , fits the function with a modulus instead of the bracket. For that function , so , and every value up to is taken. With the greatest integer bracket as printed, the range is .
Therefore, the range of is , the set of integers.
