GLOBAL KNOWLEDGE ARK

Mathematics · Article

Differentiation and integration theorems

Prove mean-value and finite Taylor theorems, construct proper integration from partitions, establish both directions of the fundamental theorem with their exact hypotheses, and distinguish certified finite errors from improper tail limits.

Back to Mathematics

After reading, you can

  • Define differentiability as a finite local linear approximation and prove derivative rules, including the zero-inner-change case of composition.
  • Prove Fermat, Rolle, mean-value and Darboux theorems, retaining endpoint, interval and derivative-continuity distinctions.
  • Derive finite Taylor remainders and both zero-limit and infinite-denominator derivative-ratio rules, including their failure conditions.
  • Construct the proper Riemann integral from lower and upper sums and prove its all-fine-partitions, all-tags criterion and basic integrability results.
  • Establish both fundamental-theorem directions, oriented substitution, integration by parts and integral Taylor remainders under explicit integrability assumptions.
  • Prove improper tail criteria, comparison and conditional convergence, and attach actual function bounds and physical units to numerical integration errors.
01

Define a finite derivative and its local linear error

Let f be real-valued on a neighborhood of c. Its derivative at c is the finite limit f′(c)=lim[h→0](f(c+h)−f(c))/h, with h≠0 and c+h in the domain. At a finite interval endpoint we may separately define a one-sided derivative. An infinite quotient limit is not a finite derivative under this definition.

Writing A=f′(c), differentiability is equivalent to f(c+h)=f(c)+Ah+h e(h), where e(h)→0. For h≠0, define e(h) as the difference quotient minus A; the derivative limit proves one direction, and division by h proves the other. Set e(0)=0 when a formula at zero is useful. The statement h e(h)=o(h) concerns the error relative to the size of the input change.

Derivatives: exact local changesExact finite polynomials or a named absolute-value corner; increment0 is kept distinct from a limit. Which derivative, selected difference quotient and local linear error actually exist? Derivatives: exact local changesExact function values on one shifted scaleFunction at the centerFunction at the incrementLocal linear prediction-1/81/8Shared exact shifted axis; full origin and span below.
Read the exact quantities and theorem premises together. Every plotted quantity is named; exact values remain in the tables.

Question: Which derivative, selected difference quotient and local linear error actually exist?

Operation and domain: Exact finite polynomials or a named absolute-value corner; increment0 is kept distinct from a limit.

These are dimensionless mathematical examples. Exact formulas and reviewed theorem hypotheses supply infinite conclusions; finite samples and pixels do not prove a derivative limit, integrability or tail convergence.

Ascending polynomial coefficients: 1, -2, 0, 1

The shared drawing axis has exact origin=-1/8 and span=1/4. Rational subtraction/division precedes Number conversion. Every role occupies its own row, so equal or subpixel-separated values retain visible markers. Pixels do not decide equality.

Exact scientific quantities and qualifications
QuantityExact valueMeaning
Finite derivative-5/4A theorem about the defined function, not an estimate from the selected increment.
Selected difference quotient-91/100Division by the original nonzero increment only.
Function remainder17/250f(c+h)−f(c)−f′(c)h; distinct from quotient error.
Quotient error17/50The selected quotient minus the derivative, when both exist.
Complete exact inputs, finite computations and theorem qualifications
Exact drawing axis and normalized coordinates
QuantityExact value
Origin-1/8
Span1/4
Right tick1/8
Function at the center1/8; normalized 1
Function at the increment-57/1000; normalized 34/125
Local linear prediction-1/8; normalized 0
Actual detached exact input declaration
DeclarationPlain data used
d-cubic{"id":"d-cubic","label":"Cubic at a rational center","mode":"polynomial","coefficients":["1","-2","0","1"],"center":"1/2","increment":"1/5"}

This representation proves continuity at c. The finite number A and a function e bounded near zero give |f(c+h)−f(c)|≤|h|(|A|+|e(h)|)→0. Continuity alone is insufficient: |x| is continuous at 0, but its left and right difference quotients are −1 and 1.

A quotient tolerance and a function-value tolerance have different scales. If |e(h)|<ε, then the error in the linear approximation is less than ε|h|. A derivative test must control all sufficiently small nonzero increments, rather than a finite list of sample slopes. A graph or a small numerical difference can suggest a value without proving that quantified statement.

For f(x)=x³−2x at c=2, direct expansion gives f(2)=4 and [f(2+h)−4]/h=10+6h+h². Under 0<|h|<1 the quotient error is less than 7|h|. The same expansion identifies the function approximation error as 6h²+h³. It supplies a concrete bound without assuming a differentiation rule that has yet to be proved.

02

Prove the chain rule without dividing by a zero inner change

The local-error formula proves linearity: if f(c+h)=f(c)+Ah+h e_f(h) and g(c+h)=g(c)+Bh+h e_g(h), then a f+b g has derivative aA+bB. Product expansion leaves the linear coefficient f(c)B+g(c)A; every other term divided by h tends to 0 because f and g are continuous and the error functions vanish.

If g(c)≠0, continuity gives a neighborhood where |g(c+h)|>|g(c)|/2. The reciprocal difference quotient equals −[g(c+h)−g(c)]/[h g(c+h)g(c)], which tends to −g′(c)/g(c)². Combining reciprocal and product rules yields (f/g)′=(f′g−fg′)/g² wherever the denominator is nonzero. A quotient formula never assigns a value at a missing zero denominator.

For composition, suppose f is differentiable at c and G is differentiable at d=f(c), with the composition defined nearby. Let k=f(c+h)−f(c). Continuity gives k→0. Write G(d+k)−G(d)=G′(d)k+k η(k), with η(k)→0 as k→0 and η(0)=0.

Divide this last identity by the original nonzero h, not by k. The factor k/h tends to f′(c) and is bounded near zero, while η(k)→0, including when k is exactly 0 for infinitely many increments. Therefore (G∘f)′(c)=G′(f(c)) f′(c). Cancelling the inner change k without treating k=0 would leave a gap in this proof.

These arguments establish polynomial and rational differentiation and the derivative rules for elementary functions wherever those functions have already been defined and their basic derivatives justified. They are local assertions. A derivative can exist at every point while being unbounded or discontinuous; none of these rules has established continuity of f′.

03

Retain closed-endpoint continuity in the mean value theorems

Fermat’s theorem says that an interior local extremum of a differentiable real function has derivative 0. At a local maximum, positive-increment quotients are nonpositive and negative-increment quotients are nonnegative. Their common finite limit must be 0. Reverse signs for a local minimum. The interior and differentiability assumptions are essential: an endpoint extremum or the corner of |x| need not have this property.

For Rolle’s theorem, assume f is continuous on [a,b], differentiable on (a,b), a<b, and f(a)=f(b). The extreme-value theorem gives a maximum and a minimum. If both equal the endpoint value, f is constant and every interior derivative is 0. Otherwise an extremum different from that shared endpoint value occurs inside, and Fermat supplies a point c with f′(c)=0.

The mean value theorem applies the same argument to F(x)=f(x)−s(x−a), where s=[f(b)−f(a)]/(b−a). Its endpoint values agree, so for some c∈(a,b), f′(c)=s. Only f itself must be continuous at the two endpoints. Endpoint derivatives, continuity of f′, and uniqueness of c are not required.

Mean values and derivative DarbouxKeep closed endpoint continuity, interior differentiability and division-free Cauchy identities explicit. Which mean-value or derivative-intermediate-value conclusion is justified? Mean values and derivative DarbouxDomain positions on one exact x-axisLeft endpoint aChosen mean-value witnessRight endpoint b-1/25/2Shared exact shifted axis; full origin and span below.
Read the exact quantities and theorem premises together. Every plotted quantity is named; exact values remain in the tables.

Question: Which mean-value or derivative-intermediate-value conclusion is justified?

Operation and domain: Keep closed endpoint continuity, interior differentiability and division-free Cauchy identities explicit.

These are dimensionless mathematical examples. Exact formulas and reviewed theorem hypotheses supply infinite conclusions; finite samples and pixels do not prove a derivative limit, integrability or tail convergence.

The shared drawing axis has exact origin=-1/2 and span=3. Rational subtraction/division precedes Number conversion. Every role occupies its own row, so equal or subpixel-separated values retain visible markers. Pixels do not decide equality.

Exact scientific quantities and qualifications
QuantityExact valueMeaning
Secant slope-1Exact endpoint difference divided by positive interval length.
Derivative at witness-1Exact finite derivative; no derivative-continuity assumption is needed by MVT.
Chosen interior witness1The unique affine-derivative solution for this nonaffine quadratic.
Complete exact inputs, finite computations and theorem qualifications
Exact drawing axis and normalized coordinates
QuantityExact value
Origin-1/2
Span3
Right tick5/2
Left endpoint a-1/2; normalized 0
Chosen mean-value witness1; normalized 1/2
Right endpoint b5/2; normalized 1
Actual detached exact input declaration
DeclarationPlain data used
m-quadratic{"id":"m-quadratic","label":"A quadratic secant on a closed interval","mode":"quadratic","coefficients":["2","-3","1"],"a":"-1/2","b":"5/2"}

Closed-endpoint continuity cannot be inferred from interior differentiability. Define f(0)=1 and f(x)=x for 0<x≤1. Its endpoint values agree, yet every interior derivative is 1. The jump at the left endpoint is exactly the missing Rolle hypothesis.

A stationary point need not be an extremum. The differentiable function x|x| has derivative 0 at 0, but it changes from negative to positive there. The theorem proves a necessary condition at an interior differentiable extremum; solving f′=0 supplies candidates that still need a separate extremum argument.

04

Separate a cross-product identity from a quotient identity

Cauchy’s mean value theorem assumes f and g continuous on [a,b] and differentiable on (a,b). Set Δf=f(b)−f(a) and Δg=g(b)−g(a). The function H(x)=Δf g(x)−Δg f(x) has equal endpoint values. Rolle therefore gives Δf g′(c)=Δg f′(c) for some c∈(a,b). This cross-product identity requires no nonzero denominator.

To write Δf/Δg=f′(c)/g′(c), require Δg≠0 and g′(c)≠0. A useful sufficient assumption is that g′ is nowhere zero throughout (a,b): Rolle then rules out Δg=0, and the supplied c also has a nonzero derivative. For a constant g, the cross-product identity can be 0=0 while both displayed quotient expressions are undefined.

The ordinary mean value theorem implies monotonicity on an interval: if f′≥0 at every interior point, every endpoint difference is nonnegative; if f′>0, every such difference is positive. The assertion applies separately to every closed subinterval lying in the domain. A nondecreasing differentiable function conversely has nonnegative derivative, by the signs of its difference quotients.

If f′=0 on an interval, the same theorem gives f(y)=f(x) for every pair of domain points, hence constancy. The interval condition matters: a function can have value 0 on one open component and value 5 on another, with derivative 0 everywhere in its disconnected domain. There is then no intervening closed subinterval on which to invoke the theorem.

A bound |f′|≤L on an interval implies |f(y)−f(x)|≤L|y−x|. For L>0 this gives a uniform-continuity tolerance δ=ε/L; for L=0 every positive δ works directly. A derivative bound established only at sampled points does not provide this global Lipschitz conclusion.

05

