Euler Hall — free maths guides

Bound the change of a function with the mean value theorem

State the mean value theorem and identify the average rate it names. The idea in plain words, a worked example, and a check with the answers shown — part of the free Calculus I guides.

Some tangent is parallel to the secant

The mean value theorem. Ifff is continuous on[a,b][a,b] and differentiable on(a,b)(a,b), then there is at least onecc in(a,b)(a,b) with

f′(c)=f(b)−f(a)b−af'(c) = \frac{f(b) - f(a)}{b - a}

That fraction is the average rate of change: the slope of the secant line joining the two endpoints. The theorem says some instantaneous rate, somewhere inside, exactly equals it.

Two readings are worth keeping:

Geometric. There is a point where the tangent is parallel to the secant. Slide a line parallel to the secant until it just touches the curve — the touching point iscc.

Quantitative.f(b)−f(a)=f′(c)(b−a)f(b) - f(a) = f'(c)(b-a), so the change over an interval is some interior slope times the interval's length. That is the form used for bounds: if∣f′∣≤M\lvert f'\rvert \le M everywhere, then the change is at mostM(b−a)M(b-a).

The theorem is not obvious: it asserts that something happens, without saying where. Rolle's theorem is the case where the secant is horizontal, and the general case is proved by tilting the function until Rolle applies.

Why the theorem needs both hypotheses

Continuity on the closed interval is used to guarantee the function attains its extremes, and differentiability on the open interval to apply Fermat's theorem at the interior extreme. Both are needed for the standard proof.

The proof itself: define

g(x)=f(x)−[f(a)+f(b)−f(a)b−a(x−a)]g(x) = f(x) - \left[f(a) + \frac{f(b)-f(a)}{b-a}(x-a)\right]

which isff minus the secant line. Theng(a)=g(b)=0g(a) = g(b) = 0, so Rolle's theorem applies togg and gives acc withg′(c)=0g'(c) = 0. But

g′(c)=f′(c)−f(b)−f(a)b−ag'(c) = f'(c) - \frac{f(b)-f(a)}{b-a}

sof′(c)f'(c) equals the secant slope. The whole theorem is Rolle's theorem applied to the deviation from the secant.

That construction is worth remembering: when a theorem needs a horizontal secant, subtract the secant and Rolle does the work.

Worked example: three uses

Finding the point.f(x)=x2f(x) = x^2 on[1,3][1,3]: the average rate is(9−1)/2=4(9-1)/2 = 4, andf′(x)=2xf'(x) = 2x, soc=2c = 2 — the midpoint, as it always is for a quadratic.

Bounding a change. Suppose∣f′(x)∣≤3\lvert f'(x)\rvert \le 3 on[0,4][0,4]. Then for any two points in that interval,∣f(b)−f(a)∣=∣f′(c)∣∣b−a∣≤3×4=12\lvert f(b)-f(a)\rvert = \lvert f'(c)\rvert \lvert b-a\rvert \le 3 \times 4 = 12. Soff cannot change by more than 12 across the whole interval, whateverff actually is.

A bound with no formula forff. Iff(0)=5f(0)=5 and∣f′∣≤2\lvert f'\rvert \le 2 everywhere, thenf(3)f(3) lies between5−6=−15-6=-1 and5+6=115+6=11. That is a real constraint obtained from no formula at all — which is what makes the theorem powerful.

A failure.f(x)=∣x∣f(x) = \lvert x\rvert on[−1,1][-1,1]: the average rate is 0, but there is no interior point withf′=0f'=0. The differentiability hypothesis fails at the corner.

By the end you can
  • State the mean value theorem and identify the average rate it names
  • Find the guaranteed interior point for a given function
  • Bound a function's change from a bound on its derivative
  • Explain how the theorem follows from Rolle's theorem
Check yourself
  1. 1.f(x)=x2+1f(x) = x^2 + 1 on[0,4][0, 4]: find the mean-value point.
  2. 2. If∣f′∣≤5\lvert f'\rvert \le 5 on[1,3][1, 3], how much canff change?
  3. 3. Why does the theorem fail forf(x)=1/xf(x) = 1/x on[−1,1][-1, 1]?
Answers
  1. 1. Average rate(17−1)/4=4(17-1)/4 = 4;f′=2c=4f'=2c=4 givesc=2c=2.
  2. 2. At most5×2=105 \times 2 = 10.
  3. 3.ff is not continuous on[−1,1][-1,1]: it is undefined at 0, so neither hypothesis holds.
Work out where to start — free, no accountAnswer six real questions — free, no account