Step Function: Domain, Range, Equation & Examples

Arpita Srivastava logo

Arpita Srivastava

Content Writer

A step function is a piecewise constant function with a limited number of pieces in mathematics. It is a linear combination of functions for given intervals. A function on the real numbers, in other words, can be defined as a finite linear combination of indicator functions of given intervals. 

  • Step Function is also known as the greatest integer function or the floor function. 
  • A discontinuous function is a type of step function. 
  • It is used for coordinating session based applications.
  • Step Function consists of a series of horizontal line segments arranged in the sequence.
  • The value of the constant is different for each value of the function.

Read More: Correlation Coefficient Formula

Key Terms: Step Functions, Functions, Greatest Integer Function, Floor Function, Real Numbers, Domain, Range, Graph


Step Function

[Click Here for Sample Questions]

A step function can be thought of as a finite linear combination of indicator functions for specific intervals. The Greatest Integer Function or Floor Function is another name for a step function. It is a discontinuous function.

  • Step functions may be encountered while learning other sorts of functions.
  • It includes the sign function "sign(x)," the Heaviside Function, and the Rectangular Function.
  • It can, for example, be used to coordinate all of the steps in an e-commerce site's checkout process.
  • The following is an example of a step function f: R R:

\(f (x) = \sum_{i = 0}^n a_iX_{Ai} (X)\)

  • The real numbers are defined by x in the above equation.
  • A is defined for the interval with the constraint n >= 0 and is a real number.
  • If this requirement is met, then XA will provide the indicator function A.
  • XA Is given by
Step Function
Step Function
  • If x belongs to A, the value of the function is 1.
  • In case x does not belong to A, the value is 0.
  • When x is a real number and y = f(x) = xx, a function provided by f: RR is referred to as the greatest integer function.

Read More: Increasing and Decreasing Functions in Calculus


What is Unit Step Function?

[Click Here for Sample Questions]

A Heaviside function is also known as a unit step function. After the provided time interval specified by t, the value of the given function continues to change. The unit step function is commonly indicated by u (t), which is further denoted by the unit step signal below:

  • The function of time is defined as u in the formula above. 
  • The value of u(t) is 0 when time turns negative. 
  • If time is positive, however, the value is 1.
  • In the case of the above equation, the graph will be as follows:
  • The equation mentioned above is satisfied by the graph of the unit step function. 

u = f (t) (t)

Read More: Linear Regression Formula


Derivation of Step Function 

[Click Here for Sample Questions]

Step Function works for all levels of function except for the situation of t =0. As a result, the derivative of the step function is zero for all t values. When t = 0, however, it becomes limitless.

  • The impulse function is the derivative of the unit step function.
  • Impulse functions are used by engineers to create models for certain events.
  • In most circumstances, however, the value of the impulse function is zero.

Read More: Types of Functions


Domain and Range

[Click Here for Sample Questions]

Domain of any function refers to the range of input values that can be used for an independent variable in the function. On the other hand, the range of a function is the set of output values generated for the function's domain (input values). In the case of a step function, f(x) takes the value of the biggest integer less than or equal to x for each value of x. Consider the following scenario:

  • -3 x [-2.19] = -2.19
  • 3 = [3.67]
  • -1 = [-0.83]

This function's domain is a set of real integers separated into intervals like [-5, 3], [-4, 2), [-3, 1), [-2, 0), and so on. This shows how a step function's domain and range are related. This can be summarised as follows:

  • -2 x -1 [x] = -2, -2 x -1
  • -1 x 0 [x] = -1, -1 x 0
  • [x] = 0 x 1 x 1 x 1 x 1 x 1 x 1 x 1 x 1 x 1 x
  • 1 x 2 = 1 x 2 = 1 x 2 = 1 x 2 = 1 x 2 = 1 x 2 = 1 x
Domain and Range
Domain and Range

Read More: Domain, Co Domain, Range


Step Function Graph

[Click Here for Sample Questions]

