Level 0: Foundation
★☆☆☆☆ Introductory⏱ 5 minGeneral audience. No mathematics required.The speed-camera theorem
Some motorways have section cameras that photograph your car at two points 10 km apart. If you took 5 minutes, your average speed was 120 km/h. The police then know your speedometer showed exactly 120 km/h at some moment, even though no camera saw it. You can’t average 120 without passing through 120 at some instant.
That is the mean value theorem.
If you know a robot arm can never move faster than 2 rad/s, the mean value theorem guarantees that in 0.1 s it moves at most 0.2 rad. Speed limits become position guarantees, which is exactly what safety certification needs.
- 1. You drive 180 km in 3 hours. At some moment your speedometer must have shown…
- 2. Cameras 10 km apart, 5 minutes between photos. Average speed?
- 3. A robot joint's speed is at most 2 rad/s. The most it can turn in 0.5 s?
Level 1: Beginner
★★☆☆☆ Basic⏱ 15 minSecondary-school mathematics: arithmetic and elementary algebra.The theorem
If is continuous on and differentiable on , then for some :
Example. on : the average slope is , and gives .
Rolle’s theorem is the special case . Somewhere in between, the tangent is horizontal.
L’Hôpital’s rule
For a “0/0” limit, compare the rates instead of the values:
Example. . Similarly, .
- 1. MVT point c for x² on [0, 4]?
- 2. Average slope of x³ on [0, 2]?
- 3. lim_{x→0} (eˣ − 1)/x = ?
Level 2: Intermediate
★★★☆☆ Intermediate⏱ 40 minUndergraduate students and practising engineers.What the MVT buys you
| Consequence | Statement | Used for |
|---|---|---|
| zero derivative | on an interval ⇒ constant | uniqueness of antiderivatives (A3.1-6) |
| monotonicity | ⇒ strictly increasing | proving inequalities, invertibility |
| Lipschitz bound | ⇒ | error propagation, robustness (A2.3-8) |
| contraction | ⇒ converges | fixed-point solvers, value iteration |
L’Hôpital in practice
- 0·∞: , so the limit is as .
- 1^∞: take logs. , so .
- Growth rates: applying the rule times gives and (). So exponentials beat powers, and powers beat logarithms, which is the basis of algorithm complexity classes.
- Repeated use: .
- 1. lim_{x→0⁺} x ln x = ?
- 2. lim_{x→∞} (1 + 2/x)ˣ = ?
- 3. |f′| ≤ 3 on [0, 5]. Max |f(5) − f(0)|?
Level 3: Advanced
★★★★☆ Advanced⏱ 45 minGraduate level, with full derivations and proofs.The chain of proofs
Fermat. If has a local max at an interior point where is differentiable, then . The difference quotients are from the right and from the left.
Rolle. If , the extreme value theorem (A3.1-1) gives a max and a min on . If both are at the endpoints, is constant. Otherwise one is interior, and Fermat gives . ∎
MVT. Tilt the function. Let . Then , so Rolle gives , which is the MVT. ∎
Cauchy’s MVT. . Apply Rolle to .
L’Hôpital (0/0). If , Cauchy’s MVT on gives with between and . As , . ∎
A pitfall
, yet the derivative ratio oscillates and has no limit. L’Hôpital only says: if the derivative ratio has a limit, the original ratio has the same one. Here it tells you nothing.
Exercise 3.1: Prove that |sin a − sin b| ≤ |a − b|
By the MVT, for some , and .
- 1. Rolle for x² − 4x on [0, 4] gives c = ?
- 2. lim_{x→0} (x − sin x)/x³ = ?
- 3. The MVT is proved by applying Rolle to…
Level 4: Expert
★★★★★ Expert⏱ 40 minResearchers: original papers and open problems.Why iterative solvers converge
For , the MVT gives . If , the error shrinks by at least each step, and asymptotically by . This is the Banach fixed-point theorem in one dimension. It underlies value iteration in reinforcement learning (where the Bellman operator is a -contraction), Picard iteration for ODEs, and many robotics solvers. Newton’s method makes , which upgrades convergence to quadratic.
Step sizes for gradient descent
If (the function is L-smooth), the MVT/Taylor argument gives the descent lemma:
With and , every step decreases by at least . This is the foundation of every convergence proof for gradient descent (Nesterov, 2004; Bottou, Curtis and Nocedal, 2018). It’s also why step sizes above can make training diverge (Practice Code 5), and why learning-rate warm-up and gradient clipping exist.
More applications
- Certified safety for robots. Bounds on joint velocity give bounds on the swept volume between collision checks, so a discrete-time check certifies the continuous motion.
- Numerical analysis. Every error formula for finite differences, quadrature and interpolation contains an for “some ”, which is a generalized MVT (A3.1-10).
References
- M. Rolle (1691). Démonstration d’une méthode pour résoudre les égalitez de tous les degrez.
- G. de l’Hôpital (1696). Analyse des infiniment petits. (Content due to Johann Bernoulli.)
- A.-L. Cauchy (1823). Résumé des leçons sur le calcul infinitésimal. (The modern mean value theorem.)
- S. Banach (1922). “Sur les opérations dans les ensembles abstraits et leur application aux équations intégrales.” Fundamenta Mathematicae, 3.
- Y. Nesterov (2004). Introductory Lectures on Convex Optimization. Springer. Section 1.2.
- L. Bottou, F. Curtis, J. Nocedal (2018). “Optimization methods for large-scale machine learning.” SIAM Review, 60(2).
- R. Bellman (1957). Dynamic Programming. Princeton University Press.