
Life is the art of approximation. If we took into account all the details of every aspect of the things we experience, we'd never get anywhere. We need to be careful about which things to ignore, though, because if those details contain a proverbial devil, they can come back to bite us.
Mathematicians have learnt this lesson many times. A great example is Stokes' phenomenon, a problem which originated nearly 200 years ago with a question about rainbows, and has generated an entire field of mathematics. Indeed, this year the Isaac Newton Institute in Cambridge ran a virtual research programme on the topic, bringing together some of the best minds in the field. The problem concerns very small — exponentially small — quantities, which over time and space can grow to be exponentially large. Understanding these potentially explosive quantities is essential in all sorts of areas beyond maths: from building jet engines to theoretical physics.
Below the rainbow
The problem started in 1838 with the then Astronomer Royal George Biddell Airy, who was interested in rainbows. If you are lucky, when you look closely at a rainbow you will see one or more faint arcs below the main bow that are predominantly green, pink and purple. Airy was interested in these supernumerary fringes not so much for their own sake, but because a similar fringing effect occurs in optical lenses which, as an astronomer using telescopes, Airy wanted to understand.

A rainbow with supernumerary fringes. Photo: Johannes Bahrdt, CC BY-SA 4.0.
The Airy function
The Airy function
In the early 17th century René Descartes had explained how the main rainbow comes about using a theory which imagines light as consisting of rays. "But the ray theory of light doesn't predict that [supernumerary fringes] exist, so you can't model what they are," says Chris Howls of the University of Southampton and co-organiser of the Newton Institute programme. "Airy used a wave theory of light and this naturally gives rise to supernumerary fringes."
Airy wrote down a mathematical formula, now called the Airy function, from which you can read off the intensity of the light of the main bow and its supernumerary arcs, and also the location of the arcs, as you cut across the rainbow with a line that's perpendicular to it. "Airy wanted to compute where these supernumerary fringes were because that would help improve the optics of telescopes," says Howls.
The problem with Airy's function was that it was
difficult to evaluate. Given a particular value of

With today's methods it's possible to evaluate the Airy function and plot it. The main bump on the right corresponds to the main rainbow and the smaller bumps going off to the left to the supernumerary fringes. (The square of the Airy function gives the intensity of the light). This figure is from a talk by Chris Howls and Adri Olde Daalhuis that was given given at the Isaac Newton Institute.
The power of powers
The idea that an infinitely long sum can be useful at all may seem strange at first, so let's look at an example. Think of the exponential function
The function comes with what is called a Taylor series given by the infinite sum
Now to estimate the value of
Taylor series exist for a whole class of functions. And Taylor's theorem even tells you how far the approximations you get from them are from the actual value of the function.
Taylor failure
This is great in principle, and using the Taylor series of his function (you can see it in Airy's paper) Airy was indeed able to evaluate the Airy function for values of

The blue curve is the Airy function and the red curve the approximation you get from three terms of its Taylor series. You can see the approximation only captures the first bump on the right, corresponding to the main rainbow. This figure is from a talk by Chris Howls and Adri Olde Daalhuis that was given given at the Isaac Newton Institute.
To find an easier way of approximating the Airy function, the mathematician George Gabriel Stokes in 1850 decided to play with fire. He enlisted the help of series that don't converge.
Satanic series
As you can easily imagine, not all series converge to a finite value. A simple example is the series
Divergent series are treacherous beasts you can play all sorts of tricks with — see this article for some examples. In 1828, not so long before Stokes started his work on Airy's function, the Norwegian mathematician Niels Henrik Abel had described divergent series as an "invention of the devil" and declared it shameful to "base on them any demonstration whatsoever."
But Stokes, in his quest to approximate Airy's function, was not deterred. A deep look at the mathematics of Airy's function led him to consider divergent series that nevertheless delivered a good approximation to the function (the series is a little bit complicated to write down, but you can see it here). The trick here is knowing where to stop. As the series Stokes considered diverges to infinity, if you look at too long a partial sum, its value will be huge and miss the corresponding (finite) value of Airy's by miles. However, if you consider a partial sum that's just short enough, the approximation will be close.

When you add up more and more of the initial terms of a sum that diverges to infinity, you get larger and larger results, eventually exceeding all bounds. However, Stokes knew that for the divergent sums he was dealing with, taking exactly the right number of terms would give you a good approximation to Airy's function.
Stokes' ingenious approach gave him a way of approximating the values of Airy's function with "extreme facility" for relevant values of

The blue curve is the actual Airy function and the red curve Stokes' asymptotic approximations. The formulae give the descriptions of each part of the approximation. This figure is from a talk by Chris Howls and Adri Olde Daalhuis that was given given at the Isaac Newton Institute.
The word asymptotic here refers to the fact that the approximation works only for large enough positive values of
But despite this success, Stokes wasn't at all happy. The two parts of his approximation were described by two very different mathematical expressions (given in the plot above). This bothered Stokes. "What Stokes wanted to know was, how do you go from one [expression to the other]?", says Howls. "This question vexed him for a lot of his career, from 1850 to 1902." The answer Stokes eventually found showed that, when it comes to asymptotic approximations, tiny exponential terms can suddenly "be born" and then grow to attain dominance. Find out more in the second part of this article.
About this article
This article relates to the Applicable resurgent asymptotics research programme hosted by the Isaac Newton Institute for Mathematical Sciences (INI). You can see more articles relating to the programme here.
Marianne Freiberger is Editor of Plus. She interviewed Chris Howls in July 2021.
This article is part of our collaboration with the Isaac Newton Institute for Mathematical Sciences (INI), an international research centre and our neighbour here on the University of Cambridge's maths campus. INI attracts leading mathematical scientists from all over the world, and is open to all. Visit www.newton.ac.uk to find out more.
