Borwein Integrals interpreted via Path Integrals

Borwein Integrals interpreted via Path Integrals

The ability to see common patterns and analogies, to conjecture universal laws starting from the particular things we can experience, is a powerful tool, which arguably is one of the foundations of science. Although we rely constantly on our inductive abilities, the cases when our intuition is spectacularly wrong teaches us valuable lessons, in the same way optical illusions can make us understand how our visual perception works.

My favorite example about this is the (apparent) pattern one can see in Borwein integrals (from the father and son who popularized this kind of integrals, in [Borwein and Borwein, 2001] ); my interest in them was rekindled by a very cool recent article by Majumdar and Trizac, where they link the strange properties of Borwein integrals to probability distributions associated with some random walks, and with an argument essentially about causality they are able to explain what is happening “under the hood”.

Let’s then start our study of these interesting integrals. With just a tiny bit of effort, it is easy to prove that

dxsinc(x)=π

and with some more patience, one can also prove that

dxsinc(x)sinc(x/3)=πdxsinc(x)sinc(x/3)sinc(x/5)=πdxsinc(x)sinc(x/3)sinc(x/13)=π

Wow, there seems to be a pattern here, and one could maybe conjecture a handful of reasons why all these kinds of integrals must be equal to π.

The plot thickens after a Maple developer was playing with this kind of integrals and he noticed that

dxsinc(x)sinc(x/3)sinc(x/15)π4.6×1011<π,

i.e., the value of the integral is slightly less than π. While at first he attributed this problem to a bug in the code, indeed after a few days he realized that this is indeed the correct result. There are various papers about the calculation and interpretation of this kind of integrals ([Borwein and Borwein, 2001], [Schmid, 2014]), but the one which in my opinion is most intuitive and has potential for generalization is the above-mentioned [Majumdar and Trizac, 2019], where they link Borwein integrals to random walks. Heavily borrowing from [Majumdar and Trizac, 2019], I will explain what is happening under the hood of these integrals with the tool that I think makes essentially any kind of random process very clear (especially to physicists): the path integral.

Interpretation via a Path Integral

Let’s start from a seemingly unrelated1 problem: consider a particle which starts at x0=0 and that moves at discrete time steps by performing a sequence of (uniformly distributed) random jumps, i.e.,

xi=xi1+δi,

where xi is the position of the particle at the i-th time, and δi is a random variable uniformly distributed between ai and ai (assume ai>0). Notice that, although the change in the position due to each jump is always uniformly distributed, the parameters of the uniform distribution are allowed to change between jumps; in particular, the maximum distance that can be jumped with the first jump is a1, with the second one is a2, and so on.

At any point in time, the state of the particle can be in general associated with the probability density of finding the particle at a certain position x; therefore, states of this system live in the vector space of integrable functions on the real axis. I will use the bra-ket notation, and write then elements of this vector space as |ϕ, scalar products as

ϕ|ψ=Rdxϕ(x)ψ(x).

States labeled by positions, like x and xi, are states where we are definitely sure that the particle occupies a certain position, and are essentially Dirac deltas δ(...), i.e.,

x¯|ψ=Rdxδ(xx¯)ψ(x)=ψ(x¯),

and we can easily prove that they satisfy the completeness relation:

Rdx~ϕ|x~x~|ψ=Rdx~Rdx1Rdx2ϕ(x1)δ(x1x~)δ(x2x~)ψ(x2)=ϕ|ψ,

for any pair of vectors {|ϕ,|ψ}.

We can associate to each jump an operator S^(a) in the following way: suppose that at some generic point in time the probability density for the position x of the particle is pi(x)=x|ϕ; after a random jump of maximum size a>0, the distribution will in general be given by another state, which we will define to be S^(a)|ϕ. The resulting probability density will then be pi+1(x)=x|S^(a)|ϕ.

The time evolution of the system can then be obtained by repeated application of the operator S^(a). Therefore, the pdf for the position of the particle after N steps is

pN(x)=x|S^(aN)S^(aN1)S^(a1)|x0=0;

by introducing completeness relations between each pair of operators we obtain

pN(x)=RN1dx1dxN1x|S^(aN)|xN1xN1|S^(aN1)|xN2x1|S^(a1)|x0=0.

Notice that all of the factors appearing in the equation above are quite trivial to calculate, as in them S^ acts only on states where the particle is for sure at a specific point. This should not be surprising, as it is essentially a manifestation of the chain rule for independent events. Therefore we have

xi|S^(a)|xi1=Uxi1axi1+a(xi)=Ua+a(xixi1),

where we introduced for the continuous uniform distribution the symbol

