Proof
Prerequisite proofs used below
Continuous real functions on a closed interval are uniformly continuous
Fix an integer and the Euclidean norm on . A set is bounded if it lies in some finite-radius ball, closed if its complement is open, and compact if every cover by open subsets of has a finite subcover. We use real completeness, including the nested closed interval property.
Heine–Borel in finite-dimensional Euclidean space
Theorem. A set is compact if and only if it is closed and bounded. The empty set satisfies all three properties.
Compact implies bounded. The open balls , an integer, cover . A finite subcover puts inside the largest of these balls.
Compact implies closed. Suppose and . The balls , , cover . Choose a finite subcover with centers and set . If lies in the ball centered at , the triangle inequality gives . Hence misses , so the complement is open.
Closed and bounded implies compact. Let nonempty be closed and bounded. Enclose it in a closed cube with . Suppose an open cover of has no finite subcover. Divide each coordinate interval into two closed halves. The resulting closed subcubes cover . At least one subcube has intersection with that is not finitely coverable by the given family; otherwise the finite union of the finite subcovers would cover . Select such a subcube and repeat. This produces nested closed cubes with side length and not finitely coverable, hence nonempty.
For each coordinate, the nested interval property gives a common coordinate value. Together these give . Every pair of points in has distance at most , so the intersection contains only . Choose . Then . A closed set contains such a limit: if were in its open complement, a ball around would eventually contain outside , a contradiction. Thus .
One member of the cover contains , and openness gives for some . For sufficiently large , every point of is within of , so alone covers . This contradicts the selection of . Therefore every open cover has a finite subcover. The number is finite; replacing it by infinitely many subpieces would invalidate this argument.
Continuous images and extreme values
Theorem. If is compact and is continuous relative to , then is compact. In particular, a continuous on nonempty compact is bounded and attains its maximum and minimum.
Proof. An open cover of pulls back to relatively open sets , with open in . These cover , so finitely many suffice. Their corresponding cover , proving compactness. For scalar , the image is nonempty, closed and bounded by the theorem already proved in dimension one. Let . For each , the definition of supremum supplies with . Then , and closedness places in the image. Thus the maximum is attained. Applying the same argument to gives the minimum. This proves existence, not a formula for the maximizing input.
Let be finite real numbers and let be continuous relative to this interval. Uniform continuity means that for every there is such that all with satisfy . Fix . For each , relative continuity gives such that for interval points with . The intervals cover the compact interval. Choose a finite subcover with centres , and set . The cover is nonempty since is nonempty. Given as above, choose with . Then , so the triangle inequality gives . The same works for all points. This includes a singleton interval and uses the actual finite-cover compactness theorem, rather than citing an unproved scalar Heine–Cantor assertion.
Learning goals and definitions
Develop the proof behind integrability statements and distinguish boundedness from integrability. Let and be bounded on . For a partition , put , , and define , . The lower integral is the supremum of all lower sums; the upper integral is the infimum of all upper sums. Refining a partition makes lower sums nondecreasing and upper sums nonincreasing.
For any two partitions , their common refinement gives , so . Boundedness ensures these quantities are finite. The function is Riemann integrable when they agree.
Theorem: Darboux criterion
The bounded function is integrable if and only if for every there is a partition with .
Proof. If the two integrals equal , choose a lower sum above and an upper sum below , using supremum and infimum approximation. Their common refinement has gap less than . Conversely the inequalities force the integral gap to be zero when such partitions exist for every positive .
Theorem: finitely many discontinuities are permitted
If is bounded and continuous except possibly at finitely many points, it is integrable.
Proof. Let , taking . Surround the exceptional points by finitely many small intervals, with endpoints included in the partition, having total length less than . At endpoints of use one-sided intervals. Their contribution to the upper-lower gap is at most times their total length, hence less than . On the remaining finitely many closed intervals, is continuous and therefore uniformly continuous. Subdivide each sufficiently finely that its oscillation on every resulting subinterval is less than . Their total gap is less than . Combining all partition points gives gap below . If an exceptional interval endpoint would itself be exceptional, move it slightly so all actual exceptional points lie inside the selected intervals or at the domain endpoints. This keeps the remaining closed intervals continuous.
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.
Rolle's theorem. If , is continuous on , differentiable on and , then for some .
Proof. The 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.
Fundamental theorem of calculus
Theorem
Integral and derivative
If is continuous on , the accumulation function is differentiable on with . If is continuous on , differentiable on , and for , then .
Proof
Average-value estimate
For small nonzero with ,
Continuity makes the absolute value of the right-hand side arbitrarily small, including for negative with oriented-integral convention. Thus . Both and are continuous on , and has derivative zero on , so it is constant by the mean value theorem; evaluating endpoints gives the second conclusion.
Worked example
Integrate a continuous function
For on , is an antiderivative. The theorem gives . The antiderivative shortcut rests on the theorem, not the definition of an integral.
Integration by parts under the actual continuous-derivative assumptions
Let be real functions on the closed interval with endpoints . The functions and are continuous and therefore properly Riemann integrable. For nonzero real the product difference quotient is
Continuity of and existence of both derivatives justify this limit, proving . The already proved continuous-function fundamental theorem, applied to , and linearity of the proper integral give
and hence
For reversed endpoints use oriented integrals, and for equal endpoints all terms are zero. This is sufficient for the Taylor induction in U15: for fixed real , take and when on the segment. It does not claim integration by parts for merely differentiable functions with unproved integrability of their derivatives.
For a sequence , define
allowing the value . The tail suprema are nonincreasing, so their infimum is their extended limit. Two consequences are needed.
- If , then eventually. Indeed some tail supremum is below ; otherwise their infimum would be at least .
- If , then for infinitely many indices. Otherwise a tail would have every term at most , forcing its supremum and hence to be at most .
These statements remain useful when the original sequence has no limit. A finite number of unusually large terms affects some early tail suprema, but not .
Proof of the convergent ratio case. Suppose for all sufficiently large and . Choose strictly larger than this limsup. For some , every satisfies . Iterating gives
The geometric series converges, so comparison proves convergence of the absolute tail. A finite prefix does not affect convergence; hence converges absolutely. A uniform conclusion for a family of series requires a bound valid uniformly in the input.
For real functions on a nonempty set , uniform convergence means , with the errors eventually finite. Uniform Cauchy means every has such that for all and all . If , the epsilon–N conditions are vacuously satisfied; no real supremum of the empty set is used.
Theorem: uniform completeness
A sequence of real-valued functions is uniformly convergent if and only if it is uniformly Cauchy.
Proof. Uniform convergence gives the Cauchy estimate by two errors of size . Conversely, uniform Cauchy implies that for each fixed , is a real Cauchy sequence, so define . Fix and use uniform Cauchy with tolerance . For every and , pass in the estimate to get . The same works everywhere, proving uniform convergence. Completeness of the target supplied the pointwise limits.
Theorem
Uniform limit preserves continuity
If each is continuous at relative to and uniformly on , then is continuous at .
Proof
The three-term estimate
Given , choose so for all . By continuity of the fixed function at , choose so whenever . Then
Derivative interchange without hypotheses
Theorem
Let . Suppose every is continuous on and differentiable on . If converges at one fixed and converges uniformly on to , then converges uniformly on to a continuous , differentiable on , and . Continuity of the individual derivatives is not required.
Proof of existence. Uniform convergence of derivatives makes them uniformly Cauchy. For sufficiently large, the mean value theorem applied to between and any gives
The anchor sequence is Cauchy, so the right side is uniformly small. Uniform completeness gives a uniform limit , which is continuous as a uniform limit of continuous functions.
Proof of the derivative identity. Fix an interior point and . Choose with for all interior and all , and also . For sufficiently small nonzero , apply the mean value theorem to on the segment from to :
Pass at these two fixed inputs. The same inequality holds with replacing . Since the fixed is differentiable at , its difference quotient is within of for small enough . The triangle inequality bounds the difference quotient of from by . Arbitrary proves differentiability and equality. This argument does not integrate , so it does not silently assume continuous or Riemann integrable.
Theorem
Intermediate value theorem
If is continuous on and lies between and , there is with .
Proof
Completeness locates a crossing
If or , take the corresponding endpoint. Otherwise, assume ; the reverse order follows by replacing both by and by . The set is nonempty and bounded above. Let . If , continuity gives nearby points to the right with value below ; since , this contradicts the upper-bound property. If , continuity gives a neighbourhood of with value above ; the supremum approximation property supplies an element of in that neighbourhood, a contradiction. Thus .
Define
For fixed , the ratio of successive absolute terms is , so the series converges absolutely; at it equals one directly. On any fixed interval , both its series and derivative series have summable factorial majorants. The uniform derivative theorem therefore applies to polynomial partial sums and gives everywhere, with .
Theorem: positivity and exponential law
For every real , , , and .
Proof. Differentiate to obtain . The mean value theorem makes constant; at zero it equals one. Thus never vanishes. Since it is continuous and , an intermediate-value argument prevents it from becoming negative anywhere, proving positivity and the reciprocal identity. For fixed , differentiate ; the same cancellation gives zero derivative. At zero , so . Multiplication by yields the addition law. No rearrangement of a double infinite series was needed.
Full flat-function differentiation at zero
Use the previously proved real exponential series, positivity, reciprocal law and derivative identity . Define and for . For every real , set . Choose an integer . The nonnegative exponential series gives for , hence
At nonzero inputs, induction gives for a polynomial , starting with and using . Suppose the order- derivative has this formula off zero and value zero at zero. Every polynomial has finite degree, so the estimate above first shows and then . Thus is continuous at zero, its derivative at zero exists and equals zero, and the recurrence gives the next off-zero formula. Induction proves is smooth with every derivative zero at zero. Its Taylor series there is identically zero, whereas for each . This completes the claimed counterexample without treating smoothness as analyticity.
Learning goals and assumptions
Distinguish Taylor polynomials from convergent Taylor series, prove a quantitative remainder formula, and derive convex inequalities rather than relying on a curvature picture. The order- Taylor polynomial at is , whose degree may be smaller than if leading derivatives vanish.
Theorem: Taylor's integral remainder
Let and let have continuous derivatives through order on the closed interval between and . Then
Consequently, if there, then .
Proof. At , the identity is the fundamental theorem . For , integrate the remainder by parts, taking and . The boundary at is zero and at contributes . The remaining integral is the order- remainder. Induction therefore yields the identity. This uses oriented integrals, so it also holds when . Taking absolute values, reversing integration limits if needed, and integrating gives the stated bound. Continuity of the highest derivative makes every use of parts and the bound valid.
This theorem provides a sufficient regularity setting, not the weakest possible hypotheses. For a Taylor series to represent at a fixed , the remainders must tend to zero as . A finite-order error bound alone does not prove that without control of its dependence on .
Theorem: Cauchy's mean value theorem
If are continuous on and differentiable on with , some satisfies
Proof. The auxiliary function has equal endpoint values. Rolle's theorem gives , precisely the identity. It is valid even when a denominator in a ratio formulation would be zero. Dividing to write derivative ratios requires separately checking those denominators; this is essential in proofs of L'Hopital's rule.
Convexity and support lines
A function on an interval is convex if for . If is differentiable on an open interval, it is convex exactly when is nondecreasing.
Proof. A convex function has ordered secant slopes: for , rearranging the convex inequality gives . Letting approach endpoints shows and hence derivative monotonicity. Conversely if is nondecreasing, mean value points in and give the first secant slope no greater than the second. Rearranging yields the convex inequality. In particular suffices when the second derivative exists. The secant estimate also gives the support-line inequality .
Worked examples
A controlled exponential approximation. At , the cubic Taylor polynomial for is . On , its fourth derivative is at most , so the absolute error is at most . This explicit bound remains valid on both sides of zero.
Convexity gives an inequality. Since , the tangent at zero lies below the graph: for every real . Strict convexity makes equality possible only at zero. Equivalently the concavity of gives for .
Graded practice
- Foundation. Find the order-three Taylor polynomial of at zero and bound its error on using the fourth derivative.
- Core. Prove is strictly convex directly from the defining inequality and identify the equality cases.
- Core. Use the support line for on at to derive an inequality.
- Proof. Explain why the finite-order Taylor theorem does not show that every infinitely differentiable function equals its Taylor series. State the additional required limit.
Full solutions
- . The fourth derivative is , with magnitude at most one, so the bound is . A sharper fifth-order argument is possible, but is not needed for this valid bound.
- The chord minus the function at the intermediate point is . It is positive for and , giving strict convexity; equality occurs for coincident endpoints or .
- Since , convexity applies. Its tangent at one is , so for , equivalent after multiplying by to .
- Each fixed order has its own remainder and potentially its own derivative bound. Representation at a given requires . Smoothness alone does not ensure it; the smooth function extended by zero at zero has every Taylor coefficient zero there but positive values at nonzero .
Summary and term definitions
An integral remainder expresses the exact finite approximation error. Convexity is a chord inequality, while a support line lies below a convex differentiable graph. The Cauchy mean value theorem compares two increments without initially dividing them. State derivative regularity and the interval under consideration before estimating any Taylor error.