“The mathematical technique of decomposing wiggling wave forms into sine waves which can then be summed again to make the original wiggly line is called Fourier analysis, after the nineteenth-century French mathematician Joseph Fourier. It works not just for sound waves (indeed, Fourier himself developed the technique for a quite different purpose) but for any process that varies periodically, and it doesn’t have to be high-speed waves like sound, or ultra-high-speed waves like light. We can think of Fourier analysis as a mathematical technique which is convenient for unweaving ‘rainbows’ where the vibration that makes up the spec­trum is slow compared with that of light.

To go to a very slow vibration indeed, I recently saw, on a road in the Kruger National Park in South Africa, a wiggly wet line which followed the course of the road and apparently traced out some kind of complicated repeat pattern. My host and expert guide told me that it was a trail of urine from a male elephant in musth. When a bull elephant enters this curious state (perhaps the elephantine equivalent of an Australian on ‘walkabout’) he dribbles out urine more or less continuously, apparently for scent-marking purposes. The side-to-side waving of the urine trail on the road was presumably produced by the long penis acting as a pendulum (it would be a sine wave if the penis were a perfect, Newtonian pendulum, which it is not) interacting with the more complicated periodicity of the lumbering four-footed gait of the whole animal. I took photographs with the vague intention of later performing a Fourier analysis.

I am sorry to say I have never got around to doing it. But in theory it could be done. A tracing of the photographed urine line could be laid over squared paper and its coordinates digitized for feeding into a computer. The computer could then perform a modern version of Fourier’s calculations and extract the component sine waves. There are easier (though not necessarily safer) ways to measure the length of an elephant’s penis, but it would have been fun to do, and Baron Fourier himself would surely have been delighted at such an unexpected use of his mathematics. There is no reason why a urine trail might not fossilize, as footprints and wormcasts do, in which case we could in principle use Fourier analysis to measure the penis length of an extinct mastodon or woolly mammoth, from the indirect evidence of its urine trail in musth.”


—From Richard Dawkins’ Unweaving the Rainbow, one of my favourite bits in any book ever (although I have issues with the book). We all use math every day etc. etc.

[inspired by]