Drawing a graph for a step function is comparable to drawing a graph for any piecewise function. Each portion of this function must be graphed separately. The steps for graphing a step function are as follows:

  • To begin, draw a horizontal line segment at each constant output value.
  • Each of these value corresponds to the input values.
  • The second step is to create a closed circle point on each horizontal line at the included endpoint.
  • This indicates that if the end value is included in that interval, it should be represented by a filled circle.
  • Finally, at each horizontal line's endpoint, draw an open circle point (a circle that hasn't been filled in).
  • To put it another way, if the final value is not included in that interval, it should be represented as an open circle.
Step Function Graph
Step Function Graph

Read More: Derivatives 


Solved Example of Step Functions

Example 1. Find the value of x such that ⌊x+8⌋ = 20. 

Ans: From the definition of the greatest integer function, we have 20 ≤ x+8 < 21.

Subtract 1 in this inequality.

We get, 19 ≤ x < 20

x can take the values greater than or equal to 19 and less than 20.

Example 2. Evaluate the following: (A) [12.1] (B) [14.99] (C) [-3.5].

Ans: The greatest integer function value for the above cases are as given below,

(A) [12.1] = 12

(B) [14.99] = 14

(C) [-3.5] = -4

Read More: Maxima and Minima


Things to Remember

  • A step function is the sum or product of two-step functions. 
  • When a step function is multiplied by a number, the outcome is a step function again.
  • As a result, the step functions produce algebra over real numbers.
  • Only a limited number of values can be taken by a step function. 
  • The definite integral of a step function is a piecewise linear function.

Read More: Mean Absolute Deviation


Sample Questions

Ques. Does a step function have to be continuous? (3 Marks)

Ans. A step function is similar to a staircase function in that it is made up of constant components. Following the set interval, these compositions are subjected to considerable scrutiny.

  • However, beyond the specified time interval, the value of the function may change.
  • As a result, a step function is discontinuous if its value changes after a specific time interval.
  • If the time is discrete, then the unit step is supplied by a perfect sequence in the case of a unit step function.
  • However, if the time period is continuous rather than discrete, the unit step is complicated by discontinuity.

Ques. What is the purpose of using a step function? (3 Marks)

Ans. If you want to start working on session-based apps, the step function is the way to go. The step function is useful for checking the coordination of different steps and the seamless operation of an eCommerce website.

  • After a particular time-interval, t, the value of a step function keeps changing abruptly.
  • Changing voltage and turning on or off after a period of time is an example of how a step function is used.
  • As a result, we have a complete explanation of switching that includes its mathematical equation.
  • A step function is most commonly used in engineering applications.

Ques. What are the most significant points to keep in mind when creating the graph? (3 Marks)

Ans. Making a graph is one of the most difficult components of the topic step function. Drawing a horizontal line segment to the constant output value over the constant of an input value that it corresponds to is the first step in producing the graph.

  • For each included endpoint, create a circle point.
  • Finally, along each horizontal line that isn't included, create an open circle.
  • Making an error-free graph will be much easier for pupils if they follow the above-mentioned recommendations.

Ques. What is the definition of a step function? (2 Marks)

Ans. A step function can be defined as a fixed function with a finite number of parts. It is a finite linear combination of indicator functions of set intervals in mathematics. Step Function is also known as the Floor Function or the Greatest Integer Function.

  • Step functions can also be encountered while working with other types of functions.
  • To coordinate session-based apps, the Step Function is employed.
  • For example, be used to coordinate all of the steps in an e-commerce site's checkout process.

Ques. What is the definition of a step signal? (2 Marks)

Ans. A step signal, usually referred to as a step function, is a constant function with a finite number of parts. A step function is a finite linear combination of indicator functions of set intervals in mathematics.

Ques. Find the value of x such that ⌊x+7⌋ = 9. (2 marks)

Ans: From the definition of the greatest integer function, we have 9 ≤ x+7 < 10.

Subtract 1 in this inequality.

We get, 2 ≤ x < 3

x can take the values greater than or equal to 2 and less than 3.

Ques. What are the Step Function's Characteristics? (3 Marks)

