kw: book reviews, nonfiction, mathematics, practical mathematics, mathematical theory, popular treatments
The career of a scientific programmer is actually life as a working mathematician, particularly when the scientists one is coding for have forgotten most of their college calculus. I was captivated by the title of Jordan Ellenberg's book, How Not to be Wrong: The Power of Mathematical Thinking. A crucial paragraph from the book's introduction (titled "When Am I Going to Use This?"):
We tend to teach mathematics as a long list of rules. You learn them in order and you have to obey them, because if you don't obey them you get a C. This is not mathematics. Mathematics is the study of things that come out a certain way because there is no other way they could possibly be. (emphasis by the author)
In this illustration (generated by Gemini), the girl making change at the left, and the scorekeeper at the right, need to produce the "right answer" when figuring. What about the man in the middle? Is there a "right answer" to the problem he is working on? As we find out while reading HNTBR, the "answer" in many situations isn't a single number or other simple outcome, it is the discovery of a way of thinking about some phenomenon.
For example, we all intuitively understand that parallel lines never meet. When we see parallel lines "in the wild", such as the lane dividers in a bowling alley or the sides of a road, they don't immediately appear parallel, but we soon recognize (or we have learned to recognize!) that they appear skewed because of perspective, because we aren't looking straight down on them. Two mathematicians in the early 19th Century, working to "prove" that parallel lines never meet, independently discovered conceptual universes in which parallel lines as we understand them are not possible, such as on the surface of a sphere or other curved shape. This may seem rather esoteric, but it turns out to underlie atomic and molecular physics, and also cosmology.
Well, we are not all cosmologists, or physicists. But a great many of us "do physics" without realizing it.
A baseball fielder running to catch a fly ball has muscle memory from long practice, and visual coordination, that together "solve" a tricky problem in trigonometry, which results in the ball reaching the glove. A juggler uses a different kind of muscle memory and eye-hand coordination, to feel how high to throw the balls, and at what angle, so that the hands, which he isn't looking at, are always in the right place to catch each ball as it falls. Put him on the Moon or Mars, and he will need to retrain himself to cope with the change in gravity, but it probably won't take very long.
What about a voter on election day? Selecting a candidate to vote for is probably not much of a mathematical exercise. But in multiple chapters the author discusses numerous methods that have been proposed to make elections a better indicator of "the will of the people." Spoiler: the will of the people can only be approximately known, because the operations taking place inside the brains of thousands or millions of voters—and each of those brains is more complex than the entire nonhuman universe—combine gajillions of factors (bits of knowledge, fears of various people we let influence us, random ideas from dreams we forgot, and perhaps how much we enjoyed breakfast that day) to induce us to mark a ballot a certain way…or not. Dr. Ellenberg dwells quite a bit on the 537 votes in Florida that decided the 2000 Presidential election, and the troubles with "hanging chads" and anomalies in write-in ballots and sundry other matters.
That brings up a critical matter regarding mathematics in public life. To get things done we need to make decisions. In 2000, the Supreme Court made a decision that "certified" the vote count, even though various sources of uncertainty placed that 537-vote margin deep within the error bounds, by a factor of several hundred!
I attended several company-sponsored training sessions in risk management. I learned a core concept: If each factor in a calculation has a range of possible values, expressed as "error bounds" or "sideboards", the final result will be uncertain by a much greater percentage than any of the original uncertainties. But when doing nothing is worse than any of the results of doing something, a decision is required anyway.
On to other matters. Chapter 10 begins with the story of an algorithm at Target Stores that began sending ads and coupons related to baby paraphernalia to a teenage girl, which puzzled her father. This is before we had AI agents to sort through "big data" and figure these things out. A simple statistical model working with purchasing patterns and queries by the girl figured out she was pregnant, long before she was willing to tell her parents. The chapter is about statistical inference, and much of AI is just hyper-powered inference. As my colleagues and I used to say, "To solve a bigger problem, throw more iron at it," where "more iron" refers to a faster computer. AI uses the fastest computers in existence. But we all do simple inference. If the girl's parents had seen the list of her recent purchases, they would have been able to come to the same conclusion, and a family conference would have swiftly ensued.
A humorous chapter is called "Miss more planes!" It is based on a statement by George Stigler, a Nobel Prize winner in economics, that "If you never miss the plane, you're spending too much time in airports." There follows a discussion of a non-monetary unit called "utils", which quantify the utility of various things that are costly in ways other than dollars gained or lost. If your time is very valuable, you may overall save more time by not arriving so early, as long as you don't miss too many planes. I have missed only one plane in my lifetime, and to my way of calculation, the drawbacks of an extra hour in the airport, or several hours, are greatly outweighed by the scramble to find an alternate flight!
I find it interesting that the author resorts to calculation so frequently. Even though I spent forty years as a working, practical mathematician, I have things I calculate and things I don't bother. Numbers don't always tell the whole story. For a strong case of the rubber meeting the road: Because I've had colon cancer, I have had numerous follow-up colonoscopies. Every couple of years the preferred method of preparation, or "prep", has changed. The goal is to empty the entire system, from stomach to anus. If there is "stuff" in the colon, it makes it harder for the gastroenterologist, using his flexible endoscope, to see what is going on. But one year the preferred prep was a gallon of soapy-tasting fluid called Colyte. I managed to complete the process but I told the doctor, "Do something different next time. If Colyte is the only option, I prefer to die." Having experienced near-death a few years earlier, its "negative util" value to me was not as negative as that of the Colyte prep. Fortunately, more recent preps have been getting more and more tolerable.
In another airplane incident, my supervisor and I took a few trips to Dallas together in the late 1980s. The first time, we flew together on a small plane of the "Conoco Air Force" to the Tulsa airport, waited two hours for our commercial flight, then flew to Dallas, which took less than two hours. Total travel time for me was seven hours. At the time I lived almost an hour closer to Dallas than he did, and an hour further from the Conoco air field, while he lived two miles from the Conoco air field. I told him later, "Next time, I'll drive to DFW—it takes me less than five hours—and pick you up there." That's how we did it thereafter. Although there is perhaps negative utility in that I would drive five hours, I could listen to the radio in my car, which balanced it in part.
The author takes up numerous topics. Mathematical thinking applies to a huge range of our experience. It all focuses down to a crucial matter in an epilog titled "How to be Right." That is the value of becoming comfortable with uncertainty. Being able to quantify that uncertainty is often worth more than getting "the answer." Although uncertainty is the bugaboo of political races, it is everywhere. At one point the author mentions weather forecasting, but only briefly. It is worth exploring just a little.
We begin with the understanding that a weather forecast is for an area, from several square miles to a county or even a state (or province), and also for a period of time, such as an hour or half a day. When we hear or read that there is a 40% chance of rain tomorrow morning, what do we think? One way to think about it is, on days like the day tomorrow will be, it rains in the morning 40% of the time. However, I learned that the way the weather service defines it is by area, within the defined time span. Let's suppose the forecast is for my city: Formally, the forecast is stating, "During the morning tomorrow 40% of the area of the city will experience rainfall." If there are 1,000 homes in that city, 400 of them will get rain.
In such forecasts, no estimate of uncertainty is offered, but the variation in daily forecasts let us figure it out to some extent. I typically check this way: Let's say I am planning a picnic on Saturday, and it is Monday. The seven-day forecast predicts 40% chance of moderate rain for Saturday morning, and 20% chance of light rain for Saturday afternoon and evening. At the moment, the afternoon seems better. I bide my time. The next day the forecast is similar, but the morning rain is now called "heavy". Wednesday there is a further shift, to 50% heavy rain in the morning, and 30% afternoon moderate rain. Thursday's forecast is identical. Now we're down to a two-day forecast, which I expect to be more reliable. But Friday's forecast is back to 40% for the morning, light rain, and has risen to 40% for the afternoon, also light rain. The trends have shown a slow but steady increase in the prospects for afternoon rain, even though now it is to be "light".
At this point there is a further consideration. There is no expectation that the portions of the area on which rain falls in the morning will also get all of the afternoon and evening rain. Here is how I combine the two percentages, expecting them to be somewhat independent. 40% rain means 60% dry. The dry figures are multiplied together, 0.6 x 0.6 = 0.36, which means for the whole day, a 64% chance of light rain. I still can't exactly quantify the uncertainty, but I can figure that early in the day there is somewhat less than half a chance we'll get light rain at the city park, while later in the day, even if there is no rain falling or imminent when we arrive, the grass may be wet from earlier rain. So in a midafternoon phone call (or a batch of text messages!) on Friday, we decide to picnic in the mid-to-late morning on Saturday, a kind of early lunch. We hope to find a dry area in the park but we bring waterproof tarps to put blankets on in case rain has already fallen. Then a friend who has mostly stayed out of the dialog to this point shows up in his pickup truck with four beach umbrellas and a popup canopy, so we can get out of the rain if any falls. My way of dealing with uncertainty is technical; his is more mechanical. Between us, we all have a fine time at the park. When there is uncertainty, there is more than one way to cope with it.
A final note from the epilog. The author writes of hitting a problem from both sides, trying to prove some result by day, and trying to disprove it in the evening or at night. Lets step back from the notion of "proof". Not all mathematics is "proving theorems". In fact, I am very bad with formal proofs. When a formal proof is carefully explained to me, sometimes I can follow it, but usually only in part. I never proved anything without help. But I can do all kinds of calculations, so for me, if I am having difficulty with some math, after a while I try a different approach, or try to undercut what I was doing entirely. That way I don't get stuck with an unfruitful sort of solution method. A great part of mathematical thinking is flexibility. The rigid, rules-following practices we learned in the primary grades are too narrow. For straight arithmetic they work fine. For optimizing where to put a fence, it may take several tries to settle on something that works.
This book covers such a range of topics that anyone can find some of interest, and learn how they relate to mathematics, or if they do at all. Math is bigger than most of us imagine. Dr. Ellenberg helps us stretch our minds.
-----------------------
Errata: On page 235 there is a chart that I think is upside down. It should show a U shape, not a hump.







































