Full Text of *The World’s Ugliest Music* by mathematician Scott Rickard at TEDxMIA conference.

**Listen to the MP3 Audio here: MP3 – The world’s ugliest music by Scott Rickard @ TEDxMIA**

**TRANSCRIPT: **

So what makes a piece of music beautiful?

Well, most musicologists would argue that repetition is a key aspect of beauty. The idea that we take a melody, a motif, a musical idea, we repeat it, we set up the expectation for repetition, and then we either realize it or we break the repetition. And that’s a key component of beauty.

So if repetition and patterns are key to beauty, then what would the absence of patterns sound like if we wrote a piece of music that had no repetition whatsoever in it? That’s actually an interesting mathematical question. Is it possible to write a piece of music that has no repetition whatsoever? It’s not random. Random is easy.

Repetition-free, it turns out, is extremely difficult and the only reason that we can actually do it is because of a man who was hunting for submarines. It turns out the guy who was trying to develop the world’s perfect sonar ping solved the problem of writing pattern-free music. And that’s what the topic of the talk is today.

So, recall that Sonar — in Sonar, you have a ship that sends out some sound in the water, and it listens for it — an echo. The sound goes down, it echoes back, it goes down, echoes back. The time it takes the sound to come back tells you how far away it is. If it comes at a higher pitch, it’s because the thing is moving toward you. If it comes back at a lower pitch, it’s because it’s moving away from you.

So how would you design a perfect Sonar ping? Well, in the 1960s, a guy by the name of John Costas was working on the Navy’s extremely expensive Sonar system. It wasn’t working, and it was because the ping they were using was inappropriate. It was a ping much like the following here, which you can think of this as the notes and this is time.

*[Music]*

So that was the Sonar ping they were using: a down chirp. It turns out that’s a really bad ping. Why? Because it looks like shifts of itself. The relationship between the first two notes is the same as the second two and so forth.

So he designed a different kind of Sonar ping, one that looks random. These look like a random pattern of dots, but they’re not. If you look very carefully, you may notice that in fact the relationship between each pair of dots is distinct. Nothing is ever repeated. The first two notes and every other pair of notes have a different relationship.

So the fact that we know about these patterns is unusual. John Costas is the inventor of these patterns. This is a picture from 2006, shortly before his death. He was the Sonar engineer working for the Navy. He was thinking about these patterns and he was, by hand, able to come up with them to size 12 — 12 by 12. He couldn’t go any further and he thought maybe they don’t exist in any size bigger than 12. So he wrote a letter to the mathematician in the middle, who was a young mathematician in California at the time, Solomon Golomb.

It turns out that Solomon Golomb was one of the most gifted discrete mathematicians of our time. And John asked Solomon if he could tell him the right reference to where these patterns were. There was no reference. Nobody had ever thought about a repetition, a pattern-free structure before.

So Solomon Golomb spent the summer thinking about the problem. And he relied on the mathematics of this gentleman here, Évariste Galois.

Now, Galois is a very famous mathematician. He’s famous because he invented a whole branch of mathematics, which bears his name, called Galois Field Theory. It’s the mathematics of prime numbers. He’s also famous because of the way that he died. So the story is that he stood up for the honor of a young woman. He was challenged to a duel and he accepted. And shortly before the duel occurred, he wrote down all of his mathematical ideas, sent letters to all of his friends, saying please, please, please — this is 200 years ago — please, please, please see that these things get published eventually. He then fought the duel, was shot, and died at age 20.