A5 · Lesson 28 · The mean value theorem
Somewhere, the speedometer read your average
You drive 120 km in 1.5 hours, an average of 80 km/h. Was there a moment when the speedometer read exactly 80? Yes, always, however you drove, as long as your speed changed smoothly. That's the mean value theorem, and it's more useful than it sounds: it's how you prove that a function with zero derivative is constant, how you bound the error of an approximation, and why an instrument with a known maximum slew rate can't change faster than that on average.
- The curve is on . The dashed line joins the endpoints; its slope is the average rate of change.
- Find the point where the tangent (solid line) is parallel to the dashed one. The readouts compare the two slopes.
Predict
A sensor's output rose from 1.0 V to 3.4 V over 2 ms, smoothly. What must have been true at some instant?
At some instant the rate was exactly V/ms: the mean value theorem. (It also passed through 2.2 V, by the intermediate value theorem from lesson 6, but that's a statement about the value, not the rate.)
Name it
The theorem
If is continuous on and differentiable on , there's at least one in with
Geometrically: somewhere the tangent is parallel to the line joining the endpoints. Rolle's theorem is the special case : somewhere .
Consequences
Zero derivative means constant. If on an interval, then for any two points . So is constant. Two functions with the same derivative differ by a constant, which is why every antiderivative (lesson 36) comes with a .
Bounds on change. If on an interval, then . An op amp with a slew rate of 0.5 V/µs can't change its output by more than 0.5 V in any microsecond, and an ADC sampling a signal whose slope is bounded knows how far it can move between samples.
Increasing functions. If on an interval, is increasing there, since every difference has the sign of some .
The theorem promises a exists but doesn't say where. Finding it means solving (average slope).
Worked example
Find the promised by the mean value theorem for on .
Show the solution
- Average slope.
- Solve . inside as promised.
- For any parabola. is exactly the midpoint of the interval.
Answer .
Worked example
An op amp's output can slew at most 0.5 V/µs. What's the largest-amplitude 100 kHz sine it can produce without distortion?
Show the solution
- Maximum slope of a sine. A sine has maximum slope .
- Hold it to the slew rate. so
- What happens above it. Above 0.8 V amplitude, the output can't keep up and the sine turns into a triangle. This is the "full-power bandwidth" on op amp datasheets.
Answer the largest undistorted 100 kHz sine has an amplitude of 0.80 V.
Worked example
A 10 µF capacitor's voltage rises from 1 V to 4 V in 3 ms. What does the mean value theorem say about its current?
Show the solution
- Average rate. The voltage changed by 3 V in 3 ms:
- Apply the theorem. If is smooth, at some instant in between was exactly 1000 V/s.
- Current at that instant.
- What it doesn't promise. The current may have been bigger or smaller at other times, but it must have passed through 10 mA at least once.
Answer at some instant the current was exactly 10 mA.
Check
For on , find the guaranteed by the mean value theorem.
Check
For on , find the guaranteed by the mean value theorem.
Check
An op amp slews at most 13 V/µs. What is the largest sine amplitude it can produce at 100 kHz without slew-rate distortion?
Write units the way you normally would: 1.5 V, 1500 mV and 0.0015 kV are the same answer.
Check
A signal goes smoothly from 1 V to 4 V in 5 ms. What rate of change must it have had at some instant?
Write units the way you normally would: 1.5 V/ms, 1500 mV/ms and 0.0015 kV/ms are the same answer.
Check
for every . Which must be true?
Check
Apply the mean value theorem on .
(a)
For , what is the average slope over the interval?
(b)
Where does equal that average?
(c)
For instead, where is ?
Check
Find the point the mean value theorem promises for on .
Step 1
What is the average slope, , simplified?
Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.
Step 2
Solve = that slope for .
Explain why
How does the mean value theorem show that a function with zero derivative everywhere on an interval is constant?
Pick any two points and in the interval. The mean value theorem says for some between them. Since is zero everywhere, , so . That holds for every pair of points, so takes the same value everywhere: it's constant.
Practice
Keep practicing
8 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.