Draw the graph of the greatest integer function:
f:R→R:f(x)=[x] for all xϵR
Using the definition of [x], we have
[x]=−2, for −2≤x<−1
[x]=−1, for −1≤x<0
[x]=0, for 0≤x<1
[x]=1, for 1≤x<2
[x]=2, for 2≤x<3
[x]=3, for 3≤x<4.
Taking the scale: 10 small divisions = 1 unit, the graph of the function f(x)=[x] may be drawn as shown below.