ExplorationsA product of sinc functions that keeps equalling π/2 until it quietly stops
π/2, π/2, π/2 … and Then Not
The integral of sin(x)/x from 0 to infinity is exactly π/2. Multiply in sin(x/3)/(x/3) and it is π/2 again. Keep multiplying in the next odd denominator, sin(x/5)/(x/5), sin(x/7)/(x/7) and so on, and the exact answer stays π/2 for a long run of factors, then at one factor it falls short by an amount no plot can show. These are the Borwein integrals; the page computes each one exactly as a fraction of π.
Interactive laboratory
The product of 5 factors, the last sinc(x/9)
The integral from 0 to infinity is exactly π/2.
Area so far, as numbers
| x | Area from 0 to x |
|---|---|
| 0 | 0.000000 |
| 2 | 1.553489 |
| 4 | 1.699568 |
| 6 | 1.544643 |
| 8 | 1.563689 |
| 10 | 1.568215 |
| 12 | 1.571706 |
| 14 | 1.571250 |
| 16 | 1.570934 |
| 18 | 1.570849 |
| 20 | 1.570834 |
- thin line
- one factor, sinc(x/d) for one odd d
- thick line
- the product of all the factors
- area line
- the area under the thick line so far
- dashed line
- π/2, the value the area settles on
Each thin line is one factor, sinc(x/d) for an odd d: it starts at 1 and ripples away to nothing, more slowly for a larger d. The thick line is their product, and the integral is the area between it and the axis, counted positive above and negative below. The lower plot adds that area up from the left; it settles on the dashed line at π/2. Beyond a handful of factors the settled area and π/2 are the same to every digit a screen can show, which is the point. The exact value is printed beneath the plots.
With 5 factors, the last sinc(x/9), the integral from 0 to infinity is exactly π/2. The later factors can reach 0.7873 in total, which is not above 1.
- Factors
- 5 of 5
- Reach
- 0.7873
- Integral
- exactly π/2
Try this
In the running total view, add factors one at a time. Does the integral stop being π/2 at the same step as the dot crosses the dashed line, or one step before or after?
What is going on
Each explanation begins with a worked example and follows the same operation through intuition, formal statements and proofs. Later sections distinguish what is established from questions that remain open, so you can follow the level of detail useful to you.
- 00 + 1/31/3The factor sinc(x/3) reaches 1/3.
- 1/31/3 + 1/5 = 5/15 + 3/158/15Then sinc(x/5), which reaches 1/5.
- 8/158/15 + 1/7 = 56/105 + 15/10571/105
- 71/10571/105 + 1/9 = 213/315 + 35/315248/315Four extra factors, sinc(x/3) to sinc(x/9), and the total so far is about 0.787.
- 248/315248/315 is less than 1the integral is exactly π/2The window the first factor leaves open is 1 wide on each side, and the later factors have not yet filled it.
The running-total view in the laboratory draws exactly this: one dot for each factor added, at the height of the total so far, with a dashed line at the height the total must not pass. The exact-values table beside it says what the integral is for each product.
What you are seeing
A plain description of the process
The function is a wave that starts at 1 and ripples away to nothing. The area under it, counted from 0 out to infinity, with the parts below the axis counted as negative, is exactly . That is a classical result, and the curve in the laboratory's first view is the thing being measured.
Now multiply in a second wave, , which is the same shape stretched out three times as wide. The product is a different curve, and the area under it is again. Multiply in , then , always the next odd denominator, and the area under the product is still exactly . Each new factor reshapes the curve everywhere, and each time the area comes out the same.
It does that for a long run of factors, long enough that most people would bet it goes on for ever. It does not. At one particular factor the area is a hair less than . The hair is about one and a half parts in a hundred billion of the answer, which is far smaller than a pixel, a printed digit or the precision of most calculators, so neither a picture nor an ordinary numerical integration can tell that anything happened.
These are the Borwein integrals. The laboratory computes every one of them exactly, as a fraction of in whole numbers, which is the only way to see the gap at all. It also shows what decides where the run ends, and the answer is not a coincidence of the numbers but a small, checkable piece of arithmetic.
Why it starts to make sense
Intuition, before any algebra
Here is a way to read the integral that makes the answer almost visible. The product of waves corresponds, by a standard change of viewpoint, to adding up random numbers. Each factor stands for a random number chosen evenly between and . A factor with a large denominator is a very small wobble; the first factor, , is the largest, a number between and .
The area under the whole product then turns out to be times a probability. Draw the later factors' random numbers, add them up, and ask how often the total is between and , the range the first factor allows. The area is multiplied by that fraction of the time.
Now see why it is exactly so often. If the later random numbers, each at its very largest, still add up to less than 1, then the total can never leave the range. It is between and every single time, the fraction is exactly 1, and the area is exactly . Adding another factor adds a smaller wobble, and so long as the biggest possible total stays under 1, nothing changes at all.
The biggest possible total is just , which is the running total in the plate above. When it finally goes over 1, a very small fraction of draws, those where every random number lands near its extreme at once, push the total out of range. The fraction is no longer exactly 1, and the area falls short of by exactly that tiny chance.
The key idea
A pattern with an expiry date, and what sets it
An exact pattern can have an expiry date that is hard to see coming. Every integral up to the break is exactly , with nothing approximate about it, and the pattern still ends.
The expiry is set by one slowly growing quantity. The total grows without limit, because the odd reciprocals add up like half the natural logarithm of the last denominator, and the logarithm is a very patient function. It must pass 1, so the pattern must end, and it does so only after a run long enough to look like a law.
The extra factor makes the length of the run easy to compare. It leaves the integral at for as long as the total stays under 2, not 1. Because the total grows like a logarithm, moving the line from 1 to 2 does not double the run; it multiplies the last denominator by roughly , about seven and a half times. That is a long way to carry a pattern, and the laboratory shows it ending all the same.
A pattern that survives a hundred checks has told you a lot, and may still have told you nothing about the case that matters. Here the case that matters arrives at a factor where nothing in the picture, the area or the first ten digits looks any different.
Formal statement
Precisely what is being claimed
Let and let be positive numbers, with . Let where the are independent and is uniform on the interval .
- Proved, in layer 5.
- The probability is exactly 1, so the integral is exactly , if and only if . Proved, in layer 5, since cannot exceed that sum and can come as close to it as you like.
- For the odd denominators : the integral is exactly for the products that stop at 1, 3, 5, 7, 9, 11 and 13, and for the product that stops at 15 it equals which is less about . Proved, from 1 and 2 and exact rational arithmetic on a finite list of fractions.
- With the extra factor the same argument applies with the line at 2 in place of 1. The integral is for products stopping at any odd denominator up to 111, and falls short at 113. Exhaustively checked over the odd denominators 1 to 119, exactly, and cross-checked against numerical integration where it can be run.
Statement 3 is what the page is for; 2 is the reason; 4 shows the reason carrying over to a larger setting, and is labelled checked rather than proved only because the page does not write out the extra step in full.
Proof
Of the identity, and then of the threshold
The transform of sinc. For , the Fourier transform of is
a rectangle of height on . That is times the density of a uniform random number on .
Products become convolutions. With two or more factors the product is absolutely integrable, since it falls off like or faster, and the transform of a product of integrable functions is times the convolution of their transforms. Each transform is , so with factors
where is the density of the sum of the independent uniform numbers. The product is an even function of , so the integral over is half of that: .
Isolating the first factor. Take and write for the density of , the sum of all the other uniform numbers. Then , and , so . The integral is , which is statement 1. ∎
The threshold. Each lies between and , so , and if the probability is 1. If , then the event that every is within a small distance of its upper end has positive probability, and on it , so the probability is below 1. That is statement 2. ∎
The exact value. By symmetry the shortfall is , and for a sum of independent uniform numbers of widths the tail has the classical inclusion-exclusion form
where is the part above zero. Only the subsets with contribute, and when has only just passed 1 that is only the empty set. Multiplying everything by the common denominator turns each term into a whole number, so the sum is exact. For the product ending at 1/15 the sum of the later reciprocals is , only the empty set contributes, and the formula gives in exact fractions. The integral is , which is the fraction in statement 3. ∎
The cosine. The transform of is two point masses of weight , one at each of . That is times the law of a fair coin flip between and , in place of times a density. Following the proof through, the first factor's window is now centred on the coin's result, so the sum of the other numbers must land in rather than , and the integral is , with the threshold at 2. The laboratory checks this against numerical integration of products of sinc functions whose sums reach past 2; the check is a test, not the written proof, which is why statement 4 is marked checked. ∎
Limits and frontier
Where this page stops being able to help
What the numbers on this page are, and are not. Every value in the table is an exact fraction of in whole-number arithmetic with no rounding at any stage. The curves in the first view are ordinary floating-point drawings, and the running area is a numerical integration that stops at a finite distance. Neither can show the gap, since the first shortfall is about , and a drawing that claimed to would be wrong. That is why the integral's exactness is stated from the table, never from the picture.
What the exact computation costs. The inclusion-exclusion sum has one term for every subset of the later factors whose widths add up to less than . Just past the threshold that is a handful. Far past it, the number of subsets grows quickly, so the laboratory offers the plain product up to 18 factors and the version with up to 60, where the shortfall is still tiny, and refuses to start a sum that would take more than four hundred thousand steps. A second implementation that sums over every subset without that shortcut agrees with the fast one on every product up to ten factors.
What is not proved here. Two things. The cosine version is checked and not written out in full. And the table shows each shortfall larger than the one before, which is observed over the range the page computes and is not claimed for all products.
Where the mathematics goes next. The family does not stop at one extra cosine. There are whole sequences of related integrals and sums, and some of them break in surprising places; the cited papers set out how far the pattern can be extended and what governs each break. This page follows one thread from the start of that story to its first exact failure.
Read this next to 1, 2, 4, 8, 16, and Then Not 32. That page is the same lesson on a scale you can draw, with a count that parts company with doubling at a visible step. Here the step is invisible, and exactness is what lets you see it.
What is actually established
Every statement on this page, with its status, its exact scope, and the date that status was last checked.
For sinc(x) times any further factors sinc(x/d₁), sinc(x/d₂), … (two or more factors in all), the integral from 0 to infinity equals (π/2) times the probability that d₁⁻¹ times a uniform random number on (−1, 1), plus d₂⁻¹ times another, and so on, has absolute value at most 1. In particular it is exactly π/2 when 1/d₁ + 1/d₂ + … ≤ 1, and strictly less than π/2 otherwise.
- Scope
- Any finite list of positive denominators with at least one further factor, and the integral taken as the ordinary improper integral. The argument is the Fourier transform of sinc and the fact that the transform of a product is a convolution, given in layer 5.
- Why
- Layer 5 gives the argument in full: the transform of sinc(ax) is a rectangle, a convolution of rectangles is the density of a sum of uniform random numbers, and the integral is that density at zero. The family of integrals and the first failure are from the cited papers; the identity itself is not taken from them.
- Status checked
With the odd denominators 1, 3, 5, …, the integral is exactly π/2 for every product that stops at a denominator from 1 up to the last one whose reciprocals still add up to at most 1, and for the next product it is 467807924713440738696537864469/935615849440640907310521750000 times π, which is about 2.31 × 10⁻¹¹ below π/2.
- Scope
- The odd denominators in order, products stopping at each denominator up to 35 (18 factors), and the single fraction named. Beyond the first shortfall the integral stays below π/2 for the denominators tabulated, which is observed for them and not asserted for all.
- Why
- A proof, because it is the proved formula above applied to a finite list of exact fractions: the sums of reciprocals are compared with 1 in rational arithmetic, and the shortfall is a rational number computed exactly, with no rounding anywhere. The fraction agrees with the value quoted in the literature, and a test compares the two. A floating-point integration of the same product agrees with the exact value to about nine digits and cannot see the shortfall of the first product that has one.
- Computation (exact)
- Rational arithmetic on whole numbers of unlimited size, for every product with up to 18 factors. The sums of reciprocals, the shortfalls and the fractions of π are exact. A second implementation that sums over every subset with no shortcuts agrees on every product up to ten factors, and a numerical integration agrees with the exact values to nine digits where it can be run. Algorithm borwein-1.
- Status checked
With an extra factor 2cos(x), the integral of the product is exactly π/2 for every product stopping at an odd denominator up to 111, and falls short of π/2 for the products stopping at 113, 115, 117 and 119.
- Scope
- The odd denominators in order from 1 to 119, which is every product of up to 60 factors. Not a statement about longer products.
- Why
- The same argument as the plain product with the window widened from 1 to 2, because 2cos(x) is two point masses in the transform. It is checked here by exact arithmetic over every product in range, and the window-widening step is also checked against numerical integration on products where it can be run. It is not proved on this page in the way the plain case is, so the status stays at checked.
- Computation (exact)
- Exact rational arithmetic for every product of the odd denominators 1 to 119 (60 factors) with the extra factor 2cos(x). The point where the running total of reciprocals passes 2 is found in rationals, and the exact value is π/2 for exactly the products before it. Algorithm borwein-1.
- Status checked
Sources
Review notes show which bibliographic details Mathomaly has checked and which remain unresolved. Checking a publication record does not independently verify its proof.
- David Borwein, Jonathan M. Borwein, Some remarkable properties of sinc and related integrals, The Ramanujan Journal 5, pp. 73–89, 2001. Link
Where the integrals were published: the products of sinc(x/(2k+1)) that equal π/2 for a run of factors and then fall short. The page proves the mechanism it needs from the Fourier transform of sinc and does not rely on any statement read in this paper beyond the existence of the family and its first failure.
Bibliographic record checked. This is not an independent verification of the proof.
Bibliographic review:
AI-assisted bibliographic audit. Evidence type: publisher record.
The DOI registry record confirms the authors, the title, The Ramanujan Journal volume 5, pages 73–89, and March 2001. The paper text was not read for this check.
- Robert Baillie, David Borwein, Jonathan M. Borwein, Surprising sinc sums and integrals, The American Mathematical Monthly 115(10), pp. 888–901, 2008. Link
An expository account of the same family of sinc integrals and sums. Cited as further reading; no number on this page is taken from it.
Bibliographic record checked. This is not an independent verification of the proof.
Bibliographic review:
AI-assisted bibliographic audit. Evidence type: publisher record.
The DOI registry record confirms the authors, the title, The American Mathematical Monthly volume 115, pages 888–901, and December 2008. The paper text was not read for this check.
The reference entry for these integrals, and the place the exact fraction of π for the first product that falls short is commonly quoted. The page computes that fraction itself and a test compares it with the quoted value.
Bibliographic record checked. This is not an independent verification of the proof.
Bibliographic review:
AI-assisted bibliographic audit. Evidence type: publisher record.
The page exists at this address and is titled Borwein Integrals. Its numbers were not compared one by one with this page for this check.
Related by mechanism
Connected by how they work, not by sharing a topic label.