Mean of Function Values
📂AnalysisMean of Function Values
Definition
The average value of a function between [a, b] and f(x) is equivalent to dividing the integral of the function over the interval by the length of the interval.
b−a1∫abf(x)dx
Derivation
Let’s denote a partition of the interval [a, b] as P.
P={x1, x2, ⋯, xn}
In this case, a=x1<x2<⋯<xn=b and the distance between each point is the same. Also, Δx=xi+1−xi. We seek to approximate the average value of f(x) by dividing f(xi)’s sum by n.
nf(x1)+f(x2)+⋯+f(xn)
This implies that as n increases, it will become closer to the average of the function values. Multiplying both numerator and denominator by Δx gives the following.
nΔx(f(x1)+f(x2)+⋯+f(xn))Δx
Since nΔx=b−a, it follows that:
b−a(f(x1)+f(x2)+⋯+f(xn))Δx
Taking the limit where n→∞ and Δx→0, the numerator becomes ∫abf(x)dx.
b−a1∫abf(x)dx
■
Example
The average of one period of a trigonometric function is 0.
Cosine Function
The average over one period of cos(kx) is as follows:
∫0k2πcos(kx)dx=k1[sin(kx)]0k2π=k1(sin2π−sin0)=0
Sine Function
The average over one period of sin(kx) is as follows:
∫0k2πsin(kx)dx=k−1[cos(kx)]0k2π=k−1(cos2π−cos0)=0
See Also