Why Numbers are Music to Our Ears (Update)
Listen and follow along
Transcript
It's Stock Up September at Whole Foods Market.
Find sales on supplements to power up for busy weeks.
Plus, pack your pantry with pasta, sauce, and more everyday essentials.
Enjoy quick breakfast for less with 365 by Whole Foods Market seasonal coffee and oatmeal.
Grab ready-to-heat meals that are perfect for the office and save on versatile no antibiotics ever chicken breasts.
Stock up now at Whole Foods Market, in-store and online.
What does it mean to live a rich life?
It means brave first leaps, tearful goodbyes,
and everything in between.
With over 100 years' experience navigating the ups and downs of the market and of life, your Edward Jones financial advisor will be there to help you move ahead with confidence.
Because with all you've done to find your rich, we'll do all we can to help you keep enjoying it.
Edward Jones, member SIPC.
Mathematician Sarah Hart has twice been a guest on this show, first in 2021 and then again in 2023.
We've taken the very best of those two conversations and turned them into today's bonus episode.
My guest today, Sarah Hart, has taken on a mission that many many might think would be impossible, to make math fun and interesting to everyday people.
We like patterns, we like structures, we like symmetry, and those things come out in whatever forms of creative expression we invent, whether that's music or art or literature.
Welcome to People I Mostly Admire with Steve Levitt.
Sarah Hart holds two academic positions.
First, she's a professor of mathematics at Burbeck College at the University of London, a pretty standard academic appointment.
But her second appointment is more unusual.
She's the professor of geometry at Gresham College, a position established in the 16th century that to this day upholds its original mission to provide free lectures to the public.
I can't wait to talk with her today because I've been on a crusade to make math education more engaging and she's someone who's actually figured out how.
So I'd love to talk about your efforts to popularize mathematics, which is how I became aware of you.
And you've given this series of wildly popular public lectures.
And the ones that first caught my attention were on the relationship between math and music.
And as little as I know about math, I know far less about music.
My mother forced me to take piano lessons when I was young, and I had neither talent nor interest.
But I do think if my piano teacher would have explained music the way you do, I think I might have loved it.
Oh, thank you.
Well, maybe you weren't ready at that age.
Maybe.
So you have a little keyboard with you.
Yeah, yeah.
And one thing you do in one of your lectures is you just play a note, say a C note, and then you play a note in octave higher.
And then you play the two different C notes at the same time.
Could you just do that now?
Yeah, let's try this out.
Okay, so that's a C.
And then, as you say, you can play another one on octifier.
Okay, those sound really different to me.
So play them together.
That's them together.
So here's a C.
Here's a high C,
and here they are together.
So the crazy thing is, it really sounds like you're playing one note.
Absolutely.
Honestly, my entire life, I don't think I've ever had anyone do that simple thing you just did, which is say, how do you know two C notes are the same?
Well, I'm playing them separately and together.
It's a great example of how when you show people something instead of telling them, it's so much more powerful.
Exactly.
What we do when we're learning something or experiencing something is we need to actually see it happening or to hear it.
We need something to grab onto, to hold on to.
And in mathematics, that's super, super important because I could say to you, well, here are the laws of music and write down some equations.
And that is not going to speak to you in the same way that me saying, okay,
those two things sound the same.
And you can think about situations where a group of people are maybe singing something together.
And you will be just naturally doing that phenomenon.
The men will be singing an octave lower than the women, usually.
And you don't even think about it.
Or if you're singing happy birthday at a child's birthday party, you'll just instinctively do that.
And you'll all feel that you're singing the same tune.
And to that extent, you are.
but you're not, because you're not all singing the exact precise note.
You are singing notes octaves apart.
And these simple relationships that hold between the frequencies of those notes are what makes them sound to our ear the same thing when we play them together.
So, why do all C notes sound the same to us?
It's because when we hear a note at all, if a note has a pitch at all, it's because what's happening is the air is vibrating and it's vibrating regularly, periodically, and that vibration will have a certain frequency.
So, when when we think of the pitch of a note, this note here, it will be caused by vibrations of air, and they vibrate in our ears, and that frequency determines the pitch.
Now, the notes that are an octave apart, they have this very beautiful relationship, that low note there, the higher one,
is exactly twice the frequency of the lower one.
So it's this lovely simple mathematical ratio of the frequencies.
Now, that alone isn't enough to explain why they sound the same, but that's the first step along the way.
And this was noticed even back as far as Pythagoras, who did some experiments with stringed instruments.
And he realized that there was this relationship between the length of strings and the sounds that they made.
Now we know that's related to the frequency.
There are other nice notes that don't quite sound the same as each other, but they sound nice together.
So here's another one.
That's my C.
If you multiply the frequency not by two,
but by one and a half, three over two, you get this note.
So
those sound quite pleasing together.
And there are other ones if you multiply by four over three, so again, very simple relationships, you get this.
Here comes the bride, or something like that.
So they're very pleasing relationships between certain pairs of notes, these things called intervals, and they all have these nice whole number relationships between them or very simple fractions.
So does the pleasing come because of these whole numbers?
They tend to have their peaks and their valleys
more or less at the same time.
What eventually it took hundreds of years to realize this, but what's really going on with these frequencies is that when you take a string and vibrate it, you pluck at the string and it vibrates at some frequency.
But there are
other vibrations that can fit into that string.
So if you imagine a string, it can have a wave moving along it, or you can fit two whole waves or three whole waves or four whole waves in that length.
And so what you get are these nice whole number multiples, they're called overtones.
And the exact composition of this will depend on the musical instrument you're playing.
Violin sounds different from a flute, sounds different from a piano, but you will get some kind of combination of these whole number multiples of a particular frequency.
And so when you double the frequency, you're getting that frequency that's twice as high.
you've already got a little bit of that as an overtone in the lower note.
So your mind is somehow prepared for that.
It's already a little bit there.
So when you add in that higher note, you're giving your brain something it's already prepared for.
And that's why they sound so pleasing together.
So here's something that puzzles me.
You've already explained that a high C vibrates twice as fast as a C1 octave lower.
Yeah.
In between those notes on a piano, though, there are 12 keys.
And those keys, if I'm using the right language, are each a semitone apart.
Yeah.
Is there a reason why we divide an octave, where oct means eight, into 12 pieces?
I mean, eight pieces would make sense or even 16.
But how do we end up at 12?
So this is a really fascinating question.
And the reason, again, it goes back probably to the Greeks.
And we don't, this is like the Western classical tradition.
It's not true in all musical traditions.
But the reason we divide into 12 is because originally the octaves were seen as nice things, double the frequency.
there's your nice octave.
And then these intervals which I showed you before, where you multiply the frequency by three over two, which we now call a perfect fifth.
So
that thing, it's called a perfect fifth because if I just play you like the this is the white notes I'm playing on the piano, one, two, three, four,
five.
Right, so that's why it's called a fifth, but that's begging the question for later.
Now, Pythagoras discovered that if you start at a very low, for example, C,
and you go up by octaves and you keep going, if you go up by seven octaves, you'll have doubled the frequency seven times.
And if you'll just do that in your head, you'll find that you've multiplied the frequency by 128.
Okay, remember the number 128.
Now, if instead you start on this low note, and instead of going up by octaves and doubling, you go up by these fifths, which are nice, pleasing intervals.
You start here, you do a fifth, you do another fifth, you do another fifth, and you keep going, keep going.
What happens is, after you've done this 12 times, you get to this seven octaves higher note that we did when we went up in octaves.
So, in other words, 12 fifths on a piano equals seven octaves.
Now, that means this 12 number,
if you just go up and down octaves, you can fit all of those 12 different fifths that you did.
They give you the 12 different notes in an octave.
Now, that is nice,
but there's this puzzle at the the heart of a piano because if you actually think what is that interval of a fifth, you've multiplied by three over two, one and a half.
If you multiply by three over two and you do that 12 times, you'll get like three to the power 12 divided by two to the power 12.
That is not 128.
It's 129.7 and a bit.
12 fifths are not equal to seven octaves.
So what on earth is going on?
Yeah, what is going on?
Well, the thing that's going on is that actually when we're playing music, we don't tend to require a seven octave range and 12 fifths.
So this approximation that is used, and that's what it is, it was good enough.
And you can never actually, you can never get a whole number of fifths into a whole number of octaves because fifths involve the number three, this three over two thing, and octaves just involve doublings.
And however many times you multiply threes together, you're never going to come out with an even number.
It's just never, it's not ever going to be possible.
So because of that, there's actually no number that you can divide an octave up into, such that everything works out nicely in terms of fifths and octaves.
So because you can't do it, then you say, what's a good approximation?
And 12 is a good approximation.
So I'm surprised the way you're describing it.
I would have thought that the musical, I don't know the right word, canon, that the ideas behind octaves would have far preceded the math, and the math would have come later to make sense of it.
But it sounds like you're saying the development of music was highly integrated into mathematical thinking from the very beginning.
Is that right?
Absolutely.
These very early experiments about the lengths of different strings, making these lovely ratios, it was all bound up in this idea of how everything has a wonderful universal harmony and these numbers, one, two, three, four, and their ratios.
This is how the universe was created, believe the Pythagoreans.
And it was all mixed up into one idea.
And even there was this belief that actually mathematics, well, and I believe this, underlies everything.
So if you're thinking of music, that's kind of number turned into sounds.
And astronomy is number as it goes through time and space.
And arithmetic is number just studied for itself.
And geometry is number as it relates to space.
So you've got all of these different understandings of number and pattern.
And music is just a part of that.
So I might be wrong, but I'm guessing that the idea that mathematics applied to astronomy probably held us back hundreds of years and actually figuring out what was going on because things were not so perfect as we really hoped they would be when the earth, oops, it wasn't really the center of the universe.
Although it has to be said that theology got in the way as well a little bit because there were writers amongst the Greeks who had suggested that the sun was at the center and the earth was going around it.
So it wasn't just this new idea from Copernicus and Galileo.
It had been suggested suggested previously, but then others had intervened and said, no, no, the Earth must be in the middle because religion.
So there are fixed ideas.
You get people like Kepler.
I feel so sorry for Kepler because he was so like adamant that there had to be some mathematical reason why the orbits of the planets were the distances they are from the sun.
And he drew this amazing picture, fitting the five platonic solids, nesting them inside each other.
And at the time, there were six planets known.
And so you put a platonic solid in between each one, and that's why the ratio of their orbit to the, and of course, now we know, no, it doesn't
totally wrong.
Sorry, and there's more planets than that anyway.
So, yeah, a lot of good minds perhaps spent time trying to fit things into the theory that they had, wanting things to be circles when actually they're ellipses, because we're humans, and humans get ideas that they want to be right.
And mathematicians are humans as well.
It could happen to the best of us.
How much of what sounds good to us is just familiarity versus the dictates of math?
So, my wife loves hardcore metal music, crazy music from bands with names like Five Fingered Death Punch.
And when I first met her, I couldn't even listen to it.
But now I kind of like it, much to my surprise, just having heard it a lot.
Yeah.
So I would would say the octave is probably the only thing that is universal in that sense.
That sound, when you play them together,
those sound similar to everybody.
But then, once you get beyond that, this division of the octave, which really comes from the perhaps obsession with or liking for these perfect fifth intervals, actually, there are other ways to think about things.
And if you favor different intervals or gaps, then you might get different answers to these questions.
So, yes, we can say that mathematically speaking, we understand because of the mathematics of frequency and the laws governing frequency that there are some things that perhaps to our ears might sound more resonant,
but that doesn't completely answer the question.
Because if we talk about these small ratios, we like a ratio of four over three or something, but why don't we like seven over five, which isn't that much bigger, but it sounds horrible.
And there are also intervals that a few hundred years ago would have been absolutely not allowed.
So the fourths and the fifths that we mentioned, these were approved of for 2,000 years in Western music.
But when Monteverdi comes along, who's written some amazing music in the Baroque period, he was including things like intervals of a third, which is this one.
Those were referred to as licentious modulations by the church and like just going to drive the kids crazy and put them off their worship.
So at different periods of time, different things have been in favour.
You know, even something like, you'd think half an octave would be a lovely sound.
Yeah, you would think that.
So what do I mean by half an octave?
Really?
It's halfway up musically.
So the frequency, it's got to be not.
halfway along, but route two of the way along to get that geometric mean.
That thing is called a tritone, half an octave.
And you don't...
You don't hear that very much until maybe the last century, I suppose.
But of course, you hear it all the time nowadays if you have ever watched TV because
it's the first two notes of the Simpsons theme tune.
But
until that came along, you didn't hear much of that.
The 20th century classical, what we call classical composers of the 20th century, they really did rely heavily on mathematical foundations, it seems.
But is it not true that in the end, the marketplace didn't really buy those ideas?
My impression is that people listen much more to Bach and Beethoven and Wagner than most of the composers of the 20th century who were doing such fascinating things trying to bring math into music.
Do you think that maybe math wasn't enough and something more was needed?
Well, the response one is, are these the licentious modulations of the 20th century?
So there are composers who have tried, as you say, consciously to incorporate mathematical ideas.
And I think there are various levels of success.
And one potential pitfall is something that can happen in mathematics as well.
You box yourself in.
So you can prove amazing theorems, but no one cares because you've got too much structure and not enough room for creativity and playfulness.
So if you are really over-specifying every single thing in your music and saying, right, I will have an algorithm for what the next note is.
I will have an algorithm for what the length of the notes are.
I'll have one for whether they're loud or quiet.
You can take it to an extreme that no one wants to listen to, including the composer.
So I think what happened in the 20th century to some extent is that ideas got pushed to their limits.
And then it's strange because it's almost as if it sounds random at some point.
If you put so much structure in that you have absolutely no control of what's going on, then it's almost indistinguishable from just random sounds.
And then you've got to really think, what is the purpose of this?
What am I doing this for?
Whereas the more successful music that involves structure is where there's enough freedom still to find the constraint invigorating rather than repressing.
So you've got people like Hindermitt, who's Ludus Tonalis, which is like tonal games.
He was playing with these ideas of having different keys.
And he had some kind of cool structures in there.
This is a whole kind of series of pieces all linked up together and working working through all the different starting notes.
And the last one and the first one, they were the rotation of each other mathematically, which is cool and difficult to do, but that did not stop him from writing a beautiful piece of music.
So, if you listen to these, they are full of structure and they're fantastic, but they aren't off-puttingly sterile, which is always the risk.
Have you ever tried composing music?
Well, yes, but only in the sense that
only in the sense that teenagers write poems.
Yes, to be truthful, but no, to be like sensible.
More of my conversation with Sarah Hart after this short break.
People I Mostly Admire is sponsored by LinkedIn.
As a small business owner, your business is always on your mind.
So when you're hiring, you need a partner who's just as dedicated as you are that hiring partner is LinkedIn jobs when you clock out LinkedIn clocks in they make it easy to post your job for free share it with your network and get qualified candidates that you can manage all in one place and LinkedIn's new feature can help you write job descriptions and then quickly get your job in front of the right people with deep candidate insights You can post your job for free or choose to promote it.
Promoted jobs attract three times more qualified applicants.
At the end of the day, the most important thing to your small business is the quality of candidates.
And with LinkedIn, you can feel confident that you're getting the best.
Post your job for free at linkedin.com slash admire.
That's linkedin.com slash admire to post your job for free.
Terms and conditions apply.
People they mostly admire is sponsored by Mint Mobile.
From new shoes to new supplies, the back-to-school season comes with a lot of expenses.
Your wireless bill shouldn't be one of them.
Ditch overpriced wireless and switch to Mint Mobile, where you can get the coverage and speed you're used to, but for way less money.
For a limited time, Mint Mobile is offering three months of unlimited premium wireless service for $15 a month.
Because this school year, your budget deserves a break.
Get this new customer offer and your three-month unlimited wireless plan for just $15 a month at mintmobile.com/slash admire.
That's mintmobile.com/slash admire.
Upfront payment of $45 required, equivalent to $15 a month.
Limited time, new customer offer for first three months only.
Speeds may slow above 35 gigabytes on unlimited plan.
Taxes and fees extra.
See Mint Mobile for details.
Honey, do not make plans Saturday, September 13th, okay?
Why, what's happening?
The Walmart wellness event.
Flu shots, health screenings, free samples from those brands you like.
All that at Walmart.
We can just walk right in, no appointment needed.
Who knew we could cover our health and wellness needs at Walmart?
Check the calendar Saturday, September 13th.
Walmart Wellness Event.
You knew.
I knew.
Check in on your health at the same place you already shop.
Visit Walmart Saturday, September 13th for our semi-annual wellness event.
Flu shots subject to availability and applicable state law.
Age restrictions apply.
Free samples while supplies last.
Sarah wrote a book called Once Upon a Prime, which dives into the magical overlap between literature and mathematics.
I have had a blast doing this book because when people say, what?
What do you mean there are connections?
And then it's a great joy to be able to show people what they are.
Mathematics is really our way of understanding structure and pattern.
And if you think about it from that angle, then you start to see, okay, literature has, for example, poetry.
I can see that there's structure in poetry.
You can see that there are rhythms and patterns.
And so perhaps it's believable mathematics is involved there.
And it is.
Poetry is full of mathematics.
But there's also structure in all sorts of literary works, in novels.
There are people that use structures in their work consciously, but it's also there, even without thinking about it.
Let's start with maybe the simplest form of structure that authors impose on their work.
And I guess that might be haiku.
So Japanese poetic forms don't have what we might use in english in western poetry which might be rhyme schemes and things like that in a form like a haiku it's all about counting the sounds we sometimes say syllables that's not quite exactly what it is, but sounds might be a better term.
And in a haiku, you have 17 sounds and it's split into five and then seven and then five.
And if you're a mathematician hearing those numbers, five, seven, 17, it jumps out at you that they're prime numbers, right?
So why 17?
Why not 16 or why not some other number?
Why is it split up into these three, another prime number, different parts?
And thinking about it in terms of those choices that have evolved in the poetic form, you start to say, all right, so that five and seven, the first two parts of a haiku, that makes 12 sounds together.
Actually, if you split it evenly, six and six, that's less of an interesting thing.
It doesn't have this dynamic structure of leading onto five leads onto seven.
It makes it just a little bit interesting.
But also, five and seven being prime, you can't break them up any further.
You can't divide them by anything.
So it makes for a cleaner break and it more emphasizes that little separation.
So these are the kind of things you can notice and think about, even in that very simple constraint of 17 sounds.
You talked about the mathematics of vibration and how some combinations of sounds naturally sound good together.
But it does seem like a little bit more of a stretch when you apply it to literature.
You think that's fair?
I think it's perhaps less on the surface.
That's one thing.
So when you get into looking at how various kinds of poetry or literature are put together, it ceases to feel like a stretch.
I'll give you an example of a book.
There's a book called The Luminaries by Eleanor Catton, won the Booker Prize in 2013.
And that book has a mathematical structure underneath it, which is that every chapter is half the length of the one before.
So that kind of halving thing, mathematically, we call it a geometric progression, that isn't necessarily easily spotted.
You see perhaps that something's going on when you're reading the book, but it's not easily spotted necessarily.
it gives a really wonderful feeling of impetus to that book.
And when you see what's going on, and she leaves a few clues in the text as well, which is cool, when you see what's going on, I think it adds to your appreciation of that novel.
Perhaps in music, because you have your beats and you have your frequencies and things like that, you can see the mathematics coming in there, perhaps more obviously, but it's definitely there in literature.
So you talked about the natural structure of primes in haiku.
How do you explain the sonnet?
I don't see anything natural about a sonnet.
Well, yeah, so this is interesting.
So a sonnet, you've got a prescribed number of lines and you have a prescribed rhythm and a prescribed rhyme scheme, which is which lines rhyme with other lines.
So there are 14 lines in a sonnet.
That's not prime.
That's not prime.
Well, it's seven couplets and two and seven are prime.
But with a sonnet, my feeling is it probably developed organically from smaller collections of lines.
So a quatrain, four lines, seems to be quite a natural thing.
In my book, I asked my little girl to write a poem and she wrote me a quatrain, four lines, just without any further instruction sort of thing.
So a sonnet, at least in English, a sonnet is usually three quatrains, which is like three lots of four lines, and then a rhyming couplet, just wrap it up and let people know you're done.
A lot of scenes in Shakespeare's plays end with a rhyming couplet.
I suspect it developed from that fairly organically and then became crystallized.
into a specific form.
But when I talk about sonnets in the book, actually the reason I talk about them is because of this French poet, Raymond Canot, who wrote a little book called Sans milles millia de poème, which is like 100,000 billion poems.
And he did that essentially by writing a three-dimensional poem, which is very cool.
He wrote 10 sonnets, and then these 10 sonnets all matched up with each other in the sense that all the first lines rhyme with each other, all the second lines rhyme with each other.
So he's got this sort of three-dimensional thing he's building up.
And if you do that, kind of like a child's flickbook, you can pick any one of the first lines, any one of the second lines, any one of the third lines, and make yourself your own sonnet from these 10 basic ingredients.
It's an interesting discussion as to what extent all these sonnets exist, but encapsulated in that book of 10 starter sonnets.
you can make 10 times 10 times 10 times 10, 14 tens multiplied together, which is 100 trillion potential sonnets.
So it's a really fun way to look at the amazingness of a combinatorial explosion of possibility there.
Now, one of the most basic assumptions of economics is that constraints are bad, at least in classical economics.
People are always better off,
or at least no worse off, when you relax constraints.
So more money is better than less money, and more hours in the day would be better than fewer hours in the day.
Do you think literature is an exception to that economic logic?
That constraints really make it better?
So I think there's some sweet spot, right?
If you constrain everything, then you're trapped in a really rigid box.
There's no room for you to be creative.
With absolutely no constraints at all, you're out in the wilderness.
But with a few simple constraints, like you might have in a poetic form, that doesn't stop you being creative.
It spurs you to creativity.
And so there's this great quote from the Irish poet Paul Muldoon, where he says that poetic form is a straitjacket in the sense that straitjackets were a straitjacket for Houdini.
They give you something to push off from.
They give you an impetus to be creative within the structure that you've got.
I'm not sure how familiar you are with six-word stories,
which are an extreme version of this constraint.
Stories that are told in their entirety in six words.
And the most famous one, which is attributed probably falsely to Ernest Hemingway, is this one.
I think it goes
for sale, baby shoes never worn.
Yeah.
Oh, yeah.
Which I at least find to be an extremely haunting and powerful and memorable story because it says so much with so little.
For sale, baby shoes never worn.
Yeah, exactly.
And the brevity of it is part of the greatness of that tiny story.
Chekhov, his short stories are some of the greatest pieces of literature.
There are what you can tell in a few pages.
And with that restriction, I'm not going to give myself a whole novel.
I'm going to tell this beautiful jewel, this crystalline perfection in a few pages.
That makes it better.
These short stories would not be better.
As novels, they are perfect as short stories.
My freaking I was co-author, Stephen Dubner, he started to get obsessed with these six word stories and he was invited to be part of a book where they asked famous authors to write their own memoir in six words.
And I still remember his.
It was on the seventh word, he rested,
which I find interesting because it reflects Stephen Dubner's identity as a writer and a creator and also his unusual relationship with the Old Testament because he's someone who converted to Judaism.
But there's also something,
I don't know, sacrilegious to it because he's saying on the seventh word he rested, which is somehow making this direct comparison between himself and God.
So it's, I don't know, it just makes me think, which I guess is the best you can hope for in six words.
Well, exactly.
Now, I really like that because as you're hearing the six words, And you don't get it till the very final one, there is no seventh word.
And here's why.
And that tiny little story has told you
why we've stopped at six as well.
It's fantastic.
That I love it.
Exactly.
So, the people who took this constraint idea to their extreme, there was a French group of writers.
What were they called again?
The Oolipo.
It's shortening of the first two letters of Ouvoie de littérateur potential.
So, workshop for potential literature.
And the 100 trillion poems were by Raymond Connot.
He was one of the Oolipians.
And they were all about exploring ways of making potential new kinds of literature with different constraints, really, mostly mathematical in nature.
But the most famous one, probably, is Georges Perec, who wrote a whole novel called La Disparation,
which doesn't contain a single letter E.
And this is a really good example where the first question probably anyone would ask is, why do that?
And that's a really important thing to address, because if we're just making up constraints and rules for no reason and playing intellectual games with them.
But that's what he was doing, right?
Well, but he's more than that.
The novel without the letter E, that wasn't the first book to be written omitting a single letter.
So there was an earlier one which didn't use the letter E.
in the 1920s, but no one's heard of it.
And I think the reason no one's heard of it is because it doesn't do anything cool with that restriction.
Yes, it cleverly avoids using the letter E, but it's a lot of work.
It's very hard to do.
But there's nothing in the story that's relevant to that.
Whereas Perek's book called L'Adis Barréssion, The Disappearance, and in English, it's called A Void, which are both clever titles, the book itself is about something that's missing, something that's disappeared.
And then there are clues in the text.
The characters know something's not right with the world.
They're looking for something.
There's an encyclopedia with 26 volumes, but volume five is missing.
There's a hospital ward where there's no patient in bed number five because the fifth letter of the alphabet is E.
And there are further layers towards this.
So they work out eventually the characters what's going on.
But if you think about Georges Perec himself, lots of letter E's in his own name, he lost both his parents during the Second World War.
In French, you can't say family, mother, father.
You can't say those words without the letter E.
Perette cannot say his own name without the letter E.
So, this novel, which is about absence, disappearance, it has echoes within his own life around loss and things not being there.
So, that for me is what makes the use of a constraint interesting and worth doing.
If you actually do something with it, it's not just a random choice.
And that's exactly what we do in mathematics.
We don't just randomly think of rules.
We say, okay, these things seem to be be what's happening in, say, geometry.
So you can set up some basic rules like we do in geometry at school.
This is what a line is.
This is what a point is.
This is what a circle is.
You need a starting point in mathematics.
You don't choose the starting points randomly.
Otherwise, it too would be just a sterile game.
And mathematics is not that.
Mathematics can help us understand so much because we don't do things at random.
We choose.
what are our constraints going to be?
And then we play in a beautiful, wonderful playground of mathematics.
So that is interesting, what Perek did by leaving out the E.
But then he wrote another book where he only used E's.
Did he have a good story for that, or is he just having fun?
Well, he said it was all the E's that he hadn't used in La Despération.
He was sort of lonely and sitting around waiting to be used.
So, yeah, he wrote a book only with E's.
And I think that was just, you know, having a bit of fun.
And why not?
You know, know, I've always been fascinated by books where the reader gets to make choices that influence the story's outcome.
Books where it says, what should Sarah do?
Should she call the police or investigate the crime scene on her own?
If it's call the police, turn to page 61.
If it's investigate the crime on her own, turn to page 273.
There must be some really interesting math underlying this kind of storytelling.
It links to an area of mathematics called graph theory, which is about networks and links and connections.
So if you imagine one of the ways we encounter graph theory without knowing it every day is if we do a search online, there are gigantic networks of web pages that are interconnected to each other.
And when a site like Google gives you the results of your search, it's got that huge network that it's looking through, looking for connections, finding the ones that are most likely to correspond to what you want.
In a story with many different branches that you can follow and different paths that you can go down, you can think of all of those paths being linked together.
And you can imagine a gigantic network that you could study.
And one of the things that mathematics can do for us is to help us understand networks and how to find our way through them.
But also, the gigantic number of paths through and number of potential outcomes would really make books like that or any other kinds of structures like that, just impossibly big, unless we're super careful to limit choices a bit, but without the reader realizing that they are being gently steered in one direction or that not all of their choices have gigantic consequences.
And this is where some of the interesting stuff happens, right?
There's always at this point of a balance between some structure that you need to stop the story getting out of control and ability for people to make free choices and involve randomness.
And those little tiny tweaks, something that's a bit different, but only a little bit different from completely random, can totally change the structure you end up with.
And you see this in mathematics all over the place, in modeling, any kind of situation with big networks and societies.
Fully random, that's one extreme.
Just take away a tiny bit of the randomness, and you can then really make progress and understand what's going on.
In the book, you talk about a movie called Bandersnatch, which is based on the science fiction show Black Mirror.
It's a choose your own adventure film.
So, at different points in the movie, viewers are asked to make a choice, and that influences what happens on screen.
So, the making of that movie must have been a fascinating application of graph theory.
Yeah, exactly.
So, there, if you think about how many different scenes are we going to have to film for the audience to make, let's say you were going to make 10 choices, right?
So, you watch the first scene, you make a choice, and that gives you two possible next scenes.
You make another choice.
So now your two bifurcates again and there are four possible scenes.
And make another choice.
It would be eight and 16 and 32 and we all know how doubling goes.
Nine choices would give you 1,000 and 24 and then you get 2,000 and so on.
Just a few choices would give the poor old actors who are going on strike by this point like 1,000 scenes to film.
Unless, so behind the scenes, there's got to be a bit of mathematical jiggery pokery going on to prevent the actors having to film a thousand scenes.
So these kind of big networks, these graphs that you can draw, actually, they have to connect with each other.
You have to loop back and things have to connect up in a more structured way because otherwise numbers become unwieldy so quickly because of this doubling.
Powers of two are a very, well, powerful thing.
And do you know how many scenes they actually filmed in Bandersnet and how many ways there are through it?
They didn't film a thousand scenes.
The total length of it might be about three hours, but you don't see all of it.
You see bits of it.
But that's a really tight, small amount.
The total amount of minutes of television that there is filmed is very small, really, compared to the amount of choice that you have to go through it.
Because if they just did two to the ninth, say.
If they did two to the ten,
so two multiplied by itself, ten times, they would have a thousand and twenty-four scenes, right?
Which is too many.
They'd have to film a hundred times as much movie as you actually see.
Yeah.
But if you're saying that the total filming in Bandersnatch was something like three hours, then they only film maybe twice as much.
So they managed to cut the extra material 50-fold
to make it work.
When I was writing the book, I was lucky enough to talk to Saria Livingston, who has written...
dozens of these choose your own adventure type books, which some of us, if we're of a certain vintage, may have had when we were kids.
When I talked to him, I asked, okay, how much do you not see if you're reading the book one time and you're following a particular way through, how much of the book will you see?
How much of it will you never see?
Because your choices have eliminated that part.
And he said, actually, they design it and they draw these graphs themselves by hand.
They design it so you encounter about a third of the book on any trip through it, which I was surprised it was so much because that implies just very clever use of the structures.
So that they put in pinch points, they call them, which is places where the plots all converge, and then you have to go there, and then you proceed to the next bit.
It's amazingly clever what they do.
And it's that mix of creativity, structure, the interplay between them.
You don't want it too structured.
You don't want it completely random.
And it just that sweet spot is where the magic happens.
Now, going back to Bandersnatch,
of course, the title Bandersnatch is a reference to one of Lewis Carroll's stories.
And with Lewis Carroll being, of course, the most famous mathematician author of all time, he must have used math in his stories like Alice in Wonderland, although I couldn't tell you how, even having read them as an adult.
It's the whole outlook of the books, the whole tone of voice of the thinking.
Because as a mathematician, he was very interested in logic, in the rules of logic.
and following the rules and working out what you could deduce given a particular collection of statements or something like this.
That's what he does in the Alice books, except that the initial setup is
completely insane.
But then you go with it.
So if a small child comes up to you and says, you're an ocelot and I'm a space hedgehog, then you are and you just go along with it.
You follow the rules of the game, the internal logic.
In Alice in Wonderland, the internal rules of the game say that you can grow and shrink by eating bits of cake and drinking potions and things.
If you can grow and shrink, then it would be possible to swim in a lake of your own tears.
That's exactly what happens to Alice.
And so it's like, if this is possible, then that.
The whole thing is a gigantic reductio ad absurdum, right?
It's proof by contradiction idea that we have in mathematics.
You follow a line of logic.
see where it takes you.
Maybe at some point you'll prove that one equals zero.
Okay, that meant your original assumption was wrong.
This whole of Alice in Wonderland is he's doing, he's playing, just like what mathematicians do, seeing if you can break the structure.
But he also mentions a few numbers in there, and his favorite number is 42, which is also the favorite number of another book that came much later, The Hitchhiker's Guide to the Galaxy.
But Lewis Carroll seems to have loved the number 42.
He drops it in here and there, he hides it in some of the patterns in Alice in Wonderland and in Through the Looking Glass, and then games.
Alice in Wonderland is based on cards, there's the Queen of Hearts and those things.
Through the Looking Glass, the sequel, is based on chess.
And he actually said you could play that book as a genuine game of chess.
Now, I haven't tried to do this.
I think it's perhaps might be a bit tricky to work out what move is next, but Alice is traveling from one end of the chessboard to the other.
And at the end, she might get to become a queen herself.
You're listening to People I Mostly Admire with Steve Levitt.
After this short break, Sarah shares what she's up to now.
This is a vacation with Chase Sapphire Reserve, the butler, the spa.
This is the edit, a collection of hand-picked luxury hotels and a $500 edit credit.
Chase Sapphire Reserve, the most rewarding card.
Learn more at chase.com/slash Sapphire Reserve.
Cards issued by J.P.
Morgan Chase Bank and a member FDIC, subject to credit approval.
Honey, do not make plans Saturday, September 13th, okay?
Why?
What's happening?
The Walmart Wellness Event.
Flu shots, health screenings, free samples from those brands you like.
All that at Walmart.
We can just walk right in.
No appointment needed.
Who knew we could cover our health and wellness needs at Walmart?
Check the calendar Saturday, September 13th.
Walmart Wellness Event.
You knew.
I knew.
Check in on your health at the same place you already shopped.
Visit Walmart Saturday, September 13th for our semi-annual wellness event.
Flu shots subject to availability and applicable state law.
Age restrictions apply.
Free samples while supplies last.
Want to look and feel your best this summer?
Don't just think skin deep.
Think sell deep with Prolon.
Prolon is a plant-based nutrition program featuring soups, snacks, and beverages that nourish the body while keeping it in a fasting state, triggering cellular rejuvenation and renewal.
With proper diet and exercise, Prolon can help target fat loss, support lean muscle, and reset your metabolism.
So you look and feel your best all summer long.
Prolon is science-backed nutrition that can help change your relationship with food in just five days.
Get 15% off plus a $40 bonus gift when you subscribe at prolonlife.com slash Pandora Promo.
These statements have not been evaluated by the FDA.
These products are not intended to diagnose, treat, cure, or prevent any disease.
See site for details.
Sarah Hart's book Once Upon a Prime is so joyful.
Unlike most non-fiction books, it doesn't have a goal of helping you live longer or write a better resume.
It's just pure play and a joy to read.
I suppose what I would like people to come away from the book with a chance to do is to have a look again at the books they love, the writing they love, and maybe it will give them a whole nother layer of enjoyment to that reading.
Because, yeah, what is life for if it's not for producing beautiful things, for enjoying beautiful things, and talking about and sharing and loving those things.
For me, both mathematics and literature are just wonderful oases of happiness.
I'm just so excited to share all these lovely things that I've spotted and noticed in literature.
And I hope it will help people as well to see in their favorite writing those things.
So your time as the Gresham Professor, it's soon coming to an end.
Is that sad for you?
Yeah, I've got one more year.
I've so loved this role, Gresham Professor of Geometry.
It's such fun thing to be because this has been going since 1597.
And someone writing about it in the paper a week or so back, he said, it's a position so old that the first incumbent invented long division.
What great lineage to be part of, right?
It must still be an enormous amount of work.
You're obligated to present many public lectures.
Is it all consuming?
It's quite time consuming, yes, for sure.
But I love doing it so much.
I love finding out like the cute little angle, the nice hook that gets you in, showing people things that they haven't seen or new angle on things that they may think they know something about and they perhaps do, but here's a totally different way to look at it.
And we talk about such a range of different things.
It's exciting for me to prepare.
And I have found my true passion is really communicating, talking about, writing about mathematics.
It's something I so love doing.
And I want to spend the rest of my life doing it.
It's interesting because in my own way, I had that same realization.
I loved writing academic economic papers until I had the chance to be more public-facing and to think about the issues differently.
And after that, all of the allure of writing academic papers left me.
Have you reached that same point where the thought of writing a math paper for an audience of seven total readers is no longer very appealing?
I'm getting there.
I wrote an academic paper actually about the mathematics in Moby Dick, and that came out in 2021.
And that was downloaded like 3,000 times or something within the first few months.
And my next downloaded mathematics paper, which was in some kind of esoteric abstract algebra, super interesting to the 12 people who downloaded it.
You know, it was like,
what's our responsibility in our short time on earth?
We do the thing that only we can do.
We do the thing that gives us joy and makes us happy, and that maybe
is the thing that is a unique mixture of our passions, our abilities.
And the mathematics papers that I've written, I've very much enjoyed doing.
I have loved proving the theorems that I've proved.
But if you think about what I can bring to the world and try and make the world a teeny tiny bit better in some way, the way I can do that is perhaps sharing my joy in mathematics with a wider audience.
Sarah Hart has definitely made my world a teeny tiny bit better by sharing her joy in mathematics.
Since we were replaying her episode, I reached out to Sarah to see what she'd recently been working on.
When I was last on the show, my book Once Upon a Prime about the wondrous connections between mathematics and literature had just been published.
Since then, I've been honoured to be invited to speak on this topic to many audiences in the UK, US and further afield.
I'm next in the US in March 2025 where I'll be giving the Einstein lecture of the American Mathematical Society.
It's a tragedy that so many people come away from school thinking that mathematics is just about dull calculations.
It's a bit of a mission for me to try and change these perceptions and share how gloriously creative and beautiful mathematics really is.
As part of that, I've recently been speaking and running workshops with school teachers and professional teaching organisations, looking at how we can work across subjects subjects to explore with youngsters the fascinating links between mathematics and other creative disciplines, whether that's literature, the visual arts or music.
And in fact, this last is the stepping stone for my next big project, going back to what Steve and I chatted about the first time I was on the show in 2021.
Mathematics is woven into every aspect of music, from the beautiful number patterns underlying harmony to the geometrical symmetries of melody and the ancient algorithm that predicts the rhythms most favoured by musicians across the world.
I'm excitedly in the midst of a deep dive into all this and more, because right now I'm planning my next book, which will be all about the beautiful mathematics behind music.
Next week, I'll be talking with my old friend Jonathan Levin.
He's a path-breaking economist who's now the president of Stanford University.
Sometimes in a leadership role of an organization, you can be a little bit like a Tyrannosaurus Rex.
You know, you have very small hands in terms of getting things done, but when you sort of turn in one direction, your tail tail can wipe out the time of a lot of people.
People I mostly admire is part of the Freakonomics Radio Network, which also includes Freakonomics Radio and the Economics of Everyday Things.
All our shows are produced by Stitcher and Renbud Radio.
This episode was produced by Morgan Levy and mixed by Jasmine Klinger and Greg Ribbon.
Our theme music was composed by Luis Guerra.
We can be reached at Pima at freakonomics.com.
That's P-I-M-A at freconomics.com.
Thanks for listening.
So I'm like, okay, why is a centaur not an insect?
I thought this will stump her all the way to school.
But unfortunately, she came straight back with, well, do they have an exoskeleton?
And
I have to admit that they didn't.
The Freakonomics Radio Network, the hidden side of everything.
Stitcher.
Honey, do not make plans Saturday, September 13th, okay?
Why, what's happening?
The Walmart Wellness Event.
Flu shots, health screenings, free samples from those brands you like.
All that at Walmart.
We can just walk right in.
No appointment needed.
Who knew we could cover our health and wellness needs at Walmart?
Check the calendar Saturday, September 13th.
Walmart Wellness Event.
You You knew.
I knew.
Check in on your health at the same place you already shop.
Visit Walmart Saturday, September 13th for our semi-annual wellness event.
Flu shots subject to availability and applicable state law.
Age restrictions apply.
Free samples while supplies last.
Hey there, I'm Stephen Dubner, host of Freakonomics Radio.
If you love the podcasts in the Freakinomics Radio network, I want to tell you about a way you can get even more from us.
To hear our shows without ads and get exclusive access to Freakonomics Radio bonus episodes, please subscribe to SiriusXM Podcasts Plus on Apple Podcasts or sign up at seriousxm.com/slash podcasts plus.
Start a free trial today.