A528 of 56
0 XP
  1. Hook
  2. Play
  3. Predict
  4. Name it
  5. Check
  6. Explain

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 f(x)=x3−3x+2 on [a,b]. The dashed line joins the endpoints; its slope is the average rate of change.
  • Find the point c 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?

Name it

The theorem

If f is continuous on [a,b] and differentiable on (a,b), there's at least one c in (a,b) with

f′(c)=f(b)−f(a)b−a

Geometrically: somewhere the tangent is parallel to the line joining the endpoints. Rolle's theorem is the special case f(a)=f(b): somewhere f′(c)=0.

Consequences

Zero derivative means constant. If f′=0 on an interval, then for any two points f(b)−f(a)=f′(c)(b−a)=0. So f is constant. Two functions with the same derivative differ by a constant, which is why every antiderivative (lesson 36) comes with a +C.

Bounds on change. If |f′|≤M on an interval, then |f(b)−f(a)|≤M|b−a|. 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 f′>0 on an interval, f is increasing there, since every difference f(b)−f(a) has the sign of some f′(c).

The theorem promises a c exists but doesn't say where. Finding it means solving f′(c)= (average slope).

Worked example

Find the c promised by the mean value theorem for f(x)=x2 on [1,4].

Show the solution
  1. Average slope. 16−14−1=5
  2. Solve f′(c)=5. 2c=5⇒c=2.5 inside (1,4) as promised.
  3. For any parabola. c is exactly the midpoint of the interval.

Answer c=2.5.

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
  1. Maximum slope of a sine. A sine Asin⁡(2πft) has maximum slope 2πfA.
  2. Hold it to the slew rate. 2π×105×A≤0.5×106 so A≤0.80V
  3. 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
  1. Average rate. The voltage changed by 3 V in 3 ms: 3V3ms=1000V/s
  2. Apply the theorem. If v is smooth, at some instant in between dv/dt was exactly 1000 V/s.
  3. Current at that instant. i=Cdvdt=10−5×1000=10mA
  4. 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 f(x)=x2 on [1,4], find the c guaranteed by the mean value theorem.

Check

For f(x)=x3 on [1,3], find the c 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

f′(x)=g′(x) for every x. Which must be true?

Check

Apply the mean value theorem on [1,3].

(a)

For f(x)=x3, what is the average slope over the interval?

(b)

Where does f′(c)=3c2 equal that average?

(c)

For f(x)=x instead, where is c?

Check

Find the point the mean value theorem promises for f(x)=1/x on [a,b].

Step 1

What is the average slope, f(b)−f(a)b−a, 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°.

Explain why

How does the mean value theorem show that a function with zero derivative everywhere on an interval is 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.