Keep intermediate derivative values without requiring derivative continuity

Derivatives obey an intermediate-value property even without being continuous. Suppose f is differentiable on an open interval containing [u,v] and f′(u)<λ<f′(v). Define H(x)=f(x)−λx. Then H′(u)<0 implies some points immediately to the right have value below H(u), so u cannot minimize H on [u,v].

Likewise H′(v)>0 implies some points immediately to the left have value below H(v), so v cannot be a minimizer. Continuity and compactness give a minimizing point in the interior. Fermat there gives H′(c)=0, or f′(c)=λ. For f′(u)>λ>f′(v), apply the analogous argument to an interior maximum. Equalities at an endpoint are already attained.

This is Darboux’s theorem for derivatives. Its use of f′ at u and v is legitimate because these are interior points of the original differentiability domain, even though they serve as endpoints of this auxiliary compact subinterval. No appeal to continuity of f′ has entered the proof.

For F(x)=x² sin(1/x) when x≠0 and F(0)=0, the quotient at 0 is x sin(1/x), whose absolute value is at most |x|; thus F′(0)=0. At nonzero points F′(x)=2x sin(1/x)−cos(1/x). Phase points with 1/x an even multiple of π give derivative −1; odd multiples give +1. Both types approach 0, so F′ is discontinuous there.

Darboux still supplies every value between −1 and 1 between adjacent phase points, arbitrarily close to 0. A proposed derivative that jumps directly from −1 to +1 while missing 0 on an interval is therefore impossible. The intermediate-value property is strictly weaker than continuity, as this oscillatory derivative demonstrates.

06

Distinguish a finite Taylor estimate from an infinite series identity

Fix a center c and a finite integer n≥0. A convenient finite Taylor hypothesis is that f has continuous derivatives through order n on the closed segment from c to x and has an (n+1)st derivative at every interior point. With P_n(t)=Σ[k=0,…,n] f^(k)(c)(t−c)^k/k!, the Lagrange remainder formula is f(x)−P_n(x)=f^(n+1)(ξ)(x−c)^(n+1)/(n+1)! for some ξ strictly between c and x, when x≠c.

To prove it, set A=[f(x)−P_n(x)]/(x−c)^(n+1) and H(t)=f(t)−P_n(t)−A(t−c)^(n+1). Then H and its first n derivatives vanish at c, and H(x)=0. Repeated applications of Rolle, retaining the zero at c at each stage, give an interior point ξ where H^(n+1)(ξ)=0. Rearrangement yields the formula. The same reasoning on the reversed segment handles x<c.

If |f^(n+1)|≤M throughout the intervening open segment, the absolute error is at most M|x−c|^(n+1)/(n+1)!. This is a finite approximation theorem with a quantified derivative bound. It does not assert that an infinite Taylor series equals f. Such an identity requires a further argument making the remainders tend to 0 as n increases.

Finite Taylor enclosuresFinite Lagrange remainder at center0; no infinite Taylor identity or floating logarithm is used. What finite signed logarithm enclosure follows from the entire derivative segment? Finite Taylor enclosuresFunction-value enclosures on one exact scaleCertified logarithm lower endpointFinite polynomial valueCertified logarithm upper endpoint5/1847/162Shared exact shifted axis; full origin and span below.
Read the exact quantities and theorem premises together. Every plotted quantity is named; exact values remain in the tables.

Question: What finite signed logarithm enclosure follows from the entire derivative segment?

Operation and domain: Finite Lagrange remainder at center0; no infinite Taylor identity or floating logarithm is used.

These are dimensionless mathematical examples. Exact formulas and reviewed theorem hypotheses supply infinite conclusions; finite samples and pixels do not prove a derivative limit, integrability or tail convergence.

The highest derivative is(−1)^n n!/(1+t)^(n+1). Its sign and positive denominator range control the remainder on the whole segment. Even a valid finite estimate does not prove an infinite Taylor identity.

The shared drawing axis has exact origin=5/18 and span=1/81. Rational subtraction/division precedes Number conversion. Every role occupies its own row, so equal or subpixel-separated values retain visible markers. Pixels do not decide equality.

Exact scientific quantities and qualifications
QuantityExact valueMeaning
Finite polynomial value5/18A finite polynomial remains defined even if the requested logarithm value is outside its real domain.
Signed remainder enclosure[1/192, 1/81]All intermediate positive derivative denominators lie between the two exact endpoint powers.
Logarithm enclosure[163/576, 47/162]Bounds are valid inclusive enclosures; they need not be optimal.
Absolute error bound1/81A bound for the finite polynomial, not a sampled error estimate.
Bound strictly below tolerancefalseStrict inequality is used; equality with tolerance does not qualify.
Complete exact inputs, finite computations and theorem qualifications
Exact drawing axis and normalized coordinates
QuantityExact value
Origin5/18
Span1/81
Right tick47/162
Certified logarithm lower endpoint163/576; normalized 27/64
Finite polynomial value5/18; normalized 0
Certified logarithm upper endpoint47/162; normalized 1
Actual detached exact input declaration
DeclarationPlain data used
t-positive{"id":"t-positive","label":"A quadratic logarithm polynomial","mode":"log","order":2,"x":"1/3","tolerance":"1/100"}

A different local statement is the Peano remainder: if f has derivatives through order n in a neighborhood of c, then f(c+h)=Σ[k=0,…,n] f^(k)(c)h^k/k!+o(|h|^n), for n≥1. Continuity of the highest derivative near c is not needed. Let R be f minus that polynomial. For n=1 this is the derivative definition. In the induction step the corresponding assertion for f′ gives R′(c+t)=o(|t|^(n−1)).

Apply Cauchy’s mean value theorem to R(c+t) and t^n between 0 and a nonzero h. Since R(c)=0, some θ strictly between 0 and h satisfies R(c+h)/h^n=R′(c+θ)/(n θ^(n−1)). The right side tends to 0 as h→0 by the induction estimate, proving the claim for either sign of h. Neither this local small-o result nor the finite Lagrange formula authorizes differentiation of an arbitrary infinite series.

07

Check the zero limits and the whole derivative-ratio tail

A zero-over-zero derivative-ratio theorem is a consequence of Cauchy’s mean value theorem, not a permission to differentiate any numerator and denominator. For a right-hand limit at a finite a, suppose f and g are differentiable on (a,a+d), both tend to 0 as x→a+, and g′ is never 0 there. Suppose also f′(x)/g′(x) tends to L, either a finite real number or a specified signed infinity.

Extend f(a)=g(a)=0. These extensions are continuous at a. For each x>a close enough, Rolle rules out g(x)=0, since g(a)=0 and g′ has no zero between them. Cauchy’s mean value theorem on [a,x] now supplies c_x∈(a,x) with f(x)/g(x)=f′(c_x)/g′(c_x).

For finite L and any ε>0, the derivative-ratio limit bounds its distance from L by ε on the whole sufficiently short punctured interval. The supplied c_x stays in that interval, proving the same bound for f(x)/g(x). For L=+∞, choose the derivative ratio larger than any proposed positive threshold on that interval; the same identity proves divergence to +∞. Use a negative threshold or replace f by −f for L=−∞.

A left-hand finite endpoint follows by writing x=a−t with t→0+. A zero-over-zero limit at +∞ follows by writing x=1/t with t→0+; the common chain-rule factor −1/t² cancels in the derivative ratio. At −∞ use x=−1/t. The transformed functions must still satisfy the stated zero limits and nonzero denominator-derivative condition. These changes of variables establish the other approach directions rather than assuming them.

Repeated use is legitimate only after checking the hypotheses anew for each resulting quotient. A finite nonzero-over-nonzero limit, such as (1+x)/(2+x) as x→0, is already 1/2; differentiating gives 1 and is not an application of the theorem. Nor does a quotient limit imply that its derivative ratio converges. For example (x+sin x)/x→1 at +∞, while 1+cos x has no limit.

08

Prove what survives a diverging denominator

There is a distinct infinite-denominator theorem. On a one-sided approach interval, assume f and g differentiable, g′ nowhere 0, |g(x)|→∞, and f′/g′→L. No limit for f itself is required. First let L be finite, choose η>0, and fix a point y far enough into the approach that |f′(t)/g′(t)−L|<η for every later t.

For any later x, Rolle ensures g(x)≠g(y). Cauchy’s theorem gives [f(x)−f(y)]/[g(x)−g(y)]=r_xy with |r_xy−L|<η. Rearranging yields f(x)/g(x)−L=[f(y)−L g(y)]/g(x)+(r_xy−L)[1−g(y)/g(x)]. The fixed first numerator divided by g(x) tends to 0, and the bracket tends to 1.

Consequently the eventual absolute error is bounded by a vanishing quantity plus η times a factor tending to 1. Given ε>0, choose η=ε/4, then choose x late enough that the first term has size below ε/2 and the factor has size below 2. The total is strictly below ε. The argument uses only |g|→∞ and the derivative-ratio tail, not an assumed infinity-over-infinity form.

For L=+∞, fix a desired output threshold B>0. Choose y late enough that all later derivative ratios exceed 2B+2. The same Cauchy ratio r_xy then exceeds 2B+2. For sufficiently late x, the factor 1−g(y)/g(x) is positive and larger than 1/2, while f(y)/g(x)>−1. Thus f(x)/g(x)=f(y)/g(x)+r_xy[1−g(y)/g(x)]>B. Replacing f by −f proves the −∞ case.

The interval between x and y must stay in the differentiability domain. The proof works on either finite endpoint side or an infinite tail, with “later” meaning closer to that endpoint. Nonzero g′, whole-tail derivative-ratio control and actual divergence of |g| are the operative conditions. If a source states only the finite-L version, the signed-infinite argument above is a further proof, rather than a quotation of a broader printed theorem.

09

Define proper integration with bounded functions and finite partitions

For the proper Riemann integral, begin with a bounded real function f on a finite closed interval [a,b], a<b. A partition P is a finite increasing list a=x₀<x₁<⋯<x_m=b. On each closed cell let m_i=inf f and M_i=sup f. These finite bounds exist by real completeness; attaining them is unnecessary.

Define L(f,P)=Σ m_i(x_i−x_(i−1)) and U(f,P)=Σ M_i(x_i−x_(i−1)). The lower integral is the supremum of all lower sums; the upper integral is the infimum of all upper sums. Boundedness of f and finite interval length make both finite. A refinement raises lower sums and lowers upper sums, since every smaller cell has at least as large an infimum and at most as large a supremum.

Two partitions have a common refinement consisting of their combined endpoints. Therefore every lower sum is at most every upper sum, including sums from different partitions. The lower integral is at most the upper integral. The function is properly Riemann integrable when these numbers agree; their common value is written ∫_a^b f(x) dx.

The partition gap is U(f,P)−L(f,P)=Σ ω_i(f)(x_i−x_(i−1)), where ω_i(f)=M_i−m_i is the oscillation on that cell. Integrability is equivalent to the existence, for every ε>0, of some partition with gap less than ε. One direction follows by choosing a near-best lower partition and upper partition and taking a common refinement; the other follows because the upper integral minus the lower integral lies below every partition gap.

