Step function - Wikipedia
- ️Sat Sep 12 2015
From Wikipedia, the free encyclopedia
This article is about a piecewise constant function. For the unit step function, see Heaviside step function.
In mathematics, a function on the real numbers is called a step function if it can be written as a finite linear combination of indicator functions of intervals. Informally speaking, a step function is a piecewise constant function having only finitely many pieces.
![](https://upload.wikimedia.org/wikipedia/commons/thumb/a/ad/StepFunctionExample.png/250px-StepFunctionExample.png)
Definition and first consequences
[edit]
A function is called a step function if it can be written as [citation needed]
, for all real numbers
where ,
are real numbers,
are intervals, and
is the indicator function of
:
In this definition, the intervals can be assumed to have the following two properties:
- The intervals are pairwise disjoint:
for
- The union of the intervals is the entire real line:
Indeed, if that is not the case to start with, a different set of intervals can be picked for which these assumptions hold. For example, the step function
can be written as
Variations in the definition
[edit]
Sometimes, the intervals are required to be right-open[1] or allowed to be singleton.[2] The condition that the collection of intervals must be finite is often dropped, especially in school mathematics,[3][4][5] though it must still be locally finite, resulting in the definition of piecewise constant functions.
![](https://upload.wikimedia.org/wikipedia/commons/thumb/d/d9/Dirac_distribution_CDF.svg/325px-Dirac_distribution_CDF.svg.png)
![](https://upload.wikimedia.org/wikipedia/commons/thumb/1/11/Rectangular_function.svg/220px-Rectangular_function.svg.png)
- The rectangular function, the normalized boxcar function, is used to model a unit pulse.
- The integer part function is not a step function according to the definition of this article, since it has an infinite number of intervals. However, some authors[6] also define step functions with an infinite number of intervals.[6]
- Crenel function
- Piecewise
- Sigmoid function
- Simple function
- Step detection
- Heaviside step function
- Piecewise-constant valuation
- ^ "Step Function".
- ^ "Step Functions - Mathonline".
- ^ "Mathwords: Step Function".
- ^ "Archived copy". Archived from the original on 2015-09-12. Retrieved 2024-12-16.
{{cite web}}
: CS1 maint: archived copy as title (link) - ^ "Step Function".
- ^ a b Bachman, Narici, Beckenstein (5 April 2002). "Example 7.2.2". Fourier and Wavelet Analysis. Springer, New York, 2000. ISBN 0-387-98899-8.
{{cite book}}
: CS1 maint: multiple names: authors list (link) - ^ Weir, Alan J (10 May 1973). "3". Lebesgue integration and measure. Cambridge University Press, 1973. ISBN 0-521-09751-7.
- ^ Bertsekas, Dimitri P. (2002). Introduction to Probability. Tsitsiklis, John N., Τσιτσικλής, Γιάννης Ν. Belmont, Mass.: Athena Scientific. ISBN 188652940X. OCLC 51441829.