Why the Borwein Integral Pattern Breaks

Moving averages and Fourier transforms explain why a sequence stays at π until it falls just short.

Chaîne
3Blue1Brown
Publié
4 nov. 2022
Vidéo
17:25
Lecture
3 min
Diapositives
4
Original
anglais
Ouvrir sur YouTube
En faisant défiler, la vidéo se réduit en bas à droite et continue. Les sous-titres suivent votre langue de lecture.
Langue de lectureDisponible en 2 langues
Cet article n’est pas encore disponible en français ; il s’affiche dans l’original en anglais.
RÉSUMÉ

En 30 secondes

3Blue1Brown explains the Borwein integrals using shrinking plateaus and the convolution theorem. The video’s description corrects one displayed divergent integral in the cosine variant.

  1. 1A pattern breaks at 15The integral remains π through denominator 13 and is slightly smaller after the factor with denominator 15.
  2. 2A correction to the videoThe video description says the top line displayed at 4:12 diverges and should be omitted.
  3. 3Moving averages shrink a plateauEach averaging window reduces the width of the region where the function equals 1.
  4. 4A second threshold at 113The cosine variant corresponds to a wider plateau and a later threshold.
  5. 5Fourier transform and convolutionThe transform turns products into convolutions, which are moving averages in this example.

À retenir

  1. The integral remains π through denominator 13 and is slightly smaller after the factor with denominator 15.
  2. Each averaging window reduces the width of the region where the function equals 1.
  3. The cosine variant corresponds to a wider plateau and a later threshold.
  4. The transform turns products into convolutions, which are moving averages in this example.
  5. The video description says the top line displayed at 4:12 diverges and should be omitted.
TEXTE INTÉGRAL

Lire le texte remanié, chapitre par chapitre

Transcription seule
01

The surprising integral pattern

Products of sinc functions retain the same integral until a tiny deviation appears.

A sequence of integrals appears to equal π each time, then suddenly falls just short. The discrepancy is so small that a researcher reportedly suspected a computer-algebra bug. The phenomenon is real, and the explanation connects moving averages with Fourier transforms and convolution.

Start with sinc(x) = sin(x)/x, defined continuously as 1 at zero. Its integral over the real line is π, with areas below the axis counted negatively. This is already a surprising result if you approach it using elementary integration techniques.

Now multiply by sinc(x/3), then by sinc(x/5), and continue with successive odd denominators. Each factor changes the graph, yet the integral stays exactly π through the factor with denominator 13. Adding the factor with denominator 15 makes it slightly smaller.

The tiny difference is not floating-point error; the exact answer is a rational multiple of π just below π. The Borweins also considered a version with a factor 2 cos(x), whose corresponding pattern persists much longer before breaking at 113.

The video description corrects the display at 4:12: its top line should not be included because that integral diverges. The later valid expressions are the focus of the longer-lasting pattern.

02

A moving-average analogy

Repeated averages narrow a plateau until the center finally drops.

To see a related phenomenon, define rect(x) to be 1 between −1/2 and 1/2 and 0 outside. Create a second function by taking a moving average of the first with a window of width 1/3. Where the whole window sits inside the original plateau, the average remains 1.

The new plateau is narrower by the window’s width, so its length is 1 − 1/3. Its value at zero is still 1. Repeat the averaging with a window of width 1/5; the plateau shrinks again, to length 1 − 1/3 − 1/5.

The first moving average
DIAPOSITIVE 1 / 4The first moving averageA window of width 1/3 shrinks the rectangular plateau.

Continue with widths 1/7, 1/9 and so on. The plateau narrows, but near its edge the curve is still very close to 1 because it is built from repeated averages of nearby values.

At the 1/15 step, the previous plateau is narrower than the averaging window. Even at zero the window includes values slightly below 1, so the average drops below 1. This happens because 1/3 + 1/5 + … + 1/15 first exceeds 1.

