A function f : R → R {\displaystyle f\colon \mathbb {R} \rightarrow \mathbb {R} } is called a step function if it can be written as
where n ≥ 0 {\displaystyle n\geq 0} , α i {\displaystyle \alpha _{i}} are real numbers, A i {\displaystyle A_{i}} are intervals, and χ A {\displaystyle \chi _{A}} is the indicator function of A {\displaystyle A} :
In this definition, the intervals A i {\displaystyle A_{i}} can be assumed to have the following two properties:
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
Sometimes, the intervals are required to be right-open1 or allowed to be singleton.2 The condition that the collection of intervals must be finite is often dropped, especially in school mathematics,345 though it must still be locally finite, resulting in the definition of piecewise constant functions.
"Step Function". http://mathworld.wolfram.com/StepFunction.html ↩
"Step Functions - Mathonline". http://mathonline.wikidot.com/step-functions ↩
"Mathwords: Step Function". https://www.mathwords.com/s/step_function.htm ↩
"Archived copy". Archived from the original on 2015-09-12. Retrieved 2024-12-16.{{cite web}}: CS1 maint: archived copy as title (link) https://web.archive.org/web/20150912010951/http://study.com:80/academy/lesson/step-function-definition-equation-examples.html ↩
"Step Function". https://www.varsitytutors.com/hotmath/hotmath_help/topics/step-function ↩
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) 0-387-98899-8 ↩
Weir, Alan J (10 May 1973). "3". Lebesgue integration and measure. Cambridge University Press, 1973. ISBN 0-521-09751-7. 0-521-09751-7 ↩
Bertsekas, Dimitri P. (2002). Introduction to Probability. Tsitsiklis, John N., Τσιτσικλής, Γιάννης Ν. Belmont, Mass.: Athena Scientific. ISBN 188652940X. OCLC 51441829. 188652940X ↩