Set ∫_a^a f=0 as a separate degenerate-interval convention, and define ∫_b^a f=−∫_a^b f for a<b whenever the latter integral exists. A proper Riemann integral on a nondegenerate compact interval requires boundedness. An unbounded endpoint expression must instead be treated using truncation limits, not silently placed into these finite-sum definitions.

10

Control every sufficiently fine partition and every tag choice

For tags ξ_i∈[x_(i−1),x_i], define S(f,P,ξ)=Σ f(ξ_i)(x_i−x_(i−1)). The mesh |P| is the largest cell length. The tagged-sum criterion states that f is properly integrable with value I if and only if, for every ε>0, there is δ>0 such that every partition with |P|<δ and every choice of tags has |S−I|<ε. A single convenient sequence of uniform grids is insufficient.

Partitions and all-tag certificatesBounded finite proper integration; all-tags or finite-exception arguments remain theorem premises, not fitted grid conclusions. Which proper integral, tagged sum or quantified partition enclosure is justified? Partitions and all-tag certificatesIntegral-valued enclosures on one exact scaleLower Darboux sumChosen tagged sumExact polynomial integralUpper Darboux sum333/100747/125Shared exact shifted axis; full origin and span below.
Read the exact quantities and theorem premises together. Every plotted quantity is named; exact values remain in the tables.

Question: Which proper integral, tagged sum or quantified partition enclosure is justified?

Operation and domain: Bounded finite proper integration; all-tags or finite-exception arguments remain theorem premises, not fitted grid conclusions.

These are dimensionless mathematical examples. Exact formulas and reviewed theorem hypotheses supply infinite conclusions; finite samples and pixels do not prove a derivative limit, integrability or tail convergence.

The shared drawing axis has exact origin=333/100 and span=1323/500. Rational subtraction/division precedes Number conversion. Every role occupies its own row, so equal or subpixel-separated values retain visible markers. Pixels do not decide equality.

Exact scientific quantities and qualifications
QuantityExact valueMeaning
Exact integral9/2Finite polynomial primitive; existence also follows from continuity.
Lower and upper sums[333/100, 747/125]Each cell includes its true quadratic endpoint/vertex extrema.
Selected tagged sum441/100The actual chosen finite rule, not all possible tags.
Actual absolute error9/100Exact for this finite polynomial and selected rule.
Proved rule error bound27/20Global derivative bound and mesh, with factor1/4 for midpoint.
Bound strictly below tolerancefalseDifferent from testing the actual error.
Complete exact inputs, finite computations and theorem qualifications
Exact proper cells, extrema and tags
CellClosed intervalMinimumMaximumTagValue at tag
1-1 .. -2/539/253-7/10219/100
2-2/5 .. 1/521/2539/25-1/10111/100
31/5 .. 4/53/421/251/23/4
44/5 .. 7/521/2539/2511/10111/100
57/5 .. 239/25317/10219/100
Exact drawing axis and normalized coordinates
QuantityExact value
Origin333/100
Span1323/500
Right tick747/125
Lower Darboux sum333/100; normalized 0
Chosen tagged sum441/100; normalized 20/49
Exact polynomial integral9/2; normalized 65/147
Upper Darboux sum747/125; normalized 1
Actual detached exact input declaration
DeclarationPlain data used
i-midpoint{"id":"i-midpoint","label":"Exact quadratic cells with midpoint tags","mode":"quadratic","coefficients":["1","-1","1"],"a":"-1","b":"2","cells":5,"tags":"midpoint","tolerance":"1/20"}

To prove the forward direction, choose a fixed partition P₀ with gap less than ε/2 and let |f|≤B. Refine any other partition Q by inserting the interior endpoints of P₀, obtaining R. Only Q cells crossing one of those finitely many endpoints need be split. If there are m such endpoints, their total length is at most m|Q|.

Retain the original tag in every unsplit cell; choose arbitrary tags in the new subcells. The difference between the Q sum and this R sum has absolute value at most 2Bm|Q|, since each affected cell contributes at most twice B times its length. Every tagged R sum and I lie between L(f,P₀) and U(f,P₀), so their distance is less than ε/2. Choose δ making 2Bmδ<ε/2; if Bm=0, that contribution is already zero.

For the converse, assume the stated all-partitions, all-tags limit exists. For a fixed sufficiently fine P, tags can approximate the infimum in every cell as closely as desired, so lower sums are limits of tagged sums for that same P. Similarly, upper sums are limits of approximately maximizing tagged sums. Applying the tagged assertion with tolerance ε/4 bounds each of L and U within ε/4 of I, allowing equality at that bound after taking a limit. Thus the gap is at most ε/2<ε, and the Darboux criterion proves integrability and the same value I.

The tag choices need not attain an infimum or supremum. There are only finitely many cells, so choose approximate extremizers with a sufficiently small common error, weighted by total interval length. The argument explains exactly why control of all tags is powerful enough to prove integrability, and why agreement of left, right or midpoint sums alone may miss a nonintegrable function.

11

Preserve bounded operations and oriented interval addition

For properly integrable bounded f and g, finite linear combinations are integrable and their integrals are the same linear combinations. The oscillation bound ω(a f+b g)≤|a|ω(f)+|b|ω(g), combined with a common refinement of two small-gap partitions, proves existence. The tagged-sum criterion then gives the value by taking limits of the corresponding finite sum identities.

Products are also properly integrable: if |f|≤B_f and |g|≤B_g, then |f(x)g(x)−f(y)g(y)|≤B_f|g(x)−g(y)|+B_g|f(x)−f(y)| on each cell. Thus ω(fg)≤B_fω(g)+B_gω(f), and common-refinement gaps again tend to 0. There is no claim that the integral of a product equals the product of the integrals.

Absolute value satisfies ω(|f|)≤ω(f), so |f| is integrable. If f≤g pointwise, every tagged sum for f is no larger than the matching tagged sum for g, giving ∫f≤∫g. Hence |∫f|≤∫|f|≤B_f(b−a). These inequalities distinguish the magnitude of the signed accumulation from the accumulation of magnitudes.

For a<c<b, integrability on [a,b] implies it on both subintervals by restricting a fine partition that includes c; the total nonnegative gap bounds each restricted gap. Conversely, combine small-gap partitions from [a,c] and [c,b] to get a small total gap. Finite sums split exactly at c, giving ∫_a^b f=∫_a^c f+∫_c^b f.

With the zero-length and reversed-endpoint conventions, the same oriented additivity identity holds for any ordering of three endpoints, provided f is integrable on the finite segment containing them. This is an algebraic orientation convention, not a claim that a negative-length cell belongs in the original increasing-partition definition.

12

Prove integrability by uniform continuity or telescoping sums

A continuous real function on [a,b] is bounded and uniformly continuous. Given ε>0, choose a distance tolerance δ so that any two points within δ have function difference less than ε/[2(b−a)]. A partition with mesh below δ then has each cell oscillation at most that value, even if a supremum is approached rather than attained. Its gap is at most ε/2, proving proper integrability.

A monotone function on [a,b] is bounded even if it has jumps. For a nondecreasing f on the uniform n-cell partition, each cell infimum and supremum are its left and right endpoint values. The gap telescopes to [(b−a)/n][f(b)−f(a)], which tends to 0. A nonincreasing function follows by changing its sign.

The continuous proof provides a function-specific modulus; the monotone proof provides a range-based exact gap bound. Neither asserts that a graph rendered on a fine grid is enough to certify integrability. A discontinuity can be missed by the grid, and a dense oscillatory function can produce entirely misleading sample values.

For f(x)=x² on [0,1], the uniform lower and upper sums are (n−1)(2n−1)/(6n²) and (n+1)(2n+1)/(6n²). Both tend to 1/3, and their gap is exactly 1/n. This simultaneously identifies the integral and proves an error enclosure for every tagged sum on that partition.

A strict target matters when choosing an integer grid size. Gap less than 1/100 first occurs at n=101; n=100 gives equality. A theorem that bounds an error by the partition gap supplies a sufficient certification. It need not give the least grid size for a particular midpoint or trapezoidal rule, whose exact error can be much smaller.

13

Distinguish finite changes, dense oscillation and small rational peaks

A bounded function with only finitely many discontinuities on [a,b] is properly integrable. Enclose those exceptional points in finitely many short intervals with arbitrarily small total length. On the compact complement the function is continuous and hence uniformly continuous. Take a sufficiently fine partition containing the enclosure endpoints: oscillations on the complement are small, while the enclosed contribution is at most twice a global bound times their total length.

More explicitly, if |f|≤B, choose the exceptional enclosure length so that 2B times that length is less than ε/2, ignoring this condition when B=0. Partition the finitely many complementary closed intervals finely enough that their combined oscillation-weighted length is less than ε/2. Insert all boundary points. Cells inside the exceptional enclosure have gap at most their length times 2B. This proves a total gap less than ε, including exceptional original endpoints by one-sided enclosures.

Changing a properly integrable function at finitely many points preserves its integral. The difference is bounded and supported on finitely many points. Enclose those points as above; outside the enclosures it is zero. Both the integral and its magnitude are bounded by a fixed function bound times arbitrarily small total enclosure length, so the difference has integral 0. Linearity gives the original value. Boundedness of finitely many reassigned finite values is automatic; replacing a value by an undefined infinity would be a different matter.

The rational indicator D, equal to 1 on rationals and 0 on irrationals, is not properly integrable on any nondegenerate interval. Every positive-length cell contains both types, so every lower sum is 0 and every upper sum is the interval length. Fully rational tags and fully irrational tags give those two different sums regardless of mesh size.

Thomae’s function T on [0,1] is different: set T(x)=0 for irrational x, and T(p/q)=1/q for a reduced rational with q>0. For each integer N, only finitely many domain rationals have q≤N. Choose a partition making the total length of cells incident to this finite set less than η. Outside those cells T≤1/(N+1); everywhere T≤1, and every lower sum is 0 by irrational density. Thus U(T,P)≤η+1/(N+1). Taking N large and η small proves integral 0, despite a dense set of rational discontinuities. This direct proof does not invoke an unproved general criterion for sets of discontinuities.

14

State exactly where the accumulated derivative equals the integrand

Let f be properly integrable on [a,b], and define F(x)=∫_a^x f(t) dt for x∈[a,b]. If |f|≤B, oriented additivity and the integral bound give |F(y)−F(x)|≤B|y−x|. The accumulated integral is therefore Lipschitz and continuous on the whole interval, even when f has discontinuities.

At an interior point c where f is continuous, use F(c+h)−F(c)=∫_c^(c+h) f(t) dt. Subtract f(c)h and divide by h. The absolute value of the resulting quotient error is at most the supremum of |f(t)−f(c)| between c and c+h; orientation does not alter this bound. Continuity makes it tend to 0, proving F′(c)=f(c). Endpoint continuity analogously gives the corresponding one-sided derivative.

Continuity of f at c is a sufficient condition, not a necessary condition for differentiability of F. If f equals 7 at one point and 0 elsewhere, its accumulated integral is identically 0. The derivative exists everywhere, but at the exceptional point it is 0 rather than the assigned value 7. Finite point changes preserve integrals without preserving the pointwise identity F′=f at the changed points.

A jump can instead prevent differentiability. For f=0 below 1/3 and f=2 at and above 1/3 on [0,1], the accumulation is 0 up to 1/3 and 2(x−1/3) afterward. Its left slope at the join is 0 and its right slope is 2, so no two-sided derivative exists there. The accumulated function remains 2-Lipschitz.

