How statement and proof provenance work
The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.
- Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
- AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
- AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.
These labels describe origin, not correctness: citations and verification chips remain separate evidence.
The Fundamental Theorems of Calculus
1 · Prerequisites
- Bounded Variation and the Riemann–Stieltjes Integral
- Compactness in Metric Spaces
- Completeness, Completion, and Uniform Continuity
- Construction of the Natural Numbers
- Construction of the Real Numbers via Cauchy Sequences
- Construction of the Real Numbers via Dedekind Cuts
- Continuity, IVT, EVT, and Uniform Continuity
- Countability and Uncountability
- Foundations of the Real Numbers for Analysis
- Limits of Real Functions
- limsup, liminf, and Subsequential Limits
- Metric Spaces
- Monotone Functions, Discontinuities, and Continuity Sets
- Monotone Sequences, Bolzano-Weierstrass, and Cauchy Completeness
- Order, Zorn's Lemma, and the Axiom of Choice
- Properties of the Integral and the Working FTC
- Relations, Functions, and Quotients
- Roots, Rational Powers, and Classical Inequalities
- Sequences and Limits
- Sequences and Series of Functions; Uniform Convergence
- Series: Convergence and the Nonnegative Tests
- Suprema and Infima
- The Cantor Set, Baire Category, and Measure Zero in ℝ
- The Derivative and the Mean Value Theorems
- The Riemann Integral: Definition and Integrability
- The ZFC Axioms and the Basic Set Constructions
- Topology of ℝ
2 · Summary
bounded-variation-and-riemann-stieltjes supplies Riemann--Stieltjes integration and its reduction to an ordinary Riemann integral for a continuously differentiable integrator. uniform-convergence-of-functions supplies the uniform integral estimate used to pass a parameter derivative through an integral. sine-cosine-and-the-definition-of-pi supplies the derivative, bounds, and special values used in the oscillatory examples. The working first and second fundamental theorems already identify the derivative of an integral function at continuity points and evaluate an integrable derivative on a closed interval.
The development first separates the pointwise and almost-everywhere forms of the first theorem, then proves Newton--Leibniz with only an interior derivative and extends it across finite and countable exceptional sets. Integration by parts, substitution, one-sided differentiation, and differentiation under the integral sign follow with their endpoint and integrability hypotheses explicit. The closing theorem transfers both fundamental-theorem forms to continuously differentiable Riemann--Stieltjes integrators.
3 · Logical flowchart
4 · Definitions, theorems and proofs
Roadmap through the three strengths of FTC I and the five Riemann strengths of FTC II
Remark
There are three progressively broader Riemann forms of the first fundamental theorem. The continuous-integrand form says that the integral function is differentiable everywhere. The pointwise form The first fundamental theorem: if is integrable on and continuous at , then ; in particular a continuous has as a primitive needs continuity only at the point where the derivative is taken. The almost-everywhere consequence on this page combines that pointwise theorem with the Riemann integrability criterion; the later Lebesgue theory gives the corresponding absolutely-continuous formulation.
For Newton--Leibniz, the continuously differentiable working form is contained in The second fundamental theorem: if is differentiable on with and is integrable, then , whose published statement already allows an arbitrary integrable derivative on the closed interval. This page successively removes endpoint differentiability, permits finitely many exceptional interior points, and then permits a countable exceptional set by Botsko's theorem. The later absolutely-continuous theorem is stronger in a different direction and is not used here.
Assuming Countable Choice, the integral function of a Riemann-integrable function is Lipschitz and differentiable almost everywhere, with derivative equal to the integrand there
Statement
Assume the Axiom of Countable Choice. Let , let be Riemann integrable, and let
Then is Lipschitz on . If is the set of discontinuities of , then has measure zero and
Thus the set of points where fails to exist or differs from is contained in a set of measure zero. At and , the displayed derivative is the relative one-sided derivative on .
Facts & Assumptions
Given: Reals , an integrable , its integral function , and Countable Choice.
An integrable is bounded, and if then its integral function satisfies (The integral function of a bounded integrable is Lipschitz, hence uniformly continuous).
Assuming Countable Choice, a bounded function is Riemann integrable if and only if its discontinuity set has measure zero (Lebesgue's criterion for Riemann integrability: a bounded on is Riemann integrable if and only if its set of discontinuities has measure zero).
If is integrable and continuous at , then its integral function is differentiable at and , with relative endpoint derivatives (The first fundamental theorem: if is integrable on and continuous at , then ; in particular a continuous has as a primitive).
Proof
Integrability supplies a bound , so is Lipschitz by [L1].
The discontinuity set has measure zero by the forward implication of [L2], whose stated proof is the sole use of Countable Choice.
Every is a continuity point of , so [L3] gives there, including the relative derivative at an endpoint outside .
Hence every point at which the derivative conclusion fails lies in , and that containing set has measure zero.
Newton–Leibniz needs only continuity on , differentiability on , and a Riemann-integrable extension of the interior derivative
Statement
Let . Suppose is continuous on and differentiable on . If is Riemann integrable and
then
No derivative of at either endpoint is assumed, and the two endpoint values assigned to the integrable extension do not enter the conclusion.
Facts & Assumptions
Given: Reals , a continuous differentiable on , and an integrable agreeing there with .
If a function is continuous on and differentiable on , then some satisfies (The mean value theorem, as the case of Cauchy's: for continuous on with and differentiable on there is with ).
For a partition , the lower and upper Darboux sums are obtained by multiplying each subinterval length by the infimum and supremum of there (Partition of as a finite strictly increasing list , its subintervals and their lengths, its mesh, refinement, and the common refinement of two partitions, The lower and upper Darboux integrals of a bounded on as and , Darboux integrability as their equality, and the notation ).
If is integrable with integral , then every lower sum is at most and every upper sum is at least (The lower and upper Darboux integrals of a bounded on as and , Darboux integrability as their equality, and the notation ).
Proof
Fix a partition of . For each , [L1] gives such that .
If and are the infimum and supremum of on , then .
Summing step 2.1 and telescoping the increments of gives .
Taking the supremum of the lower sums and the infimum of the upper sums, which coincide because is integrable, yields .
Every lies in an open subinterval, so neither endpoint derivative nor either endpoint value of was used.
Newton–Leibniz remains valid across finitely many exceptional interior points when the primitive is continuous
Statement
Let , let be finite, and let be continuous. Suppose is differentiable at every point of , and let be Riemann integrable with
Then
Points of equal to or impose no additional condition, because the hypothesis concerns only interior derivatives.
Facts & Assumptions
Given: The data in the statement.
If a continuous function on a closed interval is differentiable in its interior and its interior derivative has an integrable extension, the extension integrates to the endpoint change (Newton–Leibniz needs only continuity on , differentiability on , and a Riemann-integrable extension of the interior derivative).
An integrable function restricts to closed subintervals, and its integral is additive over finitely many adjacent subintervals (For : is integrable on if and only if it is integrable on and on , and then ; with the oriented form for arbitrary ).
Proof
List the distinct points of in increasing order as ; if this set is empty, take . Put and .
On every , the restriction of is continuous and differentiable throughout the open subinterval, while the restriction of is integrable and agrees there with .
Applying [L1] on each subinterval gives .
Summing step 2.1, using [L2], and telescoping yields .
When there is one subinterval and the proof is exactly [L1]; endpoint members of never occur in an open subinterval.
Botsko's theorem: if is continuous on , off a countable subset of , and is Riemann integrable, then
Statement
Let , let be at most countable, let be continuous, and let be Riemann integrable. If is differentiable at every and
then
Neither derivatives at the endpoints nor derivatives at points of are required.
Facts & Assumptions
Given: The data in the statement.
An at-most-countable set is empty or, when nonempty, is the range of a surjection ; repetitions are allowed and no choice is required (Finite, countably infinite, countable, uncountable, A nonempty set is at most countable iff it is a surjective image of ).
Continuity at means that every prescribed positive error bounds throughout some neighbourhood of (Continuity of at a point of and on : the - condition, its agreement with at a limit point, and continuity at an isolated point).
Differentiability at means that the difference quotients tend to as (The derivative of at a point that is a limit point of , and differentiability on a set).
A nested sequence of nonempty closed bounded intervals whose lengths tend to has a one-point intersection (A nested sequence of nonempty closed bounded intervals has nonempty intersection, and the intersection is a single point exactly when the lengths tend to ).
The geometric sequence tends to (For the sequence is null, and for the sequence diverges to ).
For a partition , the lower and upper Darboux sums use the infima and suprema on its subintervals, and an integrable function has its integral between every such pair of sums (For bounded on and a partition : the infimum and supremum of on the -th subinterval, and the lower and upper Darboux sums and , The lower and upper Darboux integrals of a bounded on as and , Darboux integrability as their equality, and the notation , Partition of as a finite strictly increasing list , its subintervals and their lengths, its mesh, refinement, and the common refinement of two partitions).
Proof
It suffices first to prove the countable-exception monotonicity lemma: if is continuous and on , where is at most countable, then .
Suppose contrariwise that . By continuity choose with , and put .
If is nonempty, fix the surjection from [L1]; if is empty, put for every . Assign stage the slope-loss budget . The finite geometric-sum identity gives for every .
Fix a partition and let be the infimum and supremum of on . Off , the functions and have derivatives at most .
Construct nested closed intervals . Start with . Given , one of its two closed halves has secant slope at least the slope of , because the latter is the length-weighted average of the two half-slopes. Call that half . If , take . If , split at ; one nondegenerate side has slope at least the slope of , and [L2] lets us move its endpoint slightly into that side so that the resulting closed interval excludes and loses less than in slope. Thus , , , and its secant slope is at least .
By step 2.1 and [L5], the nested intervals have lengths tending to , so [L4] gives a unique in their intersection. The initial interval lies in , and for every ; hence .
Write . Both endpoints tend to . The secant slope on is a convex combination of the two difference quotients based at (omitting a zero-length side), so [L3] makes those slopes tend to . Step 2.1 keeps every slope at least , whence , contradicting the hypothesis. Therefore and the monotonicity lemma is proved.
Apply the lemma from step 4.1 on to obtain .
Summing step 5.1 and telescoping yields .
Since is integrable, the supremum of all lower sums and the infimum of all upper sums are both ; step 6.1 therefore forces .
Integration by parts for continuous factors with Riemann-integrable extensions of their interior derivatives
Statement
Let . Let be continuous on and differentiable on . Suppose are Riemann integrable and agree on with and , respectively. Then and are Riemann integrable and
Equivalently,
No endpoint derivative of either factor is assumed.
Facts & Assumptions
Given: The functions in the statement.
The product rule gives wherever both derivatives exist (Sums, scalar multiples, products and quotients: , , , and when ).
Continuous functions on a compact interval are Riemann integrable, and products of Riemann-integrable functions are Riemann integrable (A continuous function on is Riemann integrable, by Heine-Cantor and Riemann's criterion, If are integrable on then so are , , , and , and ).
The integral is linear on Riemann-integrable functions (Integrable functions on form a set closed under sums and scalar multiples, and ).
A continuous function with an interior derivative admitting an integrable extension satisfies Newton--Leibniz (Newton–Leibniz needs only continuity on , differentiability on , and a Riemann-integrable extension of the interior derivative).
Proof
The functions and are integrable, so [L2] makes and integrable; their sum is integrable as well.
The product is continuous on , differentiable on , and [L1] gives throughout the interior.
Apply [L4] to and its integrable derivative extension to obtain .
Expanding the left side by [L3] gives the first displayed identity, and subtraction gives the equivalent form.
Substitution for a continuous inner map with a Riemann-integrable extension of its interior derivative, without monotonicity or injectivity
Statement
Let , let with , and let be continuous. Suppose is continuous on and differentiable on , and that the interior derivative has a Riemann-integrable extension . Then is Riemann integrable and
The limits on the right are oriented. No injectivity or monotonicity of is required; the identity also covers and .
Facts & Assumptions
Given: The functions and intervals in the statement.
A continuous integrand has an integral function differentiable at every point, with derivative equal to that integrand (The first fundamental theorem: if is integrable on and continuous at , then ; in particular a continuous has as a primitive).
The chain rule gives on the interior (The chain rule, in one line from Carathéodory: if is differentiable at and is differentiable at , then is differentiable at with ).
Continuous functions on a compact interval are Riemann integrable, and products of Riemann-integrable functions are Riemann integrable (A continuous function on is Riemann integrable, by Heine-Cantor and Riemann's criterion, If are integrable on then so are , , , and , and ).
A continuous function with an interior derivative admitting an integrable extension satisfies Newton--Leibniz (Newton–Leibniz needs only continuity on , differentiability on , and a Riemann-integrable extension of the interior derivative).
Oriented integrals satisfy and (The integral with oriented limits: and ).
Proof
Fix and define with oriented limits. By [L1], is differentiable on and , including relative endpoint derivatives.
The composite is continuous and hence integrable; its product with the integrable is integrable by [L3].
The composite is continuous on , differentiable on , and [L2] gives there.
Applying [L4] to gives .
The oriented definition in [L5] gives for every , whether , , or . Taking and completes all three endpoint-order cases.
For an integrable , the one-sided derivatives of equal the corresponding one-sided limits of ; at a jump they are unequal
Statement
Let , let be Riemann integrable, and put .
- If and , then the right derivative exists and .
- If and , then the left derivative exists and .
In particular, if both one-sided limits exist at an interior point and are unequal, then is not differentiable there. The value itself is irrelevant to both conclusions.
Facts & Assumptions
Given: The integrable , its integral function , and the indicated one-sided limits.
Integral additivity gives for all , with oriented limits (The integral function of an integrable , For : is integrable on if and only if it is integrable on and on , and then ; with the oriented form for arbitrary ).
The right-limit condition says that for every , throughout a sufficiently short interval to the right of ; the left version is analogous (The left and right limits of at , as limits of the restrictions of to and ).
If on an interval of length , then (If on then for every partition ; in particular every constant function is integrable, with ).
Proof
Assume the right limit exists and fix . By [L2], choose so that whenever within .
For the left limit, take , rewrite the same quotient using the oriented integral over , and apply [L2] and [L3]; its limit is .
For with , [L1] and linearity give .
By [L3], the absolute value in step 2.1 is at most . Hence the right difference quotient tends to .
At an interior point a two-sided derivative would have to equal both one-sided derivatives, so unequal and preclude it. Neither estimate refers to .
Leibniz's rule on a compact rectangle: an interior parameter derivative with a continuous extension may be passed through a Riemann integral
Statement
Let and . Suppose are continuous and, for every fixed , the function is differentiable on with derivative . Define
Then is differentiable on as a function on that interval and
At and the derivative is relative and one-sided. The derivative hypothesis is imposed only for interior parameter values; continuity of supplies its endpoint values.
Facts & Assumptions
Given: The rectangle and functions in the statement.
A continuous real function on a compact interval is bounded and Riemann integrable (A continuous function on is Riemann integrable, by Heine-Cantor and Riemann's criterion).
A closed rectangle in is compact, and a continuous map from a compact metric space to is uniformly continuous (Heine-Borel in : with the Euclidean metric a subset of is compact if and only if it is closed and bounded, and the proof by bisection uses no choice principle; the same holds on the real line, Heine-Cantor: a continuous map from a compact metric space to any metric space is uniformly continuous).
The mean value theorem turns a difference quotient into a derivative value at an intermediate point (The mean value theorem, as the case of Cauchy's: for continuous on with and differentiable on there is with ).
If two integrable functions differ uniformly by at most , then their integrals over differ by at most (Uniformly close integrable functions have integrals differing by at most the interval length times their uniform error).
Relative differentiability on a closed interval is convergence of the difference quotient over points of that interval (The derivative of at a point that is a limit point of , and differentiability on a set).
Proof
For each , the slice is continuous, so [L1] makes well defined; the same applies to every slice of .
Fix and . Uniform continuity of on the compact rectangle gives such that whenever , uniformly in .
Let , . For every , [L3] applied to the parameter slice on the interval with endpoints gives a point strictly between them with .
Because , step 1.2 gives for every .
The difference-quotient slice is continuous in and hence integrable. Linearity and [L4] now give .
Step 4.1 is precisely the relative derivative condition [L5]. It works with at , with at , and with both signs in the interior, proving the formula everywhere.
The two FTC forms for a Riemann–Stieltjes integral with a integrator
Statement
Let . Suppose is continuous, differentiable on , and its derivative extends to a continuous function .
- If is Riemann integrable and continuous at , then is differentiable at and .
- If is Riemann integrable, is continuous and differentiable on , and there, then .
Endpoint derivatives in clause 1 are relative. Clause 2 does not divide by and remains valid where vanishes.
Facts & Assumptions
Given: The functions in the statement.
For a continuous integrator whose interior derivative extends continuously as , every Riemann-integrable is Riemann--Stieltjes integrable and on each closed subinterval (A continuously differentiable integrator reduces Stieltjes integration to ordinary integration).
A continuous function on a compact interval is Riemann integrable, and products of Riemann-integrable functions are integrable; hence is integrable because is continuous (A continuous function on is Riemann integrable, by Heine-Cantor and Riemann's criterion, If are integrable on then so are , , , and , and ).
The integral function of an integrable function is differentiable at each continuity point, with derivative equal to the integrand (The first fundamental theorem: if is integrable on and continuous at , then ; in particular a continuous has as a primitive).
A continuous function with an interior derivative admitting an integrable extension satisfies Newton--Leibniz (Newton–Leibniz needs only continuity on , differentiability on , and a Riemann-integrable extension of the interior derivative).
Proof
By [L1], . The product is integrable by [L2] and is continuous at .
Under the hypotheses of clause 2, [L1] and [L2] give , while is an integrable extension of the interior derivative of .
Applying [L3] to the ordinary integral function in step 1.1 gives , including either relative endpoint case.
Applying [L4] to gives , and step 1.2 proves the second clause without any division by .
5 · Examples, counterexamples and false statements
None yet.
Sources
Standard references
Recommended treatments; not extraction sources.
- J. Lebl, Basic Analysis I & II, Section 5.3
- J. K. Hunter, An Introduction to Real Analysis, Chapter 12
- J. Lebl, Basic Analysis I & II, Exercise 5.3.3
- M. W. Botsko, A Fundamental Theorem of Calculus that Applies to All Riemann Integrable Functions
- C. Swartz, Even More on the Fundamental Theorem of Calculus
- J. K. Hunter, An Introduction to Real Analysis, Theorem 12.10
- J. K. Hunter, An Introduction to Real Analysis, Theorem 12.12
- J. Lebl, Basic Analysis I & II, Theorem 5.3.5
- J. K. Hunter, An Introduction to Real Analysis, Theorem 12.4
- J. Lebl, Basic Analysis I & II, Theorem 9.1.1
- T. M. Apostol, Mathematical Analysis, 2nd ed., Chapter 7