1. Home
  2. Explore
  3. Mathematics
  4. Oscillation Sums and Uniform Continuity

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Oscillation Sums and Uniform Continuity

Riemann Integrability and the Fundamental Theorem of Calculus

Continuous functions are Riemann integrable

A key result is that every continuous function on a closed, bounded interval [a,b][a,b][a,b] is Riemann integrable. The proof relies on uniform continuity and the relationship between a partition’s upper and lower sums.

Oscillation and upper–lower sums

For a subinterval [xi−1,xi][x_{i-1},x_i][xi−1​,xi​], the oscillation of fff is the difference between its supremum and infimum there:

osc⁡(f;[xi−1,xi])=sup⁡[xi−1,xi]f−inf⁡[xi−1,xi]f.\operatorname{osc}(f;[x_{i-1},x_i]) = \sup_{[x_{i-1},x_i]} f-\inf_{[x_{i-1},x_i]} f.osc(f;[xi−1​,xi​])=sup[xi−1​,xi​]​f−inf[xi−1​,xi​]​f.

For a partition P={x0,x1,…,xn}P=\{x_0,x_1,\ldots,x_n\}P={x0​,x1​,…,xn​}, the difference between the upper and lower Darboux sums is

U(f,P)−L(f,P)=∑i=1nosc⁡(f;[xi−1,xi]) Δxi,U(f,P)-L(f,P) = \sum_{i=1}^{n} \operatorname{osc}(f;[x_{i-1},x_i])\,\Delta x_i,U(f,P)−L(f,P)=∑i=1n​osc(f;[xi−1​,xi​])Δxi​,

where Δxi=xi−xi−1\Delta x_i=x_i-x_{i-1}Δxi​=xi​−xi−1​. Thus, if the oscillation is small on every subinterval, the difference between the upper and lower sums is small. The Darboux criterion says that a bounded function is Riemann integrable if partitions can be chosen to make this difference arbitrarily small.

Using uniform continuity

A continuous function on [a,b][a,b][a,b] is uniformly continuous. Given any desired error ε>0\varepsilon>0ε>0, uniform continuity provides a distance δ>0\delta>0δ>0 such that

∣f(x)−f(y)∣<ε2(b−a)whenever∣x−y∣<δ.|f(x)-f(y)|<\frac{\varepsilon}{2(b-a)} \quad\text{whenever}\quad |x-y|<\delta.∣f(x)−f(y)∣<2(b−a)ε​whenever∣x−y∣<δ.

Choose an equal-width partition with nnn subintervals, where

Δx=b−an<δ.\Delta x=\frac{b-a}{n}<\delta.Δx=nb−a​<δ.

Any two points in the same subinterval are less than δ\deltaδ apart, so the function’s oscillation there is at most ε2(b−a)\frac{\varepsilon}{2(b-a)}2(b−a)ε​. Consequently,

U(f,P)−L(f,P)≤ε2(b−a)∑i=1nΔxi=ε2<ε,U(f,P)-L(f,P) \leq \frac{\varepsilon}{2(b-a)} \sum_{i=1}^{n}\Delta x_i = \frac{\varepsilon}{2} < \varepsilon,U(f,P)−L(f,P)≤2(b−a)ε​∑i=1n​Δxi​=2ε​<ε,

because the subinterval widths add to b−ab-ab−a. The upper and lower sums can therefore be made arbitrarily close, proving that fff is Riemann integrable.

Core idea: Uniform continuity controls the variation of the function on each sufficiently short subinterval; the total width of all subintervals is only b−ab-ab−a.


Other classes of Riemann-integrable functions

Continuity is a sufficient condition for Riemann integrability, but it is not necessary. Some functions that are discontinuous, or are neither continuous nor monotone, are still integrable.

Monotone functions

Every bounded monotone function on a closed interval is Riemann integrable, even if it has jump discontinuities. For an increasing function, take an equal-width partition. The oscillation on each subinterval is the difference between the function values at its endpoints, so

U(f,P)−L(f,P)=Δx∑i=1n(f(xi)−f(xi−1))=Δx(f(b)−f(a)).U(f,P)-L(f,P) = \Delta x\sum_{i=1}^{n} \bigl(f(x_i)-f(x_{i-1})\bigr) = \Delta x\bigl(f(b)-f(a)\bigr).U(f,P)−L(f,P)=Δx∑i=1n​(f(xi​)−f(xi−1​))=Δx(f(b)−f(a)).

As the partition is refined, Δx\Delta xΔx approaches zero, making this difference approach zero. The decreasing case follows by applying the same reasoning to the magnitude of the endpoint differences.

Piecewise constant functions

A function that is constant on each of finitely many subintervals is also Riemann integrable. It may have jumps at the boundaries between pieces, but the partition can include those boundaries; the function is constant within each resulting piece. More generally, the finitely many jump locations can be covered by subintervals of arbitrarily small total width.

Sufficient versus necessary conditions

  • Continuous on a closed, bounded interval: sufficient for Riemann integrability.

  • Monotone and bounded on a closed interval: also sufficient, even with discontinuities.

  • Piecewise constant with finitely many pieces: integrable, even if it has jumps.

  • These conditions are not necessary: integrable functions need not be continuous or monotone.


The Fundamental Theorem of Calculus

The Fundamental Theorem of Calculus connects differentiation and integration in two complementary ways.

Differentiating an integral with a variable upper limit

If fff is continuous and