This first fundamental-theorem direction says where integration constructs a primitive. When f is continuous throughout the interval, it constructs a primitive everywhere inside. For a merely integrable f, the result does not promise a primitive agreeing pointwise with every prescribed value of f. The distinction matters when measured data include steps, spikes or pointwise redefinitions.

15

Require proper integrability before using endpoint differences

For the other fundamental-theorem direction, assume F continuous on [a,b], differentiable on (a,b), and that its derivative extends to a properly Riemann integrable real function f on [a,b]. Endpoint values of that extension may be chosen arbitrarily as finite numbers; the integral is unaffected. Then ∫_a^b f=F(b)−F(a). Proper integrability of the derivative is a real hypothesis, not an automatic consequence of differentiability.

On each cell of any partition, the mean value theorem gives an interior tag ξ_i with F(x_i)−F(x_(i−1))=F′(ξ_i)(x_i−x_(i−1)). Sum over the cells: the left side telescopes exactly to F(b)−F(a), and the right side is a tagged sum for f. Because f is integrable, sufficiently fine such sums tend to ∫f. The telescoping value is constant for every partition, proving the identity.

A continuously differentiable F satisfies the derivative-integrability assumption, because its derivative is continuous and bounded on a finite compact interval. The theorem above is wider: a discontinuous derivative can still be Riemann integrable. Conversely a derivative can be unbounded, preventing any proper Riemann integral on the nondegenerate compact interval.

For example, F(x)=x² sin(1/x²) for x≠0, F(0)=0, is differentiable at 0 with F′(0)=0. Away from 0, F′(x)=2x sin(1/x²)−2 cos(1/x²)/x. At x_n=(2πn)^(−1/2), the sine term is 0 and F′(x_n)=−2/x_n→−∞. Thus F′ is not bounded on [0,1] and is not properly Riemann integrable there.

An improper integral of an oscillatory derivative may still exist through a separate truncation argument, but that is a different statement with its own limits. One must not use the proper theorem on an unbounded integrand and then treat the resulting expression as proof that all differentiable functions have properly integrable derivatives.

16

Use zero-derivative constancy on the stated interval

A primitive of f on an interval I is a differentiable F with F′=f at every interior point under discussion. If F and G are two primitives on I, their difference has derivative 0. The mean value theorem on every closed subinterval gives F−G constant on I. On a disconnected domain there can instead be a different constant on each component.

For continuous f on [a,b], the accumulated integral supplies one primitive in the interior, and the second fundamental-theorem direction evaluates the integral using any primitive F continuous at the endpoints: ∫_a^b f=F(b)−F(a). This conclusion uses the continuity or other actual integrability of f. The notation “+C” expresses the intervalwise family of primitives, not an additional contribution to a definite endpoint difference.

The same endpoint rule respects orientation: ∫_b^a f=F(a)−F(b). At a degenerate interval both differences are zero. Keeping the order explicit is especially useful for substitutions whose derivative is negative or changes sign, where treating a definite integral as an unsigned area would give the wrong answer.

A continuous real f on an interval can have a primitive without that primitive being a one-to-one function. Nor does the existence of a primitive establish arbitrary changes of variables, infinite interchanges or integrations over a noncompact domain. Those are new conclusions with additional hypotheses.

In scientific use, a primitive records signed accumulated change in the variable of integration. If f is a rate, its primitive can differ by a baseline constant fixed by an initial condition. Derivatives eliminate that constant; a measured baseline or boundary condition is needed to recover a specific physical state.

17

Track the whole image and the signed endpoint order

An oriented one-dimensional substitution theorem has a particularly clean continuous form. Let g be continuously differentiable on [α,β], and let f be continuous on an interval J containing the entire image g([α,β]). Then ∫_α^β f(g(t))g′(t) dt=∫_(g(α))^(g(β)) f(u) du. The right side is oriented according to the two endpoint values.

Choose a base point u₀∈J and define H(u)=∫_(u₀)^u f. The first fundamental theorem gives H′=f. The chain rule gives (H∘g)′=f(g)g′, which is continuous on the compact t interval. Apply the second fundamental theorem to H∘g to obtain H(g(β))−H(g(α)), equal by additivity to the displayed right side.

This proof does not require g to be injective or monotone. Portions traced forward and backward cancel with their signs. If g(α)=g(β), the oriented integral is 0 even when g makes a nontrivial excursion. However f must be defined and continuous on an interval covering every intermediate image value, not merely at the two endpoint images.

FTC and oriented substitutionDistinguish continuity at a point, proper derivative integrability, whole-image coverage and endpoint orientation. Which actual accumulation derivative or oriented substitution is defined? FTC and oriented substitutionWhole image extrema and endpoint image valuesWhole image minimumInitial image g(a)Final image g(b)Whole image maximum04Shared exact shifted axis; full origin and span below.
Read the exact quantities and theorem premises together. Every plotted quantity is named; exact values remain in the tables.

Question: Which actual accumulation derivative or oriented substitution is defined?

Operation and domain: Distinguish continuity at a point, proper derivative integrability, whole-image coverage and endpoint orientation.

These are dimensionless mathematical examples. Exact formulas and reviewed theorem hypotheses supply infinite conclusions; finite samples and pixels do not prove a derivative limit, integrability or tail convergence.

The outer polynomial is continuous onR, including the entire inner image. No inverse map is used by oriented substitution. Reversing the t endpoints negates both displayed t integrals.

The shared drawing axis has exact origin=0 and span=4. Rational subtraction/division precedes Number conversion. Every role occupies its own row, so equal or subpixel-separated values retain visible markers. Pixels do not decide equality.

Exact scientific quantities and qualifications
QuantityExact valueMeaning
Whole image[0, 4]Endpoint and interior quadratic extrema are all included.
Oriented substitution integral0Primitive evaluated at g(b) and g(a); nonmonotone traversal retains its sign.
Absolute-Jacobian integral24A distinct integral with |g prime|, still using the declared t endpoint orientation.
Outer function nonnegative on imagetrueOnly then does a forward absolute-Jacobian integral represent unsigned weighted area.
Complete exact inputs, finite computations and theorem qualifications
Monotone pieces for the distinct absolute Jacobian
t interval (ascending)Image traversalPiece with |g prime|
-2 .. 04 to 012
0 .. 20 to 412
Exact drawing axis and normalized coordinates
QuantityExact value
Origin0
Span4
Right tick4
Whole image minimum0; normalized 0
Initial image g(a)4; normalized 1
Final image g(b)4; normalized 1
Whole image maximum4; normalized 1
Actual detached exact input declaration
DeclarationPlain data used
f-nonmonotone{"id":"f-nonmonotone","label":"A nonmonotone polynomial substitution","mode":"substitution","inner":["0","0","1"],"outer":["1","1","0"],"a":"-2","b":"2"}

A different change-of-variables formula for an unsigned measure uses an absolute Jacobian and appropriate multiplicity or injectivity hypotheses. It is not the oriented identity proved here. Replacing g′ by |g′| in this theorem changes its content and generally removes cancellation.

For g(t)=t³−t on [−1,1], the endpoint images are both 0 although the map is nonmonotone. Taking f(u)=1+u² gives an oriented integral of 0. The direct polynomial expansion is 3t⁸−7t⁶+5t⁴+2t²−1; its integral over [−1,1] is 2/3−2+2+4/3−2=0, agreeing with the theorem.

18

Keep boundary terms and the correct integral remainder factor

Integration by parts follows from the product rule under proper integrability assumptions. Suppose u and v are continuous on [a,b], differentiable inside, and u′ and v′ have properly Riemann integrable bounded extensions to [a,b]. The products u′v and uv′ are integrable by the bounded product result. The product derivative is their sum, so the second fundamental theorem gives ∫_a^b u v′=[uv]_a^b−∫_a^b u′v.

Continuously differentiable u and v are a familiar sufficient case. The wider statement still requires the derivative integrals to exist properly. At an improper endpoint, first use the formula on a finite regular truncation, keep its boundary term there, and then justify each limit. A divergent boundary term cannot be discarded because a formal symbol suggests cancellation.

For an integral Taylor remainder of degree n, assume f has continuous derivatives through order n on the finite segment from c to x, is differentiable once more inside, and f^(n+1) has a proper Riemann integrable extension on that segment. Then f(x)=Σ[k=0,…,n] f^(k)(c)(x−c)^k/k!+(1/n!)∫_c^x (x−t)^n f^(n+1)(t) dt. Requiring f∈C^(n+1) is a simpler sufficient assumption.

To derive the formula, for fixed x set J_n=(1/n!)∫_c^x (x−t)^n f^(n+1)(t) dt. For n=0 the second fundamental theorem gives J₀=f(x)−f(c). For n≥1 integrate by parts with u=(x−t)^n/n! and v=f^(n)(t). The boundary at t=x is 0, and the boundary at c contributes −f^(n)(c)(x−c)^n/n!. Thus J_n=J_(n−1)−f^(n)(c)(x−c)^n/n!. Repeating gives the stated finite polynomial plus J_n.

If |f^(n+1)|≤M, taking the absolute value of the oriented kernel integral gives |J_n|≤M|x−c|^(n+1)/(n+1)!. The coefficient inside the integral is 1/n!, while the bound after integration is 1/(n+1)!. The Lagrange remainder earlier did not require proper integrability of the highest derivative; that extra condition is needed for this proper integral representation. The two versions should not be assigned identical weakest hypotheses.

19

Take actual truncation limits with separate endpoint tails

An improper integral is defined by limits of proper integrals. If f is properly integrable on every [a,R], the integral ∫_a^∞ f exists as a finite ordinary improper integral when lim[R→∞]∫_a^R f is finite. If f is singular at a finite endpoint a but properly integrable on every [a+ε,b], define ∫_a^b f by the finite limit as ε→0+ of those truncated integrals.

A left-infinite endpoint and a right finite singular endpoint use the analogous one-sided limits. Local proper integrability on each retained finite segment must be established first. Undefined or unbounded endpoint values do not themselves enter a proper integral; the truncation excludes the problematic endpoint before the limit is taken.

When both endpoints are improper, or an interior point c is singular, the ordinary definition requires separate finite limits on both sides of a regular splitting point. For instance ∫_(−∞)^∞ f means the sum of independently convergent left and right tails. An interior singularity likewise requires the two one-sided integrals to converge separately. The common split does not change the result when the separate limits exist, by finite-interval additivity.

Symmetric cancellation is a different limiting procedure. For 1/x on (−1,1), the two ordinary tails at 0 diverge, although ∫_(−1)^(−ε)1/x+∫_ε^1 1/x=0 for every ε>0. That symmetric principal value is not the ordinary improper integral. This lesson does not develop a general principal-value or Lebesgue integration theory.

An improper integral may converge while the absolute-value integral diverges. That is conditional convergence and depends on genuine cancellation with controlled tails. It is not permission to rearrange pieces, combine independent divergent limits, or interchange an infinite sum or function limit with integration without an additional theorem.

20

Use a tail criterion before exchanging infinite expressions

