Before this section. 1.2 The real numbers and completeness, 3.2 Compactness, extreme values and uniform continuity.
The segment arguments in several variables depend on one-variable theorems. Here those foundations are proved within MATH2066 rather than counted from another course. The difference between differentiability, continuous differentiability and interval-wide hypotheses remains visible throughout.
1 Derivatives and interior extrema
For defined on a neighborhood of , is the finite limit as nonzero . It gives and therefore continuity. Sum and product rules follow by expanding increments; the chain rule follows by substituting local linear approximations. These rules require the relevant derivatives and, for a quotient, a nonzero denominator.
Fermat's necessary condition. At a differentiable interior local maximum or minimum, .
Proof. At a local maximum, sufficiently small positive increments give nonpositive difference quotients and negative increments give nonnegative ones. A two-sided derivative can satisfy both sign limits only by being zero. Negating the function treats a minimum.
The interior hypothesis matters: on has extrema at endpoints despite derivative 1. The converse fails: has zero derivative at zero but no extremum there.
For the product rule, put and similarly for . Then
The last product is ; division by gives . The sum rule follows by adding the two linear approximations. If , continuity keeps its nearby values nonzero and
Combining reciprocal and product rules proves the quotient rule on its nonzero-denominator domain. For composition, the first increment is ; substituting it into gives the chain rule. If , that remainder is zero, so the argument never requires dividing by a vanishing intermediate increment.
2 Rolle and mean value
Rolle's theorem. If , is continuous on , differentiable on and , then for some .
Proof. The compact extreme-value theorem supplies maximum and minimum. If the function is constant, every interior point works. Otherwise a value differs from the equal endpoint values, so either a maximum or a minimum occurs in the interior. Fermat's condition applies there.
Mean value theorem. Under the same continuity and differentiability hypotheses but without equal endpoint values, some satisfies .
Subtract the secant line from and apply Rolle. This proves the theorem without assuming is continuous. Consequences include: derivative zero on an interval makes the function constant; nonnegative derivative makes it nondecreasing; and on an interval gives for points in it. An interval-wide derivative bound cannot be inferred from one derivative value.
The derivative can be discontinuous while the theorem remains applicable. For , otherwise, but oscillates near zero. Differentiability is weaker than the condition used by some integral proofs.
Counterexample mode
Continuity at the endpoints cannot be dropped from Rolle
One might think that, once the endpoint values agree, differentiability inside the interval is all Rolle needs. Let for and . Then and is differentiable on with throughout, so has no interior zero. The proof fails at its first step: without continuity at , has no maximum on , since its values approach without reaching it.
Worked example 1.1.1
(Two-sided bounds for the logarithm from one unknown point)
Let with , and apply the mean value theorem to on the closed interval between and . The function is continuous there and differentiable inside, with , so there is a point strictly between and with
The point is not computed; only its location is used. If , then , hence . If , then , so ; multiplying by the negative number reverses both inequalities and again gives . In both cases
At this gives ; at it gives . Both are consistent with . The inequalities are strict because lies strictly inside the interval, which is exactly what the theorem guarantees.
3 Cauchy's two-function version
For continuous on , differentiable inside, Rolle applied to
gives an interior with
If never vanishes on , Rolle also ensures , so the equality can be divided to give a ratio formula. Without those nonzero conditions, the cross-multiplied equality is the correct statement. This distinction prevents an invalid division from being hidden inside a named theorem.
Worked example 1.1.2
(Cauchy's point is a common point, not a ratio of two mean value points)
Take and on . The cross-multiplied identity of Section 3 reads
Its solutions are and ; the theorem's interior point is . Since on , the ratio form is also legitimate there: .
Applying the ordinary mean value theorem to each function separately gives different points: gives , and gives . The quotient has the right value, but it is evaluated at two different points. Cauchy's theorem asserts more: one point serves both derivatives. That common point is what later arguments, such as l'Hôpital-type limits, need.
4 Taylor's theorem with a strict intermediate point
Suppose is on an open neighborhood of , with . There exists such that
Proof. Let be the displayed polynomial and choose so vanishes at . Its value and first derivatives vanish at . Rolle first gives a zero of strictly between ; using , apply Rolle again between and that point. Repeating gives a zero of strictly inside. There, , proving the formula.
For another target on the opposite side of the expansion point, use the same repeated-Rolle argument on the interval between them. If the target equals the expansion point, the remainder is zero; no strict intermediate point is asserted in that degenerate case.
A uniform bound on the segment gives error at most . The order depends on a neighborhood bound, not merely the derivative at . The integral remainder proved elsewhere in this course gives a complementary form under its stated regularity.
Proof X-ray
One constant, then Rolle again and again
The constant is the whole trick: it is chosen only so that vanishes at , and the proof then shows that it must equal . Subtracting makes and its first derivatives vanish at , so each application of Rolle starts from the known zero at and the zero just found, and moves one derivative deeper. Each new zero lies strictly inside the previous interval, which is why is strictly between and . The hypothesis supplies the continuity and differentiability that every step needs.
Worked example 1.1.3
(Choosing the degree from a whole-interval derivative bound)
To approximate within by Taylor polynomials of at , compute the derivatives for :
On we have , so on the whole interval. Section 4 gives a point with remainder , whose magnitude is at most
For the bound is , which is not enough; for it is . Since ,
The sign is also determined: , so is an upper bound and . The actual value lies in this interval, with error about .
5 One-variable convexity as a derivative statement
A differentiable function on an open interval is convex exactly when for all points. Convexity gives this supporting-line inequality by dividing its defining chord inequality and taking a one-sided limit. Conversely, applying supporting inequalities at a point between and combining them with the chord weights cancels the derivative terms, yielding convexity.
If , convexity is equivalent to . One direction follows from the mean value theorem making nondecreasing and integrating or comparing secant slopes. The other follows from nonnegative second differences and their derivative limit. A stationary point of a convex function is therefore a global minimum on its interval, whereas an arbitrary stationary point need not be.
Choose a remainder that also determines the sign
For on , the degree-two Taylor polynomial at zero is . Its third derivative is , positive and at most throughout the interval. Therefore at , the strict-intermediate-point theorem gives
Thus is a lower bound, not merely an unsigned approximation. The bound is taken on the whole segment: evaluating the third derivative only at zero would not justify a remainder estimate for an arbitrary function.
Practice. For , determine the sign of the same quadratic approximation error and a valid magnitude bound.
Full solution. The factor is negative and the third derivative remains positive. Hence the same quadratic polynomial is now an upper bound. Its error magnitude is at most , using the correct bound on this different interval.
Quick check
(Find every point supplied by the mean value theorem for on .)
Compute the secant slope and solve slope inside the interval.
Solution · Answer
The secant slope is . Solving gives , and only lies in . So exactly one point works. The hypotheses hold because is continuous on and differentiable inside.
Quick check
(For and on , find the point given by the cross-multiplied Cauchy identity. Can the ratio form be used here?)
Compute and first.
Solution · Answer
Here and , so the identity becomes , giving . The ratio form would read , which is meaningless: vanishes at the very point the theorem supplies. The hypothesis that never vanishes on fails, and only the cross-multiplied statement remains valid.
Quick check
(Use convexity to prove for every real . When does equality hold?)
Find the supporting line of at .
Solution · Answer
Let . It is with on , so it is convex by Section 5; the zero of at does not matter. The supporting-line inequality at , with and , gives . Equality holds at , and only there, because and .
Exercises with complete solutions
E1 Foundation. For on , find the point supplied by the mean value theorem.
S1. The secant slope is . Since , the point is , lying strictly between 1 and 3.
E2 Hypotheses. Why can Rolle not be applied to on to infer a zero derivative inside?
S2. The function is not differentiable at zero, so an essential hypothesis fails. Its derivatives are to the left and 1 to the right, with no zero derivative anywhere they exist. Equal endpoints and continuity are not enough.
E3 Taylor bound. Use the degree-2 Taylor polynomial of at zero to bound its error at , and state the remainder at separately.
S3. The polynomial is . On , the third derivative is , so error at 1 is at most . Taylor gives a strict intermediate for that nonzero step. At the approximation is exact with remainder zero, not a claim about an intermediate point in an empty interval.
E4 Derivative discontinuity. Verify the derivative at zero of extended by zero, and exhibit two sequences showing its derivative is not continuous there.
S4. The difference quotient at zero is . At , the derivative is ; at , it is 1. Both sequences tend to zero but their derivative values do not approach . The function remains differentiable, so MVT still applies on proper compact intervals.
Summary
Rolle follows from compact extrema and the derivative definition; the mean value theorem follows by subtracting a secant. Ratio versions require additional nonzero hypotheses. Repeated Rolle supplies a strict Taylor intermediate point only for a nonzero step, while convexity turns local derivative information into a global supporting inequality.