Proof
Prerequisite proofs used below
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.
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.
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 .
Learning goals and proof dependencies
Construct sine and cosine analytically, prove their identities and a genuine fundamental period, and obtain the inverse-function domains and derivatives. We use factorial series convergence, uniform differentiation on compact intervals, the mean value theorem, the intermediate value theorem and real completeness. Familiar geometric sine/cosine identities are not assumptions in this construction.
Define for every real ,
On , factorial majorants bound both series and their derivative series by convergent numerical series: successive factorial denominators eventually make each ratio at most . The uniform derivative theorem for polynomial partial sums applies. Reindexing the differentiated series gives
Repeating proves both functions are infinitely differentiable. Their definitions also give and , since their powers are respectively odd and even.
1. The unit-circle identity is a theorem
Differentiate . Its derivative is . The mean value theorem makes it constant on the real line, and its value at zero is one. Therefore for all real . In particular both functions have absolute value at most one. No previously defined geometric circle parametrization was used to prove this identity.
We will also use a uniqueness observation. If differentiable satisfy and both vanish at zero, then and its initial value is zero. Both functions must therefore vanish everywhere. This elementary energy argument proves uniqueness for this two-equation system, without invoking an unproved general ODE theorem.
2. Addition formulas follow from uniqueness
Fix real and define
The derivative identities give , and both initial values are zero. Uniqueness therefore gives
They are valid for every pair of real inputs. Familiar double-angle formulas are now consequences obtained by setting the two inputs equal, not prior identities used in a circular definition.
3. Prove a first zero exists before defining pi
It is not enough to draw an oscillating curve and announce a period. The cosine series at two has first terms . Starting with its magnitude-two term, the absolute terms strictly decrease, because the subsequent magnitude ratio is for . The remaining tail after starts negative and its alternating pair sums are negative. Thus
Since and is continuous, it has a zero in . Continuity also makes it positive on some interval around zero. Let be the infimum of its positive zeros. A sequence of zeros approaching that infimum and continuity give ; the initial positive interval ensures . For , : any nonpositive value would give an earlier zero by continuity.
Therefore before , and . The unit-circle identity forces . Also on , so the first quarter has strictly decreasing and increasing .
Define the positive constant . This is an analytic definition of the usual constant, not an assumption about where a previously known sine vanishes.
4. Quarter turns prove the period and its minimality
Insert into the addition identities:
Applying twice changes both signs; applying four times returns both values. Hence
To prove is the smallest positive period, use the first-quarter signs and these quarter-turn relations. On successive open quarters the signs of are . At the intermediate endpoints the pairs are . Thus the pair does not recur for . Any common positive period smaller than would force such a return at zero, impossible. A period of alone would also be a period of its derivative ; a period of likewise forces a period of . Thus each function has that same fundamental period.
We now name and . The curve covers the unit circle once during : continuity and strict first-quarter monotonicity cover that quadrant exactly, and the quarter-turn formulas cover the rest. Its speed is . Under the usual arc-length formula its parameter is therefore oriented arc length on the unit circle, which identifies this analytic parameter with geometric radian measure. The algebraic construction and period proof do not depend on assuming that geometric interpretation first.
Continuous monotone inverses and principal branches
Let be a real interval and let be continuous and strictly monotone. Its image is an interval: every value between two image values is attained between their preimages by the intermediate value theorem. Strict monotonicity makes bijective. Its inverse is continuous relative to . Indeed fix and . If has a point below , choose with ; this is possible by the interval property. If there is no such point, every inverse value is already at least . Similarly, when there are points above , choose in . The positive numbers and for the sides that exist have a positive minimum ; if neither side exists, and continuity is immediate. For with , monotonicity places between the chosen brackets, on each side that exists. Thus . This argument works for increasing and decreasing functions and for included endpoints.
If is interior to , is differentiable at and , continuity and strict monotonicity give an open output interval around . For in that interval put . Injectivity gives , inverse continuity gives , and
The nonzero limit justifies the reciprocal and proves existence of the inverse derivative. No derivative continuity is required once strict monotonicity on the interval has been established.
For in , the addition formulas give : the midpoint lies strictly between and , and . Thus sine is strictly increasing on this closed interval; its endpoint values are . For , , since both sine factors are positive. Cosine is therefore strictly decreasing on , and its endpoint values are . Thus their continuous principal inverses have domains and ranges and , respectively. Tangent is continuous on and is strictly increasing there: for in that interval, , because and both cosine factors are positive. As its argument tends to the endpoints from within, its sine tends to or and its cosine tends to zero through positive values. Hence tangent tends to and . IVT gives its range and a continuous inverse into that open interval. The inverse difference quotient therefore applies to all three branches at every interior input. The positive square-root signs in the following formulas follow from cosine being positive on the arcsine interior range and sine being positive on the arccosine interior range.
5. Tangent and inverse branches follow
Define where . The quotient rule gives . On , cosine is positive, and the endpoint limits of tangent are . It is a bijection there onto , defining .
Sine is a bijection from onto , defining . Cosine is a decreasing bijection from onto , defining . The inverse derivative theorem on their open ranges gives
For arcsine, the branch cosine is positive and equals . For arccosine the branch sine is positive, with a negative derivative of cosine. These branch signs are part of the proof, not optional conventions. Endpoint inverse derivatives at are not finite conclusions of this theorem.
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.
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.
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 .
Worked identification and error control
The differential system gives successive derivatives of sine as and of cosine as . All have magnitude at most one. Taylor's theorem at zero therefore bounds any order- remainder by , which tends to zero for each fixed by eventual geometric ratio comparison. Their power-series definitions agree with their Taylor representations on all of . Here remainder control supplies the representation theorem rather than relying on the false general assertion that every smooth function equals its Taylor series.
Graded proof and domain tasks
- Construction. Explain why differentiating the defining series is justified on every bounded interval. What extra information beyond pointwise convergence is used?
- Uniqueness. If a twice-differentiable real function satisfies , , , prove without assuming a general ODE uniqueness theorem.
- Period audit. Explain why proving a return at alone would not prove it is the fundamental period. Supply the missing sign/initial-value argument.
- Inverse boundary. Justify the arcsine derivative sign and show why no finite one-sided derivative exists at input one.
- Taylor rigor. Prove for fixed , then explain why the same factorial argument cannot automatically be applied to an arbitrary smooth function's derivative bounds.
- Branch diagnosis. Explain why cannot equal for all real , even though for every .
Full solutions
- On a fixed , the function series and their differentiated polynomial terms admit convergent factorial majorants. The M-test gives uniform convergence of the derivative series, and the partial sums converge at zero. The uniform derivative theorem therefore identifies the derivative of the limit. Pointwise convergence alone would not justify that interchange.
- Let . It has and zero initial value and initial derivative. Differentiate to obtain . Its constant value is zero, so everywhere, proving the claimed expression. Existence is independently verified by differentiating that expression.
- A function can return after several smaller periods. Here the quarter-turn sign table and endpoint values show for every . A smaller common period would force equality to that initial pair. A period of either function also shifts its derivative, so it is common to both. Hence there is no smaller individual period either.
- On the chosen arcsine branch, , so the inverse derivative is for . For , the mean value theorem applied to arcsine on gives its secant slope as for some . As , every such , so the secant slopes tend to , not to a finite derivative.
- For , the ratio of consecutive positive bounds is , eventually at most , so they are bounded by a geometric sequence tending to zero. For , every bound is zero. For an arbitrary smooth function, the bound for its st derivative may itself grow with fast enough to defeat the factorial; no common magnitude-one bound was proved. Smoothness by itself is insufficient.
- Arcsine always outputs a value in , so it cannot return arbitrary real inputs outside that interval. Its defining inverse identity holds in the other order because sine restricted to that interval is bijective onto . Periodicity already prevents a global inverse of unrestricted sine.
Summary and terms
An analytic construction defines functions by convergent expressions and proves their laws. An energy identity makes a squared difference constant and supplies uniqueness. A fundamental period is the least positive period, requiring a minimality proof. A principal inverse branch restricts a periodic function to a bijection. The construction establishes existence, identities, period and branch conditions in that order, without circular reliance on geometric trigonometric formulas.