The logarithm from an integral, and areas between curves
Define L(x) = ∫₁ˣ dt/t. From L′ = 1/x and L(1) = 0 alone come the whole graph of the natural logarithm, the number e (where L = 1), and the rule L(ab) = L(a) + L(b), proved by a change of variables. The same approach sketches the area function of e^(−t²), which levels off at √π/2. Then integrals as answers to geometric questions: the area between two curves, sliced vertically or, often more easily, horizontally.
The lecture opens with a correction to the last one: in the discrete average, the Riemann sum must be divided by n, the number of terms (transcript, p. 1). Then it finishes the second fundamental theorem by using integrals to build functions, before turning to integrals as the answers to geometric questions.
Take this as the definition of the logarithm and derive everything from it. That is easier than the earlier route through ax and the number e (notes, p. 1). It is defined only for x>0, since 1/tblows up at t=0. Two facts come straight from the definition (transcript, pp. 1–2; notes, p. 1):
Derivative and starting value
L′(x)=x1,L(1)=∫11tdt=0
In words
L prime (x) equals 1 over x, L(1) equals the integral from 1 to 1 of d t over t equals 0
Together they fix L completely. Differentiate once more: L′′(x)=−1/x2<0, so L is concave down; and L′>0, so it is increasing. At x=1 it passes through 0 with slope 1 (p. 2). Since it increases, it crosses the level y=1 exactly once, and that point defines e: L(e)=1 (p. 2).
Why is L(x)<0 for 0<x<1? Two reasons (p. 3): L is increasing and L(1)=0, so it is negative before 1. Or reverse the limits: L(x)=−∫x1tdt, and for x<1 that integral is an ordinary positive area. At the ends, L→−∞ as x→0+ and L→∞ as x→∞ (p. 3; the notes prove both from the rule L(ab)=L(a)+L(b) below, notes, p. 2).
Loading graph…
The function L(x)=∫1xdt/t, which is lnx, computed from the formula: increasing, concave down, through (1,0) with slope 1. It reaches the level y=1 at x=e≈2.718.
L(a b) equals the integral from 1 to a b of d t over t equals the integral from 1 to a of d t over t plus the integral from a to a b of d t over t equals L(a) plus the integral from a to a b of d t over t
the integral from a to a b of d t over t equals the integral from 1 to b of a d u over the quantity a u, equals the integral from 1 to b of d u over u equals L(b) which gives L(a b) equals L(a) plus L(b)
The name of the dummy variable, t or u, does not matter (p. 4). The notes go on to L(2n)=nL(2), which shows L→∞, and L(1/x)=−L(x), which gives the left end (notes, p. 2; the lecture sets this one as homework, transcript, p. 3). From L one can then define e, ex as the inverse of L, and ax=exL(a) (notes, p. 2).
Worked example
Logarithms without a calculator
Given ln2≈0.693, find ln8 and ln21.
Products
ln8=ln(2⋅2⋅2)=3ln2≈2.079.
Reciprocals
0=L(1)=L(2⋅21)=L(2)+L(21), so ln21=−ln2≈−0.693.
The same method works for a function that is genuinely new, F(x)=∫0xe−t2dt (transcript, pp. 4–6). From FTC 2, F′(x)=e−x2>0, so F increases; F(0)=0 and F′(0)=1. The second derivative, F′′(x)=−2xe−x2, makes Fconcave down for x>0 and concave up for x<0, with an inflection point at 0 (pp. 4–5). F is odd, F(−x)=−F(x): it is the integral of an even function starting at 0, and area to the left of 0 counts negatively (p. 5). And it levels off at an asymptote (p. 6):
The limit of the area under the bell curve
x→∞lim∫0xe−t2dt=2π
In words
the limit as x goes to infinity of the integral from 0 to x of e to the power minus t squared d t equals the square root of pi over 2
That value is far from obvious, and the course promises to prove it later (pp. 6–7). Rescaling by 2/π gives the error functionerf(x), which tends to 1 (p. 6). Others of the same kind: the Fresnel integrals, and the logarithmic integralLi(x), which approximates the number of primes below x; how good that approximation is, is the subject of the Riemann hypothesis (pp. 6–7). The lecturer calls this part cultural: what you need is to handle such functions through their derivatives (p. 7).
Now back to integrals as the answer to a question, closer to the first fundamental theorem (transcript, pp. 7–8). For a region between a top curve f(x) and a bottom curve g(x), from x=a to x=b, a thin vertical strip has height f(x)−g(x) and width dx (p. 8; notes, p. 3):
Area between two curves
A=∫ab(f(x)−g(x))dx
In words
capital A equals the integral from a to b of the quantity f(x) minus g(x), d x
Every such problem comes down to finding three things: the integrand and the two limits. Leave any one out and the region is not specified (p. 8). And first, draw a picture (p. 9).
Find the area between x=y2 and y=x−2 (transcript, pp. 9–12; notes, pp. 3–4). The first is a parabola opening to the right, the second a line of slope 1 through (2,0). They meet where y+2=y2, that is (y−2)(y+1)=0: at (1,−1) and (4,2) (p. 10).
The hard way: vertical slices. The top is always y=x, but the bottom changes: the lower half of the parabola, y=−x, for 0≤x≤1, then the line for 1≤x≤4. So the area needs two integrals (pp. 10–11):
Vertical slices
A=∫01(x−(−x))dx+∫14(x−(x−2))dx
In words
capital A equals the integral from 0 to 1 of the quantity the square root of x minus (- the square root of x ), d x plus the integral from 1 to 4 of the quantity the square root of x minus the quantity x minus 2, d x
The easy way: horizontal slices. Slice horizontally instead: a strip of height dy runs from the parabolax=y2 on the left to the line x=y+2 on the right, for −1≤y≤2 (pp. 11–12):
Horizontal slices
A=∫−12((y+2)−y2)dy=[2y2+2y−3y3]−12=29
In words
capital A equals the integral from minus 1 to 2 of the quantity the quantity y plus 2, all minus y squared, d y equals the quantity y squared over 2 plus 2 y minus y cubed over 3, sub minus 1 squared equals nine halves
Always right minus left, so that the integrand is positive; as a check, it vanishes at the crossing points y=−1 and y=2 (p. 12). (The transcript says "the right-hand is y2" at this point, meaning the left; the notes write "xleft−xright" and "subtract the right curve from the left one" while computing right minus left, and put dx where dy is meant, notes, p. 4.)
Worked example
Two areas
(a) Find the area between y=x and y=x2. (b) Find the area between x=y2 and the line x=4.
(a) Vertical slices
They cross at x=0 and x=1, and x≥x2 in between: A=∫01(x−x2)dx=21−31=61.
(b) Horizontal slices
They cross at y=±2; the line is on the right: A=∫−22(4−y2)dy=16−316=332≈10.7.
The notes add volumes of solids of revolution, such as a ball, which the next lecture takes up (notes, pp. 5–6).
L(x)=∫1xdt/t: L′=1/x, L(1)=0, increasing, concave down, L<0 for x<1; L(e)=1; L(ab)=L(a)+L(b) by the substitution t=au. This is lnx.
New functions such as ∫0xe−t2dt (odd, tending to π/2), erf and Li are studied through their derivatives.
Area between curves: ∫ab(ytop−ybottom)dx, or ∫cd(xright−xleft)dy. Draw a picture, find the crossing points, and choose the slicing that needs fewer pieces.
A positive number in L(ab) = L(a) + L(b); also the left end of an interval of integration. In the cosmology note, a is the scale factor of the universe. Say it: “a”.
An estimate of an integral: cut the interval into strips, multiply each strip's width by a value of the function in it, and add. Explained in Definite integrals and Riemann sums.
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.
The variable inside an integral or sum, which could be renamed without changing the result, like the t in ∫ f(t) dt. Explained in The second fundamental theorem of calculus.
The thing that undoes another: a matrix times its inverse gives the identity matrix, as a function followed by its inverse gives back the start. Explained in Planes through three points, and matrices.
The function erf(x): the area under a bell curve from 0 to x, scaled so that it tends to 1; it has no simpler formula. Explained in The second fundamental theorem of calculus.
The function Li(x), the integral of 1/ln t from 2 to x, which estimates how many prime numbers there are below x. Explained in The second fundamental theorem of calculus.
The number a(t) that tells how much distances in the universe have stretched: when it doubles, every distance between galaxies doubles. Explained in Towards the universe: an expanding gas cools.
To become zero; sometimes, of a fixed point or solution, to stop existing.
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).