Step function

This is an old revision of this page, as edited by Rbj (talk | contribs) at 03:27, 18 June 2006 (rv myself (sgn(x) can't fit this definition) and clarify which H(x) does fit this definition as a special case.). 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

A version of the unit step function or Heaviside step function, H1(x), is the special case n=1, α0=0, α1=1, and x1=0.

See also