playing with choices, a.k.a. six short stories about the binomial theorem
Leah O’Donnell I
A while ago, we had this problem:
You have been trapped in an underground dungeon by an evil sorceress, Leah O’Donnell, tall, with long, flowing blonde hair, dressed in all black. With a cackle, O’Donnell tells you, “I will never free you from this prison until you calculate the coefficient on the
term of the expansion of !” Her cackle is long and loud. It echoes endlessly off the dark damp concrete walls of the dungeon. You frown. O’Donnell is clearly expecting you to multiply out by hand, all the way up to . But maybe there’s a better way…
Hmm. There are lots of bad options here. We could multiply out, by hand,
Suppose we were to actually multiply it all out. What would we expect? What would we get, at the end of the day? We’d get a bunch of terms (
- a coefficient
raised to some power raised to some power
What else would we know? Each term has
- the powers of
run from down to - the powers of
run from up to - the power of
, plus the power of , always add up to exactly
But what about these coefficients on each term? What about the number in front of the
So we just need to write out Pascal’s triangle down to
… this also sounds awful.
OK, better strategy. Where are these coefficients in Pascal’s triangle coming from? One way of thinking about them is that they’re coming from adding up the two entries right above them. That’s fine. But another way to think about them is that they’re combinations. They’re like the pizza toppings. When we multiply out, for example,Here, we’re trying to multiply out
Can we compute the powers of ?!?
What’s
This is a good example! We don’t need the binomial theorem to compute
Here’s another example of playfulness in math. One of my favorite theorems in calculus is what’s called Taylor’s Theorem. Taylor’s Theorem says (basically) that everything is a polynomial. You prove it by doing some standard calculus techniques/procedures—except, at every decision point/juncture in those procedures, you make the stupidest possible decision. Or, put more lightly, you make the silliest, the most absurd, the most ridiculous possible decision. The proof is funny! The proof is comedy. And yet we get this very beautiful and very deep result. It’s a result which (unlike
Out of play, truth. That should be our motto: Ex ludo veritas.
Feynman on playfulness
In his memoir, Surely You’re Joking, Mr. Feynman (which you all should read), the physicist Richard Feynman writes about his feelings of burnout as a young professor in the late 1940s. He was young, but not that young; he had already done a lot of important work, but he had fallen into a routine as a physics professor; he was admired and respected and acclaimed, but full of ennui, and not feeling excited about physics or his research:
So here I was, “burned out,” reading the Arabian Nights and feeling depressed about myself …
Then I had another thought. Physics disgusts me a little bit now, but I used to enjoy doing physics. Why did I enjoy it? I used to play with it. I used to do whatever I felt like doing—it didn’t have to do with whether it was important for the development of nuclear physics, but whether it was interesting and amusing for me to play with. When I was in high school, I’d see water running out of a faucet growing narrower, and wonder if I could figure out what determines that curve. I found it was rather easy to do. I didn’t have to do it; it wasn’t important for the future of science; somebody else had already done it. That didn’t make any difference. I’d invent things and play with things for my own entertainment.
So I got this new attitude. Now that I am burned out and I’ll never accomplish anything, I’ve got this nice position at the university teaching classes which I rather enjoy, and just like I read the Arabian Nights for pleasure, I’m going to play with physics, whenever I want to, without worrying about any importance whatsoever.
Within a week I was in the cafeteria and some guy, fooling around, throws a plate in the air. As the plate went up in the air I saw it wobble, and I noticed the red medallion of Cornell on the plate going around. It was pretty obvious to me that the medallion went around faster than the wobbling.
I had nothing to do, so I start to figure out the motion of the rotating plate. I discover that when the angle is very slight, the medallion rotates twice as fast as the wobble rate. Then I thought, “Is there some way I can see in a more fundamental way, by looking at the forces or the dynamics?”
I don’t remember how I did it, but I ultimately worked out what the motion of the mass particles is, and how all the accelerations balance… I still remember going to Hans Bethe and saying, “Hey, Hans! I noticed something interesting. Here the plate goes around so, and the reason it’s two to one is …” and I showed him the accelerations.
He says,”Feynman, that’s pretty interesting, but what’s the importance of it? Why are you doing it?”
“Hah!” I say. ”There’s no importance whatsoever. I’m just doing it for the fun of it." His reaction didn’t discourage me; I had made up my mind I was going to enjoy physics and do whatever I liked.
It was effortless. It was easy to play with these things. It was like uncorking a bottle: Everything flowed out effortlessly. I almost tried to resist it! There was no importance to what I was doing, but ultimately there was. The diagrams and the whole business that I got the Nobel Prize for came from that piddling around with the wobbling plate.2
Math isn’t about exactitude: what’s ?
Here’s another interesting question: can we estimate
If we want to know what
Here’s another idea. What if we just use our newfound binomial-theorem/Pascal’s triangle to approximate it? To get a not-exact, but good-enough answer??? After all, when we multiply things in our heads, that’s kind of what we do (or at least what I do). Like, for example, if I have to multiply
What about
We can use the binomial theorem/Pascal’s triangle ideas to approximate it!
But there’s a trick! Or rather, there’s no trick: there’s something to notice. (Important life lesson: there are no tricks; there’s just better observation.) In our binomial expansion, each term consists of:
- a binomial coefficient
- in this case:
- in this case:
- a power of
- in this case:
- in this case:
- a power of
- in this case:
- in this case:
Let’s re-organize this a bit. I’m going to distribute the powers of
Here’s what the approximation looks like, as we add more and more terms:
number of terms | value | percent of actual value | |
---|---|---|---|
There’s another big idea here. If we’re trying to get the perfect answer for
Too often we think of math as being about details. As requiring this binary between true and false, right and wrong, good and evil. But it’s so much more complicated than that. When we get so focused on the details, we don’t see the bigger picture. We miss the forest for the trees. Sometimes when we zoom out, make things fuzzier and blurrier—deliberately don’t worry about the details—we can actually see more clearly. If we’re focused on all the tiny details, we can miss the bigger patterns. Sometimes squinting at a painting—blurring all the brushstrokes—can actually help us see it better.
(Also, there’s a way in which a calculation like this is foreshadowing some of the ideas of calculus! I’ll leave it at that.)
Leah O’Donnell II
We’ve escaped from Leah O’Donnell’s dungeon. Our situation is improved in some ways, and worse in other ways:
You have escaped from Leah O’Donnell’s dark damp decrepit dungeon!!! You find yourself on the Upper West Side, at 96th and Amsterdam, phoneless, moneyless, all alone. You need to get down to your office in Union Square, at 14th and Broadway. It’s Manhattan: a perfect grid. The streets run east-west (well, more like northwest-southeast); the avenues run north-south (more like northeast/southwest—the Manhattan grid is about 29 degrees off-axis. Blame Manhattan Island for itself behind about 29 degrees off from running perfectly north-south). Anyway, you have to get back to your offices! Obviously you want to get there as fast as possible. You’re not going to do something stupid like travel by way of New Jersey or Quebec. You’re going to take the shortest path. Well, not the shortest shortest path: that’d be a straight line, which would take you through buildings, and you can’t do that. This is real life, not a video game. You have to follow the street grid. You have to make a series of left and right turns to make it to Union Square. But there are so many options! Do you walk all the way south to 14th St., and then turn east to get to Union Square? Do you immediately walk east, and then turn south to walk to Union Square??? (Amsterdam Ave., note, is 10th Avenue, and Union Square is at 4th Avenue.) Your confinement in O’Donnell’s dungeon has only heightened your anxiety. You feel paralyzed by the possibilities before you. How many ways are there to get to Union Square the fastest?!?
There are a lot of details going on with the Manhattan street grid, but abstracted, our situation looks like:
Yeah, yeah, yeah; Central Park’s in the way, there’s Broadway, etc… just imagine we’re in this idealized/abstracted grid world! (And go read about the Commissioners’ Plan of 1811 if you want to know more about the history of the Manhattan street grid!)
One way we could walk would be to go directly east along 96th St for six blocks, and then turn south on 4th Ave. and walk for 82 blocks, for a walk of 88 total blocks:
Alternatively, we could go directly south on Amsterdam for 82 blocks, and then turn east and go along 14th street for six blocks, for a walk of 88 total blocks:
Both these ways of getting to Union Square are the same distance: 82 blocks south, and 6 blocks east! 88 blocks total!3 So are there only two shortest ways of getting to Union Square??? No! We could take some zig-zaggy mixture:
It turns out that any zig-zaggy-in-between path will also be 88 total blocks! It’ll also be 82 blocks south and 6 blocks east. Why? Imagine we take one of these zig-zaggy paths, and then, like, project it as far east and as far south as we can:
It’s going to form an L-shape, 82 blocks tall and 6 blocks wide! No matter what zig-zaggy combination of turns we take inside this box, they’ll always add up to six total blocks east and 82 blocks south. (Of course we could go in circles inside the box or something, but we’re talking about the shortest paths.)
So to count all the shortest paths from 96th and Amsterdam to Union Square, we need to not just count the two paths on the “outside,” but also all these zig-zaggy paths in between!!! How many are there? There must be dozens! Hundreds! How do we count them all up? How do we make sure we haven’t missed any? How do we make sure we haven’t counted any twice?
Well… the same reasoning we used to see that all these zig-zaggy paths have the same length is the reasoning we can use to count them all up! No matter what path we take, we’ll have to walk six blocks east. No matter what path we take, we’ll have to walk 82 blocks south. So no matter what path we take, we have to walk 88 blocks. Six of them must be east. 82 of them must be south. How do we take the 88 total blocks we walk, and choose six of them to be east?
… it’s a combination!!!
We’re walking
Either way, it’s a lot of possibilities!
What about ?
We used the binomial theorem to estimate
Actually, I think there are some simpler proofs of Taylor’s theorem, but this particular proof I’m describing has always felt to me like the right one, the one that makes things feel true.↩︎
Surely You’re Joking, Mr. Feynman, pp172-4↩︎
OK, it’s tempting to say “88 total blocks,” which is fine in an an abstract/idealized/mathematical sense; in practicality, the east-west block distance in New York is about three times as long as the north-south block distance. New Yorkers refer to “short blocks” and “long blocks.” They’re different units! So this situation is 82 short blocks, and 6 long blocks. But that doesn’t actually make a difference in our calculations.↩︎