Ans. Below is some key properties of Step Functions are as follows:

  • A step function is also produced by the product or sum of two-step functions. 
  • There is a limit to how many values it can accept. 
  • The definite integral of a step function is the piecewise linear function. 
  • When a number is multiplied by a step function, the result is a step function as well.
  • This is a sign that step functions produce.

Ques. Demonstrate that f(x) = axe + b, where a and b are constants and a > 0 is an increasing R function. (3 Marks)

Ans. Given,

F (x) = axe + b, where an is greater than zero

Let x1, x2 be R and x1 be greater than x2.

For any a > 0, ax1 > ax2

For some b, ax1 + b> ax2 + b

F (x1) > f (x2)

As a result, x1 > x2 f(x1) > f (x2)

As a result, f(x) is a rising R function.

Ques. Find the value of x such that ⌊x+1⌋ = 2. (2 marks)

Ans: From the definition of the greatest integer function, we have 2 ≤ x+1 < 3.

Subtract 1 in this inequality.

We get, 1 ≤ x < 2

x can take the values greater than or equal to 1 and less than 2.

Ques. Evaluate the following: (A) [13.1] (B) [14.99] (C) [-2.5]. (3 Marks)

Ans: The greatest integer function value for the above cases are as given below,

(A) [13.1] = 13

(B) [14.99] = 14

(C) [-2.5] = -3

Ques. What is the domain of the given greatest integer function: f(x)=1/⌊x -1⌋. (2 marks)

Ans: The denominator should not be 0, that is, ⌊x⌋≠0.

The greatest integer part of a number is 0 if that number lies in the interval [0).

Thus, to obtain the domain, this interval must be excluded from the set of real numbers.

This means that the domain of f is R−[0).

Ques. Find the value of x such that ⌊x⌋ = 2. (2 marks)

Ans: From the definition of the greatest integer function, we have 2 ≤ x < 3.

Subtract 1 in this inequality.

We get, 2 ≤ x < 3

x can take the values greater than or equal to 2 and less than 3.

Ques. Evaluate the following: (A) [6.3] (B) [14.99] (C) [-2.5]. (3 Marks)

Ans: The greatest integer function value for the above cases are as given below,

(A) [6.3] = 6

(B) [4.99] = 4

(C) [-3.8] = -4


Check-Out: 

CBSE CLASS XII Related Questions

  • 1.

    The value of \(\displaystyle\int_{1}^{e} \log x\,dx\) is :

      • \(0\)
      • \(1\)
      • \(e\)
      • \(e \log e\)

    • 2.
      One of the values of \( x \) for which \( \begin{vmatrix} \cos x & \sin x \\ -\cos x & \sin x \end{vmatrix} = 1 \) is

        • \( 0 \)
        • \( \frac{\pi}{4} \)
        • \( \frac{\pi}{3} \)
        • \( \frac{\pi}{2} \)

      • 3.

        An urn contains 3 red and 2 white marbles. Two marbles are drawn one by one with replacement from the urn. Find the probability distribution of the number of white balls. Also, find the mean of the number of white balls drawn.


          • 4.

            Simplify : \(\cos^{-1}x + \cos^{-1}\left[\dfrac{x}{2} + \dfrac{\sqrt{3 - 3x^{2}}}{2}\right]\); \(\dfrac{1}{2} \leq x \leq 1\)


              • 5.

                Solve the following L.P.P. graphically :

                Minimise \(Z = 6x + 3y\)

                Subject to constraints

                \(4x + y \ge 80\);

                \(x + 5y \ge 115\);

                \(3x + 2y \le 150\)

                \(x, y \ge 0\)


                  • 6.

                    The values of \( x \) for which the rate of increase of \( f(x) = x^{3} - 5x^{2} + 6x - 7 \) is thrice the rate of increase of \( x \), are :

                      • \( -3, -\dfrac{1}{3} \)
                      • \( 3, -\dfrac{1}{3} \)
                      • \( 3, \dfrac{1}{3} \)
                      • \( -3, \dfrac{1}{3} \)
                    CBSE CLASS XII Previous Year Papers

                    Comments


                    No Comments To Show