Graphing Piecewise and Step Functions
Concept

Greatest Integer Function

The greatest integer function, also known as the floor function, assigns the largest integer that is less than or equal to the value of This function is usually written as or Consider the following examples.
It can be noted that if is an integer, the function returns the same value.
Otherwise, it returns the closest integer at the left of in a number line.
Greatest Integer Function Examples

Considering more values can help understand how to draw the graph of the function.

From the table above, it can be seen that the function only changes its value when a new integer is reached. It can be noted that the greatest integer function is a step function. Its graph is presented as follows.

The domain of the function is the set of all real numbers, but its range is the set of integers. A filled point indicates that the point is part of the graph, while an open point indicates that it is not.

Exercises