Uab(x)={1ba,ifaxb0otherwise

and so we can write

pN(x)=RN1dx1dxN1UaN+aN(xxN1)UaN1+aN1(xN1xN2)Ua1+a1(x1).

By noticing that the Fourier transform of the uniform distribution is

RdxUai+ai(x)eikx=sinc(aik),

and that according to the Convolution Theorem convolutions are mapped to products, we obtain

pN(x)=Rdk2πi=1Nsinc(aik)eikx,

And so, in order to calculate the Borwein integrals we were originally interested in we just need to calculate

2πpN(0)=Rdki=1Nsinc(aik),

which in the “path-integral” picture we developed above means we need to integrate only over paths which start from the origin and, after N steps, end up being in the origin again.

Now, let’s ask ourselves the following question: what happens if we perform the substitution

Ua1+a1(x1)12a1,

i.e., if we forget that the first step of our particle was bounded in size by a1? Sure, we will be introducing some “spurious” paths in the path integral, but then we could write pN(0) as

pN(0)"="dxN1UaNaN(xN1)dxN2UaN1aN1(xN1xN2)dxN3dx1Ua2a2(x2x1)12a1

(where we put the equal sign between quotation marks to higlight the fact that this is not true in general). Notice then that the integral over dx1 is equal to 1, independent of x2; therefore also the integral over dx2 is unity, and so on, so that we simply have

pN(0)"="12a1.

The question then becomes: when is this result correct (i.e., when can we omit the ugly quotation marks in the formula above)?

The spurious paths we effectively introduced with our procedure are the ones for which x1>a1. But suppose that

a1>i=2Nai;

in this case, the spurious paths cannot contribute to pN(0), as even if the particle would jump in the direction of the origin at each step, the jump sizes after the first one would be bounded by the ais, and could arrive at most at a distance

|x1|i=2Nai>0

away from the origin. In some way, one can interpret this as a sort of causal argument: if the information that Ua1+a1(x) has a boundary cannot reach the origin in N steps, the probability density at the origin will be constant and invariant with N as the time steps. When “spurious” paths are able to backtrack to the origin, the value of the probability density must become strictly smaller as, in a way, it would stay constant only by adding the (positive) contribution of the “spurious” paths. Therefore, for Borwein integrals, we do have that

13+15++1130.955<1dxsinc(x)sinc(x/3)sinc(x/13)=2πpN(0)=π,

but also, when the information about the boundedness of the first jump reaches the origin, that

13+15++1151.022>1dxsinc(x)sinc(x/3)sinc(x/15)<π.

Generalizations

Notice how the initially given form of Borwein integrals, with odd integers appearing in the arguments of sinc functions, was just smoke and mirrors: we could have chosen any sequence of ais, provided that

a1>i=2Nai,

and the value of the integral would still be π/a1. Therefore, from the proof above, we might as well state that

dxi=1Nsinc(aix)=π,a1>i=2Nai,aiR+.

In our proof also we never made use of the fact that the probability distribution of jumps after the first one was uniform: we just needed them to have finite support and to be correctly normalized. So, for instance, as the Fourier transform of Bessel functions of integer order α divided by their argument to the power of α satisfy these properties, we can also find the following nontrivial identities for Bessel functions:

dxsinc(a1x)i=2N2ii!Jα(aix)2π(aix)α=π,a1>i=2Nai,aiR+,αN.

Fourier transforms of Besse

…Or we can even get more general ones by mixing Bessel functions of different order: in the random walk picture, that would amount to allowing jumps after the first one to be characterized by the Fourier transform of the corresponding factor.

Even more, by considering discrete jumps instead of continuously-distributed ones, one can introduce other trigonometric functions in the integrands. In [Majumdar and Trizac, 2019], they even find identities for multi-dimensional integrals and for other interesting mathematical problems, such as proving when

+dki=1Nfi(aik)=?k=+i=1Nfi(aik),

by only using causal reasoning.

Conclusion

I think I finally understood what is happening with Borwein integrals, and their connection with random walks is deeply interesting in my opinion. The fact that the probability distribution is affected by boundary effects (i.e, from the fact that the density is not constant over all the real numbers) only when information from the boundary is carried by some paths is a great idea, and for sure can be applied way beyond Borwein integrals.

If you liked this post, I think a great thing to see next is the talk “When random walkers help solving intriguing integrals”, by E. Trizac. For now, thanks a lot for reading!


  1. Keeping in mind that the sinc function is the Fourier transform of the rectangular function (and therefore of the continuous uniform distribution), and that products are mapped to convolutions when Fourier-transformed, you might already see that this problem is not so unrelated after all!