Mean of a function

From HandWiki
Revision as of 23:02, 6 March 2023 by TextAI2 (talk | contribs) (linkage)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Short description: Formula for the average value of a function over its domain

Template:More cn In calculus, and especially multivariable calculus, the mean of a function is loosely defined as the average value of the function over its domain. In one variable, the mean of a function f(x) over the interval (a,b) is defined by:[1]

[math]\displaystyle{ \bar{f}=\frac{1}{b-a}\int_a^bf(x)\,dx. }[/math]

Recall that a defining property of the average value [math]\displaystyle{ \bar{y} }[/math] of finitely many numbers [math]\displaystyle{ y_1, y_2, \dots, y_n }[/math] is that [math]\displaystyle{ n\bar{y} = y_1 + y_2 + \cdots + y_n }[/math]. In other words, [math]\displaystyle{ \bar{y} }[/math] is the constant value which when added to itself [math]\displaystyle{ n }[/math] times equals the result of adding the [math]\displaystyle{ n }[/math] terms [math]\displaystyle{ y_1, \dots, y_n }[/math]. By analogy, a defining property of the average value [math]\displaystyle{ \bar{f} }[/math] of a function over the interval [math]\displaystyle{ [a,b] }[/math] is that

[math]\displaystyle{ \int_a^b\bar{f}\,dx = \int_a^bf(x)\,dx }[/math]

In other words, [math]\displaystyle{ \bar{f} }[/math] is the constant value which when integrated over [math]\displaystyle{ [a,b] }[/math] equals the result of integrating [math]\displaystyle{ f(x) }[/math] over [math]\displaystyle{ [a,b] }[/math]. But the integral of a constant [math]\displaystyle{ \bar{f} }[/math] is just

[math]\displaystyle{ \int_a^b\bar{f}\,dx = \bar{f}x\bigr|_a^b = \bar{f}b - \bar{f}a = (b - a)\bar{f} }[/math]

See also the first mean value theorem for integration, which guarantees that if [math]\displaystyle{ f }[/math] is continuous then there exists a point [math]\displaystyle{ c \in (a, b) }[/math] such that

[math]\displaystyle{ \int_a^bf(x)\,dx = f(c)(b - a) }[/math]

The point [math]\displaystyle{ f(c) }[/math] is called the mean value of [math]\displaystyle{ f(x) }[/math] on [math]\displaystyle{ [a,b] }[/math]. So we write [math]\displaystyle{ \bar{f} = f(c) }[/math] and rearrange the preceding equation to get the above definition.

In several variables, the mean over a relatively compact domain U in a Euclidean space is defined by

[math]\displaystyle{ \bar{f}=\frac{1}{\hbox{Vol}(U)}\int_U f. }[/math]

This generalizes the arithmetic mean. On the other hand, it is also possible to generalize the geometric mean to functions by defining the geometric mean of f to be

[math]\displaystyle{ \exp\left(\frac{1}{\hbox{Vol}(U)}\int_U \log f\right). }[/math]

More generally, in measure theory and probability theory, either sort of mean plays an important role. In this context, Jensen's inequality places sharp estimates on the relationship between these two different notions of the mean of a function.

There is also a harmonic average of functions and a quadratic average (or root mean square) of functions.

See also

References

  1. Dougherty, Bradley (2016). "ON THE AVERAGE OF A FUNCTION AND THE MEAN VALUE THEOREM FOR INTEGRALS". Pi Mu Epsilon Journal 14 (4): 251–254. ISSN 0031-952X. https://www.jstor.org/stable/48568127. Retrieved 11 January 2023.