The step of a real number [x], values for negative numbers, the staircase graph, its properties, and inequalities and domains with [x].
Lesson 14 of 16
6 min read
12 practice questions
The greatest integer function rounds every real number down to an integer. It sounds simple, but it behaves in a surprising way for negative numbers, and its graph is a staircase rather than a smooth curve. It appears in many examination questions on domains, ranges and inequalities. This lesson defines it, works through many values, draws the graph, lists its properties and solves inequalities with it.
For non-negative numbers, [x] simply drops the decimal part:
[0]=0,[0.1]=0,[0.5]=0,[0.9999]=0
[1]=1,[1.1]=1,[1.9999]=1,[2]=2,[2.5]=2,[2.999]=2
For negative numbers, think of the number line. [x] is the integer you reach by moving left from x (or staying put if x is already an integer). For example, −0.1 lies between −1 and 0; moving left from −0.1 the first integer you meet is −1. So [−0.1]=−1, not 0.
[−0.1]=−1,[−0.2]=−1,[−0.9]=−1,[−1]=−1
[−1.2]=−2,[−1.7]=−2,[−1.999]=−2,[−2]=−2
Compare positive and negative values side by side:
x
0.5
−0.5
1.2
−1.2
2.7
−2.7
[x]
0
−1
1
−2
2
−3
For integers there is nothing to round: [0]=0, [1]=1, [2]=2, [−1]=−1, [−2]=−2.
The graph is a staircase of horizontal segments, one unit long:
y=−2 on [−2,−1),
y=−1 on [−1,0),
y=0 on [0,1),
y=1 on [1,2),
y=2 on [2,3), and so on in both directions.
Each segment has a filled dot at its left end (the value is reached there) and an open circle at its right end (the value jumps up at the next integer). At each integer the graph jumps up by 1.
[x+k]=[x]+k, for all x∈R and k∈Z. For example, [x+1]=[x]+1. But this works only for an integer k: [x+21]=[x]+21 in general (the right side is not even an integer).
Since [x] only takes integer values, an inequality in [x] is really a statement about which steps of the staircase are allowed. Then translate back to x using [x]=n⟺n≤x<n+1.
(a) The lowest allowed step is [x]=−2, which starts at x=−2. So x∈[−2,∞).
(b) The highest allowed step is [x]=−5, which covers −5≤x<−4. So x∈(−∞,−4). A common wrong answer is (−∞,−5]: it misses numbers such as −4.5, for which [−4.5]=−5.