Borwein integral explained

In mathematics, a Borwein integral is an integral whose unusual properties were first presented by mathematicians David Borwein and Jonathan Borwein in 2001. Borwein integrals involve products of

\operatorname{sinc}(ax)

, where the sinc function is given by

\operatorname{sinc}(x)=\sin(x)/x

for

x

not equal to 0, and

\operatorname{sinc}(0)=1

.[1]

These integrals are remarkable for exhibiting apparent patterns that eventually break down. The following is an example.

\begin{align} &

infty
\int
0
\sin(x)
x

dx=

\pi
2

\\[10pt] &

infty
\int
0
\sin(x)
x
\sin(x/3)
x/3

dx=

\pi
2

\\[10pt] &

infty
\int
0
\sin(x)
x
\sin(x/3)
x/3
\sin(x/5)
x/5

dx=

\pi
2 \end{align}
This pattern continues up to
infty
\int
0
\sin(x)
x
\sin(x/3)
x/3
\sin(x/13)
x/13

dx=

\pi
2.

At the next step the pattern fails,

infty
\begin{align} \int
0
\sin(x)
x
\sin(x/3)
x/3
\sin(x/15)
x/15

dx &=

467807924713440738696537864469
935615849440640907310521750000

~\pi\\[5pt] &=

\pi
2

-

6879714958723010531
935615849440640907310521750000

~\pi\\[5pt] &

\pi
2

-2.31 x 10-11. \end{align}

In general, similar integrals have value whenever the numbers are replaced by positive real numbers such that the sum of their reciprocals is less than 1.

In the example above, but

With the inclusion of the additional factor

2\cos(x)

, the pattern holds up over a longer series,[2]
infty
\int
0

2\cos(x)

\sin(x)
x
\sin(x/3)
x/3
\sin(x/111)
x/111

dx=

\pi
2,

but

infty
\int
0

2\cos(x)

\sin(x)
x
\sin(x/3)
x/3
\sin(x/111)
x/111
\sin(x/113)
x/113

dx

\pi
2

-2.3324 x 10-138.

In this case, but . The exact answer can be calculated using the general formula provided in the next section, and a representation of it is shown below. Fully expanded, this value turns into a fraction that involves two 2736 digit integers.

\pi\left(1-
2
3 ⋅ 5 … 113 ⋅ (1/3+1/5+...+1/113-2)56
255 ⋅ 56!

\right)

The reason the original and the extended series break down has been demonstrated with an intuitive mathematical explanation.[3] In particular, a random walk reformulation with a causality argument sheds light on the pattern breaking and opens the way for a number of generalizations.

General formula

Given a sequence of nonzero real numbers,

a0,a1,a2,\ldots

, a general formula for the integral
infty
\int
0
n
\prod
k=0
\sin(akx)
akx

dx

can be given. To state the formula, one will need to consider sums involving the

ak

. In particular, if

\gamma=(\gamma1,\gamma2,\ldots,\gamman)\in\{\pm1\}n

is an

n

-tuple where each entry is

\pm1

, then we write

b\gamma=a0+\gamma1a1+\gamma2a2+ … +\gammanan

, which is a kind of alternating sum of the first few

ak

, and we set

\varepsilon\gamma=\gamma1\gamma2 … \gamman

, which is either

\pm1

. With this notation, the value for the above integral is
infty
\int
0
n
\prod
k=0
\sin(akx)
akx

dx=

\pi
2a0

Cn

where

Cn=

