Step Function Intuition Math Example 1

Follow the full solution, then compare it with the other examples linked below.

Example 1

easy
Evaluate the floor function f(x)=โŒŠxโŒ‹f(x) = \lfloor x \rfloor at x=3.7x = 3.7, x=โˆ’2.1x = -2.1, and x=5x = 5. Then describe the graph on [0,4][0, 4].

Solution

  1. 1
    โŒŠ3.7โŒ‹=3\lfloor 3.7 \rfloor = 3 (greatest integer โ‰ค3.7\leq 3.7).
  2. 2
    โŒŠโˆ’2.1โŒ‹=โˆ’3\lfloor -2.1 \rfloor = -3 (greatest integer โ‰คโˆ’2.1\leq -2.1 is โˆ’3-3, not โˆ’2-2).
  3. 3
    โŒŠ5โŒ‹=5\lfloor 5 \rfloor = 5. Graph on [0,4][0,4]: horizontal steps at heights 0,1,2,30,1,2,3. Each step spans a half-open interval [n,n+1)[n, n+1) with a closed left endpoint and open right endpoint.

Answer

โŒŠ3.7โŒ‹=3\lfloor 3.7\rfloor=3; โŒŠโˆ’2.1โŒ‹=โˆ’3\lfloor -2.1\rfloor=-3; โŒŠ5โŒ‹=5\lfloor 5\rfloor=5
The floor function always rounds down toward โˆ’โˆž-\infty. For negative numbers, this means โŒŠโˆ’2.1โŒ‹=โˆ’3\lfloor -2.1\rfloor=-3, not โˆ’2-2, because โˆ’3โ‰คโˆ’2.1<โˆ’2-3 \leq -2.1 < -2.

About Step Function Intuition

A step function is piecewise constant โ€” it takes a fixed value on each of several intervals, jumping abruptly at the interval boundaries.

Learn more about Step Function Intuition โ†’

More Step Function Intuition Examples