Constant Outputs on Separate Intervals
A step function has a constant value on each interval and may jump when one interval ends and the next begins. Its graph resembles a staircase: horizontal segments represent the constant values, while separate endpoints mark any jump discontinuities.
Definition of a Step Function
A step function can be defined as a piecewise function of the form:
In this definition, are constants and are non-overlapping intervals.
Characteristics of step functions:
- Constant values on each interval
- Jump discontinuities at interval boundary points
- Graph shaped like stairs
- Belongs to the category of piecewise functions
Types of Step Functions
Step functions stay constant on each interval and jump at the boundaries. The floor and ceiling functions differ in which side of the boundary the new value appears, and the Heaviside step records a single jump at zero.
Floor Function
The floor function, denoted by , gives the largest integer less than or equal to .
The graph marks each included left endpoint with a filled point and each excluded right endpoint with an open point.
Floor function value table:
Ceiling Function
The ceiling function, denoted by , gives the smallest integer greater than or equal to .
The graph marks each excluded left endpoint with an open point and each included right endpoint with a filled point.
Heaviside Unit Step Function
The examples below use a common convention for the unit step function or Heaviside function, denoted by or :
Under this convention, the unit step function has value for and for . Other fields sometimes choose or , so the value at the jump must always be stated.
Properties of Step Functions
General properties:
- Domain: (usually)
- Range: Set of discrete values
- Continuity: jump discontinuities at certain points
Special properties of floor and ceiling functions:
Comparison table of floor and ceiling functions:
| Difference | |||
|---|---|---|---|
Transformations of Step Functions
A shift moves every jump by the same amount, while a scaling changes the distances between the jumps.
Shifting or scaling a step function moves its jumps.
Vertical Translation
The function shifts the floor function graph upward (if ) or downward (if ).
Horizontal Translation
The function shifts the graph to the right (if ) or to the left (if ). For example, moves every step of the floor function two units to the right, so the first jump lands at instead of . Replacing with a negative value moves the jumps the other way.
Practice Problems
The problems mix floor and ceiling values with a quantity that changes in whole steps. Evaluate the whole-number part before combining the terms.
-
Determine the value of
-
A bookstore gives discounts based on the number of purchases:
-
books: no discount
-
books: discount
-
books: discount
-
books: discount
If the price per book is , create a function that represents the total price after discount!
-
Graph of function for
-
Solve the equation
-
An elevator can accommodate a maximum of . If there are who want to use the elevator, how many times must the elevator operate?
Answer Key
-
Calculating floor and ceiling function values:
is the largest integer less than or equal to .
is the smallest integer greater than or equal to .
-
Bookstore discount function model:
Let be the positive whole number of books purchased. The total price after discount is:
-
Graph of function :
For each interval:
- At the endpoint,
The following graph shows the function value on each interval and at the endpoints:
Graph ofThe graph shows the transformation of the floor function with a scale factor of and vertical translation of . -
Solving the equation :
So the solution set is .
-
Calculating the number of elevator operations:
If is the number of people and the elevator can accommodate at most , then the number of elevator trips required is:
The ceiling function is used because any nonzero remainder requires one additional trip. It also gives when nobody is waiting.