You’re probably already familiar with the story about the mathematician who tries to explain proof by induction to two friends: a physicist and an engineer. After some deep thought, the engineer announces that he’s found a proof by induction that all odd numbers are prime: “Three is prime; five is prime; seven is prime; so all odd numbers are prime.” Trying to be tactful, the mathematician asks gently what happens if he tries to extend the sequence a bit further. The physicist chips in: “That’s easy. Three is prime; five is prime; seven is prime; nine isn’t prime; eleven is prime; thirteen is prime; so all odd numbers are prime *to within experimental error*…”

Although we laugh at “engineers’ induction” — extrapolating a general statement from the pattern you see in a finite number of cases — most of us have been guilty of it at some point. It can, of course, be a good way to generate conjectures which can then be proved or disproved properly, but it’s always dangerous to put too much faith in patterns.

A classic and well-known example is Moser’s “pizza-slicing” problem, which generates the sequence 1, 2, 4, 8, 16 — and then, unexpectedly, 31. Here, courtesy of a passing comment on Spiked Math, is a less well-known example.

Define the function , with to patch up the removable singularity. Now define the sequence of functions

For each value of , we can evaluate the integral

sometimes called the Borwein integral. If you want to do the evaluation by hand, you can convert the product of sine terms to a sum using standard trig formulae, then integrate by parts until you’re left with something involving the *sine integral* . This isn’t an elementary function but it’s well tabulated and understood: in particular, as . Alternatively, use a few lines of Maple code (the example below calculates ):

makeintegrand:= proc(k) local i; f(x):= 1; for i from 1 to 2*k+1 by 2 do f(x):= f(x)*sin(x/i)/(x/i) od; end;

makeintegrand(5);

int(f(x),x=0..infinity);

You’ll rapidly discover the following pattern.

and so on up to

You can guess what’s coming now: call the Maple routine above with makeintegrand(7) and you’ll find that

Admittedly this isn’t a lot different from … but we’re looking at exact results not approximations, so any deviation is rather unexpected! Worse is to come: a little bit of experimentation with series will show you that

for every value of up to, er, . (OK: I lied about the “little” bit.) Engineers’ induction would lead us pretty thoroughly up the garden path with this one…

Hopefully by this point you want to know what “goes wrong” with the nice identities that we see for small . Well, I’m not going to tell you, because there’s a very nice paper by Baillie, Borwein & Borwein, called *Surprising Sinc Sums and Integrals*, which is available online and which is really quite accessible if you’ve done a bit of Fourier analysis and are prepared to swallow the occasional technicality. The key fact about the sinc function is that its Fourier transform is the “boxcar” function that equals 1 for and zero otherwise. I’ll leave you to follow how this feeds through to the startling results above!

(DP)