Salta al contenuto
Note per Studenti Rolle's and Lagrange's Theorems Report

Rolle's and Lagrange's Theorems

In questa pagina 5

Prerequisites: Local Extrema and Fermat's TheoremA point is a relative minimum or maximum if the value of f there is the lowest or highest among nearby points; candidates are endpoints, non-differentiable points and critical points, and Fermat's theorem says that at an interior differentiable extremum the derivative vanishes, a necessary but not sufficient condition.Local Extrema and Fermat's Theorem →, Weierstrass' theorem.

These are the fundamental theorems of differential calculus: they link the value of the derivative at a point to the behaviour of the function on a whole interval. The monotonicity test follows from them.

Rolle's theorem

Theorem (Rolle). Let f:[a,b]→Rf: [a, b] \to \mathbb{R} be continuous on [a,b][a, b] and differentiable in ]a,b[]a, b[, with f(a)=f(b)f(a) = f(b). Then there exists c∈ ]a,b[c \in \,]a, b[ with f′(c)=0.f'(c) = 0.

Example. f(x)=x2−2xf(x) = x^2 - 2x on [0,2][0, 2]: f(0)=f(2)=0f(0) = f(2) = 0 and f′(c)=2c−2=0f'(c) = 2c - 2 = 0 for c=1c = 1.

Proof. By Weierstrass' theorem m=min⁡fm = \min f and M=max⁡fM = \max f exist, so m≤f(x)≤Mm \le f(x) \le M on [a,b][a, b].

  • Case 1: mm or MM is attained at an interior point cc. An absolute extremum is also relative, cc is interior and ff is differentiable at cc: by Fermat's theorem f′(c)=0f'(c) = 0.
  • Case 2: both are attained only at aa and bb. Since f(a)=f(b)f(a) = f(b), m=Mm = M, so ff is constant and f′(c)=0f'(c) = 0 for every c∈ ]a,b[c \in \,]a, b[. ■\blacksquare

All hypotheses are needed.

  • Without continuity at an endpoint: f(x)=xf(x) = x on [0,1[[0, 1[ with f(1)=0f(1) = 0 has f(0)=f(1)f(0) = f(1) but f′=1f' = 1 everywhere.
  • Without differentiability: ∣x∣|x| on [−1,1][-1, 1] has f(−1)=f(1)f(-1) = f(1), but the flat point would be 00, where ff is not differentiable.

Lagrange's theorem (mean value theorem)

Theorem (Lagrange). Let f:[a,b]→Rf: [a, b] \to \mathbb{R} be continuous on [a,b][a, b] and differentiable in ]a,b[]a, b[. Then there exists c∈ ]a,b[c \in \,]a, b[ with f′(c)=f(b)−f(a)b−a.f'(c) = \frac{f(b) - f(a)}{b - a}.

Example. f(x)=x3f(x) = x^3 on [0,2][0, 2]: the mean slope is 8−02=4\frac{8 - 0}{2} = 4 and f′(c)=3c2=4f'(c) = 3c^2 = 4 for c=23≈1.15c = \frac{2}{\sqrt3} \approx 1.15. Another: x2x^2 on [0,2][0, 2] has chord slope 22 and f′(1)=2f'(1) = 2.

Rolle is the special case f(a)=f(b)f(a) = f(b) (the right-hand side is 00).

Geometric meaning. The chord through (a,f(a))(a, f(a)) and (b,f(b))(b, f(b)) is y=f(a)+f(b)−f(a)b−a(x−a)y = f(a) + \frac{f(b) - f(a)}{b - a}(x - a). There is a point cc where the tangent is parallel to the chord.

Physical meaning. If s(t)s(t) is a car's position, the average velocity s(b)−s(a)b−a\frac{s(b) - s(a)}{b - a} equals the instantaneous velocity at some instant: after 9090 km in one hour, the speedometer read exactly 9090 km/h at least once.

Proof

Apply Rolle to the vertical distance between graph and chord. Let 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].

  1. gg is continuous on [a,b][a, b] and differentiable in ]a,b[]a, b[.
  2. g(a)=0g(a) = 0 and g(b)=f(b)−f(a)−f(b)−f(a)b−a(b−a)=0g(b) = f(b) - f(a) - \frac{f(b) - f(a)}{b - a}(b - a) = 0.

By Rolle there is cc with g′(c)=f′(c)−f(b)−f(a)b−a=0g'(c) = f'(c) - \frac{f(b) - f(a)}{b - a} = 0. ■\blacksquare

The theorem says cc exists, not where it is or how many there are.

Consequence 1: functions with zero derivative

Theorem. Let f:[a,b]→Rf: [a, b] \to \mathbb{R} be continuous on [a,b][a, b] and differentiable in ]a,b[]a, b[. Then f is constant on [a,b]  ⟺  f′(x)=0  ∀x∈ ]a,b[.f \text{ is constant on } [a, b] \iff f'(x) = 0 \ \ \forall x \in \,]a, b[.

Proof. (⇒\Rightarrow) The derivative of a constant is 00. (⇐\Leftarrow) Take x1<x2x_1 < x_2 in [a,b][a, b]. Lagrange on [x1,x2][x_1, x_2] gives c∈ ]x1,x2[c \in \,]x_1, x_2[ with f(x2)−f(x1)x2−x1=f′(c)=0\frac{f(x_2) - f(x_1)}{x_2 - x_1} = f'(c) = 0, so f(x1)=f(x2)f(x_1) = f(x_2). ■\blacksquare

Example. f(x)=arctan⁡x+arctan⁡1xf(x) = \arctan x + \arctan\frac1x has f′=0f' = 0 on ]0,+∞[]0, +\infty[, so f(x)=f(1)=π4+π4=π2f(x) = f(1) = \frac\pi4 + \frac\pi4 = \frac\pi2 there.

This guarantees that two antiderivatives of the same function on an interval differ by a constant (see Antiderivatives and the Fundamental Theorem of CalculusAn antiderivative (primitive) of f is a function G with G' = f; two antiderivatives differ by a constant and the indefinite integral is the set of all of them. The integral function F_a(x) = integral from a to x of f is an antiderivative of f (second fundamental theorem), hence the integral from a to b of f equals G(b) - G(a) for any antiderivative G (first fundamental theorem).Antiderivatives and the Fundamental Theorem of Calculus →).

Warning: only on an interval

If the domain is not an interval, f′=0f' = 0 does not imply ff constant. Take f(x)=arctan⁡x+arctan⁡1xf(x) = \arctan x + \arctan\frac1x on R∖{0}\mathbb{R} \setminus \{0\}: f′(x)=11+x2+11+1x2⋅(−1x2)=11+x2−1x2+1=0∀x≠0,f'(x) = \frac{1}{1 + x^2} + \frac{1}{1 + \frac1{x^2}}\cdot\left(-\frac1{x^2}\right) = \frac{1}{1 + x^2} - \frac{1}{x^2 + 1} = 0 \quad \forall x \ne 0, yet lim⁡x→−∞f=−π2\lim_{x \to -\infty} f = -\frac\pi2 and lim⁡x→+∞f=π2\lim_{x \to +\infty} f = \frac\pi2. In fact arctan⁡x+arctan⁡1x={π2x>0−π2x<0,\arctan x + \arctan\frac1x = \begin{cases} \dfrac\pi2 & x > 0 \\[2mm] -\dfrac\pi2 & x < 0, \end{cases} (from f(1)=π2f(1) = \frac\pi2, f(−1)=−π2f(-1) = -\frac\pi2): ff is piecewise constant. In general, if f′=0f' = 0 on a non-interval set, ff is constant on each interval of the domain but with possibly different constants.

Consequence 2: monotonicity

The sign of the derivative decides increase and decrease: see Monotonicity and the Sign of the DerivativeFor f continuous on [a,b] and differentiable in ]a,b[: f is increasing iff f' >= 0 and decreasing iff f' <= 0; strictly increasing iff f' >= 0 and f' vanishes on no interval (f' > 0 except at isolated points is enough, as for x^3); a sign change of f' from plus to minus gives a strict relative maximum and from minus to plus a strict relative minimum; these are sufficient conditions only.Monotonicity and the Sign of the Derivative →. Another consequence is Taylor's Formula - Peano and Lagrange RemaindersA function n times differentiable at x0 equals, near x0, its Taylor polynomial of degree n plus an error o((x-x0)^n), and the polynomial is unique (Peano remainder, local approximation); if f has n+1 continuous derivatives on [a,b] the error is exactly f^(n+1)(c)(x-x0)^(n+1)/(n+1)! for some c (Lagrange remainder, global estimate of the error).Taylor's Formula - Peano and Lagrange Remainders →, of which Lagrange's theorem is the case n=0n = 0.

Common mistakes

  • Using Rolle without checking f(a)=f(b)f(a) = f(b), continuity and differentiability.
  • Thinking the theorem gives the value of cc.
  • Concluding "f′=0f' = 0 so ff is constant" on a domain that is not an interval.

Versione ripasso

Rolle. ff continuous on [a,b][a, b], differentiable in ]a,b[]a, b[, f(a)=f(b)f(a) = f(b) ⇒\Rightarrow ∃c∈ ]a,b[\exists c \in \,]a, b[ with f′(c)=0f'(c) = 0. Example: x2−2xx^2 - 2x on [0,2][0, 2], c=1c = 1.

Proof. Weierstrass gives min⁡\min and max⁡\max. If one is interior at cc, Fermat gives f′(c)=0f'(c) = 0. Otherwise both are at the endpoints with f(a)=f(b)f(a) = f(b), so ff is constant.

Hypotheses needed: ∣x∣|x| on [−1,1][-1, 1] (not differentiable at 00); f(x)=xf(x) = x on [0,1[[0, 1[ with f(1)=0f(1) = 0 (not continuous).

Lagrange. Same hypotheses without f(a)=f(b)f(a) = f(b) ⇒\Rightarrow ∃c\exists c with f′(c)=f(b)−f(a)b−af'(c) = \frac{f(b) - f(a)}{b - a}: the tangent at cc is parallel to the chord. Example: x3x^3 on [0,2][0, 2], 3c2=43c^2 = 4, c=23c = \frac{2}{\sqrt3}.

Proof. Apply Rolle to 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], with g(a)=g(b)=0g(a) = g(b) = 0. The theorem gives existence of cc, not its location.

Zero derivative. On an interval, ff is constant iff f′=0f' = 0 (Lagrange on [x1,x2][x_1, x_2] gives f(x2)−f(x1)=f′(c)(x2−x1)=0f(x_2) - f(x_1) = f'(c)(x_2 - x_1) = 0). On a non-interval it fails: arctan⁡x+arctan⁡1x=±π2\arctan x + \arctan\frac1x = \pm\frac\pi2 for x≷0x \gtrless 0 with zero derivative.

Uses. Monotonicity test; Taylor's formula with Lagrange remainder (case n=0n = 0); two antiderivatives differ by a constant.

Typical mistakes. Not checking the hypotheses; expecting a value for cc; "f′=0f' = 0 so constant" on a non-interval.

Teoria collegata