Academy

[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)
-5-4-3-2-112345-4-3-2-11234xy[x]Psanjibsikder.com
Drag to move · pinch or scroll to zoom · tap to read a point
x1.7
[x]1
t (move P) = 1.7

Step by step

  1. [x] is the greatest whole number that is not more than x. [2.7] = 2, [5] = 5.
  2. Move P from 1 towards 2. [x] stays 1 the whole time.
  3. At x = 2 it jumps to 2. Each step starts with a filled point and ends just before the next whole number.
  4. For negative numbers it goes DOWN: [−1.3] = −2, because −2 is the greatest whole number not more than −1.3.
  5. 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 →