The Timpson Lyceum seal

The Timpson Lyceum · Real Analysis (2020)

Lecture 15 (Real Analysis 2020)

Overview

This lecture develops the Mean Value Theorem (MVT) and the family of results that follow from it. We begin with the geometric idea — that the average slope of a function across an interval is achieved by the instantaneous slope at some interior point — and build up to it through two preliminary results: the interior extremum lemma (the derivative vanishes at a local max or min) and Rolle's Theorem. From the MVT we then derive several cornerstone facts of differential calculus: a function with zero derivative is constant, two functions with equal derivatives differ by a constant, a positive derivative forces strict increase, and the second-derivative test for local extrema. These are the tools that justify why the derivative tells us so much about a function's shape.

Key Concepts

Average slope (secant slope). For ff on [a,b][a,b], the average rate of change from aa to bb is the slope of the secant line: f(b)−f(a)b−a.\frac{f(b)-f(a)}{b-a}.

Mean Value Theorem. If ff is continuous on [a,b][a,b] and differentiable on (a,b)(a,b), then there exists x0∈(a,b)x_0 \in (a,b) with f′(x0)=f(b)−f(a)b−a.f'(x_0) = \frac{f(b)-f(a)}{b-a}. Geometrically, the tangent at x0x_0 is parallel to the secant joining the endpoints.

Interior extremum lemma. If f:I→Rf:I\to\mathbb{R} is defined on an open interval, f′(x0)f'(x_0) exists, and x0x_0 is a maximizer (or minimizer) of ff, then f′(x0)=0f'(x_0)=0. The proof compares the one-sided difference quotients: from the left the quotient is ≤0\le 0 and from the right it is ≥0\ge 0 (or vice versa), so the common limit must be 00.

Rolle's Theorem (Theorem 4.17). If ff is continuous on [a,b][a,b], differentiable on (a,b)(a,b), and f(a)=f(b)f(a)=f(b), then there exists x0∈(a,b)x_0 \in (a,b) with f′(x0)=0f'(x_0)=0. Proof: a continuous function on a closed bounded interval attains a max and a min. If both occur at the endpoints, ff is constant and f′≡0f'\equiv 0; otherwise an extremum lies in (a,b)(a,b), where the interior extremum lemma gives f′(x0)=0f'(x_0)=0.

Constant functions (Lemma 4.19). A function is constant if there is some c∈Rc\in\mathbb{R} with f(x)=cf(x)=c for every xx in its domain (any domain — it need not be an interval). For differentiable ff on an open interval II:

Functions differing by a constant (Theorem 4.20). If g,h:I→Rg,h:I\to\mathbb{R} are differentiable, then gg and hh differ by a constant   ⟺  g′(x)=h′(x)\iff g'(x)=h'(x) for all xx. Apply Lemma 4.19 to f=g−hf=g-h.

Sign of the derivative (Corollary 4.21). If ff is differentiable on II and f′(x)>0f'(x)>0 for all x∈Ix\in I, then ff is strictly increasing. For u<vu<v, the MVT gives z∈(u,v)z\in(u,v) with f′(z)=f(v)−f(u)v−u>0f'(z)=\dfrac{f(v)-f(u)}{v-u}>0; since v−u>0v-u>0, the numerator f(v)−f(u)>0f(v)-f(u)>0.

Local max / local min. x0x_0 is a local maximizer of f:D→Rf:D\to\mathbb{R} if there exists δ>0\delta>0 such that ∣x−x0∣<δ⇒f(x)≤f(x0)|x-x_0|<\delta \Rightarrow f(x)\le f(x_0). Flip the inequality for a local minimizer. The interval must be open so the point itself isn't trivially extreme. Note: x0x_0 a local extremum (with f′f' existing) forces f′(x0)=0f'(x_0)=0, but the converse fails — for f(x)=x3f(x)=x^3, f′(0)=0f'(0)=0 yet 00 is neither a local max nor min.

Second-derivative test (Theorem 4.22). Let ff be twice differentiable and f′(x0)=0f'(x_0)=0:

Here f′′f'' measures concavity: a positive second derivative means the slope is increasing (concave up), a negative one means the slope is decreasing (concave down).

Worked Example

Proof of the Mean Value Theorem (via Rolle's Theorem). Tilt ff so the endpoints sit at the same height, apply Rolle, then untilt.

Let m=f(b)−f(a)b−am = \dfrac{f(b)-f(a)}{b-a} be the secant slope and define the auxiliary function g(x)=f(x)−mxg(x) = f(x) - mx, which is continuous on [a,b][a,b] and differentiable on (a,b)(a,b) (a difference of such functions). First verify the endpoints match:

g(a)=f(a)−f(b)−f(a)b−a a=b f(a)−a f(b)b−a,g(b)=f(b)−f(b)−f(a)b−a b=b f(a)−a f(b)b−a,\begin{aligned} g(a) &= f(a) - \frac{f(b)-f(a)}{b-a}\,a = \frac{b\,f(a) - a\,f(b)}{b-a}, \\ g(b) &= f(b) - \frac{f(b)-f(a)}{b-a}\,b = \frac{b\,f(a) - a\,f(b)}{b-a}, \end{aligned}

so g(a)=g(b)g(a)=g(b). By Rolle's Theorem there exists x0∈(a,b)x_0\in(a,b) with g′(x0)=0g'(x_0)=0. Since g′(x)=f′(x)−mg'(x)=f'(x)-m,

0=g′(x0)=f′(x0)−m⟹f′(x0)=m=f(b)−f(a)b−a.\begin{aligned} 0 = g'(x_0) &= f'(x_0) - m \\ \Longrightarrow\quad f'(x_0) &= m = \frac{f(b)-f(a)}{b-a}. \end{aligned}

That interior point has instantaneous slope equal to the average slope — exactly the claim. ■\blacksquare

Summary