© 2026 Neckpinch · www.neckpinch.com · All rights reserved.
Course 2Book 2A: Numbers, Limits and the IntegralChapter 11
The Riemann Integral
Upper and lower sums, the fundamental theorem, integration by parts, and where Riemann’s integral fails.
Read with Tao, Analysis I, chapter "The Riemann integral" (partitions, piecewise constant functions, upper and lower Riemann integrals, basic properties, integrability of continuous and monotone functions, a non-integrable function, Riemann–Stieltjes integrals, the fundamental theorems of calculus, integration by parts and change of variables). The Riemann–Stieltjes section can be skimmed.
In this chapter · 8 sections
- 11.1Area by rectangles
- 11.1.1What the definition does
- 11.1.2Which functions are integrable
- 11.1.3Infinitely many discontinuities can be harmless
- 11.2Properties of the integral
- 11.2.1Riemann sums and two useful facts
- 11.3The fundamental theorem of calculus
- 11.3.1Integration by parts
- 11.3.2Change of variables
- 11.4Improper integrals
- 11.5Sums and integrals
- 11.6Riemann–Stieltjes integrals, briefly
- 11.7Where Riemann's integral fails
- 11.8Exercises
- ↗Free resources
Derivatives measure rates. Integrals measure totals: area under a curve, distance from speed, work from force, mass from density. This last chapter of Book 2A defines the integral as Riemann did in 1854, by squeezing the area between sums of rectangles from below and above. It proves that continuous functions can be integrated, and proves the fundamental theorem of calculus, which says that integration and differentiation undo each other.
Two consequences of the fundamental theorem matter more than any other for this guidebook. Integration by parts is the single most-used computation from here to Perelman: every energy estimate for the heat equation and every monotonicity formula for Ricci flow is an integration by parts. And the chapter ends by showing where Riemann's integral breaks down. It does not cope with limits, and that failure is the starting point of Course 3.
By the end of this chapter you will be able to:
- define the Riemann integral by upper and lower sums, and prove a function is or isn't integrable;
- prove that continuous and monotone functions are integrable, and prove the basic properties of the integral from the definition;
- compute integrals with the fundamental theorem, by parts and by substitution, and handle improper integrals;
- prove and use both halves of the fundamental theorem of calculus;
- integrate by parts and change variables, and use integration by parts to prove that an energy decreases;
- explain, with examples, why the Riemann integral is not good enough for analysis with limits.
Area by rectangles
The idea is ancient. Archimedes, in the third century BCE, found the area of a parabolic segment by filling it with triangles and summing a geometric series (2A.7 Series). What Riemann supplied in 1854, in the same habilitation thesis as his rearrangement theorem, was a precise definition that works for a large class of functions at once.
Work on a closed interval with a bounded function . A partition of cuts it into finitely many subintervals with . On each piece, the smallest and largest heights of are and . Rectangles of those heights give an area that is certainly too small and one that is certainly too big:
If the partition contains all the points of (it refines ), then and . For any two partitions and , .
Proof. It is enough to add one point , inside some piece , since any refinement is obtained by adding finitely many points one at a time. The infimum of over each half, and , is at least the infimum over the whole piece (a smaller set has a larger infimum). So the two new lower rectangles have total area at least , and every other rectangle is unchanged. Hence does not decrease. The upper sums are the same with suprema. For two partitions and , let , which refines both. Then .
So the following definition makes sense.
The lower and upper Riemann integrals of a bounded on are
Always . If they are equal, is Riemann integrable, and the common value is , or .
The two integrals exist because of the least upper bound property (2A.4 The Real Numbers), which keeps appearing: the lower sums are bounded above by any upper sum (Lemma 11.1), so their supremum exists, and it is at most every upper sum, so it is at most their infimum. The working criterion is a single ε statement.
A bounded is integrable on if and only if for every there is a partition with .
Proof. Suppose is integrable, with integral . Given , the -characterisations of supremum and infimum (2A.4 The Real Numbers) give partitions with and with . Their common refinement has , by Lemma 11.1.
Conversely, for any , . If for some , then . As was arbitrary, the two are equal (2A.5 Quantifiers and the Shape of a Proof).
In words, the thin strips in Figure 11.1 can be given total area as small as you like. Every integrability proof below is a construction of such partitions.
What the definition does
Three remarks help in reading the definition.
It defines area; it does not compute something already known. Before Riemann, "the area under a curve" was taken as a given quantity that integration computes. For a curve as wild as the graphs of 2A.9 Continuous Functions, it is not clear what area could mean. Riemann's definition turns the question around: a region has an area when inner and outer approximations by rectangles squeeze to a single number, and that number is its area. For the polygons and circles of geometry it agrees with the old notion; for the graphs where the approximations do not squeeze, it declines to give an answer.
The area is signed. Where is negative, and are negative, and the rectangles count negatively. So : the area below the axis cancels the area above it. The geometric area between the graph and the axis is . For totals with a sign, such as net displacement from a velocity that changes direction, the signed integral is the right one.
Why squeeze from both sides? A simpler-looking definition would take a single Riemann sum , with a sample point in each piece, and let the pieces shrink. For bounded functions on this gives the same integral, and the next section shows how. But the upper and lower sums have an advantage that matters in proofs: they need no choice of sample points, and they come with an error bound built in. Any number between and , including the integral and every Riemann sum, is pinned down to within . That is the form in which this chapter's proofs work, and the form in which numerical analysts state error guarantees.
With equal pieces of , the function is increasing, so on the -th piece and . Using ,
Both tend to , and the gap can be made as small as you like. So , Archimedes' result, now from a definition.
Which functions are integrable
Every continuous function on is Riemann integrable.
Proof. By Heine–Cantor (2A.9 Continuous Functions), is uniformly continuous: given there is with whenever . Take a partition into pieces shorter than . On each piece the maximum and minimum (which are attained, by the maximum principle) differ by at most , so .
Here is the payoff of uniform continuity: one for the whole interval means one mesh size controls every strip at once. With mere continuity, the mesh needed would vary from place to place, and the argument would fail.
Monotone functions are integrable too, even with jumps: for equal pieces of an increasing function, , because the strips telescope (Exercise 11.21). And a bounded function with finitely many discontinuities is integrable, by putting the discontinuities in tiny intervals. Here is the argument for one discontinuity at an interior point , with . Given , take an interval with : on it the strip has height at most and width , so area at most . On and , is continuous, so each has a partition with . Put the three together: . The same works for finitely many discontinuities, one small interval each.
But not every bounded function is integrable.
Let if is rational and if not, on . Every interval, however small, contains rationals and irrationals (2A.4 The Real Numbers), so on every piece of every partition and . Every lower sum is and every upper sum is , so .
Riemann's integral cannot assign an area to this function. That would be a curiosity, except that the function arises naturally as a limit of perfectly good integrable functions, as the last section of this chapter shows.
Infinitely many discontinuities can be harmless
Finitely many jumps are harmless, and Dirichlet's function, discontinuous everywhere, is fatal. Between the two lies a question worth asking: how many discontinuities can an integrable function have? The answer is "many, as long as they take up no room", and two examples show what that means.
Thomae's function from 2A.9 Continuous Functions is at a rational in lowest terms and at irrationals. On it is discontinuous at every rational, infinitely many points, densely spread. Yet it is integrable, with integral .
Every lower sum is , since every piece contains irrationals. For the upper sums, let . Only finitely many points of have : the rationals with denominator , say of them. Choose a partition in which each of these points lies in a piece of length at most (two pieces, if the point is a partition point), and the rest of is covered by the other pieces. On the pieces containing those points, , and their total length is at most , so they contribute at most . On every other piece, everywhere, so , and these pieces, of total length at most , contribute at most . So , and by Proposition 11.3, is integrable with .
The proof shows the mechanism. A point where jumps by a lot can be isolated in a tiny interval, and only finitely many points have a jump bigger than any given . What Dirichlet's function does differently is to jump by everywhere, so the bad points cannot be enclosed in intervals of small total length. The precise criterion was found by Henri Lebesgue in 1902: a bounded function on is Riemann integrable exactly when its set of discontinuities has length zero, in the sense of 3A.2 Lebesgue Measure. The rationals have length zero, which is why Thomae's function passes, and the good-and-bad pieces argument in the proof below is a first glimpse of the same idea.
Properties of the integral
For integrable and on :
- Linearity: and .
- Monotonicity: if then . In particular (and is integrable).
- Additivity: for , .
- Products and compositions: is integrable, and so is for continuous .
Each is proved by comparing upper and lower sums. The second property gives the estimate used constantly: if on , then .
Proof (Linearity, monotonicity, the absolute value and additivity). Sums. On any piece, and (each value lies between those bounds). So for every partition,
Given , choose (by Proposition 11.3 and a common refinement) one with for both and . Then , so is integrable, and its integral and both lie in an interval of length , namely . So they are equal.
Multiples. For , the infimum and supremum of on each piece are times those of ; for they swap roles. Either way and for are times those for , in some order.
Monotonicity. If , then for every , so .
Absolute value. On each piece, for any , . So the oscillation on the piece is at most , and . Hence is integrable. Then and monotonicity give .
Additivity. Let . Adding the point to a partition of refines it, so by Lemma 11.1 we may use only partitions containing . Such a partition is a partition of followed by a partition of , and , and likewise for . If is integrable on , choose with ; then on each piece too, so is integrable on and on , and both and lie in . As is arbitrary, they are equal. (Conversely, if is integrable on both pieces, join two good partitions.)
Proof (Products and compositions). Squares. Let . On each piece, , so , and is integrable. Products then follow from the identity .
Compositions. Let be continuous on , with there. Given , uniform continuity (2A.9 Continuous Functions) gives with when . Choose with . Call a piece good if the oscillation of on it is less than , and bad otherwise. On a good piece, oscillates by at most ; the good pieces have total length at most , so they contribute at most to . On a bad piece oscillates by at most , and the bad pieces have total length at most . So they contribute at most . Altogether , which is as small as we like.
The good-and-bad pieces argument is a small preview of measure theory: the places where oscillates a lot must have small total length, and only total length matters.
Riemann sums and two useful facts
In practice integrals are approximated by Riemann sums , where each is any point of the -th piece. Such a sum always lies between and . For a continuous function, the proof of Theorem 11.5 shows more: given there is such that for every partition into pieces shorter than , and every choice of points , the Riemann sum is within of . (Both the sum and the integral lie between and , which differ by at most .) That is the precise statement behind every numerical approximation of an integral.
If is continuous on , then for some .
Proof. Let and be the minimum and maximum of (2A.9 Continuous Functions). By monotonicity, , so the average lies in , which is the image by the intermediate value theorem. So it equals for some .
The number in this proof deserves a name of its own: it is the average value of on . It is the limit of ordinary averages of at equally spaced points, because is a Riemann sum divided by . So the proposition says that a continuous function attains its average value. Averages over small regions are how analysis turns integrals back into values: as the average tends to , which is part 1 of the fundamental theorem below in different words. In later courses, the mean value property of harmonic functions (6A.2 Harmonic Functions), which says that the value at the centre of a ball is the average over the ball, is a statement of exactly this kind.
If is continuous and on , and , then for every .
Proof. Suppose . By continuity there is such that for every with , and this set contains an interval of positive length . Since everywhere, , a contradiction.
Continuity is essential: a function that is at one point and elsewhere is non-negative with zero integral. Proposition 11.9 is the step that identifies the equality case of every monotonicity formula: when an integral of a square vanishes, the thing squared vanishes everywhere. It is used for exactly that purpose after Proposition 11.14 below, and in Perelman's arguments that a quantity whose derivative is an integral of a square can only stay constant on a soliton (12A.2 Ricci Flow as a Gradient Flow).
A car's distance travelled is the integral of its speed over time, . A GPS tracker that logs speed once a second and adds up "speed × one second" is computing a Riemann sum for this integral, with each piece lasting one second. If the speed is continuous (it is, for a real car), Theorem 11.5 guarantees that these sums converge to the true distance as the logging interval shrinks. The same reasoning turns a fuel-flow rate into fuel used, a power reading into energy (kilowatt-hours are the integral of kilowatts over hours), and a river's flow rate into the volume that passed a gauge.
The fundamental theorem of calculus
Let be Riemann integrable on .
- The function is Lipschitz (hence continuous) on . At every point where is continuous, is differentiable with .
- If is any function on with (an antiderivative), then .
Proof. (1) For , , and with this is at most in absolute value. At a continuity point , given choose with for . For ,
(2) Take any partition . On each piece, the mean value theorem (2A.10 Derivatives) gives a point with . Summing, the left side telescopes: , which lies between and . Since this holds for every , lies between the lower and upper integrals, which are equal.
Powers. has derivative , so , for every natural number . For this is Example 11.4 again, in one line instead of a page. More generally .
Polynomials. By linearity, , where means .
A root. has derivative (chain rule and roots, 2A.10 Derivatives), so .
Let on ( for , at , for ). It is integrable (one jump), and . This is continuous, even Lipschitz, as part 1 promises. But it is not differentiable at , where is discontinuous. Elsewhere , as promised. So "the derivative of the integral is the integrand" holds at continuity points, and can fail at others.
Part 2 has a hypothesis that is easy to overlook: must be integrable. A function can be differentiable everywhere with a derivative so wild that it has no Riemann integral. Take for , with . At , , so ; elsewhere . The second term is unbounded near : at it equals . So is unbounded on , and Riemann's integral, which is defined only for bounded functions, cannot even be asked about it. The formula is true for a suitable improper integral, but the theorem as stated does not reach it. Even the Lebesgue integral of Course 3 cannot integrate this particular derivative: is too large near . Integrals that recover every differentiable function from its derivative do exist, but they lie outside this route.
Reading the theorem as a statement about accumulation. Part 1 has a picture that is worth keeping: is a running total, the amount accumulated up to , like the water in a tank filled at a varying rate . Then says that the rate at which the total grows is the current rate of filling. Part 2 runs the picture backwards: if you know the rate at every moment, the total change over the whole time is the area under the rate. Both halves say that "rate" and "total" are two descriptions of one process, and that is why the theorem governs every model of a quantity that changes in time.
Part 1 says that integration produces antiderivatives, and part 2 says that antiderivatives compute integrals. That the slope problem and the area problem are inverse to each other was the great discovery of Newton and Leibniz in the 1660s–1680s. The proofs above, using only the definitions, show how much the 19th-century foundations of 2A.4 The Real Numbers and 2A.9 Continuous Functions were needed to make it rigorous.
Integration by parts
If and are differentiable on with integrable derivatives, then
Proof. by the product rule (2A.10 Derivatives). Integrate both sides and use part 2 of the fundamental theorem on the left.
For natural numbers and , let . Integrate by parts with and , so . For the boundary term vanishes at both ends, and , so
Each step moves one power from to . After steps the second power is gone:
For , this gives , the value found by substitution in Example 11.16 below: two methods, one answer. Notice the strategy. Integration by parts did not evaluate the integral; it related it to a simpler one of the same family, and repetition did the rest. Reduction formulas of this kind are how integration by parts is most often used in practice, and the same family of integrals reappears in probability as the Beta distribution.
The formula moves a derivative from one factor to the other at the cost of a boundary term. When the boundary term vanishes, as it does for periodic functions or for functions that vanish at the ends, the derivative simply moves across with a change of sign. That one move drives a remarkable amount of mathematics. Here is the first example.
Let be twice continuously differentiable on , with and taking the same values at and (for example, periodic). Then
Proof. Integrate by parts with and : . The boundary term is by the hypothesis.
Why "energy"? If is the temperature in a ring of metal, it obeys the heat equation . Differentiating under the integral sign (justified later, in 3A.3 The Lebesgue Integral) and applying the proposition at each time gives
The quantity can only decrease, and it stays constant only if , that is, when the temperature is uniform. (That last step is Proposition 11.9 applied to the continuous, non-negative function : if its integral is , it vanishes everywhere.) This is the first monotonicity formula of the guidebook: a quantity that changes in one direction only, with a rate given by a square that vanishes exactly in the equilibrium state. It is proved by integration by parts. Fourier's solution of the heat equation (2B.7 Fourier Series and the First Heat Equation) shows the same decay frequency by frequency.
Every monotonicity formula in this guidebook is this proposition in disguise: differentiate an integral, integrate by parts on a space without boundary, and recognise a sum of squares. On a closed Riemannian manifold, integration by parts reads , with no boundary term (8A.8 Differential Forms and Stokes’ Theorem, 9A.6 The Laplacian and the Bochner Formula). Perelman's -functional (12A.2 Ricci Flow as a Gradient Flow) satisfies
and the computation behind it is a page of integrations by parts that turns a mess of curvature terms into one perfect square. The structure is the same as Proposition 11.14: monotone, with equality exactly at the special solutions (here, steady solitons).
Change of variables
If is continuously differentiable and is continuous on an interval containing , then
Proof. Let be an antiderivative of (part 1 of the fundamental theorem). By the chain rule, is an antiderivative of . Apply part 2 to both sides: each equals .
Recognising . In , the factor is the derivative of . So with , the integral is .
Substituting to simplify. In , substitute , so ; as runs from to , runs from to , and . The integral becomes . Formally this is Theorem 11.15 with , read from right to left: the minus sign from is cancelled by the reversed limits.
The factor records how much the substitution stretches lengths. In several variables it becomes the Jacobian determinant (1A.9 Multiple Integrals and Change of Variables, 3A.5 Product Measures and Change of Variables), and on a manifold it becomes the way volumes transform under a change of coordinates (8A.8 Differential Forms and Stokes’ Theorem).
Improper integrals
Riemann's integral is defined for bounded functions on bounded intervals. Two kinds of integral that come up constantly break one of those rules: (unbounded interval) and (unbounded function). Both are defined as limits.
If is integrable on for every , then when the limit exists, and the integral is said to converge. If is integrable on for every , then when the limit exists.
Let be rational, . An antiderivative of on is .
- At infinity: . If , , and the integral converges to . If , and it diverges. For , (with the logarithm of the next section): divergent.
- At zero: . If , and the integral converges to ; for example . If it diverges.
So converges exactly when , matching the -series of 2A.7 Series, and converges exactly when : the opposite condition. Large means fast decay at infinity but a severe spike at zero. In dimensions the threshold at zero moves from to (3A.5 Product Measures and Change of Variables), and that one change of threshold is what decides which functions in Sobolev spaces are continuous (4A.11 Sobolev Embeddings and Critical Exponents).
Sums and integrals
Integrals and sums can be compared directly, which settles the question left open in 2A.7 Series about how fast the harmonic series grows.
Let be positive and decreasing on . Then for every ,
So converges if and only if stays bounded as .
Proof. On , because is decreasing. Integrate over and sum over .
For , define , which is the natural logarithm (2B.6 Power Series, Exponentials and Bump Functions shows it agrees with the inverse of the exponential). The integral test gives . The difference is decreasing and bounded below by , so by monotone convergence (2A.6 Sequences) it converges. Its limit is the Euler–Mascheroni constant , which explains the estimate used in 2A.7 Series.
Most integrals that arise in engineering can't be done in closed form, and are computed numerically from function values. The trapezoid rule replaces on each of equal pieces by the straight line through its endpoint values. If on , its error is at most (Exercise 11.24). Halving the step divides the error bound by four. This is a typical calculus fact with direct practical use: a bound on a derivative guarantees the accuracy of an approximation. Refinements of the same idea (Simpson's rule, Gaussian quadrature, adaptive methods that place more points where is large) are the workhorses of scientific computing.
Riemann–Stieltjes integrals, briefly
Tao's chapter includes a generalisation that is worth knowing exists, even if it can be skimmed now. Replace the length of each piece by the increase of an increasing function . The resulting weights different parts of the interval differently. If has a jump, that point gets a positive weight of its own.
An insurer models a claim size as a random quantity whose distribution has two parts: a probability of no claim at all (an atom at ), and a density for positive claims. A policy with deductible pays . Its expected cost is a Riemann–Stieltjes integral against the cumulative distribution . The jump of at contributes a term (no payout), and the continuous part contributes . One integral handles the discrete and the continuous parts together. That unification of sums and integrals is exactly what measure theory makes systematic (3A.4 Measures, Probability and Weights), where "integrating against " becomes "integrating against a measure".
Where Riemann's integral fails
Here is the problem that drives Course 3. Integrals and limits should be interchangeable in reasonable situations: if , we would like . Riemann's integral fails at this in two distinct ways.
The limit may not be integrable. List the rationals in as (2A.8 Infinite Sets), and let be at and elsewhere. Each differs from at finitely many points, so it is integrable with . The sequence increases to Dirichlet's function at every point, and Dirichlet's function has no Riemann integral at all (Example 11.6).
The integrals may not converge to the integral of the limit. Let be a narrow triangular spike of height on , peaking at , and zero elsewhere (Figure 11.6). For each fixed , eventually the spike has moved past (or , where every is ), so for every . But every spike has area . So
The area hasn't disappeared. It has concentrated into an ever thinner spike and escaped through the limit.
The second failure is not really the integral's fault. The spikes show something true about limits, which any integral must respect, and the theorems of 3A.3 The Lebesgue Integral say exactly when it can't happen: when the functions are dominated by a single integrable function. The first failure is the integral's fault, and it is fixed by building a better one.
Measure the distance between two integrable functions by . With this distance, the Riemann-integrable functions behave like the rationals of 2A.3 Integers and Rationals: there are Cauchy sequences with no limit among them. The increasing sequence above, built from the rationals, is one kind of example; there are worse ones. The remedy is the one used to build the reals from the rationals (2A.4 The Real Numbers): complete the space. The result is the space of Lebesgue-integrable functions (3A.3 The Lebesgue Integral), which contains the limits of all such Cauchy sequences, and in which the convergence theorems that analysis needs are true. So Book 2A ends where it began: a number system (here, a space of functions) that looks complete but has holes, and the same construction to fill them.
From five axioms we built the natural numbers, then the integers and rationals as quotients, then the reals as the completion of the rationals. With the logic of quantifiers in hand, we studied sequences (monotone convergence, Bolzano–Weierstrass, completeness), series (absolute and conditional convergence), infinite sets (countable and uncountable), continuous functions (the maximum principle and the intermediate value theorem, both resting on completeness), derivatives (the mean value theorem, Hamilton's trick, blow-up) and integrals (the fundamental theorem and integration by parts). Book 2B, starting with 2B.1 Metric Spaces, replaces the real line by general spaces, where distance, completeness and compactness become the main ideas.
Exercises
Show that if is obtained from by adding one point, then and . Deduce that every lower sum is at most every upper sum (compare both with their common refinement).
Solution
This is Lemma 11.1 and its proof: an infimum over half a piece is at least the infimum over the whole piece, so splitting a piece can only raise the lower rectangles; and .
Let be increasing on . For the partition into equal pieces, show that . Conclude that is integrable, even if it has infinitely many jumps.
Solution
Because is increasing, on the -th piece and . The sum telescopes to , which tends to .
Compute . (Combine part 1 with the chain rule.)
Solution
With , the expression is , whose derivative is .
(a) Compute . (b) Show that by integrating by parts, and deduce that both equal . (Take the derivatives of , and for granted; they are constructed in 2B.6 Power Series, Exponentials and Bump Functions.)
Solution
(a) With and , : . (b) With , , : . Their sum is , so each is .
Let be twice continuously differentiable on , and let . Show that by integrating by parts twice, and deduce . Summing over pieces of length gives the bound quoted in the chapter.
Solution
First, with and (so ): . So . Next, with and , which has and vanishes at and : . So , and . Over pieces the errors add up to at most .
Show that is decreasing and that , so exists. Then show , which says how fast the estimate becomes accurate.
Solution
. On the integrand lies between and , and is positive except at , so . The first inequality says decreases strictly. By the integral test, , so ; monotone convergence gives . Summing the upper bound from to telescopes: . Letting , ; and because the sequence decreases strictly to .
For each sequence on , find the pointwise limit and the limit of the integrals: (a) a spike of height on (this chapter); (b) a block of height on ; (c) a block of height on . In each case the area escapes, but in a different way: concentrating at a point, moving off to infinity, or spreading out thinly. 3A.3 The Lebesgue Integral names these three modes of escape. In Ricci flow, curvature that concentrates at a point as time increases is exactly a singularity forming (11B.5 Singularities).
Solution
In all three, the pointwise limit is and every integral is . (a) For , once ; and . (b) For each , once . (c) everywhere. The integrals are , and . (In (b) and (c) the domain is unbounded, so these are improper integrals; each vanishes outside a bounded interval, so nothing subtle happens.)
Using , compute the upper and lower sums of on for equal pieces, and show directly that . Then check it with the fundamental theorem.
Solution
is increasing, so and . Both tend to , and . By the fundamental theorem, .
Decide which converge, and evaluate those that do: (a) ; (b) ; (c) ; (d) .
Solution
(a) : converges to . (b) at zero: converges to . (c) at zero: diverges, since . (d) at infinity: diverges, since .
(a) Give a non-negative integrable function on , not identically zero, with integral . (b) Let be continuous on with for every continuous . Prove that . (Choose well.)
Solution
(a) and elsewhere: one discontinuity, so integrable, and every lower sum is while upper sums can be made as small as we like. (b) Take : then , and is continuous and non-negative, so by Proposition 11.9. This "choose " step is how the uniqueness of weak solutions and the fundamental lemma of the calculus of variations (6A.11 Calculus of Variations and Gradient Flows) begin.
Let be smooth and -periodic in , with . (a) Show that is non-increasing. (b) Show that is also non-increasing, by computing and integrating by parts. (c) Show that the mean is constant. Each is a small monotonicity formula, and all three are proved by integration by parts with no boundary terms. That is exactly the setting of a closed manifold, where Perelman's are proved.
Solution
(a) . (b) , integrating by parts once more. (c) by periodicity.
Free resources for this chapter
Chosen for what this chapter covers, and all free to read or watch. Where a lecture covers more than this chapter, the minutes to watch are given, and the link starts there when it can. Links checked Nov 6, 2026.
Read
- Notes Lecture 21: The Riemann Integral of a Continuous FunctionMIT OpenCourseWare 18.100A Real Analysis (Fall 2020)The Riemann integral of a continuous function.
- Notes Lecture 22: The Fundamental Theorem of Calculus, Integration by Parts, and Change of Variable FormulaMIT OpenCourseWare 18.100A Real Analysis (Fall 2020)The fundamental theorem of calculus and integration by parts.
- Book §5.1 The Riemann integralJiří Lebl, Basic Analysis I & II (free textbook)Upper and lower sums and Darboux integrability.
- Reference Riemann integral: IntegrabilityWikipediaWhich functions are Riemann integrable, and where the integral fails.
Watch 4 lectures and talks
- Video Lecture 20: Taylor’s Theorem and the Definition of Riemann SumsMIT OpenCourseWare 18.100A Real Analysis (Fall 2020), Casey Rodriguez · 32:50 to the end (Riemann sums)Partitions, upper and lower sums, and the definition of the Riemann integral.
- Video Lecture 21: The Riemann Integral of a Continuous FunctionMIT OpenCourseWare 18.100A Real Analysis (Fall 2020), Casey RodriguezContinuous functions are Riemann integrable.
- Video Lecture 22: Fundamental Theorem of Calculus, Integration by Parts, and Change of Variable FormulaMIT OpenCourseWare 18.100A Real Analysis (Fall 2020), Casey RodriguezThe fundamental theorem of calculus, integration by parts and change of variables.
- Video Integration and the fundamental theorem of calculus3Blue1Brown, Essence of CalculusAnimated: why the area under a rate is the total change.
© 2026 Neckpinch (www.neckpinch.com). All content in the guidebook (text, mathematics, figures and exercises) is protected by copyright. All rights reserved. No part may be copied, republished or redistributed without written permission.