The 1/15 threshold
DIAPOSITIVE 2 / 4The 1/15 thresholdThe averaging window extends beyond the remaining plateau.

The resemblance is exact: the moving-average value at zero is the factor multiplying π in the corresponding integral. For the 2 cos(x) variant, the analogy starts with a plateau of width 2; the reciprocal sum first exceeds 2 at 1/113.

Odd reciprocals are not essential. The presenter explains the more general principle: for positive scaling values, the plateau remains intact while the total window width is below 1, then the central value falls once it exceeds 1.

03

Fourier transforms and convolution

The presenter outlines why the two calculations correspond.

Why are the integrals and moving averages the same calculation? The explanation uses Fourier transforms and convolutions. This video gives a high-level overview and leaves a fuller explanation of convolution for a subsequent video.

First replace x by πx. This rescales the sinc integral from π to 1. Under the Fourier-transform convention used here, the normalized sinc function corresponds to the rectangular function; a stretched sinc corresponds to a rescaled rectangle.

Two forms of the same calculation
DIAPOSITIVE 3 / 4Two forms of the same calculationNormalized integrals are compared with successive moving averages.

A Fourier transform can be understood as a change of perspective that expresses a function in terms of its frequency components. Statements that are difficult in the original representation can become simpler in the transformed one.

One useful fact is that the integral of a function over the whole line equals its Fourier transform evaluated at zero, under the convention used in the video. Thus the normalized sinc integral corresponds to evaluating rect at zero, which gives 1.

The convolution theorem supplies the other link: transforming a product corresponds to convolving the transforms. In this example, convolving with the relevant rectangular functions is the moving-average operation. Evaluating at zero therefore connects the product integrals to the shrinking plateaus.

The convolution theorem
DIAPOSITIVE 4 / 4The convolution theoremThe diagram links products of sinc functions to convolutions of rectangles.

The presenter acknowledges that these transform facts need more justification and promises to explore them in the next video. He adds that the convolution theorem has applications beyond this puzzle, including algorithms for multiplying large numbers efficiently.

Sur la même chaîne

20 diapositives40:44EN
3Blue1Brown· 16 oct. 2026Grant Sanderson: There's never been a better time to go into mathGrant Sanderson, Constantin Kogler · 3Blue1BrownStudents fear AI has solved mathematics. Grant Sanderson argues the opposite: even if machines prove theorems better than we do, the institution of math stays valuable—and this is a rare moment when newcomers can reshape it.MathematicsAI for scienceHuman-AI Collaboration+2
29 diapositives51:55EN
3Blue1Brown· 18 sept. 2026The last IMO problem AI could not solveGrant Sanderson · 3Blue1BrownGrant Sanderson walks through IMO 2025 Problem 6 — a tiling puzzle that frontier models missed — and the visual patience it takes to prove a construction is optimal.MathematicsAI researchReasoning & test-time compute+2
0:55EN
3Blue1Brown· 24 juil. 2026The 64 Sugar Cubes Puzzle: Six Equal DistancesA 4×4×4 block has three colors; prove that six same-colored pairs share a distance.MathematicsEducation
33:51EN
3Blue1Brown· 16 juil. 2026What Cross-Entropy Connects: Compression, Language Models and KL DivergenceGrant Sanderson · 3Blue1BrownGrant Sanderson builds cross-entropy from code lengths and uses it to explain next-token training and distillation.MathematicsMachine LearningFoundation Models+1
Diapositives2:25EN
3Blue1Brown· 12 juin 2026How Shannon Measured the Entropy of EnglishA guessing game helped Claude Shannon estimate how much information English text contains, and why prediction is central to compression.MathematicsAI History
Diapositives1:02EN
3Blue1Brown· 10 juin 2026A Robot Walk and the Puzzle of Optimal Binary EncodingHow few bits does it take to send directions that occur with unequal frequencies?MathematicsScience Communication