Become a math whiz with AI Tutoring, Practice Questions & more.

HotmathMath Homework. Do It Faster, Learn It Better.

Step Function

A step function (also known as a staircase function) is a piecewise-defined function that is defined by two or more equations. Each piece of a step function is a point or horizontal line segment. Together, they create the appearance of steps on a graph.

Basic form of the step function

The equation for the basic form of a step function is f ( x ) = x . In many cases, the brackets around the x represent the greatest integer function or floor function. The greatest integer function is a function that results in the integer part of the given real number. For every value of x, f ( x ) takes the value of the greatest integer that is less than or equal to x.

To find the value of the greatest integer, you'll want to round down to the nearest integer. For example, for [ 3.2 ] , look for the greatest integer that is less than 3.2. In this case, the greatest integer that is less than 3.2 is 3.

Here are a few more examples:

5.7 = 5

1.9 = 1

2.4 = 2

What if you want to find the greatest integer of a negative number? Remember, numbers on the negative side of the number line get smaller as you move left. So, the value of the greatest integer will look like this:

-6.1 = -7

-1.3 = -2

-7.8 = -8

-3.4 = -4

It's also good to note that if you encounter integers, the greatest integer will be the number itself:

2 = 2

1 = 1

0 = 0

-1 = -1

Domain and range of the step function

With step functions, it's common to see that for each input value of x, the output value of f ( x ) or y takes the value of the greatest integer, less or equal to the value of x. A good way to see the input and output values of step functions is to create an input-output table.

For y = x

x 0 0.25 0.50 0.75 1 1.25 1.50 1.75 2 2.25 2.5 2.75
y = [ x ] 0 0 0 0 1 1 1 1 2 2 2 2

The value of x can be any real number. It's for this reason that the domain of the step function is commonly . On the other hand, the range (all of the y-values or outputs) of the step function is integers, represented by .

Graphs of step functions

Now that we've looked at some basics of the step function, let's explore graphed step functions.

Example 1

In the following example, y is already defined, and we're identifying x values. The function is defined for all the integers as:

y = 2 for x < 1

y = 3 for x 1

The first equation shows that all y-values equal -2 while all x-values are integers less than 1 (0, -1, -2, etc.). The second equation shows that all y-values equal 3 while all x-values are integers equal to and greater than 1 (1, 2, 3, etc.).

Here's the resulting graph:

This function represents an infinite number of discrete points.

Example 2

Here is a graph of the function y = n for n < x n + 1 where x , n (x is a member of the set of real numbers, and n is a member of the set of integers):

Since the value of y is -n, you have an infinite number of y-values (integers) each accompanied by a set of x-values (real numbers). This produces an infinite number of horizontal line segments.

Also, note that each line segment includes the right endpoint but not the left endpoint. In this case, the right endpoint (closed dot) represents a point on the graph and the lack of a left endpoint (open dot) means there is no point at that number on the line segment. In other words, (2, -2), (1.9, -2), (1.8, -2), (1.7,-2), etc. are points on the graph, but (1, -2) are not. Instead, the x-value 1 jumps up to the next line segment.

Practice questions on the step function

a. What does the symbol represent?

Real numbers

b. What is the greatest integer of [ 6.3 ] ?

6

c. What does the symbol ℤ represent?

Integers

d. What is the greatest integer of [ 3.1 ] ?

-4

e. What does x mean?

x is a member or exists in the set of real numbers

Topics related to the Step Function

Piecewise-Defined Function

One to One Functions

Input-Output Tables

Flashcards covering the Step Function

Algebra 1 Flashcards

College Algebra Flashcards

Practice tests covering the Step Function

Algebra 1 Diagnostic Tests

College Algebra Diagnostic Tests

Get help learning about the step function

Step functions can be quite difficult to grasp for first-time learners. It's not always easy to comprehend the greatest integer function or graphs of step functions. If your student is having a difficult time with step functions or would like to go over them as they prepare for a test or work on a homework assignment, studying alongside a skilled tutor can help. Tutors can address your student's questions and give step-by-step guidance to provide greater clarity.

Tutoring isn't just for struggling students, either. Learners who are eager to move forward with more advanced math concepts can also benefit from tutoring! Learn more about the benefits of tutoring and get signed up by reaching out to the Educational Directors at Varsity Tutors.

Subjects Near Me
Popular Cities
Popular Subjects
;
Download our free learning tools apps and test prep books
varsity tutors app storevarsity tutors google play storevarsity tutors amazon storevarsity tutors ibooks store