Functions

Step Function

A child points to the horizontal levels of a staircase graph.

Step Function definition

A step function is constant on each of a collection of intervals, with the value allowed to jump between intervals.

In Spanish
función escalonada
Topic
Graphs

Step Function in a picture

Step Function diagramThe graph shows three levels. Each left endpoint is included and each right endpoint is excluded.
The graph shows three levels. Each left endpoint is included and each right endpoint is excluded.

How it works

Its graph is made of horizontal pieces. Use open endpoints for excluded input values and closed endpoints for included ones. At each input there can be only one output. The floor function is an example: it returns the largest integer less than or equal to the input.

Worked examples

Find the floor of 3.8.

3.

Find the floor of −0.4.

−1, the greatest integer at or below −0.4.

A rule charges $2 for 0 < t ≤ 1 hour and $4 for 1 < t ≤ 2. What is the charge at t = 1?

$2, because the first interval includes 1.

Common mistake

Check the interval endpoints carefully. Vertical lines connecting two steps would give several outputs at the jump input.

Quick check

Are the pieces horizontal?

Show answer

Yes.

Can a step function have jumps?

Show answer

Yes.

Does an open endpoint belong to that piece?

Show answer

No.

Sources

Flashcard

Step Function

Reveal the definition

A step function is constant on each of a collection of intervals, with the value allowed to jump between intervals.

Effortless Math. “Step Function.” Math Dictionary.