[x], the greatest integer function
Your age in whole years. On the day before your 15th birthday you are still 14. The number jumps only on the birthday.
[x] y = floor(x)
Drag to move · pinch or scroll to zoom · tap to read a point
x1.7
[x]1
Step by step
- [x] is the greatest whole number that is not more than x. [2.7] = 2, [5] = 5.
- Move P from 1 towards 2. [x] stays 1 the whole time.
- At x = 2 it jumps to 2. Each step starts with a filled point and ends just before the next whole number.
- For negative numbers it goes DOWN: [−1.3] = −2, because −2 is the greatest whole number not more than −1.3.
- The graph is a staircase of flat steps, each 1 long.
Try this
- Read [3.9], [−0.1] and [−4].
- For which x is [x] = 2?
- Is [x + 1] the same as [x] + 1? Test a few values.
Practise this
Problems on Functions with checks, marks and help from Sir are on the exam site (sign in). Practise Functions on the exam site →