Step function

This is an old revision of this page, as edited by Rbj (talk | contribs) at 03:18, 18 June 2006 (Special step functions: fixed mistake and put parameters in more logical order.). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

In mathematics, a function on the real numbers is called step function if it can be written as a finite linear combination of indicator functions of half-open intervals. Informally speaking, a step function is a piecewise constant function having only finitely many pieces.

Example of a step function with n=4.

Let the following quantities be given:

  • a sequence of coefficients
  • a sequence of interval margins
  • a sequence of intervals
    (for )

Definition: Given the notations above, a function is a step function if and only if it can be written as

for all .

where is the indicator function of :

Note: for all and it holds:

Special step functions

The unit step function or Heaviside step function is the special case n=1, α0=0, x1=0, and α1=1.

The signum function or sign function is the special case n=2, α0=-1, x1=0, α1=0, x2=0, and α2=1.


See also