[00:05] 🎵Music🎵 Presumably you can hear this. and for the last hour or maybe two hours or so, [00:17] it seems like this is the ground-smashing portion of whatever construction they're doing, and just the whole house has been shaking, which you will be able to hear So if you're curious, that's what the sound is. [00:31] you are actually going to have your mind primed to think about what we're going to This question just made me laugh so much to write it and try to think it through. [00:43] It's asking if x is the number that most people are going to enter into this box, And it's just so mind-confuddling, because you think about, okay, if a lot of people are entering 1, I should enter 2, but everyone would think about that, [00:56] so I should do 2 to the 4, or maybe 2 to the that, or maybe 2 to the that. And, you know, if it was a room full of perfect logicians, you'd blow up to infinity, and we can take a look at what the objectively correct answer is in this context. [01:13] And it would appear most, okay, the largest number of people entered 2, which means anyone who entered 4 is absolutely correct. But in the game where you imagine thinking through, you know, the perfect logicians, [01:27] you're starting to think about the topic for today's video, probably because it doesn't have the same level of applications as certain other ones, [01:39] but as you'll see, there's a couple puzzles that we can start to do with it that and ideas of just really thinking through what terms actually mean, and whether or not operations that you're doing that seem to make sense when you [01:54] do it symbolically actually make sense when you think through what's really going on. So this operation is called tetration, and a way you might think about it is, the way that we can add two numbers, and multiplication, as we first see it, [02:10] A times B is A plus A plus A plus A, B different times. And if you say, well, what happens if we repeat multiplication, we write it as A to the power B, and that's exponentiation. [02:27] what happens if we repeat exponentiation, this has a name, we call it tetration. Tetra comes from the Greek for four, because it's sort of the fourth [02:39] stage in this process of repeatedly applying the previous operation. we've extended the idea beyond just counting numbers. but we do things like taking pi times E, or even complex values, [02:56] where you can take the square root of two times one plus i. So we've extended it beyond repeated addition, but that's sort of its origin, Similarly, very famously, one thing we've been talking a fair about in this [03:12] series is extending exponentiation with the classic Euler's formula example. tetration in terms of repeating an integer number of times. I swear, we were so dreading the idea that the ground-smashing [03:28] day would come during one of the streams, but here we are. Now this is actually ambiguous if we don't define our terms a little bit more clearly, because exponentiation is not associative, meaning the order that we [03:42] do these operations and start collapsing it matters. Because if I was going from left to right, let's say I was writing this as two squared, and then I'm going to think of squaring that, and then squaring the result, [03:54] that will get me a different number than if I think of going from the top to the bottom. If the first thing I evaluate is the two to the power two at the top, and then I go to the next one, and we can think about why. [04:07] so then I square it, and I'll square that. Four squared is sixteen, so I square that, and I end up getting 256. But on the bottom, if I start by collapsing that top term, it becomes a four. [04:24] And then if I think of collapsing the current top term, that becomes two to the sixteen, and that's a much bigger number. That is 65,536. [04:36] And in general, this process of repeatedly exponentiating, going from the top to the bottom, explodes very quickly. so we start evaluating at the top, and we work down. [04:50] If you want to make that crystal clear, I think instead of drawing it as a power tower, one thing that you could do is define the iterative process very exactly. You might say we have some value that we're going to start out at one, [05:03] and then each successive value is going to be two to the power of the previous thing. a sub two is going to be two to the power of whatever a sub one was, [05:15] a sub three is going to be two to the power of whatever a sub two was, And there's no more ambiguity for what the order of operations should be, [05:28] so we should first be evaluating what's in the top. And similarly, if you go on like this, and a sub n for any value n is equal to two to the previous term, a sub n minus one, [05:43] when you unfold this expression and kind of go back in our recursive definition, what you're going to get is a power tower of two n different times. Now another thing that's nice about writing it like this is we can become experimental. [05:58] playful when you come across a new operation like this. So let's do that here. Let's take this iterative process and see what it actually looks like. [06:12] So I will go over to my terminal, I will open up some Python, I will set an initial value of a to be one, and then what I want to do is take a look at two to the power of that, but I'm going to reassign that value into a. [06:25] So this double asterisk, that's how we take powers in Python. it's not a question, it's not asking if they're equal, it's an operation. It's saying take whatever's sitting on that right side and shove it into the left value. [06:41] So when we do this, it reassigns the value of a to be two to whatever it was before. it seems like you have an equation that you're solving for something. [06:53] It's an operation on it. So if I do that again, I take that same process of turning a into two to the power of whatever it was before, and then I'll just print it out in the same line so we can [07:07] say it turns into four, that turns into 16, that is going to turn into, you can try to make a prediction here, it will turn into two to the 16, If I take one more step, which would be a power tower of height five, [07:21] so just five twos stacked on top of each other, it totally explodes. kind of Python to even do the work to find the number for us. And if we wanted, we could say, okay, think of that number as a string, [07:37] what's the length of that string, and it's telling us the number of digits that are in it. So the number we have there is a 19,000-digit expression, just monstrously huge. turning a into two to the power of that 19,000-digit monstrosity, [07:55] you would not be able to store the information required for that number. Any way that you were using matter to encode all the digits of whatever would come out, if that was within the confines of something like the radius of the Earth, [08:08] you would absolutely create a black hole in any attempt to store that kind of information. what you can literally physically convey in any kind of way. [08:21] So you might ask, how quickly does this thing blow up for other numbers, if it's not two? let's go ahead and pull it up, is to predict what's going to [08:33] happen here if instead of two we were dealing with 1.1. So if you go to the link that's in the description and up on the screen to answer so just a little above one, and consider an expression of the form B to the B to [08:50] the B to the B, this power tower, and its height is n, How big does n have to be? the value of the expression has more than ten digits? [09:06] So with two, we had to get to a tower of size five before that happened. So how many times would you have to do it for a value of B equals 1.1? [09:19] to the soothing tones of construction maybe slowing down. And just to illustrate this process here, if we hop back over to Python, [09:33] and let me just pop on over here, get back into my terminal, Let's just do this in a for loop. So for n in some kind of range like 50. [09:46] What if instead of doing repeated exponentiation, So just repeated multiplication, which should be exponentiation. And if we take a look here at the first 50 values, you know, it starts at 1.1, [10:04] it goes to 1.21, and at each stage it's actually growing just by a little bit, by 10% with each jump, and you get classic exponential growth. So with 50 steps it took us up to 117. [10:16] So you might wonder what is tetrational growth? What happens if we're repeatedly exponentiating this thing? What do you think is going to happen here if we repeatedly exponentiate this? [10:34] So the correct answer is that it actually never grows past anything like that. So most of you thought that the height that you would need would be between 10 and 100. [10:50] Doing it between 10 and 100 times, that would blow you up past 10 digits. which would be very analogous to how 2 was growing. Third most common, and I'm wondering how many of those third most common people have [11:04] seen this process before, because it's very weird the idea that repeatedly multiplying but that somehow doing what feels like a much more powerful operation, repeatedly exponentiating, that actually stays confined. [11:19] And we can see this bear out in practice if we hop back over to our Python, where now what I'm doing with each iteration, and I guess I should set a to b, 1 again, I'm going to repeatedly turn it into 1 to the power of itself. [11:32] And what we get is a little bit of initial growth, but it quickly slows down, and just within 20 iterations it actually stays fixed at this value. And if you think through what's going on there, evidently when a is equal to that value, [11:50] and you take 1.1 to the power of that value, so 1.1 to the power of this thing, that's 1.1117, ah, don't type it too many times, that actually stays fixed. So another way that we can phrase this is to say that the [12:07] equation 1.1 to the power x equals x, something where when you plug it into the function you get itself, this has a solution. If we had 2 to the x equals x, if you try to think through different answers to this, [12:24] like 0 and 1 or anything in between, you'll find there's actually no answer here, And what that means for our iterative process, [12:37] you'd have this situation where the previous value, you raise 1.1 to that, First of all, where's the switch? [12:51] What number between 1 and 2 is the point where it goes from staying finite to blowing up? Remember with 2 it only took us 5 iterations before we had something that was, [13:03] you know, beyond what the computer could handle. but I think another interesting product of the fact that this can convert at all is we can start answering what look like very bizarre questions. [13:18] Where I can say, imagine I have an unknown value x, and I do not a power tower of some finite size, but of an infinite size. that evidently I can do with a base of 1.1. [13:32] For example, to 4. And what we just saw is that we could find a value that converges to 1.111782, on and on. [13:45] That's evidently a value you can converge to, and the solution would be 1.1. How can we actually solve for the idea that we can find a value of x that equals 4? [13:57] And there's a clever trick here that you might spot. And this comes up in certain problem solving kinds of math where you have this infinite expression, and you say, hmm, there's some self-similarity I can leverage. [14:09] Because it's infinite, it's a genuine copy of itself. It's not, it doesn't have a height of 1 minus whatever the previous height was, And under the assumption that the whole power tower equals 4, [14:26] I could replace that with a 4 and solve x to the fourth equals 4. If I take square roots, that's the same as saying x squared equals 2. So it looks like, interesting, x equals square root [14:40] of 2 gives me a power tower that should converge to 4. The idea that anything converges at all is sort of weird, but the idea that, you know, square root of 2 would go to a clean value, like an integer, that's kind of surprising. [14:55] And let me actually ask you another question where I'm going to have you apply the same tactic that we just did, leveraging that self-similarity to solve another one of these situations, where you're looking for a power [15:07] tower with an unknown base and seeing when it equals a pre-specified value. we give it just a little moment to pull up here. [15:19] Ah, great. The question asks us, using the tactic just demonstrated, what I just did for 4, solve the equation x to the x to the x on and on up to infinity equals 2. [15:33] So I'll give you a moment to think that through. [15:57] Man, yesterday when we were doing it, we, uh, I wish I had the footage to show you. But the things were shaking so much that just [16:12] a pile of circuit boards was actively shaking. Alright, this might not, this is probably the worst way to stream something, [16:25] But let me see if this works decently well. We move over and just the pile of circuit boards is just jittering like that. [16:37] So, hope you enjoy. Now on the quiz, it looks like just about everybody is converging around the same answer. which is in fact the square root of 2. [16:52] Which is kind of a funny thing, because if we go and we do exactly the same logic that we were doing for solving for 4, where we have this infinite power tower and we're assuming that it equals 2 and we recognize the self-similarity, [17:06] so that should mean x squared equals 2, that means x equals the square root of 2. Because on the one hand this seems to be suggesting that an [17:20] But on the other hand it converges to 4 when the base is root 2. We've got a very deterministic process up here for what it converges. Maybe the entire logic of the situation is false. [17:36] Let's turn to our programming to see which one of these it actually ends up being. So I'll hop back over, I will reassign my variable a to be 1, Actually let's import math because I'm going to need a square root here. [17:52] So I'm going to say for, I don't know, we'll just do 20 at a time. I'm going to take a, turn it into the square root of 2, square root of 2 to the power of a, print out what it looks like. [18:04] And it looks like for those first 20 iterations And if I do another 20 iterations it's definitely slowing down as it gets to 2. [18:19] And now it does something kind of bizarre where it seems like it lands exactly on 2 but then it jumps up to 2.0004. Which if you think through what's going on here, at some point it equals 2. [18:31] And then we're taking the square root of 2 to the power of that. So that's going to be just some simple numerical error. [18:43] I guess, however, the math square root library is implementing square roots. So when we square it we don't exactly get 2 back. But it does seem to suggest that the correct answer to our question of [19:00] what happens when we have a power tower with root 2 is that it equals 2. Or that the sequence of numbers that this represents approaches 2. What's wrong with the logic that seemed to imply that it should equal 4? [19:16] First is to represent this thing a little bit more visually, a little bit graphically so we can try to understand what is going on with this And then from there understand which values will converge and which values will blow up. [19:33] And by answering that we can get back in the direction of what's wrong with the logic associated with having this thing approach 4. So for that let's take a look over at our good friend Desmos. [19:45] Not look at that yet, that is 4 later. And we will just take a look at a graph here. I've got a function b to the power x and I've set b to be 2. [20:02] And to think about the idea of repeatedly applying a function and We can draw what's commonly known as a cobweb diagram. [20:15] The way this will work is I have an initial value of 1 as the input and then the next value is going to be whatever f of 1 is. And what that means is I move vertically until I [20:29] So I'm going to hit it at a y value of 2. that 2, to become an input to the function. But if outputs are represented on the y axis and inputs are on the x axis, [20:44] what I need is some point where the y value is the same as the x value. So if I walk horizontally until the y value is the same as the x value, Where I can now think of that 2 as being the input. [21:00] Because once I hit that I'm looking at 2 comma 2. So I can treat that 2 as an input by moving vertically until I hit the graph. Meaning the next point in our iterative process is going to [21:16] be 2 to the power of what we just had, which is 2 squared or 4. And then I move over to the right, turning my output into an input, looking for what point on the plane has an x value that's also equal to 4. [21:28] Then once I hit that, I kind of think of bouncing off of this line, y equals x, and moving vertically until I hit the graph again. And then I move to the right until x also equals 16. [21:42] quite a while moving vertically, but it will happen quite a while. And around 65,000 it intersects the graph again. we get to an x coordinate that's also 65,000. [21:57] And from there, Desmos just totally gives up on trying to draw the next vertical line. Because as we saw, what it would have to get to is a height where the number describing that height is a 19,000 digit number. [22:09] But when we think in terms of these cobweb diagrams, now if I start playing with what is that base, you can see what's going to happen. At some point, the graphs actually cross each other. [22:27] So in particular, we were looking at 1.1 earlier, and that, yeah, they absolutely cross. if you look at what happens with this process, we look at the output, [22:40] turn the output into an input, look at the new output, output into an input, We're bouncing towards the value where these graphs intersect each other. towards the value where b of x, b to the power x, excuse me, is equal to x. [22:57] and I say find a solution of square root of 2 to the power x equals x, you know, it's not easy to think about how you solve this systematically, but for this particular case, you would believe me if I told you that the [23:12] So if we look at our graph, if b, actually let's go ahead and make it precisely the square root of 2 rather than just an approximation here. So b is going to be the square root, square root of 2, no, of 2. [23:28] see your iterative process approaching that. This also shows us how we're going to need to think about it if we want to be, if we want to understand where the switch happens between when [23:42] things converge and when things don't converge. Because what we want is knowing what value of b should I go to where things can escape, there is no intersection point, to where things don't escape, [23:55] And by the way, I've left the link to this particular Desmos graph in the description, so if you want to hop down there and just play along, you're more than welcome to. [24:07] that's actually not enough to ensure that this cobweb iterative process It's important that the graph of our function, which in this case is b to the x, intersects at a slope that's less than 1. [24:22] If I turn a new leaf, let's say I wasn't dealing with exponential functions or curves like that, I was just dealing with any generic function. [24:34] So look at the line y equals x, and let's say I have some function which, you know, it squiggles along and it intersects it but with a slope greater than 1. let's turn it into an input by walking horizontally until we hit y equals x. [24:53] Smash, smash, smash. Look at the new input, or turn that output into an input by walking horizontally until we hit it. [25:06] You can see that's what's happening because it intersected with a slope greater than 1, So to make sure that it's not just a stable point, but it's stable when you repeat this process. [25:22] I have a whole video about another perspective on how to think about this kind of process. I think I gave it an absurd title, like what they won't teach you in calculus, infinite iterated objects, that's a place that you can turn to. [25:39] Now, in our case, it is the case that the slope is less than 1, so that works. So if I changed the iterative process where my first value wasn't 1, [25:52] but in this case if I made it 4, then my iterative process would actually run away from the intersection point, like you can see, So that's always fun. [26:06] You can take a look at my little note for being annoyed that you can't do four loops of recursion in Desmos definitions, and you can see what we need to solve. [26:18] One thing that's kind of fun here is at 1.45, which seems just above a point where they actually intersect, you have this bouncing and bouncing that just stays somewhat stable for such a long time before it eventually blows up. [26:33] but if you were just playing around with it numerically. So if we had taken the same process we did before, where A starts out at 1, we're going to do a bunch of iterative exponentiating, [26:47] And let's give ourselves like 50 values for this one. It gives us this overflow error. didn't have any visual for what's going on. [27:02] It starts at 1.45, it grows, it stays kind of not stable, but it doesn't seem to be moving that much in the 2.71828 region. For some reason around there it just seems awfully slow moving. [27:15] But as it starts to get a little bit bigger into the 3 region it stays there for a while. Then 6, and then 9, and then 39, and then it just blows up to 2 million after that. [27:27] So that would be deeply confusing, except we have a nice understanding of what's going on. So somewhere between 1.44 and 1.45 is what we're looking for. [27:43] where what we want is to know when the tangent of this graph is the same as When does the graph b to the x lie tangent to the line y equals x? [27:57] I'm going to have you do the same. I'm going to have you take a look at this condition of looking for a value of b. Well let's just read what the question asks us more specifically. [28:13] We want a value of b such that the graph of y equals b to the x sits tangent to the graph y equals x. Which of the following represents the pair of equations that we need to solve? [28:25] Which of the following is the pair of equations that we need to solve? [28:48] and take a couple questions from the audience. So immediately I wondered, repeat-detectration is pentation. Yeah, there's this whole notation that talks about the idea of repeating these processes. [29:07] And you can kind of have as many as you want. So the way this works is that if I write something like a arrow b, But then a with two arrows is the repetition of that process. [29:27] And, sorry, that's a two arrows and then a b. then what I'm repeating is the process of doing a double arrow. [29:41] Which is really mind-warpingly big as you start to think about it for numbers. The idea of repeating this process some number of times is just crazy. And if any of you have not learned about Gram's constant, [29:57] go over to that number file right now and see how Gram's constant is defined. Because it involves these sort of arrow operations and it's genuinely crazy. your mathematical life the first time you see Gram's constant. [30:10] Alright, so next we have for 1.1 to the power x equals x, Ooh, excellent question. The other is around 38.29. [30:26] We can take a look exactly in the graph that we have. So if we take b and we make it 1.1. It's what I was talking about how at the place where it intersects with a [30:41] slope greater than one, yeah, it's a fixed point for our iterative process. So up here is that 38 value that you were just referencing. even if you were to seed the process with a value that's really near there, [30:57] So if you're seeding the process, if you're starting off at a value of a equals one, That's an outstanding question. And third, are there practical use cases for such an operation as tetration? [31:13] I'm very curious. Okay, so that is a spot on question. So I will talk a little bit about a role with chaos and fractals at the end, [31:25] which is tenuous at best because it's saying it's related to other things which I can't personally think of a place where you're out in I can think of a puzzle, like a sort of brainteaser type puzzle [31:41] where you would not at all think this operation comes up, but it does. I would say the motivation for learning this kind of thing right now is, pardon the scene switching chaos there, is just that the process for actually [31:56] understanding what was up with the repeated tower equaling four, and understanding what we're about to find, and where is the switching point Those are problem solving tactics that carry over into other [32:11] And iterative processes absolutely do come up all throughout science. So with all of that as the answering people's question side, [32:23] and I'll take more through Twitter as we go and probably do more of that at the end, So we're looking for a system of equations here, and the correct answer, which 1777 of you got, I think that's not quite French Revolution territory, [32:39] but American Revolution territory of you, we got b to the x equals x, so we need them to intersect, and then moreover what we want is the slope to be the And the derivative of b to the x is itself, but scaled by the natural log of b, [32:55] same as the slope of the graph we're just looking at. And if ever you don't remember what the derivatives of your exponential functions are, which if there's any one thing you remember in calculus with respect to e to the x, [33:14] it should be that e to the x is its own derivative. Note that we can write b as e to the natural log of b, so then all of that to the x, so this is the same as expressing e to the natural log of b times x, [33:29] we talked about this I think last lecture, so then if you want to take the derivative of this, take its derivative, on the one hand it should be the derivative of this, [33:41] which by the chain rule is that constant sitting in the exponent, natural log of b times itself, e to the ln b times x. but scaled by something, and that something was the natural log of b. [33:56] Now for our puzzle of understanding when is it that our graph is going to nicely lie tangent to y equals x, let's solve this equation, this system of equations actually. [34:10] Because we're looking for the value x where that solution happens, we know that the curve b to the x equals x at that point, and we know that its slope, the natural log of b times itself, is equal to one. [34:26] Now to solve this, the first thing I might do is note that I can simplify b to the x as being x, so I would apply that over here, and I can write the natural log of b times x is equal to one. [34:41] And what that gives me is that b is the same as one divided by x, all very nice, no no no, it doesn't give me that, it gives me that the natural log of b is one over x. [34:54] That is the same statement as saying e to the one over x is equal to b. Well it gives us an expression for b entirely in terms of x, [35:08] so I can go to this top part and I can get an equation that has nothing but x's in it. It'll be e to the one over x, all to the power x, I'm just replacing the b with what we found it to be, and that is supposed to equal x. [35:22] But on the other hand, e to the one over x to the power x simplifies down to simply being e, and what we found is that x is equal to e. [35:35] last night where sometimes I'll put out like a link to a stream on Twitter hop on here I'm deleting the tweet and we're just going to do a dry run. [35:48] And when I was solving this, for some reason I was just confuddled for like ten minutes because we're looking for a value that's between 1.44 and 1.45, so x can't be e, So I went back and I was trying to think through like what have I done wrong, [36:04] It was mildly embarrassing because it took so long, and then I ultimately realized no, you idiot, it's not that we're looking for a value of x that's between 1.44 and 1.45, [36:18] that was the condition for b, for the base of our exponential when we were playing around over here. So x is just wherever they intersect, so it's fine for that to be around e, [36:30] in fact that looks consistent that around where this point of tangency is, is e, which incidentally is also the output because this is happening with the line y equals x, so the point of tangency has coordinates e comma e, evidently. [36:43] And what does that mean for the value of b itself once we solve? Well we have an exact expression for x, we have an expression for b in terms of x, so this would seem to imply that b is e to the power of 1 divided by e, [36:57] which is such a delightfully bizarre answer, e to the power of 1 divided by e. And we can check with our calculator that that makes some sense, so if we hop on over here and I say, hey Desmos, what is e to the 1 over e? [37:12] Yeah, checks out, it is between 1.44 and 1.45, which is exactly what we were looking for, for the point when it goes from converging to exploding. [37:24] Very satisfying, I think, finding that solution, that it's e to the 1 over e. As a challenge puzzle for you, if you want a little bit of homework today, I want you to find a lower bound on where this converges. [37:37] but we can also start playing with values of b that are less than 1, and if we do that, I'll just kind of get rid of our cobweb here, if we do that there will be some value, I guess I should keep the cobwebbing, [37:53] and it instead becomes an unstable point. When does it go from approaching the point where the two graphs [38:06] intersect to no longer approaching it because it's unstable? in this case it's not a matter of when it's equal to 1, And if you want another hint, it should be an [38:22] So, very fun puzzle if you want to get to it. And that will give you kind of a range of convergence for what values could we have as the base in our titration such that the power tower actually converges to something. [38:35] And one thing that's noteworthy here is that it goes from converging to a value of e to just blowing up to infinity. which maybe runs against intuition because you would think that it [38:50] somehow smoothly blows up, that rather than going, oh it converges to 1, it converges to 2, it converges to e, and then discontinuously jumping to infinity. tangent and then that's where they separate. [39:04] And this answers for us what's going on in the case of the power tower with 4. So if you think back to the logic, where did we have it? [39:18] So if we have our power tower and I was saying solve for the value where this equals 4, that this process will ever converge to be 4. [39:30] But we just saw that it'll never converge to be anything that's bigger than e. leveraging the assumption that a solution even exists, that's invalid. there does exist a value where this converges to 2. [39:47] So when we make that initial substitution, that's a valid thing to do. exists a value where it converges to 2 by looking at the graphs. What you would look for, even if you didn't know it was going to be square root of 2, [40:01] between the graphs happen at a y value of 2? I guess it's also an x value of 2 because it's on the line y equals x. And you would be able to empirically start seeing that hmm, [40:17] And you could binary search your way on down even a little bit further. That you can take a look at this absolutely crazy singing process of a repeated [40:30] power tower, that it converges at any points at all, which is counterintuitive. thinking through iterative processes like this. That is the end of what I wanted to say about the power [40:45] tower puzzle and leaving you with that little bit of homework. So for the very end here, I just want to take a couple more questions from Twitter. If you ask them with the hashtag locked down math, they might get forwarded to me. [40:57] And anything about tetration and this process is exactly what we should talk about. So, he says, if there's a triangle of exponents, is there a square of tetration? [41:09] What uses are there for the inverses of tetration? Well, I mean, in either case, we'd be dealing with three different variables. There's the idea of what's the base, what's the height, and then what's the output. [41:23] The four in tetration, like what makes it four, is not the fact that there's three relevant numbers, you know, the base, the exponent, And then some new fourth thing. [41:37] it's kind of the fourth of our like repeating the process before. Will you show us part of the fractal set of complex numbers x [41:49] I'm so happy that you asked, ML. Yes, you might wonder what happens if instead of our base equaling two, or instead of our base equaling square root of two, or 1.4, [42:01] or all the values we were just looking at, what if you have some complex number like Now there's a little bit of nuance there for what exactly And I think I'm going to talk about that. [42:16] I think I'll talk about that in the next lecture. can re-express it in terms of e, and then because we know how to think about e with complex numbers, you'll be able to do it. [42:30] But if you are willing to grant the fact that there does exist a way that you can extend exponentiation to complex numbers, you could certainly repeat it. And if you ask about when it converges, and if you go and you write a [42:47] shader or whatever your favorite kind of program is to color all the pixels on the plane based on whether or not it converges, this is what you get. but the real axis is running across the middle of the screen from around negative [43:03] And then the imaginary axis that's going from I think like negative 2i up to 2i. So this horizontal part of blackness corresponds to all the values that converge that we just found, where the upper bound was e to the 1 over e, [43:17] and the lower bound is what you can find for homework if you want. coloring tells you how quickly they diverge. blue means that it explodes less quickly, and so on. [43:34] even if their real part is greater than e to the 1 over e, that imaginary part can conspire in just such a way that it makes it converge, and you get this totally intricate pattern, very analogous to the Mandelbrot set, [43:49] which is also defined in terms of a certain repeated operation. might expect associated with these power towers and this titration operation. And you get this a lot where repeated applications of something can yield chaos, [44:05] and that chaos is often pictorially reflected in the fact that a fractal emerges, and it's kind of like the intricacy of the image is paralleled in the difficulty of predicting what the outputs are going to be. [44:19] you want to know what an unsolved problem is, what no one in the world actually knows? so pi to the power pi to the power pi to the power pi, you do that. [44:35] At any point, is this ever equal to an integer? an irrational number and if you're thinking of it kind of probabilistically, In fact, we don't even know for a power tower of height 4 if there's just 4 pis here. [44:53] You take pi to the power pi, pi to the power of that, pi to the power of that, it ends up being a monstrous number, bigger than we can compute exactly. We don't have a way to prove whether or not this is an integer. [45:06] And if you can prove that, you know, you will be contributing to the forefront of math. which I think is kind of interesting. [45:18] Yeah, fantastic. I think this came from an IMO. This is something that Po-Shan-Lo was sharing with me at one [45:31] point and I'm sure he has a talk about it somewhere that will be more illustrative than what I can talk about on the fly here. But the way this will work is that we have 6 different cups [45:44] and each cup is going to start out with a single coin in it. One of those operations is that you can remove the coin from one cup, [45:58] so we'll remove it from one cup, but then two more coins will drop into the cup So there's a certain directionality to this. So you can imagine from here we can then eliminate all three [46:12] coins and then there would be six that just magically drop in. Five, six, magically drop into the next cup beside it. kind of a warm-up teaser is to understand that the maximum number of coins [46:27] If you just sort of keep doing this process of taking out coins, doubling it, but shifted one over, you can get up to 63. which is that I can eliminate one of the coins in a cup, [46:43] I swap the two that are sitting right after it. That's the second power that you have, which seems less magical because it doesn't require bringing about coins from the ether. [46:57] I think the way that this was originally framed is, is the maximum amount of money that you can have after doing this process bigger or smaller than 2010 to the power 2010 to the power 2010? [47:12] When you have these two abilities and you start with six cups that each have one you're clever enough, be bigger or smaller than that power tower of height three? [47:26] And it's just, again, kind of absurd that that second operation would get you anywhere near that level of number because this is, I mean, this is just so huge. Unless you're doing statistical mechanics or something like that. [47:42] And with that, unless there's anything more that people want to ask and which also ends up getting forwarded to me, I think I'm going to go ahead and call it a day on this one. [47:57] I think I will ultimately probably have ten episodes in So if you want to join for the next two, those will be the last two. We have another question. [48:12] When you solved x to the x to the x on and on equals two and got x squared equals two, Yeah. Ah, yeah, that's absolutely outstanding. [48:25] where that helps us be a little bit more concrete when it comes to what's going When I said B equal to around one point four one. [48:38] OK, it seems like nothing's really happening around the negative square root of two. There's not even necessarily a an intersection at that point. So the reason we were taking square roots of two when we were [48:53] looking at our power tower operations, if we remind ourselves. This whole thing. [49:05] We saw the reflection of itself. Let's think about what this would mean. Well, I guess what you'd be assuming is that you you're taking negative powers. [49:24] If we said x equal to the negative square root of two. You would take negative square root of two. OK, so raising to a negative power. [49:39] We're already in the realm of thinking about negative square root of two to the one over. No, negative one over square root of two to the square root of two. [49:52] Why doesn't that end up popping up in the intersection or anything like that? very obvious answer to what's going on that I'm missing. Other than I mean, we can talk about. [50:08] We can talk about the fact that negative numbers don't sit in the range of convergence. Like if you solve the homework problem, the assumption that there exists an x that's negative that converges like this [50:20] would be false because you'll find that the the bound ends up. So in the same way that it failed, our logic failed in the case of four. I'm kind of curious if that breaks down numerically. [50:36] So if we do try this over in our python where let's again set equal to one. We're now we're going to do the negative square root of two and repeat the process. [50:52] We do get a stable point. Negative square root of two. You're not a stable point that's equal to two at all. [51:07] What's going on there? I'm not entirely positive. Do I try to think about what exactly is going on on [51:23] screen live rather than just calling it into the stream? Or do I do I think about it and then like pin that to a comment at the end? [51:36] Let's see. What's going on with our logic exactly? If there does it's going to satisfy this property. like x equals plus or minus square root of two. [51:52] End of story. You have a manipulation like this. plug them into check and one of them just doesn't work. [52:05] sort of answer to why it looked like it was going to work but didn't. So in the case of a power tower that equals four you could very clearly see why it didn't. The assumption that it even converged was false. [52:22] And I guess in this case our assumption would be if we had negative root two, if we have a negative value, that what's sitting up here is still equal to two. We saw that it doesn't. [52:37] both and if one of them doesn't that's all it is. But that just doesn't feel satisfying to me so I'll think about that a little bit. I would love to hear what you have to say as sort of a [52:50] What does it converge to and why does it have any relation to this process which as we already saw is a faulty line of reasoning and like a little bit shaky to just [53:03] replace what's inside your infinite power tower with the assumptions you've already made. Also I couldn't help but notice the Twitter handle for who was asking that because this [53:19] is someone who's created these super beautiful notes for all of the lockdown series so Which I've been throwing in the video descriptions just because I'm like yeah this is, So if anyone wants to check them out she's done a beautiful job. [53:35] I'll see you at Friday at the same time for our second to last in the lockdown math series.