# Video: What Does It Feel Like To Invent Math?

Grant Sanderson • 3Blue1Brown • Boclips

What Does It Feel Like To Invent Math?

15:07

### Video Transcript

Take one plus two plus four plus eight and continue on and on adding the next power of two up to infinity. This might seem crazy, but there’s a sense in which this infinite sum equals negative one.

If you’re like me, this feels strange or obviously false when you first see it. But I promise you, by the end of this video you and I will make it make sense. To do this, we need to back up. And you and I will walk through what it might feel like to discover convergent infinite sums. Those ones that at least seem to make sense. To define what they really mean. Then to discover this crazy equation and stumble upon new forms of math where it makes sense.

Imagine that you are an early mathematician in the process of discovering that one-half plus one-fourth plus one-eighth plus one-sixteenth, on and on up to infinity, whatever that means, equals one. And imagine that you needed to define what it means to add infinitely many things for your friends to take you seriously.

What would that feel like? Frankly, I have no idea And I imagine that, more than anything, it feels like being wrong or stuck most of the time. But, I’ll give my best guess at one way that the successful parts of it might go. One day you are pondering the nature of distances between objects. And how no matter how close two things are, it seems that they can always be brought a little bit closer together without touching.

Fond of math as you are, you wanna capture this paradoxical feeling with numbers. So you imagine placing the two objects on the number line, the first at zero, the second at one. Then you march the first object towards the second such that with each step the distance between them is cut in half. You keep track of the numbers this object touches during its march. Writing down one-half, one-half plus a fourth, one-half plus a fourth plus an eighth, and so on. That is, each number is naturally written as a slightly longer sum with one more power of two in it.

As such, you are tempted to say that if these numbers approach anything, we should be able to write this thing down as a sum that contains the reciprocal of every power of two. On the other hand, we can see geometrically that these numbers approach one. So what you want to say is that one and some kind of infinite sum are the same thing. If your education was too formal, you’d write off this statement as ridiculous. Clearly, you can’t add infinitely many things. No human, computer, or physical thing ever could perform such a task.

If, however, you approach math with a healthy irreverence, you’ll stand brave in the face of ridiculousness. And try to make sense out of this nonsense that you wrote down, since it kinda feels like nature gave it to you. So how exactly do you, dear mathematician, go about defining infinite sums? Well-practiced in math that you are, you know that finding the right definitions is less about generating new thoughts than it is about dissecting old thoughts. So you go back to how you came across this fuzzy discovery.

At no point did you actually perform infinitely many operations. You had a list of numbers, a list that could keep going forever if you had the time. And each number came from a perfectly reasonable finite sum. You noticed that the numbers in this list approach one. But what do you mean by “approach”? It’s not just that the distance between each number and one gets smaller. Because, for that matter, the distance between each number and two also gets smaller.

After thinking about it, you realize what makes one special is that your numbers can get arbitrarily close to one. Which is to say, no matter how small your desired distance — one one hundredths, one one millionth, or one over the largest number you can write down — if you go down your list long enough, the numbers will eventually fall within that tiny, tiny distance of one. Retrospectively, this might seem like the clear way to solidify what you mean by “approach”. But as a first-time endeavor, it’s actually incredibly clever.

Now you pull out your pen and scribble down the definition for what it means for an infinite sum to equal some number, say 𝑋. It means that when you generate a list of numbers by cutting off your sum at finite points, the numbers in this list approach 𝑋 in the sense that no matter how small the distance you choose at some point down the list, all the numbers start falling within that distance of 𝑋. In doing this, you just invented some math. But it never felt like you were pulling things out of thin air. You were just trying to justify what it was that the universe gave you in the first place.

You might wonder if you can find other more general truths about these infinite sums that you just invented. To do so, you look for where you made any arbitrary decisions. For instance, when you were shrinking the distance between your objects, cutting the interval into pieces of size one-half, one-fourth, etc., you could have chosen a proportion other than one-half. You could have instead cut your interval into pieces of size nine-tenths and one-tenth. And then cut that rightmost piece into the same proportions, giving you smaller pieces of size nine one hundredths and one one hundredth. Then cut that tiny piece of size one one hundredth similarly. Continuing on and on, you’d see that nine-tenths plus nine one hundredth plus nine one thousandth on and on up to infinity equals one. A fact more popularly written as .9 repeating equals one.

To all of your friends who insist that this does not equal one and it just approaches it, you can now just smile. Because you know that with infinite sums, to approach and to equal mean the same thing. To be general about it, let’s say that you cut your interval into pieces of size 𝑝 and one minus 𝑝. Where 𝑝 represents any number between zero and one. Cutting the piece of size 𝑝 in similar proportions, we now get pieces of size 𝑝 times one minus 𝑝 and 𝑝 squared.

Continuing in this fashion, always cutting up the rightmost piece into those same proportions, you will find that one minus 𝑝 plus 𝑝 times one minus 𝑝 plus 𝑝 squared times one minus 𝑝, on and on always adding 𝑝 to the next power times one minus 𝑝, equals one. Dividing both sides by one minus 𝑝, we get this nice formula. In this formula, the universe has offered a weird form of nonsense. Even though the way you discovered it only makes sense for values of 𝑝 between zero and one. The right-hand side still makes sense when you replace 𝑝 with any number, except maybe for one.

