Property
A function whose graph is composed of a series of horizontal line segments, creating a stair-step pattern. For any time within an interval the value is constant, but it jumps to a new value at the start of the next interval.
Examples
- A parking garage charges 2 dollars for the first hour and jumps to 4 dollars for any time over 1 hour up to 2 hours.
- A library charges a late fee of 1 dollar per week. A book 1 to 7 days late costs 1 dollar; 8 to 14 days late costs 2 dollars.
- A phone plan costs 25 dollars for up to 5 GB of data, then jumps to 35 dollars the moment you exceed 5 GB.
Explanation
Imagine you're playing a video game where you level up! You stay at Level 1 for a while, and then BAM, you instantly jump to Level 2. A step function works just like that. The output value stays flat for a range of inputs, then suddenly leaps to a new level, making a graph that looks exactly like a staircase.