1
na
2
k
n}
\sum
\gamma\in\{\pm1\

\varepsilon\gamma

n
b
\gamma

sgn(b\gamma)

In the case when

a0>|a1|+|a2|+ … +|an|

, we have

Cn=1

.

Furthermore, if there is an

n

such that for each

k=0,\ldots,n-1

we have

0<an<2ak

and

a1+a2+ … +an-1<a0<a1+a2+ … +an-1+an

, which means that

n

is the first value when the partial sum of the first

n

elements of the sequence exceed

a0

, then

Ck=1

for each

k=0,\ldots,n-1

but

Cn=1-

(a2+ … +an-a
n
0)
1+a
n-1
2n!
na
\prod
k

The first example is the case when

a
k=1
2k+1

.

Note that if

n=7

then
a
7=1
15

and
1+
3
1+
5
1+
7
1+
9
1+
11
1
13

0.955

but
1+
3
1+
5
1+
7
1+
9
1+
11
1+
13
1
15

1.02

, so because

a0=1

, we get that
infty
\int
0
\sin(x)
x
\sin(x/3)
x/3
\sin(x/13)
x/13

dx=

\pi
2

which remains true if we remove any of the products, but that

\begin{align} &

infty
\int
0
\sin(x)
x
\sin(x/3)
x/3
\sin(x/15)
x/15

dx\\[5pt] ={}&

\pi\left(1-
2
(3-1+5-1+7-1+9-1+11-1+13-1+15-1-1)7
26 ⋅ 7!(1/3 ⋅ 1/5 ⋅ 1/7 ⋅ 1/9 ⋅ 1/11 ⋅ 1/13 ⋅ 1/15)

\right), \end{align}

which is equal to the value given previously.

/* This is a sample program to demonstrate for Computer Algebra System "maxima". */
f(n) := if n=1 then sin(x)/x else f(n-2) * (sin(x/n)/(x/n));
for n from 1 thru 15 step 2 do (print("f(", n, ")=", f(n)),
  print("integral of f for n=", n, " is ", integrate(f(n), x, 0, inf)));
/* This is also sample program of another problem. */
f(n) := if n=1 then sin(x)/x else f(n-2) * (sin(x/n)/(x/n)); g(n) := 2*cos(x) * f(n);
for n from 1 thru 19 step 2 do (print("g(", n, ")=", g(n)),
  print("integral of g for n=", n, " is ", integrate(g(n), x, 0, inf)));

Method to solve Borwein integrals

An exact integration method that is efficient for evaluating Borwein-like integrals is discussed here. This integration method works by reformulating integration in terms of a series of differentiations and it yields intuition into the unusual behavior of the Borwein integrals. The Integration by Differentiation method is applicable to general integrals, including Fourier and Laplace transforms. It is used in the integration engine of Maple since 2019. The Integration by Differentiation method is independent of the Feynman method that also uses differentiation to integrate.

Infinite products

While the integral

infty
\begin{align} \int
0
n
\prod
k=0
\sin(x/(2k+1))
x/(2k+1)

dx \end{align}

becomes less than

\pi
2
when

n

exceeds 6, it never becomes much less, and in fact Borwein and Bailey[4] have shown
infty
\begin{align} \int
0
infty
\prod
k=0
\sin(x/(2k+1))
x/(2k+1)

dx&=

infty
\int
0

\limn

n
\prod
k=0
\sin(x/(2k+1))
x/(2k+1)

dx\\[5pt] &=\limn

infty
\int
0
n
\prod
k=0
\sin(x/(2k+1))
x/(2k+1)

dx\\[5pt] &

\pi
2

-0.0000352 \end{align}

where we can pull the limit out of the integral thanks to the dominated convergence theorem. Similarly, while

infty
\int
0

2\cosx

n
\prod
k=0
\sin(x/(2k+1))
x/(2k+1)

dx

becomes less than

\pi
2
when

n

exceeds 55, we have
infty
\int
0

2\cosx

n\sin(x/(2k+1))
x/(2k+1)
\prod
k=0

dx

\pi
2

-2.962910-42

Furthermore, using the Weierstrass factorizations

\sinx
x

=

infty
\prod
n=1

\left(1-

x2
\pi2n2

\right)    \cosx=

infty
\prod
n=0

\left(1-

4x2
\pi2(2n+1)2

\right)

one can show

infty
\prod
n=0
\sin(2x/(2n+1))
2x/(2n+1)

=

infty
\prod\cos\left(
n=1
x
n

\right)

and with a change of variables obtain[5]

infty
\int
0
infty
\prod\cos\left(
n=1
x
n

\right)dx=

1
2
infty
\int
0
infty
\prod
n=0
\sin(x/(2n+1))
x/(2n+1)

dx

\pi
4

-0.0000176

and[6]

infty
\int
0

\cos(2x)

infty
\prod\cos\left(
n=1
x
n

\right)dx=

1
2
infty
\int
0

\cos(x)

infty
\prod
n=0
\sin(x/(2n+1))
x/(2n+1)

dx

\pi
8

-7.407310-43

Probabilistic formulation

Schmuland[7] has given appealing probabilistic formulations of the infinite product Borwein integrals. For example, consider the random harmonic series

\pm1\pm

1
2

\pm

1
3

\pm

1
4

\pm

1
5

\pm

where one flips independent fair coins to choose the signs. This series converges almost surely, that is, with probability 1. The probability density function of the result is a well-defined function, and value of this function at 2 is close to 1/8. However, it is closer to

0.124999999999999999999999999999999999999999764\ldots

Schmuland's explanation is that this quantity is

1/\pi

times
infty
\int
0

\cos(2x)

infty
\prod\cos\left(
n=1
x
n

\right)dx

\pi
8

-7.407310-43

Notes and References

  1. Fun With Very Large Numbers . Baillie . Robert . 1105.3943 . math.NT . 2011.
  2. Hill . Heather . 10.1063/PT.6.1.20190808a . Random walkers illuminate a math problem . Physics Today . 2019 . 202930808 .
  3. Web site: Patterns That Eventually Fail. Baez. John. September 20, 2018. Azimuth. https://web.archive.org/web/20190521084631/https://johncarlosbaez.wordpress.com/2018/09/20/patterns-that-eventually-fail/. 2019-05-21.
  4. Book: Borwein . J. M. . Mathematics by experiment : plausible reasoning in the 21st century . Bailey . D. H. . A K Peters . 2003 . 1st . Wellesley, MA . 1064987843 .
  5. Book: Borwein, Jonathan M. . Experimentation in mathematics : computational paths to discovery . 2004 . AK Peters . David H. Bailey, Roland Girgensohn . 1-56881-136-5 . Natick, Mass. . 53021555.
  6. Bailey . David H. . Borwein . Jonathan M. . Kapoor . Vishaal . Weisstein . Eric W. . 2006-06-01 . Ten Problems in Experimental Mathematics . The American Mathematical Monthly . en . 113 . 6 . 481 . 10.2307/27641975. 27641975 . 1959.13/928097 . free .
  7. Schmuland . Byron . 2003 . Random Harmonic Series . The American Mathematical Monthly . 110 . 5 . 407–416 . 10.2307/3647827. 3647827 .