For a locally properly integrable f on [a,∞), the improper integral converges if and only if, for every ε>0, there is M such that |∫_u^v f|<ε whenever v>u≥M. This is the Cauchy tail criterion. If I(R)=∫_a^R f has a finite limit, subtracting its two sufficiently late values proves necessity.

For sufficiency, the integer truncations I(n), for integers beyond a, form a real Cauchy sequence and hence converge to some I by completeness. For any sufficiently large real R, compare I(R) with I(⌊R⌋); both endpoints lie beyond the Cauchy threshold, so their difference is small. The integer value is also close to I, proving the full real-parameter limit. Convergence only along an unexamined sequence of cutoffs would not by itself prove that limit.

For a finite singular endpoint a, use the analogous condition |∫_u^v f|<ε for all a<u<v<a+δ. The truncations ∫_(a+1/n)^b f are Cauchy and converge; compare every other sufficiently small positive cutoff with a nearby 1/n using the same tail condition. Thus the endpoint criterion again controls every approach, rather than only a convenient subsequence.

For nonnegative f on a right-infinite tail, the accumulated integral I(R) is nondecreasing. It converges finitely if and only if it is bounded above. Indeed its supremum is finite, and a value within ε of that supremum forces every later value into the same ε interval. If 0≤f≤g eventually and the nonnegative g integral converges, the f integrals are bounded above by a finite initial segment plus the convergent g tail. This proves the comparison test. The reverse comparison transfers divergence from a smaller nonnegative function.

If the improper integral of |f| converges, then |∫_u^v f|≤∫_u^v |f| and the right side tends uniformly to 0 in the tail. The Cauchy criterion proves convergence of ∫f. The same arguments work near a finite endpoint after reversing its truncation direction. Absolute convergence is a sufficient condition; conditional examples show it is not necessary.

21

Distinguish the two endpoint thresholds and conditional cancellation

For x≥1, direct finite integration gives ∫_1^R x^(−p) dx=(R^(1−p)−1)/(1−p) when p≠1, and log R when p=1. A finite limit occurs precisely when p>1, with value 1/(p−1). If p<1, the power term diverges positively; if p=1, the logarithm diverges.

Near zero the threshold reverses: ∫_ε^1 x^(−p) dx=(1−ε^(1−p))/(1−p) for p≠1 and −log ε for p=1. Its finite limit exists precisely for p<1, with value 1/(1−p). The same power cannot be assigned a convergence threshold without specifying the endpoint range.

Improper tails and error certificatesProper finite truncations first; separate ordinary tails, strict magnitudes and rule-specific bounds. Which ordinary improper value or finite error certificate is actually available? Improper tails and error certificatesExact positive-power test; relation is in the tablePositive-power left comparisonPositive-power right comparison72940000/9Shared exact shifted axis; full origin and span below.
Read the exact quantities and theorem premises together. Every plotted quantity is named; exact values remain in the tables.

Question: Which ordinary improper value or finite error certificate is actually available?

Operation and domain: Proper finite truncations first; separate ordinary tails, strict magnitudes and rule-specific bounds.

These are dimensionless mathematical examples. Exact formulas and reviewed theorem hypotheses supply infinite conclusions; finite samples and pixels do not prove a derivative limit, integrability or tail convergence.

The shared drawing axis has exact origin=729 and span=33439/9. Rational subtraction/division precedes Number conversion. Every role occupies its own row, so equal or subpixel-separated values retain visible markers. Pixels do not decide equality.

Exact scientific quantities and qualifications
QuantityExact valueMeaning
Ordinary improper convergencetrueFor x^(−p) on[1,infinity), require p>1.
Ordinary integral2/3Exact total on the named endpoint range.
Exact tail magnitude1/[(3/2)*(9)^(3/2)]An exact positive algebraic expression; no floating power is treated as an oracle.
Rational tail value when certified2/81Exact integer-root power identities certify this simplification; otherwise the algebraic expression remains exact.
Strict tail certificatefalseRaising positive sides to the exponent denominator preserves the required order.
Complete exact inputs, finite computations and theorem qualifications
Exact drawing axis and normalized coordinates
QuantityExact value
Origin729
Span33439/9
Right tick40000/9
Positive-power left comparison729; normalized 0
Positive-power right comparison40000/9; normalized 1
Actual detached exact input declaration
DeclarationPlain data used
r-tail{"id":"r-tail","label":"A positive-power infinite tail","mode":"p-test","power":"5/2","endpoint":"infinity","cutoff":"9","tolerance":"1/100"}

Consider ∫_1^∞ sin x/x dx. On any finite [R,T] with T>R≥1, integration by parts gives ∫_R^T sin x/x=[−cos x/x]_R^T−∫_R^T cos x/x². The absolute value is at most 1/T+1/R+∫_R^T 1/x²=2/R. This bound tends to 0 independently of T, so the Cauchy tail criterion proves convergence.

It does not converge absolutely. On each block [nπ,(n+1)π], n≥1, 1/x≥1/((n+1)π), while the integral of |sin x| over that block is 2. Thus the block absolute integral is at least 2/((n+1)π). Summing this divergent harmonic lower bound proves divergence of the absolute integral. A finite initial interval does not change that conclusion.

The finite tail estimate also bounds the remaining signed tail after a cutoff R by 2/R, by taking the limit T→∞. For a strict target 1/100, R=201 is a sufficient integer cutoff. The estimate does not identify the least possible cutoff for this oscillatory function, nor does it compute the exact value of the improper integral.

22

Attach a proved function bound to a numerical mesh

A numerical integration certificate needs a bound for every point between samples. Suppose f is L-Lipschitz on [a,b], and let a partition have cell lengths h_i and mesh h. Each cell oscillation is at most Lh_i, so its Darboux gap contribution is at most Lh_i². Summing gives U−L≤LΣh_i²≤L(b−a)h.

For midpoint quadrature, let m_i be the midpoint of cell i. The cell error has magnitude at most ∫ L|x−m_i| dx=Lh_i²/4. Therefore the total midpoint error is at most (L/4)Σh_i²≤L(b−a)h/4. This proof uses actual integration and the assumed Lipschitz bound, rather than fitting an error law to a few computed grids.

A known derivative bound |f′|≤L on the interval supplies the required Lipschitz constant by the mean value theorem. Continuous functions without such a bound may still have usable uniform-continuity moduli and proper integrals, but this particular L-based estimate cannot be assumed. At L=0 the function is constant and the quadrature is exact.

For f(x)=x² on [0,2], |f′|≤4. Equal cells have h=2/n, giving the sufficient midpoint bound 4/n. To make this bound strictly less than 1/100 requires n≥401. The exact midpoint error for this polynomial is instead 2/(3n²), with first strict cutoff n=9, since n=8 gives 1/96 and n=9 gives 2/243.

The difference between those cutoffs reflects the information used: the Lipschitz certificate applies uniformly to all functions meeting that one bound, while the exact error uses the special polynomial and rule. The grid values alone establish neither certificate. Distinguish a proven sufficient bound, its own strict cutoff, and the true least grid size for a particular integrand.

23

Preserve physical units and the next uniform-convergence gate

If x carries a physical unit X and f carries unit Y, f′ has unit Y/X and ∫f dx has unit Y·X. A Lipschitz constant for f has unit Y/X. The quadrature estimate L(b−a)h therefore has unit Y·X, matching an integral tolerance. Treating a tolerance in Y as though it were an integral tolerance would be dimensionally wrong.

Taylor terms also preserve dimensions: f^(k)(c) has unit Y/X^k, and multiplication by (x−c)^k returns unit Y. A logarithm, exponential or trigonometric argument must be dimensionless, usually obtained by dividing a measured quantity by a stated reference scale. The elementary expressions in the worked examples use dimensionless real variables unless units are separately specified.

In mechanics an acceleration derivative or an accumulated displacement can share this mathematical structure, but the physical assumptions defining the functions remain separate from the calculus theorem. At a jump or idealized impulse, a smooth-function derivation cannot be extended solely because a plotted curve looks close. Units, boundary conditions and the chosen ordinary or generalized model must be stated.

A finite computation can verify an exact arithmetic identity for a worked example and can expose a failed assumption. It cannot replace a quantified derivative limit, the all-tags integration criterion, a global Lipschitz proof or an infinite tail bound. Numerical diagnostics are most useful when the theorem supplies the missing between-sample and beyond-cutoff control.

The next lesson studies sequences of functions. Pointwise convergence by itself does not preserve continuity or authorize limits through proper integrals or derivatives. Uniform convergence supplies some finite-interval conclusions, while differentiation requires an additional derivative-and-anchor theorem. Even uniform convergence on an unbounded interval does not by itself authorize an improper integral interchange. These are separate mathematical questions, not consequences of the finite identities proved here.

Choose an exact function, partition or theorem premise. Finite values illustrate the reviewed arguments; the stated hypotheses and bounds supply every limit, integral and tail certificate.

Derivatives: exact local changes

Cubic at a rational center · ready

Derivatives: exact local changesExact finite polynomials or a named absolute-value corner; increment0 is kept distinct from a limit. Which derivative, selected difference quotient and local linear error actually exist? Derivatives: exact local changesExact function values on one shifted scaleFunction at the centerFunction at the incrementLocal linear prediction-1/81/8Shared exact shifted axis; full origin and span below.
Read the exact quantities and theorem premises together. Every plotted quantity is named; exact values remain in the tables.

Question: Which derivative, selected difference quotient and local linear error actually exist?

Operation and domain: Exact finite polynomials or a named absolute-value corner; increment0 is kept distinct from a limit.

These are dimensionless mathematical examples. Exact formulas and reviewed theorem hypotheses supply infinite conclusions; finite samples and pixels do not prove a derivative limit, integrability or tail convergence.

Ascending polynomial coefficients: 1, -2, 0, 1

The shared drawing axis has exact origin=-1/8 and span=1/4. Rational subtraction/division precedes Number conversion. Every role occupies its own row, so equal or subpixel-separated values retain visible markers. Pixels do not decide equality.

Exact scientific quantities and qualifications
QuantityExact valueMeaning
Finite derivative-5/4A theorem about the defined function, not an estimate from the selected increment.
Selected difference quotient-91/100Division by the original nonzero increment only.
Function remainder17/250f(c+h)−f(c)−f′(c)h; distinct from quotient error.
Quotient error17/50The selected quotient minus the derivative, when both exist.
Complete exact inputs, finite computations and theorem qualifications
Exact drawing axis and normalized coordinates
QuantityExact value
Origin-1/8
Span1/4
Right tick1/8
Function at the center1/8; normalized 1
Function at the increment-57/1000; normalized 34/125
Local linear prediction-1/8; normalized 0
Actual detached exact input declaration
DeclarationPlain data used
d-cubic{"id":"d-cubic","label":"Cubic at a rational center","mode":"polynomial","coefficients":["1","-2","0","1"],"center":"1/2","increment":"1/5"}

Mean values and derivative Darboux

A quadratic secant on a closed interval · ready

Mean values and derivative DarbouxKeep closed endpoint continuity, interior differentiability and division-free Cauchy identities explicit. Which mean-value or derivative-intermediate-value conclusion is justified? Mean values and derivative DarbouxDomain positions on one exact x-axisLeft endpoint aChosen mean-value witnessRight endpoint b-1/25/2Shared exact shifted axis; full origin and span below.
Read the exact quantities and theorem premises together. Every plotted quantity is named; exact values remain in the tables.

