The Greatest Integer (Floor) Function
You'll learn how the floor function rounds any real number down to the nearest integer, creating a distinctive step-shaped graph.
What Is the Floor Function?
The greatest integer function (also called the floor function) takes any real number and returns the largest integer that is less than or equal to that number. We write this as ⌊x⌋ or sometimes as [x] or floor(x).
Think of it like going down a staircase—no matter where you are on a step, the floor function tells you which step number you're on or have passed.
How It Works
⌊3.7⌋ = 3(rounds down from 3.7 to 3)⌊5.1⌋ = 5(rounds down from 5.1 to 5)⌊-2.3⌋ = -3(rounds down to the next lower integer, which is -3, not -2!)⌊4⌋ = 4(already an integer, stays the same)
Important: For negative numbers, "rounding down" means moving to the more negative integer. So ⌊-2.3⌋ = -3, not -2.
The Step Graph
When you graph y = ⌊x⌋, you get a staircase pattern:
- From x = 0 to just before x = 1, y = 0
- From x = 1 to just before x = 2, y = 1
- From x = 2 to just before x = 3, y = 2
- And so on...
Each "step" is a horizontal line segment. At each integer, there's a jump (discontinuity) where the function suddenly increases by 1. The left endpoint of each step is a solid dot, and the right endpoint is an open circle.
Key Takeaway: The greatest integer (floor) function ⌊x⌋ always rounds down to the nearest integer, creating a step graph with jumps at every integer value.