The integral mean value theorem
About this app
Find the average height of a function as an equal-area rectangle. Drag interval boundaries and locate a point where the function equals its average.
The idea
The average value of a function f on [a, b] is m = 1/(b − a) · ∫ₐᵇ f(x) dx, the mean height of the curve. Geometrically, a rectangle of width b − a and height m has exactly the same area as the integral. The mean value theorem for integrals states that if f is continuous on [a, b], there is at least one point ξ in [a, b] with f(ξ) = m. Example: for f(x) = x² on [0, 3] the integral is 9, so m = 3 and ξ = √3.
What the app shows
The area under f between a and b is shaded, with the equal-area rectangle and the mean line on top. Where the curve rises above m the app marks an excess, where it dips below, a shortfall; the two balance out. The point ξ where the curve crosses the mean line is highlighted. The panel lists ∫ₐᵇ f dx, b − a, m and ξ.
Things to try
Choose from five functions: parabola, line, sine, a wave and the square root. Move a and b with the sliders or drag the edges of the shaded area. For the line, ξ sits exactly at the midpoint of the interval; for the wave there can be several points ξ. Watch how m changes when you move the interval into a steep part of the curve.
Frequently asked questions
- How do you find the average value of a function?
- Integrate f over the interval and divide by its length: m = 1/(b − a) · ∫ₐᵇ f(x) dx. It is the continuous counterpart of the arithmetic mean. For f(x) = x² on [0, 3] you get m = 9 / 3 = 3.
- What does the mean value theorem for integrals say?
- If f is continuous on [a, b], there is at least one ξ ∈ [a, b] with ∫ₐᵇ f(x) dx = f(ξ) · (b − a). So the function actually takes on its average value somewhere. Continuity matters: for a step function, such a ξ may not exist.
- How is it related to the mean value theorem for derivatives?
- The mean value theorem for derivatives guarantees a point where the tangent slope equals the secant slope. The integral version guarantees a point where the function value equals the average value. Applying the derivative version to an antiderivative of f gives the integral version.
- What can I change in the app?
- You pick one of five functions and drag the interval ends a and b. The integral, the mean m, the equal-area rectangle and the point ξ update immediately.
Subject: Analysis (one-dimensional)
More from Analysis (one-dimensional)
- Derivative as a sequence of secants
- Bounded growth
- Units of an integral: rate times time
- Exponential growth and decay
- Optimisation: the largest rectangle
- Area between curves
- Area function is an antiderivative
- Sequential continuity
A VisuApp by heyprof: interactive, free in your browser, no sign-up. What is a VisuApp? · All apps