Question: Which mean-value or derivative-intermediate-value conclusion is justified?

Operation and domain: Keep closed endpoint continuity, interior differentiability and division-free Cauchy identities explicit.

These are dimensionless mathematical examples. Exact formulas and reviewed theorem hypotheses supply infinite conclusions; finite samples and pixels do not prove a derivative limit, integrability or tail convergence.

The shared drawing axis has exact origin=-1/2 and span=3. Rational subtraction/division precedes Number conversion. Every role occupies its own row, so equal or subpixel-separated values retain visible markers. Pixels do not decide equality.

Exact scientific quantities and qualifications
QuantityExact valueMeaning
Secant slope-1Exact endpoint difference divided by positive interval length.
Derivative at witness-1Exact finite derivative; no derivative-continuity assumption is needed by MVT.
Chosen interior witness1The unique affine-derivative solution for this nonaffine quadratic.
Complete exact inputs, finite computations and theorem qualifications
Exact drawing axis and normalized coordinates
QuantityExact value
Origin-1/2
Span3
Right tick5/2
Left endpoint a-1/2; normalized 0
Chosen mean-value witness1; normalized 1/2
Right endpoint b5/2; normalized 1
Actual detached exact input declaration
DeclarationPlain data used
m-quadratic{"id":"m-quadratic","label":"A quadratic secant on a closed interval","mode":"quadratic","coefficients":["2","-3","1"],"a":"-1/2","b":"5/2"}

Finite Taylor enclosures

A quadratic logarithm polynomial · ready

Finite Taylor enclosuresFinite Lagrange remainder at center0; no infinite Taylor identity or floating logarithm is used. What finite signed logarithm enclosure follows from the entire derivative segment? Finite Taylor enclosuresFunction-value enclosures on one exact scaleCertified logarithm lower endpointFinite polynomial valueCertified logarithm upper endpoint5/1847/162Shared exact shifted axis; full origin and span below.
Read the exact quantities and theorem premises together. Every plotted quantity is named; exact values remain in the tables.

Question: What finite signed logarithm enclosure follows from the entire derivative segment?

Operation and domain: Finite Lagrange remainder at center0; no infinite Taylor identity or floating logarithm is used.

These are dimensionless mathematical examples. Exact formulas and reviewed theorem hypotheses supply infinite conclusions; finite samples and pixels do not prove a derivative limit, integrability or tail convergence.

The highest derivative is(−1)^n n!/(1+t)^(n+1). Its sign and positive denominator range control the remainder on the whole segment. Even a valid finite estimate does not prove an infinite Taylor identity.

The shared drawing axis has exact origin=5/18 and span=1/81. Rational subtraction/division precedes Number conversion. Every role occupies its own row, so equal or subpixel-separated values retain visible markers. Pixels do not decide equality.

Exact scientific quantities and qualifications
QuantityExact valueMeaning
Finite polynomial value5/18A finite polynomial remains defined even if the requested logarithm value is outside its real domain.
Signed remainder enclosure[1/192, 1/81]All intermediate positive derivative denominators lie between the two exact endpoint powers.
Logarithm enclosure[163/576, 47/162]Bounds are valid inclusive enclosures; they need not be optimal.
Absolute error bound1/81A bound for the finite polynomial, not a sampled error estimate.
Bound strictly below tolerancefalseStrict inequality is used; equality with tolerance does not qualify.
Complete exact inputs, finite computations and theorem qualifications
Exact drawing axis and normalized coordinates
QuantityExact value
Origin5/18
Span1/81
Right tick47/162
Certified logarithm lower endpoint163/576; normalized 27/64
Finite polynomial value5/18; normalized 0
Certified logarithm upper endpoint47/162; normalized 1
Actual detached exact input declaration
DeclarationPlain data used
t-positive{"id":"t-positive","label":"A quadratic logarithm polynomial","mode":"log","order":2,"x":"1/3","tolerance":"1/100"}

Partitions and all-tag certificates

Exact quadratic cells with midpoint tags · ready

Partitions and all-tag certificatesBounded finite proper integration; all-tags or finite-exception arguments remain theorem premises, not fitted grid conclusions. Which proper integral, tagged sum or quantified partition enclosure is justified? Partitions and all-tag certificatesIntegral-valued enclosures on one exact scaleLower Darboux sumChosen tagged sumExact polynomial integralUpper Darboux sum333/100747/125Shared exact shifted axis; full origin and span below.
Read the exact quantities and theorem premises together. Every plotted quantity is named; exact values remain in the tables.

Question: Which proper integral, tagged sum or quantified partition enclosure is justified?

Operation and domain: Bounded finite proper integration; all-tags or finite-exception arguments remain theorem premises, not fitted grid conclusions.

These are dimensionless mathematical examples. Exact formulas and reviewed theorem hypotheses supply infinite conclusions; finite samples and pixels do not prove a derivative limit, integrability or tail convergence.

The shared drawing axis has exact origin=333/100 and span=1323/500. Rational subtraction/division precedes Number conversion. Every role occupies its own row, so equal or subpixel-separated values retain visible markers. Pixels do not decide equality.

Exact scientific quantities and qualifications
QuantityExact valueMeaning
Exact integral9/2Finite polynomial primitive; existence also follows from continuity.
Lower and upper sums[333/100, 747/125]Each cell includes its true quadratic endpoint/vertex extrema.
Selected tagged sum441/100The actual chosen finite rule, not all possible tags.
Actual absolute error9/100Exact for this finite polynomial and selected rule.
Proved rule error bound27/20Global derivative bound and mesh, with factor1/4 for midpoint.
Bound strictly below tolerancefalseDifferent from testing the actual error.
Complete exact inputs, finite computations and theorem qualifications
Exact proper cells, extrema and tags
CellClosed intervalMinimumMaximumTagValue at tag
1-1 .. -2/539/253-7/10219/100
2-2/5 .. 1/521/2539/25-1/10111/100
31/5 .. 4/53/421/251/23/4
44/5 .. 7/521/2539/2511/10111/100
57/5 .. 239/25317/10219/100
Exact drawing axis and normalized coordinates
QuantityExact value
Origin333/100
Span1323/500
Right tick747/125
Lower Darboux sum333/100; normalized 0
Chosen tagged sum441/100; normalized 20/49
Exact polynomial integral9/2; normalized 65/147
Upper Darboux sum747/125; normalized 1
Actual detached exact input declaration
DeclarationPlain data used
i-midpoint{"id":"i-midpoint","label":"Exact quadratic cells with midpoint tags","mode":"quadratic","coefficients":["1","-1","1"],"a":"-1","b":"2","cells":5,"tags":"midpoint","tolerance":"1/20"}

FTC and oriented substitution

A nonmonotone polynomial substitution · ready

FTC and oriented substitutionDistinguish continuity at a point, proper derivative integrability, whole-image coverage and endpoint orientation. Which actual accumulation derivative or oriented substitution is defined? FTC and oriented substitutionWhole image extrema and endpoint image valuesWhole image minimumInitial image g(a)Final image g(b)Whole image maximum04Shared exact shifted axis; full origin and span below.
Read the exact quantities and theorem premises together. Every plotted quantity is named; exact values remain in the tables.

Question: Which actual accumulation derivative or oriented substitution is defined?

Operation and domain: Distinguish continuity at a point, proper derivative integrability, whole-image coverage and endpoint orientation.

These are dimensionless mathematical examples. Exact formulas and reviewed theorem hypotheses supply infinite conclusions; finite samples and pixels do not prove a derivative limit, integrability or tail convergence.

The outer polynomial is continuous onR, including the entire inner image. No inverse map is used by oriented substitution. Reversing the t endpoints negates both displayed t integrals.

The shared drawing axis has exact origin=0 and span=4. Rational subtraction/division precedes Number conversion. Every role occupies its own row, so equal or subpixel-separated values retain visible markers. Pixels do not decide equality.

Exact scientific quantities and qualifications
QuantityExact valueMeaning
Whole image[0, 4]Endpoint and interior quadratic extrema are all included.
Oriented substitution integral0Primitive evaluated at g(b) and g(a); nonmonotone traversal retains its sign.
Absolute-Jacobian integral24A distinct integral with |g prime|, still using the declared t endpoint orientation.
Outer function nonnegative on imagetrueOnly then does a forward absolute-Jacobian integral represent unsigned weighted area.
Complete exact inputs, finite computations and theorem qualifications
Monotone pieces for the distinct absolute Jacobian
t interval (ascending)Image traversalPiece with |g prime|
-2 .. 04 to 012
0 .. 20 to 412
Exact drawing axis and normalized coordinates
QuantityExact value
Origin0
Span4
Right tick4
Whole image minimum0; normalized 0
Initial image g(a)4; normalized 1
Final image g(b)4; normalized 1
Whole image maximum4; normalized 1
Actual detached exact input declaration
DeclarationPlain data used
f-nonmonotone{"id":"f-nonmonotone","label":"A nonmonotone polynomial substitution","mode":"substitution","inner":["0","0","1"],"outer":["1","1","0"],"a":"-2","b":"2"}

Improper tails and error certificates

A positive-power infinite tail · ready

Improper tails and error certificatesProper finite truncations first; separate ordinary tails, strict magnitudes and rule-specific bounds. Which ordinary improper value or finite error certificate is actually available? Improper tails and error certificatesExact positive-power test; relation is in the tablePositive-power left comparisonPositive-power right comparison72940000/9Shared exact shifted axis; full origin and span below.
Read the exact quantities and theorem premises together. Every plotted quantity is named; exact values remain in the tables.

Question: Which ordinary improper value or finite error certificate is actually available?

Operation and domain: Proper finite truncations first; separate ordinary tails, strict magnitudes and rule-specific bounds.

These are dimensionless mathematical examples. Exact formulas and reviewed theorem hypotheses supply infinite conclusions; finite samples and pixels do not prove a derivative limit, integrability or tail convergence.

The shared drawing axis has exact origin=729 and span=33439/9. Rational subtraction/division precedes Number conversion. Every role occupies its own row, so equal or subpixel-separated values retain visible markers. Pixels do not decide equality.

Exact scientific quantities and qualifications
QuantityExact valueMeaning
Ordinary improper convergencetrueFor x^(−p) on[1,infinity), require p>1.
Ordinary integral2/3Exact total on the named endpoint range.
Exact tail magnitude1/[(3/2)*(9)^(3/2)]An exact positive algebraic expression; no floating power is treated as an oracle.
Rational tail value when certified2/81Exact integer-root power identities certify this simplification; otherwise the algebraic expression remains exact.
Strict tail certificatefalseRaising positive sides to the exponent denominator preserves the required order.
Complete exact inputs, finite computations and theorem qualifications
Exact drawing axis and normalized coordinates
QuantityExact value
Origin729
Span33439/9
Right tick40000/9
Positive-power left comparison729; normalized 0
Positive-power right comparison40000/9; normalized 1
Actual detached exact input declaration
DeclarationPlain data used
r-tail{"id":"r-tail","label":"A positive-power infinite tail","mode":"p-test","power":"5/2","endpoint":"infinity","cutoff":"9","tolerance":"1/100"}

