The unit step function (also the Heaviside function) is a piecewise function that is off () until a certain time and on () after that time.

The motivation is that in electrical engineering we frequently encounter phenomena that are either off or on, particularly until a certain time. Multiplying a signal by the step creates a signal that is right-sided. We can also construct square waves with the unit step:

Important applications of the step function include the second translation theorem and the step response of a system.

Curiously:

where is the impulse function.

Deep learning

The binary unit step function, as well as the sign function are primitive types of activation functions. They have the ability to divide the input space into two sides of a hyperplane. However! Both aren’t differentiable, smooth, or continuous.

These flaws motivate the use of sigmoid activation functions.