Understanding Step Functions
A step function is a type of mathematical function that has constant values on certain intervals and experiences sudden jumps at specific points. The graph of this function resembles stairs, with horizontal lines connecting points of discontinuity.
Mathematical Definition
A step function can be defined as a piecewise function of the form:
where 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
Floor Function
The floor function, denoted by , gives the largest integer less than or equal to .
To make it easier to understand, let's look at the following example:
Floor function value table:
x | -2.5 | -1.7 | -1 | -0.3 | 0 | 0.8 | 1 | 1.9 | 2.4 |
---|---|---|---|---|---|---|---|---|---|
-3 | -2 | -1 | -1 | 0 | 0 | 1 | 1 | 2 |
Ceiling Function
The ceiling function, denoted by , gives the smallest integer greater than or equal to .
Let's look at the following example:
Unit Step Function (Heaviside)
The unit step function or Heaviside function, denoted by or , is defined as:
Unlike the floor and ceiling functions, the unit step function has a value of 0 for and 1 for .
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:
x | Difference | ||
---|---|---|---|
-2.3 | -3 | -2 | 1 |
-1 | -1 | -1 | 0 |
0.7 | 0 | 1 | 1 |
2 | 2 | 2 | 0 |
3.8 | 3 | 4 | 1 |
Transformations of Step Functions
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 ).
Practice Problems
-
Determine the value of
-
A bookstore gives discounts based on the number of purchases:
- 1-5 books: no discount
- 6-10 books: 10% discount
- 11-20 books: 15% discount
-
20 books: 20% discount
If the price per book is Rp 50,000, create a function that represents the total price after discount!
-
Graph of function for
-
Solve the equation
-
An elevator can accommodate a maximum of 8 people. If there are people who want to use the elevator, how many times must the elevator operate?
Answer Key
-
Calculating floor and ceiling function values:
-
Bookstore discount function model:
Let be the number of books purchased, then the total price after discount is:
-
Graph of function :
For each interval:
If we create the graph, it would look approximately like the following:
Graph ofThe graph shows the transformation of the floor function with a scale factor of 2 and vertical translation of -1. -
Solving the equation :
So the solution set is .
-
Calculating the number of elevator operations:
If there are people and the elevator can accommodate a maximum of 8 people, then the number of elevator operations required is:
The ceiling function is used because if there are remaining people (less than 8), one additional elevator operation is still required.