Worked examples

Control a difference quotient directly

For f(x)=x³−2x at c=2, derive the difference quotient and a strict derivative-limit δ for ε=1/20. Distinguish the function error from the quotient error.

  1. Expand f(2+h)=4+10h+6h²+h³. For h≠0 the quotient is 10+6h+h², so the only possible derivative is 10.
  2. For 0<|h|<1, |6h+h²|≤6|h|+|h|²<7|h|. This controls every such increment, rather than a selected sample sequence.
  3. Choose δ=1/140. Then 0<|h|<δ gives quotient error less than 7/140=1/20, proving the required strict bound.
  4. The linear model is 4+10h. Its function-value error is 6h²+h³=h(6h+h²), whose absolute value is less than |h|/20 within that neighborhood. It is not numerically the quotient error.

f′(2)=10; δ=1/140 is sufficient for quotient tolerance 1/20. The exact function remainder is 6h²+h³.

Find an interior secant-slope point

Apply the mean value theorem to f(x)=x²+3x on [−1,2], finding the interior point where the derivative equals the secant slope. Explain why no endpoint derivative assumption is needed.

  1. This polynomial is continuous on [−1,2] and differentiable in the interior, so all required mean-value hypotheses hold.
  2. The endpoint values are f(−1)=−2 and f(2)=10. Dividing their difference 12 by interval length 3 gives secant slope 4.
  3. The derivative is f′(x)=2x+3. Solve 2c+3=4 to obtain c=1/2, which lies strictly between −1 and 2.
  4. The theorem used continuity at the endpoints and differentiability inside. Polynomial endpoint derivatives happen to exist, but their existence was not an additional requirement.

The secant slope is 4, attained by f′ at c=1/2.

Justify a quotient after the cross-product theorem

For f(x)=x² and g(x)=x³ on [1,2], derive the Cauchy mean-value cross-product identity, justify its ratio form and find the corresponding interior point.

  1. Both functions satisfy the closed-continuity and interior-differentiability hypotheses. Their endpoint increments are Δf=3 and Δg=7.
  2. Rolle applied to H=3g−7f gives 3g′(c)=7f′(c) at an interior c. This identity is valid before any division.
  3. Here g′(c)=3c²>0 and Δg=7≠0. Division is therefore justified, giving f′(c)/g′(c)=2/(3c)=3/7.
  4. Solve 14=9c to obtain c=14/9. It lies inside (1,2), and substitution gives the required derivative ratio exactly.

The cross-product relation is 3g′(c)=7f′(c); its valid ratio form occurs at c=14/9.

Retain intermediate values through oscillation

Let F(x)=x²sin(1/x) for x≠0 and F(0)=0. Prove differentiability at 0 and discontinuity of F′ there, then justify derivative values 1/3 arbitrarily close to 0.

  1. At 0, F(h)/h=h sin(1/h) has absolute value at most |h|, so F′(0)=0. Away from 0 the derivative is 2x sin(1/x)−cos(1/x).
  2. At u_k=1/(2kπ) the sine term vanishes and F′(u_k)=−1. At v_k=1/((2k+1)π) it also vanishes and F′(v_k)=+1.
  3. Both sequences approach 0, showing that F′ does not approach F′(0). Nevertheless F is differentiable on the interval joining each v_k and u_k.
  4. Since 1/3 lies strictly between the two derivative values, Darboux supplies a point c_k between v_k and u_k with F′(c_k)=1/3. The endpoints both tend to 0, hence so do c_k.

F′(0)=0, but F′ is discontinuous there. Values 1/3 still occur arbitrarily close to 0 by Darboux’s theorem.

Keep the sign of a finite Taylor remainder

Approximate log(1+x) at x=1/4 with the degree-3 Taylor polynomial centered at 0. Give the polynomial value, remainder sign and a rigorous enclosure.

  1. The first three derivatives at 0 give P₃(x)=x−x²/2+x³/3. Substitution gives P₃(1/4)=1/4−1/32+1/192=43/192.
  2. The fourth derivative is −6/(1+x)^4. On the segment [0,1/4] it is negative and has absolute value at most 6.
  3. The finite Lagrange remainder is f⁽⁴⁾(ξ)(1/4)^4/4!, so it is negative and has magnitude at most 6/(24·256)=1/1024.
  4. Subtract that bound from the polynomial value: 43/192−1/1024=685/3072. Thus the logarithm lies between 685/3072 and 43/192, without using an infinite Taylor identity.

P₃(1/4)=43/192 and −1/1024≤R₃<0, giving 685/3072≤log(5/4)≤43/192.

Check each derivative-ratio stage

Evaluate (sin(3x)−3x)/x³ as x→0, justifying each derivative-ratio application.

  1. The original numerator and denominator both tend to 0, and the denominator derivative 3x² is nonzero for punctured x near 0. Its derivative ratio simplifies to (cos(3x)−1)/x².
  2. That new quotient is again zero-over-zero. Its denominator derivative 2x is nonzero on either punctured side, and its derivative ratio is −3sin(3x)/(2x).
  3. The third quotient again has zero limits, with nonzero constant denominator derivative 2. Its derivative ratio tends to −9cos(3x)/2→−9/2.
  4. Working backward applies the theorem at each verified stage and on both sides of 0. The common limit of the original quotient is therefore −9/2.

The limit is −9/2; all three derivative-ratio steps satisfy their own zero-limit and nonzero-denominator-derivative hypotheses.

Separate a valid rule from its nonconverse

Show log x/x→0 and (x+sin x)/x→1 as x→+∞. Explain why only the first uses a convergent derivative ratio.

  1. For log x/x on a positive tail, g(x)=x has |g|→∞ and g′=1. The derivative ratio is (1/x)/1→0.
  2. The infinite-denominator theorem therefore gives log x/x→0. This use does not need a separate prior proof that log x diverges.
  3. For (x+sin x)/x, rewrite directly as 1+sin x/x. The absolute value of the second term is at most 1/x, giving limit 1.
  4. The derivative ratio in the second example is 1+cos x, taking values 2 and 0 along two infinite phase sequences. Its failure to converge does not contradict the quotient limit; the theorem has no converse of that form.

The limits are 0 and 1 respectively. A convergent quotient need not have a convergent derivative ratio.

Certify an integral using every tag

Compute uniform lower and upper sums for x² on [0,1], identify the integral, and find the first grid size with partition gap strictly below 1/100.

  1. Since x² is increasing, the n-cell lower sum is Σ[k=0,…,n−1] k²/n³=(n−1)(2n−1)/(6n²).
  2. The upper sum is Σ[k=1,…,n] k²/n³=(n+1)(2n+1)/(6n²). Their difference simplifies to 1/n.
  3. Both sums tend to 1/3. The Darboux criterion proves proper integrability, and every tagged sum on that partition lies between these two enclosures.
  4. The strict gap target requires 1/n<1/100, so n≥101. At n=100 the gap equals the target, and monotonicity of 1/n proves the first qualifying size is 101.

The integral is 1/3, the exact gap is 1/n, and its first strict 1/100 cutoff is n=101.

Separate dense discontinuities by their actual sizes

On [0,1], compare the rational indicator with the function that is 0 at irrational points and 1/q at a reduced rational p/q. Prove the different integrability conclusions.

  1. For the rational indicator, every positive-length cell has infimum 0 and supremum 1. All lower sums are 0 and all upper sums are 1, so it is not Riemann integrable.
  2. For Thomae’s function, choose N=201. Only finitely many reduced rationals in [0,1] have denominator at most N. They are the only points whose height can exceed 1/201.
  3. Choose a finite partition with total length of cells incident to those points less than 1/200. Every other cell has supremum at most 1/201, and every cell has infimum 0 by irrational density.
  4. The upper sum is therefore less than 1/200+1/201<1/100. Repeating the construction with arbitrary N tending to infinity and arbitrarily short bad-cell length makes upper sums tend to 0, proving the integral is 0.

The rational indicator is not integrable. Thomae’s function is properly integrable with value 0, because its finitely many large peaks can be enclosed in arbitrarily short total cell length.

Locate the precise fundamental-theorem boundary

Let f(t)=0 for t<1/3 and f(t)=2 for t≥1/3 on [0,1], and F(x)=∫₀ˣf(t)dt. Find F and its derivative behavior at the join. Compare a function equal to 7 only at t=1/3 and 0 elsewhere.

  1. The step is bounded and monotone, hence properly integrable. A single endpoint value does not affect its integral, giving F(x)=0 for 0≤x≤1/3 and F(x)=2(x−1/3) for 1/3≤x≤1.
  2. At the join, negative-increment difference quotients are 0 and positive-increment quotients are 2. Their limits disagree, so F is not differentiable there.
  3. On either open side F′ equals f. The bound |f|≤2 gives |F(y)−F(x)|≤2|y−x| everywhere, so the failure of one derivative does not prevent global Lipschitz continuity.
  4. The isolated height-7 spike has integral 0 over every subinterval by finite-point invariance. Its accumulated function is identically 0 and differentiable at the spike location, but its derivative there is 0 rather than 7. Continuity of f is sufficient for F′=f, not necessary for F′ merely to exist.

The step accumulation is continuous and 2-Lipschitz with a corner at 1/3. The isolated-spike accumulation is identically 0, illustrating a different failure of pointwise F′=f.

Keep cancellation through a repeated image

Evaluate ∫₋₁¹[1+(t³−t)²](3t²−1)dt by substitution. Explain why the substitution can be noninjective and confirm the signed result by expanding the polynomial.

  1. Set g(t)=t³−t and f(u)=1+u². The polynomial g is continuously differentiable, and f is continuous on all real numbers, covering the entire image.
  2. Since g(−1)=g(1)=0, the oriented substitution formula gives ∫₀⁰(1+u²)du=0. No injectivity of g is needed for this signed formula.
  3. Expand the integrand as 3t⁸−7t⁶+5t⁴+2t²−1. Every term is continuous, so termwise finite integration is valid.
  4. Its integral is 2/3−2+2+4/3−2=0. Replacing 3t²−1 by its absolute value would remove signed cancellation and would no longer be the proved identity.

The integral is 0. Oriented substitution permits nonmonotone g because traversal signs are retained.

Prove convergence without claiming absolute convergence

Prove that ∫₁^∞sin(x)/x dx converges but not absolutely, using finite-interval integration by parts and exact tail bounds. Give a sufficient integer R for a strict 1/100 Cauchy-tail bound.

  1. On [R,T], integration by parts with u=1/x and v=−cos x gives the boundary term [−cos x/x]_R^T and remaining term −∫_R^T cos x/x².
  2. Their total absolute value is at most 1/T+1/R+(1/R−1/T)=2/R. This holds for every T>R≥1, proving the Cauchy criterion and finite convergence of the signed integral.
  3. On [nπ,(n+1)π], the absolute integrand has integral at least 2/((n+1)π). Summing over n≥1 gives a divergent harmonic lower bound, so the integral is not absolutely convergent.
  4. For strict tail tolerance 1/100, choose R=201, giving 2/201<1/100. R=200 makes this bound equal to the target. No claim is made that 201 is the least actual oscillatory cutoff or that the integral value has been calculated.