F(x)=∫axf(t) dt,F(x)=\int_a^x f(t)\,dt,F(x)=∫ax​f(t)dt,

then

F′(x)=f(x).F'(x)=f(x).F′(x)=f(x).

The integral defines a function of its upper limit. Differentiating that function recovers the integrand evaluated at the upper limit. In particular, the theorem constructs an antiderivative of any continuous function, even when no familiar elementary formula for that antiderivative is available.

Evaluating a definite integral using an antiderivative

If GGG is an antiderivative of fff, so that G′=fG'=fG′=f, then

∫abf(x) dx=G(b)−G(a).\int_a^b f(x)\,dx=G(b)-G(a).∫ab​f(x)dx=G(b)−G(a).

This is the familiar evaluation rule: a definite integral can be calculated from an antiderivative by taking its change from the lower endpoint to the upper endpoint.


Integral-defined functions and special functions

The first part of the Fundamental Theorem gives a way to define new functions. For a continuous integrand fff, the expression

F(x)=∫0xf(t) dtF(x)=\int_0^x f(t)\,dtF(x)=∫0x​f(t)dt

defines a function whose derivative is f(x)f(x)f(x). This can be useful even when the antiderivative cannot be written using the elementary functions commonly studied in calculus.

The error function

For example, e−x2e^{-x^2}e−x2 has a bell-shaped graph, but its antiderivative cannot be expressed using the usual elementary functions. A new function, the error function, is defined by

erf⁡(x)=2π∫0xe−t2 dt.\operatorname{erf}(x) = \frac{2}{\sqrt{\pi}}\int_0^x e^{-t^2}\,dt.erf(x)=π​2​∫0x​e−t2dt.

It follows that

∫e−x2 dx=π2erf⁡(x)+C.\int e^{-x^2}\,dx = \frac{\sqrt{\pi}}{2}\operatorname{erf}(x)+C.∫e−x2dx=2π​​erf(x)+C.

The error function is closely related to the normal distribution and to calculations involving experimental errors. The integrand e−x2e^{-x^2}e−x2 is not itself a probability density normalized to have total integral 111; suitable scaling and normalization produce the familiar normal-distribution functions.

Functions such as the error function are called special functions. They extend the standard elementary-function families—such as polynomials, exponentials, logarithms, and trigonometric functions. A function may be defined through an integral and given a name even if it has no elementary antiderivative.

Defining a function from a chosen integrand

For example, define

K(x)=∫0x(sin⁡(t3)+etcos⁡t) dt.K(x)=\int_0^x \left(\sin(t^3)+e^t\cos t\right)\,dt.K(x)=∫0x​(sin(t3)+etcost)dt.

The Fundamental Theorem immediately gives

K′(x)=sin⁡(x3)+excos⁡x.K'(x)=\sin(x^3)+e^x\cos x.K′(x)=sin(x3)+excosx.

The function KKK may not have a simple elementary formula, but its integral definition still specifies it precisely and determines its derivative. Graphically, the derivative is positive where KKK is increasing, negative where KKK is decreasing, and zero at points where KKK has a horizontal tangent.


A geometric antiderivative for 1−x2\sqrt{1-x^2}1−x2​

An antiderivative of 1−x2\sqrt{1-x^2}1−x2​ can be found by interpreting the integral as area rather than using a trigonometric substitution.

For −1≤x≤1-1\leq x\leq 1−1≤x≤1, the graph

y=1−x2y=\sqrt{1-x^2}y=1−x2​

is the upper half of the unit circle x2+y2=1x^2+y^2=1x2+y2=1. The Fundamental Theorem tells us that

∫0x1−t2 dt\int_0^x \sqrt{1-t^2}\,dt∫0x​1−t2​dt

is an antiderivative of 1−x2\sqrt{1-x^2}1−x2​, because its derivative with respect to xxx is the integrand evaluated at xxx.

For x≥0x\geq 0x≥0, let θ\thetaθ be the angle between the vertical radius and the radius to the point (x,1−x2)(x,\sqrt{1-x^2})(x,1−x2​). Since the radius is 111,

sin⁡θ=x,θ=arcsin⁡x.\sin\theta=x, \qquad \theta=\arcsin x.sinθ=x,θ=arcsinx.

The area under the curve from 000 to xxx can be divided into a triangle and a circular sector:

  • The triangle has base xxx and height 1−x2\sqrt{1-x^2}1−x2​, so its area is 12x1−x2\frac12x\sqrt{1-x^2}21​x1−x2​.

  • The sector has radius 111 and angle θ\thetaθ in radians, so its area is 12θ=12arcsin⁡x\frac12\theta=\frac12\arcsin x21​θ=21​arcsinx.

Therefore,

∫0x1−t2 dt=12x1−x2+12arcsin⁡x.\int_0^x \sqrt{1-t^2}\,dt = \frac12x\sqrt{1-x^2} + \frac12\arcsin x.∫0x​1−t2​dt=21​x1−x2​+21​arcsinx.

Including the constant of integration gives the antiderivative

∫1−x2 dx=12(x1−x2+arcsin⁡x)+C\boxed{ \int \sqrt{1-x^2}\,dx = \frac12\left(x\sqrt{1-x^2}+\arcsin x\right)+C }∫1−x2​dx=21​(x1−x2​+arcsinx)+C​

for xxx in the real domain [−1,1][-1,1][−1,1]. The formula follows from geometry together with the fact that an integral with variable upper limit differentiates back to its integrand.

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent