The definite integral of f from a to b is the area under the graph: cut the interval into n thin strips, add up the areas of rectangles, and take the limit as the strips get thin. Done by hand for x², with a staircase pyramid to estimate 1² + 2² + ⋯ + n², it gives b³/3, and the pattern b, b²/2, b³/3 hints at a much faster way. Integrals are also cumulative sums: totals of anything that accumulates at a varying rate.
The third unit of the course, and the second half of calculus, is integration (transcript, p. 1). This lecture defines the definite integral in two ways: as the area under a curve, the geometric view the course has used throughout, and as a cumulative sum (p. 1; notes, p. 1).
Take a curve y=f(x) above the x-axis, between x=a and x=b. The area of the region between the curve and the axis has its own notation (transcript, p. 1):
It is the definite integral: unlike the indefinite integral of the last lectures, it has limits, where it starts (a) and where it ends (b), and its value is a number. To compute it, three steps (pp. 1–2; notes, p. 1):
Divide the region into thin strips and replace each by a rectangle. These are not exactly the strips: some rectangles overshoot the curve, some fall short.
Add up the areas of the rectangles: easy, base times height.
Take the limit as the rectangles get thinner. The small pieces missed or added shrink to nothing, and the sum hits the area on the nose.
The lecture does one example in full, f(x)=x2 from a=0 to an arbitraryb, so that the pattern shows (transcript, pp. 2–5; notes, pp. 1–3). Cut [0,b] into n equal pieces of width b/n, and give each rectangle the height of the curve at its right end: (b/n)2, (2b/n)2, …, (nb/n)2. Each overshoots. Factor out the common (b/n)3:
b over n ( b over n ) squared plus b over n ( 2 b over n ) squared plus and so on plus b over n ( n b over n ) squared equals b cubed over n cubed, times the quantity 1 squared plus 2 squared plus and so on plus n squared
How big is 12+22+⋯+n2? Build a staircase pyramid of unit-thick layers: an n×n layer at the bottom, (n−1)×(n−1) on top, up to a single block (transcript, pp. 4–5; notes, pp. 2–3). Its volume is exactly the sum. An ordinary pyramid with base n2 and height n fits inside it, and one with base (n+1)2 and height n+1 fits around it. With volume 31 base × height:
Trapping the sum
31n3<12+22+⋯+n2<31(n+1)3
In words
one third n cubed less than 1 squared plus 2 squared plus and so on plus n squared less than one third the quantity n plus 1, all cubed
Divide by n3: the middle lies between 31 and 31(1+1/n)3, which tends to 31 as n→∞. (The transcript has "31+(1+1/n)3" at this point; it is a product, p. 5.) So
The area under x²
∫0bx2dx=n→∞limn3b3(12+22+⋯+n2)=3b3
In words
the integral from 0 to b of x squared d x equals the limit as n goes to infinity of b cubed over n cubed, times the quantity 1 squared plus 2 squared plus and so on plus n squared, equals b cubed over 3
Factoring out the simple part, b3/n3, and analysing the hard sum on its own, is what you always do with such sums (pp. 5–6).
Loading graph…
The parabola y=x2 on [0,1] and the tops of the four right-end rectangles, height (k/4)2 on the k-th strip, all from the formulas. The rectangles overshoot: their total area is 30/64 ≈ 0.469, against the true area 1/3.
the sum from i equals 1 to n of a sub i equals a one plus a two plus and so on plus a sub n, 1 over n cubed, times the sum from i equals 1 to n of i squared goes to one third (n goes to infinity )
The parabola's sum is ∑i=1nnb(nib)2, and factoring out (b/n)3 is just the distributive law (p. 6). Writing the first term as 12 shows that it follows the same pattern as the rest.
Two more examples need no sums at all, because their areas are known shapes (transcript, pp. 6–7; the notes, p. 3, do f(x)=x with a sum): under f(x)=x the region is a triangle, area 21b2; under f(x)=1 it is a rectangle, area b. Line them up:
The pattern
∫0b1dx=b,∫0bxdx=2b2,∫0bx2dx=3b3
In words
the integral from 0 to b of 1 d x equals b, the integral from 0 to b of x d x equals b squared over 2, the integral from 0 to b of x squared d x equals b cubed over 3
so a good guess is ∫0bx3dx=b4/4 (p. 7). The notes point out the key: the derivative of each area with respect tob is the function itself, dbd3b3=b2 (notes, p. 3). The next lecture makes this the fundamental theorem of calculus, and then integrals become as quick as derivatives. The lecturer adds a historical remark: Archimedes found the area under a parabola by a method so brilliant and difficult that, in the lecturer's view, it may have held mathematics back, because others could not see the simple pattern (p. 7). (Historians would add that Cavalieri and Fermat found the rule for xn in the 1630s, before Newton and Leibniz.)
The general procedure (transcript, p. 8; notes, p. 4): divide [a,b] into n equal pieces of width Δx=(b−a)/n; in the i-th piece choose any point ci and use f(ci) as the height. (The parabola used right ends; left ends or midpoints work as well.) The sum of the areas is a Riemann sum, after the nineteenth-century mathematician Bernhard Riemann, and its limit is the definite integral:
Riemann sum and definite integral
n→∞limi=1∑nf(ci)Δx=∫abf(x)dx
In words
the limit as n goes to infinity of the sum from i equals 1 to n of f( c sub i ) capital delta x equals the integral from a to b of f(x) d x
The true value is 31≈0.333. The right sum overshoots and the left one falls short, because x2 is increasing; the midpoint sum is much closer. All three tend to 31 as n grows.
The other interpretation: an integral adds up something that accumulates at a varying rate (transcript, pp. 9–10; notes, pp. 4–5). Suppose you borrow money at a rate f(t) in dollars per year, varying through the year, with t in years. Over a short time Δt (a day, 1/365 of a year) you borrow f(t)Δt dollars: the units work out. The total for the year is a Riemann sum, very close to an integral:
Total borrowed
i=1∑365f(365i)Δt≈∫01f(t)dt
In words
the sum from i equals 1 to 365 of f ( i over 365 ) capital delta t is approximately the integral from 0 to 1 of f(t) d t
The dt is not decoration: it keeps the units consistent (p. 9). What you owe at the end of the year also depends on how long each amount was borrowed. With interest compounded continuously at rate r, an amount borrowed at time t grows by a factor ofer(1−t) by the end of the year, so the total owed is ∫01f(t)er(1−t)dt (p. 10). The notes take monthly steps (Δt=1/12) and simple interest instead, ∫01f(t)(1+r(1−t))dt (notes, p. 5, which call the total borrowed "dollars per year"; it is in dollars).
Worked example
Filling a tank and paying back a loan
(a) Water flows into a tank at f(t)=2+t litres per minute. How much flows in during the first 4 minutes? (b) You borrow steadily at $9000 per year. How much do you owe at the year's end, at 4% simple interest, and at 4% compounded continuously?
(a) The tank
Left and right sums with 1-minute steps give 2+3+4+5=14 and 3+4+5+6=18 litres. The exact area under the straight line is a trapezoid: 21(2+6)×4=16 litres.
(b) Simple interest
∫019000(1+0.04(1−t))dt=9000×(1+0.02)=9180 dollars: on average each dollar is borrowed for half a year.
(b) Continuous compounding
∫019000e0.04(1−t)dt=9000×0.04e0.04−1≈9182 dollars, a little more.
Today: the present time, about 13.8 billion years after the Big Bang in the real universe (simple models on some pages give other ages). Unit: s (usually billions of years).Say it: “t nought”.
The function whose graph bounds the area (in the borrowing example, the borrowing rate in dollars per year; in the tank example, the inflow in litres per minute). Say it: “f”.
The family of all antiderivatives of a function, written ∫ f(x) dx = F(x) + c with an arbitrary constant c. Explained in Differentials and antiderivatives.
The value a quantity gets closer and closer to, as near as we like, as its input approaches some value, without having to reach it. Explained in Rates of change and area under a graph.
A sum of very many very small pieces, such as the area under a graph; it undoes taking a derivative. Explained in Rates of change and area under a graph.
Without breaks, gaps or jumps: a continuous graph can be drawn without lifting the pen; a continuous quantity can take every value in a range. Explained in The rocket equation.
A universe with exactly the critical density, whose space has no curvature and which expands forever, ever more slowly. Explained in Open, closed and flat universes.
Simple and first-guess, without the corrections or care a fuller treatment adds.
Tap or click a word, here or in the text, for its meaning in this lesson. All words: the glossary. How many words are marked in the text: Reading options (the “Aa” button).