The improper integral converges conditionally. The bound |∫_R^T sin(x)/x dx|≤2/R supplies the sufficient strict cutoff R=201.

Try it yourself

  1. For f(x)=x|x| on ℝ, find f′(0), decide whether 0 is a local extremum and determine whether f″(0) exists.

    Show the answer and reasoning

    f′(0)=0, but 0 is not a local extremum and f″(0) does not exist.

    The quotient f(h)/h=|h| tends to 0. Negative x give negative function values and positive x give positive values, ruling out either type of local extremum. Away from 0, f′(x)=2|x|; at 0 the quotient [f′(h)−f′(0)]/h=2|h|/h has one-sided limits −2 and 2.

  2. Let f(0)=1 and f(x)=x for 0<x≤1. Which Rolle hypothesis fails despite equal endpoint values, and what are the interior derivatives?

    Show the answer and reasoning

    Continuity at the left endpoint fails; all interior derivatives are 1, so no Rolle stationary point exists.

    Both assigned endpoint values equal 1, but the right-hand limit at 0 is 0 rather than f(0)=1. Interior differentiability alone supplies neither this missing continuity nor the theorem’s conclusion.

  3. Define f=0 on (−2,−1) and f=5 on (1,2). Does f′=0 everywhere imply one common constant on this domain?

    Show the answer and reasoning

    No. The derivative is 0 on both components, with different constants 0 and 5.

    Each point has a neighborhood lying in its own constant component. A closed interval joining points in different components is not contained in the domain, so the interval mean value theorem cannot compare those two values.

  4. Let u(0)=0,u(x)=x²sin(1/x) for x≠0 and v(y)=y². Compute (v∘u)′(0), and explain why a chain-rule proof must handle nonzero h with u(h)=u(0).

    Show the answer and reasoning

    (v∘u)′(0)=0. Nonzero increments h=1/(kπ) give a zero inner change, so division by that change is invalid.

    The composition is x⁴sin²(1/x) away from 0. Its difference quotient at 0 has absolute value at most |h|³ and tends to 0. In the general chain proof use v(u(0)+k)−v(u(0))=v′(u(0))k+kη(k) with η(0)=0, then divide only by h. This covers both k=0 and nonzero inner changes.

  5. For f(t)=t and g(t)=1 on [0,2], state the Cauchy mean-value identity and determine whether its quotient form is defined.

    Show the answer and reasoning

    The identity is 2·0=0·1, or 0=0. Neither Δf/Δg nor f′/g′ is defined.

    The increments are Δf=2 and Δg=0, and the derivatives are 1 and 0. Cauchy’s cross-product form requires no division and is valid at every interior point here. A ratio statement would divide by zero on both sides.

  6. Could the function equal to −1 for x<0 and 1 for x≥0 be the derivative of a differentiable function everywhere on (−1,1)?

    Show the answer and reasoning

    No. It fails Darboux’s intermediate-value property for derivatives.

    Between any negative point and any nonnegative interior point it takes derivative values −1 and 1 but never 0. Darboux would require an intervening point of derivative value 0, irrespective of whether the derivative were continuous.

  7. Use a quadratic Taylor polynomial at 0 to enclose √(3/2), with f(x)=√(1+x) and x=1/2. Give a signed bound from the third derivative.

    Show the answer and reasoning

    The polynomial value is 39/32. The positive remainder is at most 1/128, so 39/32≤√(3/2)≤157/128.

    The polynomial is 1+x/2−x²/8. At x=1/2 it gives 1+1/4−1/32=39/32. The third derivative is 3/[8(1+x)^(5/2)], positive and at most 3/8 on [0,1/2]. Its Lagrange remainder is positive and bounded by (3/8)(1/2)³/3!=1/128.

  8. Evaluate lim as x→0 of [1−cos(2x)]/x² using justified finite-limit l’Hôpital steps.

    Show the answer and reasoning

    The limit is 2.

    The original quotient is zero-over-zero with denominator derivative 2x nonzero on either punctured side. Its derivative ratio is sin(2x)/x, again zero-over-zero with denominator derivative 1. The next ratio is 2cos(2x)→2. Working backward gives the same two-sided original limit.

  9. As x→0, compare (1+x)/(2+x) with the ratio of its numerator and denominator derivatives. Why can l’Hôpital not replace the original limit?

    Show the answer and reasoning

    The quotient tends to 1/2, whereas the derivative ratio is 1. Neither the zero-over-zero nor the infinite-denominator hypotheses hold.

    Continuity gives nonzero finite numerator and denominator limits 1 and 2, so ordinary quotient continuity already evaluates the expression. A derivative-ratio limit of 1 has no authority to replace a quotient outside the proved rule’s scope.

  10. For x→0+, take f(x)=x⁻³ and g(x)=x⁻¹. Compute f′/g′ and f/g, and identify the infinite-limit extension proved in the lesson.

    Show the answer and reasoning

    f′/g′=3/x²→+∞ and f/g=1/x²→+∞. The infinite-denominator, signed-infinite derivative-ratio extension applies.

    Here |g|→∞, g′=−1/x² is never 0 on the positive approach interval, and both functions are differentiable there. This is not a zero-over-zero use and is beyond a theorem restricted to finite derivative-ratio limits; the lesson supplied the separate threshold proof.

  11. For the rational indicator on [−1,2], compute every lower/upper Darboux sum and compare fully rational versus fully irrational tag choices.

    Show the answer and reasoning

    Every lower sum is 0 and every upper sum is 3. All-rational tags give sum 3; all-irrational tags give 0, at every mesh size.

    Both rational and irrational numbers occur in every positive-length cell. Thus each cell infimum is 0 and supremum 1, and the cell lengths sum to 3. No all-tags limit or proper Riemann integral exists.

  12. Let f=0 on [0,2/5) and f=3 on [2/5,1]. Compute its integral and give a uniform-mesh Darboux gap bound with a strict 1/100 cutoff.

    Show the answer and reasoning

    The integral is 9/5, and the n-cell uniform Darboux gap is 3/n. The first strict gap cutoff is n=301.

    Monotonicity proves integrability; the single value at the join does not affect the area 3(1−2/5)=9/5. One closed grid cell has oscillation 3, even when the jump is a grid endpoint, because that cell contains the right-valued join and points to its left. All others have oscillation 0. The gap is 3/n, equal to 1/100 at n=300 and strictly smaller from 301 onward.

  13. Let f(x)=x on [0,1] except f(1/4)=100. Find its integral and accumulated integral, then compare the accumulated derivative at 1/4 with f(1/4).

    Show the answer and reasoning

    The integral is 1/2 and F(x)=∫₀ˣf=x²/2. Hence F′(1/4)=1/4, whereas f(1/4)=100.

    The difference from the identity function is supported on one point, so it has zero integral over every finite subinterval. Thus the accumulated integral is unchanged. The exceptional discontinuity prevents using the pointwise F′=f conclusion there, although F still has a derivative.

  14. Let F(x)=x²sin(1/x³) for x≠0 and F(0)=0. Prove differentiability at 0 but show F′ is not properly Riemann integrable on [0,1].

    Show the answer and reasoning

    F′(0)=0, but F′(x)=2x sin(1/x³)−3cos(1/x³)/x² is unbounded near 0, so it has no proper Riemann integral on [0,1].

    At 0 the difference quotient is h sin(1/h³), bounded in magnitude by |h|. For x_n=(2πn)^(−1/3), the sine vanishes and the cosine equals 1, giving F′(x_n)=−3/x_n²→−∞. These points eventually lie in [0,1]. Proper Riemann integrability on a nondegenerate compact interval requires boundedness.

  15. Use u=2−t to evaluate ∫₀¹−(2−t)²dt, retaining the endpoint orientation.

    Show the answer and reasoning

    The value is −7/3.

    Since du=−dt, the integrand times dt becomes u²du, with u moving from 2 down to 1. Therefore the integral is ∫₂¹u²du=[u³/3]₂¹=1/3−8/3=−7/3. Reversing the endpoints without the associated sign would produce the wrong result.

  16. Evaluate ∫₀¹x log x dx by parts on [ε,1] and then a justified endpoint limit. Retain the boundary term explicitly.

    Show the answer and reasoning

    The ordinary improper integral converges to −1/4.

    On [ε,1], take u=log x and dv=x dx. The exact result is [x²log x/2]ε¹−∫ε¹x/2 dx=−ε²log ε/2−(1−ε²)/4. The boundary term tends to 0: after t=1/ε it is a constant multiple of log t/t², whose infinite-denominator derivative ratio is (1/t)/(2t)=1/(2t²)→0. Taking the endpoint limit gives −1/4.

  17. Determine convergence and values for ∫₁^∞x⁻³ᐟ²dx and ∫₀¹x⁻²ᐟ³dx. Compare each power on the other endpoint range.

    Show the answer and reasoning

    Both specified integrals converge, with values 2 and 3. The power x^(−3/2) diverges at 0, while x^(−2/3) diverges at infinity.

    At infinity the threshold is p>1, giving 1/(3/2−1)=2. Near 0 the threshold is p<1, giving 1/(1−2/3)=3. Swapping the endpoint ranges violates the respective threshold in each case.

  18. For f(x)=x² on [0,2], derive an L=4 Lipschitz midpoint error bound for n equal cells. Compare its strict 1/100 cutoff with the exact midpoint error and its first cutoff.

    Show the answer and reasoning

    The general bound is 4/n, whose first strict cutoff is n=401. The exact error is 2/(3n²), whose first strict cutoff is n=9.

    Use |f′|≤4, interval length 2 and mesh 2/n in L(b−a)h/4. The actual midpoint sum is (2/n³)Σ[k=1,…,n](2k−1)²=8/3−2/(3n²), below the exact integral 8/3. At n=8 the exact error is 1/96>1/100; at n=9 it is 2/243<1/100, and it decreases thereafter. The sufficient general certificate is deliberately different from the polynomial-specific exact error.

What to carry forward

  • Differentiability is a finite local linear-error statement; a chain proof must retain zero inner increments rather than divide them away.
  • Mean-value conclusions need the stated interval and endpoint continuity. Derivatives have intermediate values even when they are discontinuous.
  • Finite Taylor and derivative-ratio theorems have explicit hypotheses; infinite identities and converses require their own proofs.
  • Proper integration controls every sufficiently fine partition and every tag choice. Dense discontinuity alone does not determine integrability.
  • The two fundamental-theorem directions have different assumptions. Proper integrability of a derivative is not automatic, and oriented substitution retains signs and the whole image.
  • Improper integrals require genuine separate tail limits. Certified numerical errors use proved between-sample bounds, correct strict cutoffs and units matching the desired quantity.

References

Sources for the concepts and teaching approaches in this article.

  1. Basic Analysis I: Differentiation and the Riemann integralJiří Lebl; author-hosted open textbookAuthor open textbook · PDFjirka.orgRead source
  2. John K. Hunter; University of California, Davis2 sources
    1. An Introduction to Real Analysis: Differentiable FunctionsJohn K. Hunter; University of California, DavisUniversity lecture notes chapter · PDFmath.ucdavis.eduRead source
    2. An Introduction to Real Analysis: Properties and Applications of the IntegralJohn K. Hunter; University of California, DavisUniversity lecture notes chapter · PDFmath.ucdavis.eduRead source