For instance, plugging in negative one, the equation reads one minus one plus one minus one, on and on forever alternating between the two, equals one-half. Which feels both pretty silly and kind of like the only thing that it could be. Plugging in two, the equation reads one plus two plus four plus eight, on and on to infinity, equals negative one. Something which doesn’t even seem reasonable. On the one hand, rigor would dictate that you ignore these, since the definition of infinite sums doesn’t apply in these cases. The list of numbers that you generate by cutting off the sum at finite points doesn’t approach anything.

But you are a mathematician, not a robot. So you don’t let the fact that something is nonsensical stop you. I will leave this sum for another day. So that we can jump directly into this monster. First, to clean things up, notice what you get when you cut off the sum at finite points: one, three, seven, 15, 31. They are all one less than a power of two. In general, when you add up the first 𝑛 powers of two, you get two to the 𝑛 plus one minus one. Which this animation hopefully makes clear.

You decide to humor the universe and pretend that these numbers, all one less than a power of two, actually do approach negative one. It will prove to be cleaner if we add one to everything and say that the powers of two approach zero. Is there any way that this can make sense? In effect, what you are trying to do is make this formula more general by saying that it applies to all numbers, not just those between zero and one. Again, to make things more general, you look for any place where you made an arbitrary choice. Here, that place turns out to be very sneaky. So sneaky, in fact, that it took mathematicians until the 20th century to find it. It’s the way that we define distance between two rational numbers.

That is to say, organizing them on a line might not be the only reasonable way to organize them. The notion of distance is essentially a function that takes in two numbers and outputs a number indicating how far apart they are. You could come up with a completely random notion of distance. Where two is seven away from three, and one-half is four-fifths away from 100, and all sorts of things. But if you want to actually use a new distance function the way that you use the familiar distance function, it should share some of the same properties. For example, the distance between two numbers shouldn’t change if you shift them both by the same amount. So zero and four should be the same distance away as one and five, or two and six. Even if that same distance is something other than four as we’re used to.

Keeping things general, the distance between two numbers shouldn’t change if you add the same amount to both of them. Let’s call this property shift invariance. There are other properties that you want your notion of distance to have as well, like the triangle inequality. But before we start worrying about those, let’s start imagining what notion of distance could possibly make powers of two approach zero. And which is shift invariant.

At first, you might toil for a while to find a frame of mind where this doesn’t feel like utter nonsense. But, with enough time and a bit of luck, you might think to organize your numbers into rooms, sub-rooms, sub-sub-rooms, and so on. You think of zero as being in the same room as all of the powers of two greater than one, as being in the same sub-room as all powers of two greater than two, as being in the same sub-sub-room as powers of two greater than four, and so on, with infinitely many smaller and smaller rooms.

It’s pretty hard to draw infinitely many things. So I’m only going to draw four room sizes. But keep in the back of your mind that this process should be able to go on forever. If we think of every number as lying in a hierarchy of rooms, not just zero, shift-invariance will tell us where all of numbers must fall. For instance, one should be as far away from three as two is from zero. Likewise, the distance between zero and four should be the same as that between one and five, two and six, and three and seven.

Continuing like this, you will see which rooms, sub-rooms, sub-sub-rooms and so on successive numbers must fall into. You can also deduce where negative numbers must fall. For example, negative one has to be in the same room as one, in the same sub-room as three, the same sub-sub-room as seven, and so on. Always in smaller and smaller rooms with numbers one less than a power of two. Because zero is in smaller and smaller rooms with the powers of two. So how do you turn this general idea of closeness based on rooms and sub-rooms into an actual distance function?

You can’t take this drawing too literally, since it makes one look very close to 14, and zero very far from 13. Even though shift invariance should imply that they are the same distance away. Again, in the actual process of discovery, you might toil away, scribbling through many sheets of paper. But if you have the idea that the only thing which should matter in determining the distance between two objects is the size of the smallest room they share, you might come up with the following. Any numbers lying in different large yellow rooms are distance one from each other. Those which are in the same large room, but not in the same orange sub-room, are a distance one-half from each other. Those that are in the same orange sub-room, but not in the same sub-sub-room, are a distance one-fourth from each other. And you continue like this, using the reciprocals of larger and larger powers of two to indicate closeness.

We won’t do it in this video. But see if you can reason about which rooms other rational numbers like one-third and one-half should fall into. And see if you can prove why this notion of distance satisfies many of the nice properties we expect from a distance function. Like the triangle inequality. Here, I’ll just say that this notion of distance is a perfectly legitimate one. We call it the 2-adic metric. And it falls into a general family of distance-functions called the 𝑝-adic metrics, where 𝑝 stands for any prime number. These metrics each give rise to a completely new type of number, neither real nor complex, and have become a central notion in modern number theory.

Using the 2-adic metric, the fact that the sum of all powers of two equals negative one actually makes sense. Because the numbers one, three, seven, 15, 31, and so on genuinely approach negative one. This parable does not actually portray the historical trajectory of discoveries. But nevertheless, I still think it’s a good illustration of a recurring pattern in the discovery of math.

First, nature hands you something that is ill-defined, or even nonsensical. Then you define new concepts that make this fuzzy discovery make sense. And these new concepts tend to yield genuinely useful math and broaden your mind about traditional notions. So, in answer to the age-old question of whether math is invention or discovery, my personal belief is that discovery of nonrigorous truths is what leads us to the construction of rigorous terms that are useful, opening the door for more fuzzy discoveries, continuing the cycle.