Every year the Royal Society opens its doors to the public for the Summer Science Exhibition. For their 2010 exhibition, I worked alongside the maths department at the University of Bristol to build a DI multitouch surface, illustrating recent work on quantum graphs and isospectrality.

A graph is simply a set of points (black spheres), joined together by (blue) lines. A graph is said to be "metric" when we care about the length of the lines. Examples of things that can be thought of as graphs: the London Underground, spiderwebs, the internet, graphene, etc.

What happens if we made a graph out of bits of string, and then pluck it like a guitar, or bow it like a violin? The graph is going to vibrate in some characteristic way (green lines). It will also probably make a sound - a note, or perhaps a chord. This is what's called a "quantum" graph - a metric graph with some associated rules about wavelike behaviour. It turns out that every possible graph has a discrete set of associated vibrational frequencies - that is, a characteristic sound. The list of frequencies, or pure tones, which make up this sound is called the "spectrum" of the graph.

It's interesting (to me) that while it is easy to work out the sound of the graph from its shape, it is hard to work out the shape of the graph, given only the sound. Quantum graphs have applications in chemistry, quantum mechanics, photonics, human physiology, engineering, etc.

The demographic of visitors to the Royal Society exhibition is very broad: from primary school children to Nobel laureates, and everything in between. We set ourselves the goal of taking real simulations that are routinely performed by PhD students and postdocs from the Maths department, and making them interactive - in such a way that they are accessible, clear, and interesting to literally everyone. In particular we did not want to dumb down the maths - the mathematical framework inside the exhibit is exactly the same as that used for cutting-edge academic research.

The exhibit needed to be

We built a DI multitouch surface, running custom software which allows users to create graphs, visualize eigenfunctions and spectra, and hear the characteristic sound of each graph. The table supports multiple users simultaneously. It is doing the following:

The wooden box was built (using proper wood) by Design Rock. Great ideas came from many good people in the Maths department. Software was written by me, except for most of the tracking code, which came courtesy of reacTIVision. Optics, cooling, power, electronics by me. Graph solver by Ram Band et al, ported to Python by me. Audio synthesis written in ChucK. Everything else in Python.

Press coverage

Marcus du Sautoy
Financial Times
New Scientist