One number under every bell
Worth reading first: Completing the square, by completing a square · Where two roots run into each other.
The curve is the most studied bell in mathematics, and the area under it has no formula. Not a difficult formula — none. There is no combination of powers, logarithms, exponentials and trigonometric functions whose derivative is , and that is a theorem, due to Liouville, rather than a report that nobody has found one. The fundamental theorem converts an area into a search for an antiderivative, and here the search provably fails.
And yet the total area under the curve, from one end of the line to the other, is known exactly: it is . So is the area under , and under , and under every curve of the form raised to a downward-opening quadratic. None of those has an antiderivative either. All of them are known, and they are known because one move reduces every one of them to the first.
The move is completing the square, performed in the exponent.
The exponent is a parabola with a top
Read the exponent first, because everything happens there.
is a quadratic, and completing its square rewrites it as . The completed form says two things at once: the parabola’s highest point is at , and its height there is . Everywhere else it is lower by exactly .
Now put that in an exponent. Since , a constant added to the exponent becomes a constant multiplying the result:
That is the whole content of the top figure, and the two panels share an axis so the correspondence can be read vertically. The top of the parabola becomes the peak of the bell, at the same . The height of the top becomes a multiplier on the whole bell. And the part that curves away, , is the plain bell’s exponent, shifted.
The general statement has the same shape. For any and any ,
so
Every such curve is the basic bell, moved to , squeezed sideways by , and lifted by . The quantity is the same “half the coefficient, squared” that paid for the missing corner of the square, now paying for the height of a bell.
The second figure is worth comparing with the first rather than reading on its own. Nothing about the bell’s shape was ever in the linear term : that term only decides where the top of the exponent sits and how high. The shape — how quickly the curve falls away from its peak — lives entirely in , the coefficient of . That division of labour is visible in the exponent before any exponential is taken, and completing the square is simply the act of reading it off.
Moving and squeezing, and what each does to area
Each of the three operations changes the area in a way that can be stated without computing anything.
Moving the bell sideways does nothing to its area. A region slid along the axis is the same region. So the area under is the area under for every .
Squeezing it sideways divides the area. The curve is with , which is the plain bell with its horizontal axis compressed by the factor . Every vertical strip becomes times narrower and keeps its height, so the area is divided by .
Lifting it multiplies the area. Multiplying every height by multiplies the area by the same factor.
Put together, with standing for the area under the plain bell:
The table makes the claim concrete. The areas range from about to , and when each is divided by what remains is , , , and — the lift and the squeeze, and nothing else. The areas were measured by adding up thin strips under each curve, with no formula consulted, and the agreement holds to nine decimal places in every row.
That is what “reduces to one integral” means in practice. The family has two free parameters and infinitely many members, and the area of every member is times a factor the completed square hands over for free. The one number nobody can get from an antiderivative has to be found once, by some other means, and then it never has to be found again.
A curve with no antiderivative, and a table anyway
It is worth being exact about what the completion does and does not deliver, because it is easy to overstate.
It delivers the area under the whole curve. It does not deliver the area under part of it. The area under from to , say, is a perfectly definite number, about , and completing the square is no help in finding it, because the missing antiderivative is still missing. The function that answers the partial question is given a name and defined as the area: the error function, , scaled so that it runs from to . Its values were tabulated by hand in the nineteenth century, by adding up strips exactly as the table above was produced, and every statistics textbook still prints some version of that table.
So the situation is peculiar and worth stating plainly. Every partial area of every bell reduces, by the completion, to a value of one tabulated function. Every whole area reduces to one number. Neither reduction produces an antiderivative, and neither needs one: a reduction to a single standard quantity is as good as a formula for anybody who has the quantity, and the reason the bell family is so tractable is that all of it reduces to so little.
The same thing is true of the exponential itself, in a way that is easy to forget. is not a formula either; it is a named function, defined by a property and tabulated, and it feels like a formula only because it is so familiar. is less familiar and no less definite.
Why the one number is the square root of π
The other means is one of the best tricks in analysis, due to Poisson, and it works by making the problem bigger.
The area is hard. Its square is
which is the volume under a surface standing over the whole plane — a round hill of height at the origin, falling away the same way in every direction. The height at a point depends only on its distance from the origin, , and a round hill is best measured in rings rather than in strips.
A thin ring at radius and width has circumference , so its area is and the volume above it is about . Adding up the rings:
And now the problem has changed character completely. The ring integrand has an antiderivative, , because the extra factor of is exactly what the chain rule produces when is differentiated. So the integral is , and .
The right-hand panel shows why the rings succeed where the strips failed. Near the centre the rings are tiny, so the hill’s greatest height contributes almost nothing; the ring curve starts at zero, rises to a peak just past , and falls away. It is a completely different curve from the bell, with the same total — and unlike the bell it is the derivative of something elementary. The circle does the work: the factor that turns strips into rings is the circumference, and it is where the in the answer comes from.
That is why a appears in the normal distribution, which has no circle anywhere in its statement. The density is the bell moved to and squeezed by , and the constant in front is exactly the reciprocal of — the area the completed square predicts. The bell that assembles itself out of coin flips carries a because two independent bells, placed at right angles, make a round hill.
Two bells multiplied are a bell
The completion does more than compute areas. It explains why the family of bells is closed under an operation that, on its face, should make a mess.
Multiply two bells. Their exponents add, and the sum of two quadratics is a quadratic. Completing that sum gives a single bell back, with its own centre and its own width.
The completed square names the answer precisely. Writing each bell as and calling the precision of each, the product’s exponent is
and completing the square in gives a bell with precision , centred at
So precisions add, and the new centre is the average of the old ones weighted by precision. In the figure the narrow bell has almost three times the precision of the wide one, so the product sits nearly three-quarters of the way towards it. And because precisions add, the product is always narrower than both factors: combining two bells can only sharpen.
This one computation is behind a large share of practical statistics. When two independent measurements of the same quantity each carry a bell-shaped uncertainty, the combined uncertainty is their product, and the rule for combining them — weight each by one over its variance — is the completed square above. It is also why a sum of two independent normal variables is normal again: the density of a sum is a convolution, the convolution of two bells involves an integral of a product of bells, and completing the square in the integration variable collapses it to a single bell whose variance is the sum of the two.
Several variables, and a determinant where the width was
The completion is not a one-dimensional trick, and the version in several variables is where it becomes most useful.
In two variables a downward quadratic exponent is , and its level curves are ellipses — tilted, stretched, centred somewhere. Completing the square in two variables means doing what the one-variable case did, twice: first gather every term containing into a square, which leaves a quadratic in alone, and then complete that. The result is a centre, which absorbs the linear terms exactly as did, and a sum of two squares in new tilted coordinates. That repeated completing is Sylvester’s procedure for reducing a quadratic form, and the requirement that the exponent open downward in every direction is the requirement that both squares come out with minus signs.
Then the volume under the resulting hill is the product of two one-dimensional bells, and each contributes a divided by the square root of its own squeeze. The product of the squeezes is the determinant of the matrix , so
In variables the answer is divided by the square root of the determinant. The width that the single controlled in one dimension is controlled by a whole matrix in many, and the number that measures it is the determinant — the factor by which a linear map scales volumes, which is exactly what it is doing here, because the tilted, stretched hill is the round one pushed through a linear map.
This is the formula behind the multivariate normal distribution and behind a large part of theoretical physics, where the integrals of to a quadratic in many variables are called Gaussian integrals and are almost the only ones that can be done exactly. A theory whose central integral is Gaussian is a theory that can be solved; the others are solved by expanding around a Gaussian and hoping the corrections are small.
The same shift, taken into the imaginary
The completion has one more application, and it is the one that makes the bell special among all curves.
Multiply the bell by a wave, , and ask for the area. For it is . As grows the wave oscillates faster under the bell, positive and negative lobes cancel more and more thoroughly, and the area shrinks.
The measured areas follow exactly, and the formula comes from the same completion with an imaginary linear term. Since is the real part of , the area is the real part of
and completing the square with gives , because . The “lift” factor , which made the areas in the earlier table larger, becomes a factor that makes this one smaller, for no reason except that the square of an imaginary number is negative.
This is the statement that the Fourier transform of a bell is a bell. Breaking a curve into waves of every frequency — the analysis that builds a square wave out of round ones — assigns to each frequency the amount of that wave present, and for the bell the answer is another bell, in rather than in . A narrow bell in has a wide one in and a wide one in has a narrow one in , with the product of the two widths fixed. That trade-off is the uncertainty principle of signal processing, and in quantum mechanics it is Heisenberg’s; for the bell, and only the bell, it is achieved with equality.
What the pictures cannot show
The imaginary shift is not drawn, because it cannot be. The completion moves the bell’s centre to , a point off the real line, and the justification that the area is unchanged by such a move is Cauchy’s theorem about integrals in the complex plane — the region under a curve has become a contour integral, and no strip picture represents it. The fourth figure measures the areas and finds they agree with the formula; the argument that they must is invisible in it.
The rings are a picture of a volume, and the volume is only suggested. The disc on the left is shaded, not raised, and the reader is asked to imagine the hill. What the figure actually establishes is the right-hand panel’s area, a one-dimensional integral; the step from the double integral to the ring integral — that a round region can be cut into rings with no volume lost — is the change to polar coordinates, and it is stated rather than drawn.
Every integral here runs over the whole line, and every figure stops at the edge of the canvas. The areas were measured over ranges wide enough that the tails beyond them are smaller than , which is why the agreement holds to nine places. But the curves themselves are drawn over a few units, and a reader could not tell from the drawing that the tails are negligible rather than merely off the page. For the bell they are negligible, falling faster than any power; for a curve with heavier tails the same picture would be quietly wrong.
Where the completion stops working: integrals that are only nearly bells
Completing the square computes integrals of to a quadratic exactly. Most integrals worth doing have a different exponent, and the natural question is what survives when the exponent is only approximately quadratic.
The answer is Laplace’s method, and it is the completed square used as an approximation. If an integrand has a single sharp peak where is largest, then near that peak is close to its own Taylor quadratic, and as grows the peak sharpens until everything away from it is negligible. The integral then approaches the bell integral for that quadratic — completed square, and all. Applied to , whose integrand peaks at , it produces Stirling’s formula , and the in that approximation is this essay’s , arrived at by the same route.
Two questions remain genuinely delicate there. How good the approximation is depends on the next terms of the Taylor expansion, and the corrections form an asymptotic series that usually diverges — useful when truncated early, meaningless when summed. And when the peak is not sharp, or there are several, or the maximum sits on the edge of the range, the method needs modification case by case. In several variables the same completion runs on a quadratic form, the becomes divided by the square root of a determinant, and how fast a bell arrives in the central limit theorem is a question about exactly those correction terms.
One corner, paid for once
The square that was completed with a missing corner and the bell whose area is are the same operation in two settings. In the square, the corner’s size was forced by symmetry, and paying for it turned an awkward shape into one whose side could be read off. In the exponent, the same is forced by the same symmetry, and paying for it turns an awkward curve into a moved, squeezed, lifted copy of one standard curve.
What makes the exponent version remarkable is how much it leverages. The one integral that has no antiderivative is computed once, by a trick that borrows a circle; every other integral of the family then follows from arithmetic. The products of bells, the sums of normal quantities, and the frequencies inside a bell all come out as bells again, because in every case the operation adds exponents, and a sum of quadratics can always be completed back into a single square.
What links here
Computed from the collection, not written here: the essays that point at this one.
Shares its objects with
Essays that name at least two of the same things, and that neither author linked.
- An endless region with a finite area — both name integral, pi, volume
- The area that names the number — both name e, the number, integral, scaling
- The shape that averaging leaves alone — both name fourier analysis, normal distribution, scaling
- An average that never settles — both name normal distribution, scaling
- The average settles and the wobble does not — both name normal distribution, scaling
- The equation with only one answer — both name e, the number, integral
Named objects
A dashed tag is an object no other essay names yet.
Completing the squareComplex numberse, the numberFourier analysisIntegralNormal distributionPiQuadratic polynomialsScalingVolume