My 2019 Mathematics A To Z: Norm


Today’s A To Z term is another free choice. So I’m picking a term from the world of … mathematics. There are a lot of norms out there. Many are specialized to particular roles, such as looking at complex-valued numbers, or vectors, or matrices, or polynomials.

Still they share things in common, and that’s what this essay is for. And I’ve brushed up against the topic before.

The norm, also, has nothing particular to do with “normal”. “Normal” is an adjective which attaches to every noun in mathematics. This is security for me as while these A-To-Z sequences may run out of X and Y and W letters, I will never be short of N’s.

Cartoony banner illustration of a coati, a raccoon-like animal, flying a kite in the clear autumn sky. A skywriting plane has written 'MATHEMATIC A TO Z'; the kite, with the letter 'S' on it to make the word 'MATHEMATICS'.
Art by Thomas K Dye, creator of the web comics Projection Edge, Newshounds, Infinity Refugees, and Something Happens. He’s on Twitter as @projectionedge. You can get to read Projection Edge six months early by subscribing to his Patreon.

Norm.

A “norm” is the size of whatever kind of thing you’re working with. You can see where this is something we look for. It’s easy to look at two things and wonder which is the smaller.

There are many norms, even for one set of things. Some seem compelling. For the real numbers, we usually let the absolute value do this work. By “usually” I mean “I don’t remember ever seeing a different one except from someone introducing the idea of other norms”. For a complex-valued number, it’s usually the square root of the sum of the square of the real part and the square of the imaginary coefficient. For a vector, it’s usually the square root of the vector dot-product with itself. (Dot product is this binary operation that is like multiplication, if you squint, for vectors.) Again, these, the “usually” means “always except when someone’s trying to make a point”.

Which is why we have the convention that there is a “the norm” for a kind of operation. The norm dignified as “the” is usually the one that looks as much as possible like the way we find distances between two points on a plane. I assume this is because we bring our intuition about everyday geometry to mathematical structures. You know how it is. Given an infinity of possible choices we take the one that seems least difficult.

Every sort of thing which can have a norm, that I can think of, is a vector space. This might be my failing imagination. It may also be that it’s quite easy to have a vector space. A vector space is a collection of things with some rules. Those rules are about adding the things inside the vector space, and multiplying the things in the vector space by scalars. These rules are not difficult requirements to meet. So a lot of mathematical structures are vector spaces, and the things inside them are vectors.

A norm is a function that has these vectors as its domain, and the non-negative real numbers as its range. And there are three rules that it has to meet. So. Give me a vector ‘u’ and a vector ‘v’. I’ll also need a scalar, ‘a. Then the function f is a norm when:

  1. f(u + v) \le f(u) + f(v) . This is a famous rule, called the triangle inequality. You know how in a triangle, the sum of the lengths of any two legs is greater than the length of the third leg? That’s the rule at work here.
  2. f(a\cdot u) = |a| \cdot f(u) . This doesn’t have so snappy a name. Sorry. It’s something about being homogeneous, at least.
  3. If f(u) = 0 then u has to be the additive identity, the vector that works like zero does.

Norms take on many shapes. They depend on the kind of thing we measure, and what we find interesting about those things. Some are familiar. Look at a Euclidean space, with Cartesian coordinates, so that we might write something like (3, 4) to describe a point. The “the norm” for this, called the Euclidean norm or the L2 norm, is the square root of the sum of the squares of the coordinates. So, 5. But there are other norms. The L1 norm is the sum of the absolute values of all the coefficients; here, 7. The L norm is the largest single absolute value of any coefficient; here, 4.

A polynomial, meanwhile? Write it out as a_0 + a_1 x + a_2 x^2 + a_3 x^3 + \cdots + a_n x^n . Take the absolute value of each of these a_k terms. Then … you have choices. You could take those absolute values and add them up. That’s the L1 polynomial norm. Take those absolute values and square them, then add those squares, and take the square root of that sum. That’s the L2 norm. Take the largest absolute value of any of these coefficients. That’s the L norm.

These don’t look so different, even though points in space and polynomials seem to be different things. We designed the tool. We want it not to be weirder than it has to be. When we try to put a norm on a new kind of thing, we look for a norm that resembles the old kind of thing. For example, when we want to define the norm of a matrix, we’ll typically rely on a norm we’ve already found for a vector. At least to set up the matrix norm; in practice, we might do a calculation that doesn’t explicitly use a vector’s norm, but gives us the same answer.

If we have a norm for some vector space, then we have an idea of distance. We can say how far apart two vectors are. It’s the norm of the difference between the vectors. This is called defining a metric on the vector space. A metric is that sense of how far apart two things are. What keeps a norm and a metric from being the same thing is that it’s possible to come up with a metric that doesn’t match any sensible norm.

It’s always possible to use a norm to define a metric, though. Doing that promotes our normed vector space to the dignified status of a “metric space”. Many of the spaces we find interesting enough to work in are such metric spaces. It’s hard to think of doing without some idea of size.


I’ve made it through one more week without missing deadline! This and all the other Fall 2019 A To Z posts should be at this link. I remain open for subjects for the letters Q through T, and would appreciate nominations at this link. Thank you for reading and I’ll fill out the rest of this week with reminders of old A-to-Z essays.

Advertisements

Reading the Comics, October 2019: Cube Edition


Comic Strip Master Command hoped to give me an easy week, one that would let me finally get ahead on my A-to-Z essays and avoid the last-minute rush to complete tasks. I showed them, though. I can procrastinate more than they can give me breaks. This essay alone I’m writing about ten minutes after you read it.

Eric the Circle for the 7th, by Shoy, is one of the jokes where Eric’s drawn as something besides a circle. I can work with this, though, because the cube is less far from a circle than you think. It gets to what we mean by “a circle”. If it’s all the points that are exactly a particular distance from a given center? Or maybe all the points up to that particular distance from a given center? This seems too reasonable to argue with, so you know where the trick is.

Drawing of a cube. Caption: 'Eric the Circle is trying to develop his Halloween costume into a more 3-dimensional character.'
Eric the Circle for the 7th of October, 2019. This one by Shoy. Essays with appearances by Eric the Circle should be at this link.

The trick is asking what we mean by distance? The ordinary distance that normal people use has a couple names. The Euclidean distance, often. Or Euclidean metric. Euclidean norm. It has some fancier names that can wait. Give two points. You can find this distance easily if you have their coordinates in a Cartesian system. (There’s infinitely many Cartesian systems you could use. You can pick whatever one you like; the distance will be the same whatever they are.) That’s that thing about finding the distance between corresponding coordinates, squaring those distances, adding that up, and taking the square root. And that’s good.

That’s not our only choice, though. We can make a perfectly good distance using other rules. For example, take the difference between corresponding coordinates, take the absolute value of each, and add all those absolute values up. This distance even has real-world application. It’s how far it is to go from one place to another on a grid of city squares, where it’s considered poor form to walk directly through buildings. There’s another. Instead of adding those absolute values up? Just pick the biggest of the absolute values. This is another distance. In it, circles look like squares. Or, in three dimensions, spheres look like cubes.

T-Rex: 'The world of tomorrow! We detect evidence of alien life: a signal from a distant solar system. It starts out simple, numbers, counting. Then it gets to more advanced mathematics. Then: instructions for decoding images about to be transmitted. In months we go from hoping we're not alone to about to find out what they look like!' Dromiceiomimus: 'What do they look like?' T-Rex: 'WHO KNOWS? We're at the frontier of imagination here!' Utahraptor: 'Maybe they look like puppies?' T-Rex: 'Please! No way aliens look like puppies!' Utahraptor: 'For generations we wondered if we're alone. Today we know: no. Life is out there, and it's puppies. Our universe is teeming with puppies.' T-Rex: 'Fine, I accept this version of events. THE END.'
Ryan North’s Dinosaur Comics for the 9th of October, 2019. This and other essays with Dinosaur Comics discussed should be at this link.

Ryan North’s Dinosaur Comics for the 9th builds on a common science fictional premise, that contact with an alien intelligence is done through mathematics first. It’s a common supposition in science fiction circles, and among many scientists, that mathematics is a truly universal language. It’s hard to imagine a species capable of communication with us that wouldn’t understand two and two adding up to four. Or about the ratio of a circle circumference to its diameter being independent of that diameter. Or about how an alternating knot for which the minimum number of crossing points is odd can’t ever be amphicheiral.

All right, I guess I can imagine a species that never ran across that point. Which is one of the things we suppose in using mathematics as a universal language. Its truths are indisputable, if we allow the rules of logic and axioms and definitions that we use. And I agree I don’t know that it’s possible not to notice basic arithmetic and basic geometry, not if one lives in a sensory world much like humans’. But it does seem to me at least some of mathematics is probably idiosyncratic. In representation at least; certainly in organization. I suspect there may be trouble in using universal and generically true things to express something local and specific. I don’t know how to go from deductive logic to telling someone when my birthday is. Well, I’m sure our friends in the philosophy department have considered that problem and have some good thoughts we can use, if there were only some way to communicate with them.

Mathematician filling a blackboard with: 'ENOUGH = [ long ,multi-level expression ] = ENOUGH'. Caption: 'Theoretical mathematician proving why he's had all he can take.'
Bill Whitehead’s Free Range for the 12th of October, 2019. Essays that have some mention of Free Range should appear at this link.

Bill Whitehead’s Free Range for the 12th is your classic blackboard-full-of-symbols. I like the beauty of the symbols used. I mean, the whole expression doesn’t parse, but many of the symbols do and are used in reasonable ways. Long trailing strings of arrows to extend one line to another are common and reasonable too. In the middle of the second line is \vec{n = z}, which doesn’t make sense, but which doesn’t make sense in a way that seems authentic to working out an idea. It’s something that could be cleaned up if the reasoning needed to be made presentable.


Later this week I’ll run a list of the fair number of comics that mentioned mathematics along the way to a joke, but that don’t do much with that mention. And this week in the A-to-Z sequence should see both M and N given their chances.

My 2019 Mathematics A To Z: Linear Programming


Today’s A To Z term is another proposed by @aajohannas.

I couldn’t find a place to fit this in the essay proper. But it’s too good to leave out. The simplex method, discussed within, traces to George Dantzig. He’d been planning methods for the US Army Air Force during the Second World War. Dantzig is a person you have heard about, if you’ve heard any mathematical urban legends. In 1939 he was late to Jerzy Neyman’s class. He took two statistics problems on the board to be homework. He found them “harder than usual”, but solved them in a couple days and turned in the late homework hoping Neyman would be understanding. They weren’t homework. They were examples of famously unsolved problems. Within weeks Neyman had written one of the solutions up for publication. When he needed a thesis topic Neyman advised him to just put what he already had in a binder. It’s the stuff every grad student dreams of. The story mutated. It picked up some glurge to become a narrative about positive thinking. And mutated further, into the movie Good Will Hunting.

The story gets better, for my purposes. The simplex method can be understood as one of those homework problems. Dantzig describes some of that in this 1987 essay about the origins of the method. The essay is worth reading to understand some of how people come to think of good mathematics.

Cartoony banner illustration of a coati, a raccoon-like animal, flying a kite in the clear autumn sky. A skywriting plane has written 'MATHEMATIC A TO Z'; the kite, with the letter 'S' on it to make the word 'MATHEMATICS'.
Art by Thomas K Dye, creator of the web comics Projection Edge, Newshounds, Infinity Refugees, and Something Happens. He’s on Twitter as @projectionedge. You can get to read Projection Edge six months early by subscribing to his Patreon.

Linear Programming.

Every three days one of the comic strips I read has the elderly main character talk about how they never used algebra. This is my hyperbole. But mathematics has got the reputation for being difficult and inapplicable to everyday life. We’ll concede using arithmetic, when we get angry at the fast food cashier who hands back our two pennies before giving change for our $6.77 hummus wrap. But otherwise, who knows what an elliptic integral is, and whether it’s working properly?

Linear programming does not have this problem. In part, this is because it lacks a reputation. But those who have heard of it, acknowledge it as immensely practical mathematics. It is about something a particular kind of human always finds compelling. That is how to do a thing best.

There are several kinds of “best”. There is doing a thing in as little time as possible. Or for as little effort as possible. For the greatest profit. For the highest capacity. For the best score. For the least risk. The goals have a thousand names, none of which we need to know. They all mean the same thing. They mean “the thing we wish to optimize”. To optimize has two directions, which are one. The optimum is either the maximum or the minimum. To be good at finding a maximum is to be good at finding a minimum.

It’s obvious why we call this “programming”; obviously, we leave the work of finding answers to a computer. It’s a spurious reason. The “programming” here comes from an independent sense of the word. It means more about finding a plan. Think of “programming” a night’s entertainment, so that every performer gets their turn, all scene changes have time to be done, you don’t put two comedians right after the other, and you accommodate the performer who has to leave early and the performer who’ll get in an hour late. Linear programming problems are often about finding how to do as well as possible given various priorities. All right. At least the “linear” part is obvious. A mathematics problem is “linear” when it’s something we can reasonably expect to solve. This is not the technical meaning. Technically what it means is we’re looking at a function something like:

ax + by + cz

Here, x, y, and z are the independent variables. We don’t know their values but wish to. a, b, and c are coefficients. These values are set to some constant for the problem, but they might be something else for other problems. They’re allowed to be positive or negative or even zero. If a coefficient is zero, then the matching variable doesn’t affect matters at all. The corresponding value can be anything at all, within the constraints.

I’ve written this for three variables, as an example and because ‘x’ and ‘y’ and ‘z’ are comfortable, familiar variables. There can be fewer. There can be more. There almost always are. Two- and three-variable problems will teach you how to do this kind of problem. They’re too simple to be interesting, usually. To avoid committing to a particular number of variables we can use indices. x_j for values of j from 1 up to N. Or we can bundle all these values together into a vector, and write everything as \vec{x} . This has a particular advantage since when we can write the coefficients as a vector too. Then we use the notation of linear algebra, and write that we hope to maximize the value of:

\vec{c}^T\vec{x}

(The superscript T means “transpose”. As a linear algebra problem we’d usually think of writing a vector as a tall column of things. By transposing that we write a long row of things. By transposing we can use the notation of matrix multiplication.)

This is the objective function. Objective here in the sense of goal; it’s the thing we want to find the best possible value of.

We have constraints. These represent limits on the variables. The variables are always things that come in limited supply. There’s no allocating more money than the budget allows, nor putting more people on staff than work for the company. Often these constraints interact. Perhaps not only is there only so much staff, but no one person can work more than a set number of days in a row. Something like that. That’s all right. We can write all these constraints as a matrix equation. An inequality, properly. We can bundle all the constraints into a big matrix named A, and demand:

A\vec{x} \le \vec{b}

Also, traditionally, we suppose that every component of \vec{x} is non-negative. That is, positive, or at lowest, zero. This reflects the field’s core problems of figuring how to allocate resources. There’s no allocating less than zero of something.

But we need some bounds. This is easiest to see with a two-dimensional problem. Try it yourself: draw a pair of axes on a sheet of paper. Now put in a constraint. Doesn’t matter what. The constraint’s edge is a straight line, which you can draw at any position and any angle you like. This includes horizontal and vertical. Shade in one side of the constraint. Whatever you shade in is the “feasible region”, the sets of values allowed under the constraint. Now draw in another line, another constraint. Shade in one side or the other of that. Draw in yet another line, another constraint. Shade in one side or another of that. The “feasible region” is whatever points have taken on all these shades. If you were lucky, this is a bounded region, a triangle. If you weren’t lucky, it’s not bounded. It’s maybe got some corners but goes off to the edge of the page where you stopped shading things in.

So adding that every component of \vec{x} is at least as big as zero is a backstop. It means we’ll usually get a feasible region with a finite volume. What was the last project you worked on that had no upper limits for anything, just minimums you had to satisfy? Anyway if you know you need something to be allowed less than zero go ahead. We’ll work it out. The important thing is there’s finite bounds on all the variables.

I didn’t see the bounds you drew. It’s possible you have a triangle with all three shades inside. But it’s also possible you picked the other sides to shade, and you have an annulus, with no region having more than two shades in it. This can happen. It means it’s impossible to satisfy all the constraints at once. At least one of them has to give. You may be reminded of the sign taped to the wall of your mechanics’ about picking two of good-fast-cheap.

But impossibility is at least easy. What if there is a feasible region?

Well, we have reason to hope. The optimum has to be somewhere inside the region, that’s clear enough. And it even has to be on the edge of the region. If you’re not seeing why, think of a simple example, like, finding the maximum of 2x + y , inside the square where x is between 0 and 2 and y is between 0 and 3. Suppose you had a putative maximum on the inside, like, where x was 1 and y was 2. What happens if you increase x a tiny bit? If you increase y by twice that? No, it’s only on the edges you can get a maximum that can’t be locally bettered. And only on the corners of the edges, at that.

(This doesn’t prove the case. But it is what the proof gets at.)

So the problem sounds simple then! We just have to try out all the vertices and pick the maximum (or minimum) from them all.

OK, and here’s where we start getting into trouble. With two variables and, like, three constraints? That’s easy enough. That’s like five points to evaluate? We can do that.

We never need to do that. If someone’s hiring you to test five combinations I admire your hustle and need you to start getting me consulting work. A real problem will have many variables and many constraints. The feasible region will most often look like a multifaceted gemstone. It’ll extend into more than three dimensions, usually. It’s all right if you just imagine the three, as long as the gemstone is complicated enough.

Because now we’ve got lots of vertices. Maybe more than we really want to deal with. So what’s there to do?

The basic approach, the one that’s foundational to the field, is the simplex method. A “simplex” is a triangle. In three dimensions, anyway. In four dimensions it’s a tetrahedron. In two dimensions it’s a line segment. Generally, however many dimensions of space you have? The simplex is the simplest thing that fills up volume in your space.

You know how you can turn any polygon into a bunch of triangles? Just by connecting enough vertices together? You can turn a polyhedron into a bunch of tetrahedrons, by adding faces that connect trios of vertices. And for polyhedron-like shapes in more dimensions? We call those polytopes. Polytopes we can turn into a bunch of simplexes. So this is why it’s the “simplex method”. Any one simplex it’s easy to check the vertices on. And we can turn the polytope into a bunch of simplexes. And we can ignore all the interior vertices of the simplexes.

So here’s the simplex method. First, break your polytope up into simplexes. Next, pick any simplex; doesn’t matter which. Pick any outside vertex of that simplex. This is the first viable possible solution. It’s most likely wrong. That’s okay. We’ll make it better.

Because there are other vertices on this simplex. And there are other simplexes, adjacent to that first, which share this vertex. Test the vertices that share an edge with this one. Is there one that improves the objective function? Probably. Is there a best one of those in this simplex? Sure. So now that’s our second viable possible solution. If we had to give an answer right now, that would be our best guess.

But this new vertex, this new tentative solution? It shares edges with other vertices, across several simplexes. So look at these new neighbors. Are any of them an improvement? Which one of them is the best improvement? Move over there. That’s our next tentative solution.

You see where this is going. Keep at this. Eventually it’ll wind to a conclusion. Usually this works great. If you have, like, 8 constraints, you can usually expect to get your answer in from 16 to 24 iterations. If you have 20 constraints, expect an answer in from 40 to 60 iterations. This is doing pretty well.

But it might take a while. It’s possible for the method to “stall” a while, often because one or more of the variables is at its constraint boundary. Or the division of polytope into simplexes got unlucky, and it’s hard to get to better solutions. Or there might be a string of vertices that are all at, or near, the same value, so the simplex method can’t resolve where to “go” next. In the worst possible case, the simplex method takes a number of iterations that grows exponentially with the number of constraints. This, yes, is very bad. It doesn’t typically happen. It’s a numerical algorithm. There’s some problem to spoil any numerical algorithm.

You may have complaints. Like, the world is complicated. Why are we only looking at linear objective functions? Or, why only look at linear constraints? Well, if you really need to do that? Go ahead, but that’s not linear programming anymore. Think hard about whether you really need that, though. Linear anything is usually simpler than nonlinear anything. I mean, if your optimization function absolutely has to have y^2 in it? Could we just say you have a new variable w that just happens to be equal to the square of y? Will that work? If you have to have the sine of z? Are you sure that z isn’t going to get outside the region where the sine of z is pretty close to just being z? Can you check?

Maybe you have, and there’s just nothing for it. That’s all right. This is why optimization is a living field of study. It demands judgement and thought and all that hard work.


Thank you for reading. This and all the other Fall 2019 A To Z posts should be at this link. They should be joined next week by letters ‘M’ and ‘N’. Also next week I hope to open for nominations for the next set of letters. All of my past A To Z essays should be available at this link.

My 2019 Mathematics A To Z: Hamiltonian


Today’s A To Z term is another I drew from Mr Wu, of the Singapore Math Tuition blog. It gives me more chances to discuss differential equations and mathematical physics, too.

The Hamiltonian we name for Sir William Rowan Hamilton, the 19th century Irish mathematical physicists who worked on everything. You might have encountered his name from hearing about quaternions. Or for coining the terms “scalar” and “tensor”. Or for work in graph theory. There’s more. He did work in Fourier analysis, which is what you get into when you feel at ease with Fourier series. And then wild stuff combining matrices and rings. He’s not quite one of those people where there’s a Hamilton’s Theorem for every field of mathematics you might be interested in. It’s close, though.

Cartoony banner illustration of a coati, a raccoon-like animal, flying a kite in the clear autumn sky. A skywriting plane has written 'MATHEMATIC A TO Z'; the kite, with the letter 'S' on it to make the word 'MATHEMATICS'.
Art by Thomas K Dye, creator of the web comics Projection Edge, Newshounds, Infinity Refugees, and Something Happens. He’s on Twitter as @projectionedge. You can get to read Projection Edge six months early by subscribing to his Patreon.

Hamiltonian.

When you first learn about physics you learn about forces and accelerations and stuff. When you major in physics you learn to avoid dealing with forces and accelerations and stuff. It’s not explicit. But you get trained to look, so far as possible, away from vectors. Look to scalars. Look to single numbers that somehow encode your problem.

A great example of this is the Lagrangian. It’s built on “generalized coordinates”, which are not necessarily, like, position and velocity and all. They include the things that describe your system. This can be positions. It’s often angles. The Lagrangian shines in problems where it matters that something rotates. Or if you need to work with polar coordinates or spherical coordinates or anything non-rectangular. The Lagrangian is, in your general coordinates, equal to the kinetic energy minus the potential energy. It’ll be a function. It’ll depend on your coordinates and on the derivative-with-respect-to-time of your coordinates. You can take partial derivatives of the Lagrangian. This tells how the coordinates, and the change-in-time of your coordinates should change over time.

The Hamiltonian is a similar way of working out mechanics problems. The Hamiltonian function isn’t anything so primitive as the kinetic energy minus the potential energy. No, the Hamiltonian is the kinetic energy plus the potential energy. Totally different in idea.

From that description you maybe guessed you can transfer from the Lagrangian to the Hamiltonian. Maybe vice-versa. Yes, you can, although we use the term “transform”. Specifically a “Legendre transform”. We can use any coordinates we like, just as with Lagrangian mechanics. And, as with the Lagrangian, we can find how coordinates change over time. The change of any coordinate depends on the partial derivative of the Hamiltonian with respect to a particular other coordinate. This other coordinate is its “conjugate”. (It may either be this derivative, or minus one times this derivative. By the time you’re doing work in the field you’ll know which.)

That conjugate coordinate is the important thing. It’s why we muck around with Hamiltonians when Lagrangians are so similar. In ordinary, common coordinate systems these conjugate coordinates form nice pairs. In Cartesian coordinates, the conjugate to a particle’s position is its momentum, and vice-versa. In polar coordinates, the conjugate to the angular velocity is the angular momentum. These are nice-sounding pairs. But that’s our good luck. These happen to match stuff we already think is important. In general coordinates one or more of a pair can be some fusion of variables we don’t have a word for and would never care about. Sometimes it gets weird. In the problem of vortices swirling around each other on an infinitely great plane? The horizontal position is conjugate to the vertical position. Velocity doesn’t enter into it. For vortices on the sphere the longitude is conjugate to the cosine of the latitude.

What’s valuable about these pairings is that they make a “symplectic manifold”. A manifold is a patch of space where stuff works like normal Euclidean geometry does. In this case, the space is in “phase space”. This is the collection of all the possible combinations of all the variables that could ever turn up. Every particular moment of a mechanical system matches some point in phase space. Its evolution over time traces out a path in that space. Call it a trajectory or an orbit as you like.

We get good things from looking at the geometry that this symplectic manifold implies. For example, if we know that one variable doesn’t appear in the Hamiltonian, then its conjugate’s value never changes. This is almost the kindest thing you can do for a mathematical physicist. But more. A famous theorem by Emmy Noether tells us that symmetries in the Hamiltonian match with conservation laws in the physics. Time-invariance, for example — time not appearing in the Hamiltonian — gives us the conservation of energy. If only distances between things, not absolute positions, matter, then we get conservation of linear momentum. Stuff like that. To find conservation laws in physics problems is the kindest thing you can do for a mathematical physicist.

The Hamiltonian was born out of planetary physics. These are problems easy to understand and, apart from the case of one star with one planet orbiting each other, impossible to solve exactly. That’s all right. The formalism applies to all kinds of problems. They’re very good at handling particles that interact with each other and maybe some potential energy. This is a lot of stuff.

More, the approach extends naturally to quantum mechanics. It takes some damage along the way. We can’t talk about “the” position or “the” momentum of anything quantum-mechanical. But what we get when we look at quantum mechanics looks very much like what Hamiltonians do. We can calculate things which are quantum quite well by using these tools. This though they came from questions like why Saturn’s rings haven’t fallen part and whether the Earth will stay around its present orbit.

It holds surprising power, too. Notice that the Hamiltonian is the kinetic energy of a system plus its potential energy. For a lot of physics problems that’s all the energy there is. That is, the value of the Hamiltonian for some set of coordinates is the total energy of the system at that time. And, if there’s no energy lost to friction or heat or whatever? Then that’s the total energy of the system for all time.

Here’s where this becomes almost practical. We often want to do a numerical simulation of a physics problem. Generically, we do this by looking up what all the values of all the coordinates are at some starting time t0. Then we calculate how fast these coordinates are changing with time. We pick a small change in time, Δ t. Then we say that at time t0 plus Δ t, the coordinates are whatever they started at plus Δ t times that rate of change. And then we repeat, figuring out how fast the coordinates are changing now, at this position and time.

The trouble is we always make some mistake, and once we’ve made a mistake, we’re going to keep on making mistakes. We can do some clever stuff to make the smallest error possible figuring out where to go, but it’ll still happen. Usually, we stick to calculations where the error won’t mess up our results.

But when we look at stuff like whether the Earth will stay around its present orbit? We can’t make each step good enough for that. Unless we get to thinking about the Hamiltonian, and our symplectic variables. The actual system traces out a path in phase space. Everyone on that path the Hamiltonian is a particular value, the energy of the system. So use the regular methods to project most of the variables to the new time, t0 + Δ t. But the rest? Pick the values that makes the Hamiltonian work out right. Also momentum and angular momentum and other stuff we know get conserved. We’ll still make an error. But it’s a different kind of error. It’ll project to a point that’s maybe in the wrong place on the trajectory. But it’s on the trajectory.

(OK, it’s near the trajectory. Suppose the real energy is, oh, the square root of 5. The computer simulation will have an energy of 2.23607. This is close but not exactly the same. That’s all right. Each step will stay close to the real energy.)

So what we’ll get is a projection of the Earth’s orbit that maybe puts it in the wrong place in its orbit. Putting the planet on the opposite side of the sun from Venus when we ought to see Venus transiting the Sun. That’s all right, if what we’re interested in is whether Venus and Earth are still in the solar system.

There’s a special cost for this. If there weren’t we’d use it all the time. The cost is computational complexity. It’s pricey enough that you haven’t heard about these “symplectic integrators” before. That’s all right. These are the kinds of things open to us once we look long into the Hamiltonian.


This wraps up my big essay-writing for the week. I will pluck some older essays out of obscurity to re-share tomorrow and Saturday. All of Fall 2019 A To Z posts should be at this link. Next week should have the letter I on Tuesday and J on Thursday. All of my A To Z essays should be available at this link. And I am still interested in topics I might use for the letters K through N. Thank you.

In Our Time podcast repeated its Emmy Noether episode


One of the podcasts I regularly listen to is the BBC’s In Our Time. This is a roughly 50-minute chat, each week, about some topic of general interest. It’s broad in its subjects; they can be historical, cultural, scientific, artistic, and even sometimes mathematical.

Recently they repeated an episode about Emmy Noether. I knew, before, that she was one of the great figures in our modern understanding of physics. Noether’s Theorem tells us how the geometry of a physics problem constrains the physics we have, and in useful ways. That, for example, what we understand as the conservation of angular momentum results from a physical problem being rotationally symmetric. (That if we rotated everything about the problem by the same angle around the same axis, we’d not see any different behaviors.) Similarly, that you could start a physics scenario at any time, sooner or later, without changing the results forces the physics scenario to have a conservation of energy. This is a powerful and stunning way to connect physics and geometry.

What I had not appreciated until listening to this episode was her work in group theory, and in organizing it in the way we still learn the subject. This startled and embarrassed me. It forced me to realize I knew little about the history of group theory. Group theory has over the past two centuries been a key piece of mathematics. It’s given us results as basic as showing there are polynomials that no quadratic formula-type expression will ever solve. It’s given results as esoteric as predicting what kinds of exotic subatomic particles we should expect to exist. And her work’s led into the modern understanding of the fundamentals of mathematics. So it’s exciting to learn some more about this.

This episode of In Our Time should be at this link although I just let iTunes grab episodes from the podcast’s feed. There are a healthy number of mathematics- and science-related conversations in its archives.

Reading the Comics, August 10, 2019: In Security Edition


There were several more comic strips last week worth my attention. One of them, though, offered a lot for me to write about, packed into one panel featuring what comic strip fans call the Wall O’ Text.

Bea R’s In Security for the 9th is part of a storyline about defeating an evil “home assistant”. The choice of weapon is Michaela’s barrage of questions, too fast and too varied to answer. There are some mathematical questions tossed in the mix. The obvious one is “zero divided by two equals zero, but why’z two divided by zero called crazy town?” Like with most “why” mathematics questions there are a range of answers.

Evil Alexa: 'I ordered a spanking for you: express.' Sedine: 'DIE!' Michaela: 'How 'we defeat this evil genius? (To the home-assistant) What's the diffrence between wrong and right? Who's got better fries, McD or BK? Why's a ball round? Is a wingless fly a 'walk'? Why'z all this communism so capitalistic? If Jeff Bezos is so rich why'zint he abel to own a toupee? Zero divded by two equals zero, but why'z two divided by zero called crazy town? So if infinity is forever, isn't that crazy too? If reality is a human construck why does my mommy act so normal? Tell me!' Sputtering Alexia: 'I - I must compute!'
Bea R’s In Security for the 9th of August, 2019. This is a new comic strip for these parts. So this essay and any future ones which explore topics raised by In Security are to be be at this link.

The obvious one, I suppose, is to appeal to intuition. Think of dividing one number by another by representing the numbers with things. Start with a pile of the first number of things. Try putting them into the second number of bins. How many times can you do this? And then you can pretty well see that you can fill two bins with zero things zero times. But you can fill zero bins with two things — well, what is filling zero bins supposed to mean? And that warns us that dividing by zero is at least suspicious.

That’s probably enough to convince a three-year-old, and probably most sensible people. If we start getting open-mined about what it means to fill no containers, we might say, well, why not have two things fill the zero containers zero times over, or once over, or whatever convenient answer would work? And here we can appeal to mathematical logic. Start with some ideas that seem straightforward. Like, that division is the inverse of multiplication. That addition and multiplication work like you’d guess from the way integers work. That distribution works. Then you can quickly enough show that if you allow division by zero, this implies that every number equals every other number. Since it would be inconvenient for, say, “six” to also equal “minus 113,847,506 and three-quarters” we say division by zero is the problem.

This is compelling until you ask what’s so great about addition and multiplication as we know them. And here’s a potentially fruitful line of attack. Coming up with alternate ideas for what it means to add or to multiply are fine. We can do this easily with modular arithmetic, that thing where we say, like, 5 + 1 equals 0 all over again, and 5 + 2 is 1 and 5 + 3 is 2. This can create a ring, and it can offer us wild ideas like “3 times 2 equals 0”. This doesn’t get us to where dividing by zero means anything. But it hints that maybe there’s some exotic frontier of mathematics in which dividing by zero is good, or useful. I don’t know of one. But I know very little about topics like non-standard analysis (where mathematicians hypothesize non-negative numbers that are not zero, but are also smaller than any positive number) or structures like surreal numbers. There may be something lurking behind a Quanta Magazine essay I haven’t read even though they tweet about it four times a week. (My twitter account is, for some reason, not loading this week.)

Michaela’s questions include a couple other mathematically-connected topics. “If infinity is forever, isn’t that crazy, too?” Crazy is a loaded word and probably best avoided. But there are infinity large sets of things. There are processes that take infinitely many steps to complete. Please be kind to me in my declaration “are”. I spent five hundred words on “two divided by zero”. I can’t get into that it means for a mathematical thing to “exist”. I don’t know. In any event. Infinities are hard and we rely on them. They defy our intuition. Mathematicians over the 19th and 20th centuries worked out fairly good tools for handling these. They rely on several strategies. Most of these amount to: we can prove that the difference between “infinitely many steps” and “very many steps” can be made smaller than any error tolerance we like. And we can say what “very many steps” implies for a thing. Therefore we can say that “infinitely many steps” gives us some specific result. A similar process holds for “infinitely many things” instead of “infinitely many steps”. This does not involve actually dealing with infinity, not directly. It involves dealing with large numbers, which work like small numbers but longer. This has worked quite well. There’s surely some field of mathematics about to break down that happy condition.

And there’s one more mathematical bit. Why is a ball round? This comes around to definitions. Suppose a ball is all the points within a particular radius of a center. What shape that is depends on what you mean by “distance”. The common definition of distance, the “Euclidean norm”, we get from our physical intuition. It implies this shape should be round. But there are other measures of distance, useful for other roles. They can imply “balls” that we’d say were octahedrons, or cubes, or rounded versions of these shapes. We can pick our distance to fit what we want to do, and shapes follow.

I suspect but do not know that it works the other way, that if we want a “ball” to be round, it implies we’re using a distance that’s the Euclidean measure. I defer to people better at normed spaces than I am.

Wavehead, standing in front of a digital blackboard which has the problem 3 + 5 on it: 'I'm just saying, with all the computing power in this electronic board, I bet it could take care of this itself.'
Mark Anderson’s Andertoons for the 10th of August, 2019. The handful of times that I’ve mentioned explore Andertoons around here can be found at this link.

Mark Anderson’s Andertoons for the 10th is the Mark Anderson’s Andertoons for the week. It’s also a refreshing break from talking so much about In Security. Wavehead is doing the traditional kid-protesting-the-chalkboard-problem. This time with an electronic chalkboard, an innovation that I’ve heard about but never used myself.

Molly: 'We'll play after I finish my homework. I'm studying pi.' Bear: (Panel filled with the word GUSH! His mouth dangles open, and he drools.) 'You said pie!!'
Bob Scott’s Bear With Me for the 10th of August, 2019. Appearances by Bear With Me should be at this link. This strip originally ran the 15th of October, 2015, when the comic was titled Molly and the Bear.

Bob Scott’s Bear With Me for the 10th is the Pi Day joke for the week.


And that last one seemed substantial enough to highlight. There were even slighter strips. Among them: Mark Anderson’s Andertoons for the 4th features latitude and longitude, the parts of spherical geometry most of us understand. At least feel we understand. Jim Toomey’s Sherman’s Lagoon for the 8th mentions mathematics as the homework parents most dread helping with. Larry Wright’s Motley rerun for the 10th does a joke about a kid being bad at geography and at mathematics.


And that’s this past week’s mathematics comics. Reading the Comics essays should all be gathered at this link. Thanks for reading this far.

Reading the Comics, July 26, 2019: Children With Mathematics Edition


Three of the strips I have for this installment feature kids around mathematics talk. That’s enough for a theme name.

Gary Delainey and Gerry Rasmussen’s Betty for the 23rd is a strip about luck. It’s easy to form the superstitious view that you have a finite amount of luck, or that you have good and bad lucks which offset each other. It feels like it. If you haven’t felt like it, then consider that time you got an unexpected $200, hours before your car’s alternator died.

If events are independent, though, that’s just not so. Whether you win $600 in the lottery this week has no effect on whether you win any next week. Similarly whether you’re struck by lightning should have no effect on whether you’re struck again.

Betty: 'We didn't use up our luck winning $600 in the lottery!' Bub: 'You don't think so? Shorty's brother got hit by lightning and lived. The second time, he also lived, but it ruined his truck.' Betty: 'I don't know how to respond to that.' Bub: 'And the third time ... '
Gary Delainey and Gerry Rasmussen’s Betty for the 23rd of July, 2019. I thought this might be a new tag, but, no. Other essays mentioning Betty are at this link.

Except that this assumes independence. Even defines independence. This is obvious when you consider that, having won $600, it’s easier to buy an extra twenty dollars in lottery tickets and that does increase your (tiny) chance of winning again. If you’re struck by lightning, perhaps it’s because you tend to be someplace that’s often struck by lightning. Probability is a subtler topic than everyone acknowledges, even when they remember that it is such a subtle topic.

It sure seems like this strip wants to talk about lottery winners struck by lightning, doesn’t it?

Susan: 'What are you so happy about?' Lemont: 'This morning Lionel and I were had breakfast at Pancake-ville. When it came time to calculate a tip I asked 'What's 20% of $22.22' and it told me. It occurred to me, we're living in the future! We have electric cars, drones, instant knowledge at our fingertips ... it's the future I've dreamt of my entire life!' Susan: 'Sigh ... you always did hate math.' Lemont: 'Only in the FUTURE can a man track down his old math teacher on Facebook and gloat.'
Darrin Bell’s Candorville for the 23rd of July, 2019. Essays inspired by Candorville in some way are here.

Darrin Bell’s Candorville for the 23rd jokes about the uselessness of arithmetic in modern society. I’m a bit surprised at Lemont’s glee in not having to work out tips by hand. The character’s usually a bit of a science nerd. But liking science is different from enjoying doing arithmetic. And bad experiences learning mathematics can sour someone on the subject for life. (Which is true of every subject. Compare the number of people who come out of gym class enjoying physical fitness.)

If you need some Internet Old, read the comments at GoComics, which include people offering dire warnings about what you need in case your machine gives the wrong answer. Which is technically true, but for this application? Getting the wrong answer is not an immediately awful affair. Also a lot of cranky complaining about tipping having risen to 20% just because the United States continues its economic punishment of working peoples.

Woman: 'Oh my gosh, you have twins!' Mathematician: 'Yeah. Please meet my sons.' 'Did you give them rhyming names?' 'No.' 'Alliterative names? Are they named for twins from any books?' 'Lady, I'm a mathematician. I think in clear logical terms. None of this froufrou nonsense for my kids.' 'Okay, okay. So their names are?' 'Benjamin and Benjamax.'
Zach Weinersmith’s Saturday Morning Breakfast Cereal for the 25th of July, 2019. Haven’t seen this comic mentioned since two days ago. Essays mentioning some aspect of Saturday Morning Breakfast Cereal should be gathered at this link.

Zach Weinersmith’s Saturday Morning Breakfast Cereal for the 25th is some wordplay. Mathematicians often need to find minimums of things. Or maximums of things. Being able to do one lets you do the other, as you’d expect. If you didn’t expect, think about it a moment, and then you expect it. So min and max are often grouped together.

Thatababy drawing on a Scalene Triangle, scales and eyes added to one. An Octagon: octopus legs added to an octagon. Rhombus: rhombus with wheels, windows, and a driver added to it, and a passenger hailing it down.
Paul Trap’s Thatababy for the 26th of July, 2019. Essays exploring some topic mentioned by Thatababy are here.

Paul Trap’s Thatababy for the 26th is circling around wordplay, turning some common shape names into pictures. This strip might be aimed at mathematics teachers’ doors. I’d certainly accept these as jokes that help someone learn their shapes.


And you know what? I hope to have another Reading the Comics post around Thursday at this link. And that’s not even thinking what I might do for this coming Sunday.

Reading the Comics, July 12, 2019: Ricci Tensor Edition


So a couple days ago I was chatting with a mathematician friend. He mentioned how he was struggling with the Ricci Tensor. Not the definition, not exactly, but its point. What the Ricci Tensor was for, and why it was a useful thing. He wished he knew of a pop mathematics essay about the thing. And this brought, slowly at first, to my mind that I knew of one. I wrote such a pop-mathematics essay about the Ricci Tensor, as part of my 2017 A To Z sequence. In it, I spend several paragraphs admitting that I’m not sure I understand what the Ricci tensor is for, and why it’s a useful thing.

Caption: 'Physics Hypotheses That Are Still on The Table'. The No-Boundary Proposal (illustrated with a wireframe of what looks like an open wine glass). The Weyl Conjecture (illustrated with a wireframe of what looks like a football). The Victoria Principal (illustrated with a tableful of cosmetics).
Daniel Beyer’s Long Story Short for the 11th of July, 2019. Essays inspired by something mentioned in Long Story Short should be at this link.

Daniel Beyer’s Long Story Short for the 11th mentions some physics hypotheses. These are ideas about how the universe might be constructed. Like many such cosmological thoughts they blend into geometry. The no-boundary proposal, also known as the Hartle-Hawking state (for James Hartle and Stephen Hawking), is a hypothesis about the … I want to write “the start of time”. But I am not confident that this doesn’t beg the question. Well, we think we know what we mean by “the start of the universe”. A natural question in mathematical physics is, what was the starting condition? At the first moment that there was anything, what did it look like? And this becomes difficult to answer, difficult to even discuss, because part of the creation of the universe was the creation of spacetime. In this no-boundary proposal, the shape of spacetime at the creation of the universe is such that there just isn’t a “time” dimension at the “moment” of the Big Bang. The metaphor I see reprinted often about this is how there’s not a direction south of the south pole, even though south is otherwise a quite understandable concept on the rest of the Earth. (I agree with this proposal, but I feel like analogy isn’t quite tight enough.)

Still, there are mathematical concepts which seem akin to this. What is the start of the positive numbers, for example? Any positive number you might name has some smaller number we could have picked instead, until we fall out of the positive numbers altogether and into zero. For a mathematical physics concept there’s absolute zero, the coldest temperature there is. But there is no achieving absolute zero. The thermodynamical reasons behind this are hard to argue. (I’m not sure I could put them in a two-thousand-word essay, not the way I write.) It might be that the “moment of the Big Bang” is similarly inaccessible but, at least for the correct observer, incredibly close by.

The Weyl Curvature is a creation of differential geometry. So it is important in relativity, in describing the curve of spacetime. It describes several things that we can think we understand. One is the tidal forces on something moving along a geodesic. Moving along a geodesic is the general-relativity equivalent of moving in a straight line at a constant speed. Tidal forces are those things we remember reading about. They come from the Moon, sometimes the Sun, sometimes from a black hole a theoretical starship is falling into. Another way we are supposed to understand it is that it describes how gravitational waves move through empty space, space which has no other mass in it. I am not sure that this is that understandable, but it feels accessible.

The Weyl tensor describes how the shapes of things change under tidal forces, but it tracks no information about how the volume changes. The Ricci tensor, in contrast, tracks how the volume of a shape changes, but not the shape. Between the Ricci and the Weyl tensors we have all the information about how the shape of spacetime affects the things within it.

Ted Baum, writing to John Baez, offers a great piece of advice in understanding what the Weyl Tensor offers. Baum compares the subject to electricity and magnetism. If one knew all the electric charges and current distributions in space, one would … not quite know what the electromagnetic fields were. This is because there are electromagnetic waves, which exist independently of electric charges and currents. We need to account for those to have a full understanding of electromagnetic fields. So, similarly, the Weyl curvature gives us this for gravity. How is a gravitational field affected by waves, which exist and move independently of some source?

I am not sure that the Weyl Curvature is truly, as the comic strip proposes, a physics hypothesis “still on the table”. It’s certainly something still researched, but that’s because it offers answers to interesting questions. But that’s also surely close enough for the comic strip’s needs.

Elderly man: 'Remember coefficients?' Elderly woman: 'No.' Elderly man: 'Me neither.' Caption: 'Nostalgebra.'
Dave Coverly’s Speed Bump for the 11th of July, 2019. Essays which discuss something that appeared in Speed Bump should be at this link.

Dave Coverly’s Speed Bump for the 11th is a wordplay joke, and I have to admit its marginality. I can’t say it’s false for people who (presumably) don’t work much with coefficients to remember them after a long while. I don’t do much with French verb tenses, so I don’t remember anything about the pluperfect except that it existed. (I have a hazy impression that I liked it, but not an idea why. I think it was something in the auxiliary verb.) Still, this mention of coefficients nearly forms a comic strip synchronicity with Mike Thompson’s Grand Avenue for the 11th, in which a Math Joke allegedly has a mistaken coefficient as its punch line.

Gabby: 'It's craft time here at summer camp.' Michael: 'Finally! An activity that won't hurt my brain. Are we weaving? Painting? Making placemats?' Gabby: 'No. We're making probability flash cards.' Michael: 'The probability of us enjoying that activity? Zero.' Gabby: 'Finally! An answer at math camp that we can get right.'
Mike Thompson’s Grand Avenue for the 12th of July, 2019. The fair number of essays in which I complain about Grand Avenue I gather at this link.

Mike Thompson’s Grand Avenue for the 12th is the one I’m taking as representative for the week, though. The premise has been that Gabby and Michael were sent to Math Camp. They do not want to go to Math Camp. They find mathematics to be a bewildering set of arbitrary and petty rules to accomplish things of no interest to them. From their experience, it’s hard to argue. The comic has, since I started paying attention to it, consistently had mathematics be a chore dropped on them. And not merely from teachers who want them to solve boring story problems. Their grandmother dumps workbooks on them, even in the middle of summer vacation, presenting it as a chore they must do. Most comic strips present mathematics as a thing students would rather not do, and that’s both true enough and a good starting point for jokes. But I don’t remember any that make mathematics look so tedious. Anyway, I highlight this one because of the Math Camp jokes it, and the coefficients mention above, are the most direct mention of some mathematical thing. The rest are along the lines of the strip from the 9th, asserting that the “Math Camp Activity Board” spelled the last word wrong. The joke’s correct but it’s not mathematical.


So I had to put this essay to bed before I could read Saturday’s comics. Were any of them mathematically themed? I may know soon! And were there comic strips with some mention of mathematics, but too slight for me to make a paragraph about? What could be even slighter than the mathematical content of the Speed Bump and the Grand Avenue I did choose to highlight? Please check the Reading the Comics essay I intend to publish Tuesday. I’m curious myself.

Particle Physics Made Hard


A friend was playing with that cute little particle-physics simulator idea I mentioned last week. And encountered a problem. With a little bit of thought, I was able to not solve the problem. But I was able to explain why it was a subtler and more difficult problem than they had realized. These are the moments that make me feel justified calling myself a mathematician.

The proposed simulation was simple enough: imagine a bunch of particles that interact by rules that aren’t necessarily symmetric. Like, the attraction particle A exerts on particle B isn’t the same as what B exerts on A. Or there are multiple species of particles. So (say) red particles are attracted to blue but repelled by green. But green is attracted to red and repelled by blue twice as strongly as red is attracted to blue. Your choice.

Give a mathematician a perfectly good model of something. She’ll have the impulse to try tinkering with it. One reliable way to tinker with it is to change the domain on which it works. If your simulation supposes you have particles moving on the plane, then, what if they were in space instead? Or on the surface of a sphere? Or what if something was strange about the plane? My friend had this idea: what if the particles were moving on the surface of a cube?

And the problem was how to find the shortest distance between two particles on the surface of a cube. The distance matters since most any attraction rule depends on the distance. This may be as simple as “particles more than this distance apart don’t interact in any way”. The obvious approach, or if you prefer the naive approach, is to pretend the cube is a sphere and find distances that way. This doesn’t get it right, not if the two points are on different faces of the cube. If they’re on adjacent faces, ones which share an edge — think the floor and the wall of a room — it seems straightforward enough. My friend got into trouble with points on opposite faces. Think the floor and the ceiling.

This problem was posed (to the public) in January 1905 by Henry Ernest Dudeney. Dudeney was a newspaper columnist with an exhaustive list of mathematical puzzles. A couple of the books collecting them are on Project Gutenberg. The puzzles show their age in spots. Some in language; some in problems that ask to calculate money in pounds-shillings-and-pence. Many of them are chess problems. But many are also still obviously interesting, and worth thinking about. This one, I was able to find, was a variation of The Spider and the Fly, problem 75 in The Canterbury Puzzles:

Inside a rectangular room, measuring 30 feet in length and 12 feet in width and height, a spider is at a point on the middle of one of the end walls, 1 foot from the ceiling, as at A; and a fly is on the opposite wall, 1 foot from the floor in the centre, as shown at B. What is the shortest distance that the spider must crawl in order to reach the fly, which remains stationary? Of course the spider never drops or uses its web, but crawls fairly.

(Also I admire Dudeney’s efficient closing off of the snarky, problem-breaking answer someone was sure to give. It suggests experienced thought about how to pose problems.)

What makes this a puzzle, even a paradox, is that the obvious answer is wrong. At least, what seems like the obvious answer is to start at point A, move to one of the surfaces connecting the spider’s and the fly’s starting points, and from that move to the fly’s surface. But, no: you get a shorter answer by using more surfaces. Going on a path that seems like it wanders more gets you a shorter distance. The solution’s presented here, along with some follow-up problems. In this case, the spider’s shortest path uses five of the six surfaces of the room.

The approach to finding this is an ingenious one. Imagine the room as a box, and unfold it into something flat. Then find the shortest distance on that flat surface. Then fold the box back up. It’s a good trick. It turns out to be useful in many problems. Mathematical physicists often have reason to ponder paths of things on flattenable surfaces like this. Sometimes they’re boxes. Sometimes they’re toruses, the shape of a doughnut. This kind of unfolding often makes questions like “what’s the shortest distance between points” easier to solve.

There are wrinkles to the unfolding. Of course there are. How interesting would it be if there weren’t? The wrinkles amount to this. Imagine you start at the corner of the room, and walk up a wall at a 45 degree angle to the horizon. You’ll get to the far corner eventually, if the room has proportions that allow it. All right. But suppose you walked up at an angle of 30 degrees to the horizon? At an angle of 75 degrees? You’ll wind your way around the walls (and maybe floor and ceiling) some number of times, each path you start with. Probably different numbers of times. Some path will be shortest, and that’s fine. But … like, think about the path that goes along the walls and ceiling and floor three times over. The room, unfolded into a flat panel, has only one floor and one ceiling and each wall once. The straight line you might be walking goes right off the page.

And this is the wrinkle. You might need to tile the room. In a column of blocks (like in Dudeney’s solution) every fourth block might be the floor, with, between any two of them, a ceiling. This is fine, and what’s needed. It can be a bit dizzying to imagine such a state of affairs. But if you’ve ever zoomed a map of the globe out far enough that you see Australia six times over then you’ve understood how this works.

I cannot attest that this has helped my friend in the slightest. I am glad that my friend wanted to think about the surface of the cube. The surface of a dodecahedron would be far, far past my ability to help with.

Reading the Comics, July 2, 2019: Back On Schedule Edition


I hoped I’d get a Reading the Comics post in for Tuesday, and even managed it. With this I’m all caught up to the syndicated comic strips which, last week, brought up some mathematics topic. I’m open for nominations about what to publish here Thursday. Write in quick.

Hilary Price’s Rhymes With Orange for the 30th is a struggling-student joke. And set in summer school, so the comic can be run the last day of June without standing out to its United States audience. It expresses a common anxiety, about that point when mathematics starts using letters. It superficially seems strange that this change worries students. Students surely had encountered problems where some term in an equation was replaced with a blank space and they were expected to find the missing term. This is the same work as using a letter. Still, there are important differences. First is that a blank line (box, circle, whatever) has connotations of “a thing to be filled in”. A letter seems to carry meaning in to the problem, even if it’s just “x marks the spot”. And a letter, as we use it in English, always stands for the same thing (or at least the same set of things). That ‘x’ may be 7 in one problem and 12 in another seems weird. I mean weird even by the standards of English orthography.

Summer School. Student, as the instructor writes a^2 + b^2 != c^2 on the board: 'Math isn't fair. It's numbers, numbers, numbers, then bam! It's letters.'
Hilary Price’s Rhymes With Orange for the 30th of June, 2019. Essays with some mention of Rhymes With Orange should be at this link.

A letter might represent a number whose value we wish to know; it might represent a number whose value we don’t care about. These are different ideas. We usually fall into a convention where numbers we wish to know are more likely x, y, and z, while those we don’t care about are more likely a, b, and c. But even that’s no reliable rule. And there may be several letters in a single equation. It’s one thing to have a single unknown number to deal with. To have two? Three? I don’t blame people fearing they can’t handle that.

Mark Leiknes’s Cow and Boy for the 30th has Billy and Cow pondering the Prisoner’s Dilemma. This is one of the first examples someone encounters in game theory. Game theory sounds like the most fun part of mathematics. It’s the study of situations in which there’s multiple parties following formal rules which allow for gains or losses. This is an abstract description. It means many things fit a mathematician’s idea of a game.

Billy: 'If we're ever arrested for the same crime we should never rat each other out. If we don't rat, then maybe we both go free. If we both rat, we both go to jail. If one rats, then the other goes to jail. But since we can't trust the interro --- ' Cow: 'BUT BOOGER GNOME STOLE THAT STEREO EQUIPMENT FOR HIS PIZZA BOX HOUSE!' Billy: 'YOU THINK THE COPS ARE GONNA BUY THAT?' Booger Gnome, with the stolen equipment: 'THERE'S NO @$#&* OUTLETS?!'
Mark Leiknes’s Cow and Boy rerun for the 30th of June, 2019. The comic strip is long since ended, but hasn’t quite rerun enough times for me to get tired of it. So essays featuring Cow and Boy appear this link. The gnome is a lawn gnome who came to life and … you know, this was a pretty weird comic and I understand why it didn’t make it in the newspapers. Just roll with it.

The Prisoner’s Dilemma is described well enough by Billy. It’s built on two parties, each — separately and without the ability to coordinate — having to make a choice. Both would be better off, under interrogation, to keep quiet and trust that the cops can’t get anything significant on them. But both have the temptation that if they rat out the other, they’ll get off free while their former partner gets screwed. And knowing that their partner has the same temptation. So what would be best for the two of them requires them both doing the thing that maximizes their individual risk. The implication is unsettling: everyone acting in their own best interest is supposed to produce the best possible result for society. And here, for the society of these two accused, it breaks down entirely.

Jason Poland’s Robbie and Bobby for the 1st is a rerun. I discussed it last time it appeared, in November 2016, which was before I would routinely include the strips under discussion. The strip’s built on wordplay, using the word ‘power’ in its connotations for might and for exponents.

Robbie: 'My opinion letter is really going to make a difference!' Bobby: 'More power to you, Robbie!' Robbie: 'You've been saying that a lot lately ... know what? I *do* feel more powerful! ... Ooh, an exponent!' (A '10' appears over Robbie's typewriter. Bobby grabs it.) Robbie: 'Hey! I earned that!' Bobby: 'You have no clue what I'll do with this power!' Next panel: Bobby's sleeping, with his sleep sound being 'zzzz^{10}'.
Jason Poland’s Robbie and Bobby rerun for the 1st of July, 2019. I think but am not sure that this comic strip has lapsed into eternal reruns. In any case the essays that mention some topic raised by Robbie and Bobby are at this link.

Exponents have been written as numbers in superscript following a base for a long while now. The notation developed over the 17th century. I don’t know why mathematicians settled on superscripts, as opposed to the many other ways a base and an exponent might fit together. It’s a good mnemonic to remember, say, “z raised to the 10th” is z with a raised 10. But I don’t know the etymology of “raised” in a mathematical context well enough. It’s plausible that we say “raised” because that’s what the notation suggests.

Zach Weinersmith’s Saturday Morning Breakfast Cereal for the 2nd argues for the beauty of mathematics as a use for it. It’s presented in a brutal manner, but saying brutal things to kids is a comic motif with history to it. Well, in an existentialist manner, but that gets pretty brutal quickly.

Kids: 'Will we ever use math?' Teacher: 'Of course! Life is an express train headed for oblivion city, and this proof of Pythagoras' theorem is one more pretty thing to contemplate before you pull into the station.' (The diagram is of a large square, with each leg divided into segments of length a and b; inside is a smaller square, connecting the segments within each of the outer square's edges, with the sides of this inner square length c.) Kid: 'I mean, like, will it get me a job?' Teacher: 'It got me this job conducting your express train!'
Zach Weinersmith’s Saturday Morning Breakfast Cereal for the 2nd of July, 2019. This one doesn’t appear in every Reading the Comics essay, so you can find my discussions inspired by Saturday Morning Breakfast Cereal at this link.

The proof of the Pythagorean Theorem is one of the very many known to humanity. This one is among the family of proofs that are wordless. At least nearly wordless. You can get from here to a^2 + b^2 = c^2 with very little prompting. If you do need prompting, it’s this: there are two expressions for how much area of the square with sides a-plus-b. One of these expressions uses only terms of a and b. The other expression uses terms of a, b, and c. If this doesn’t get a bit of a grin out of you, don’t worry. There’s, like, 2,037 other proofs we already know about. We might ask whether we need quite so many proofs of the Pythagorean theorem. It doesn’t seem to be under serious question most of the time.


And then a couple comic strips last week just mentioned mathematics. Morrie Turner’s Wee Pals for the 1st of July has the kids trying to understand their mathematics homework. Could have been anything. Mike Thompson’s Grand Avenue for the 5th started a sequence with the kids at Math Camp. The comic is trying quite hard to get me riled up. So far it’s been the kids agreeing that mathematics is the worst, and has left things at that. Hrmph.


Whether or not I have something for Thursday, by Sunday I should have anotherReading the Comics post. It, as well as my back catalogue of these essays, should be at this link. Thanks for worrying about me.

Reading the Comics, June 29, 2019: Pacing Edition


These are the last of the comics from the final full week of June. Ordinarily I’d have run this on Tuesday or Thursday of last week. But I also had my monthly readership-report post and that bit about a particle physics simulator also to post. It better fit a posting schedule of something every two or three days to move this to Sunday. This is what I tell myself is the rationale for not writing things up faster.

Ernie Bushmiller’s Nancy Classics for the 27th uses arithmetic as an economical way to demonstrate intelligence. At least, the ability to do arithmetic is used as proof of intelligence. Which shouldn’t surprise. The conventional appreciation for Ernie Bushmiller is of his skill at efficiently communicating the ideas needed for a joke. That said, it’s a bit surprising Sluggo asks the dog “six times six divided by two”; if it were just showing any ability at arithmetic “one plus one” or “two plus two” would do. But “six times six divided by two” has the advantage of being a bit complicated. That is, it’s reasonable Sluggo wouldn’t know it right away, and would see it as something only the brainiest would. But it’s not so complicated that Sluggo wouldn’t plausibly know the question.

Nancy, to Sluggo, pointing to a wrinkled elderly man: 'That's Professor Stroodle, the big scientist. What a brain he must have! Look at that wrinkled brow --- that means lots and lots of brains.' Sluggo 'Wrinkles means brains?' Nancy: 'Sure!' Sluggo, interrogating a wrinkly-faced dog, to Nancy's surprise: 'What's six times six divided by two?'
Ernie Bushmiller’s Nancy Classics for the 27th of June, 2019. It originally ran the 21st of September, 1949. Essays inspired by something in Nancy, either the Ernie Bushmiller classics or the Olivia Jaimes modern ones, should appear at this link. I’m not going to group 1940s Nancy and 2010s Nancy separately.

Eric the Circle for the 28th, this one by AusAGirl, uses “Non-Euclidean” as a way to express weirdness in shape. My first impulse was to say that this wouldn’t really be a non-Euclidean circle. A non-Euclidean geometry has space that’s different from what we’re approximating with sheets of paper or with boxes put in a room. There are some that are familiar, or roughly familiar, such as the geometry of the surface of a planet. But you can draw circles on the surface of a globe. They don’t look like this mooshy T-circle. They look like … circles. Their weirdness comes in other ways, like how the circumference is not π times the diameter.

On reflection, I’m being too harsh. What makes a space non-Euclidean is … well, many things. One that’s easy to understand is to imagine that the space uses some novel definition for the distance between points. Distance is a great idea. It turns out to be useful, in geometry and in analysis, to use a flexible idea of of what distance is. We can define the distance between things in ways that look just like the Euclidean idea of distance. Or we can define it in other, weirder ways. We can, whatever the distance, define a “circle” as the set of points that are all exactly some distance from a chosen center point. And the appearance of those “circles” can differ.

Caption: Non-Euclidean Eric. The picture is of a sloppy, rounded upside-down-T-shaped figure that looks little like a circle.
Eric the Circle for the 28th of June, 2019, this one by AusAGirl. Essays which build on something mentioned in Eric the Circle should appear at this link.

There are literally infinitely many possible distance functions. But there is a family of them which we use all the time. And the “circles” in those look like … well, at the most extreme, they look like squares. Others will look like rounded squares, or like slightly diamond-shaped circles. I don’t know of any distance function that’s useful that would give us a circle like this picture of Eric. But there surely is one that exists and that’s enough for the joke to be certified factually correct. And that is what’s truly important in a comic strip.

Maeve, sitting awake at night, thinking of a Venn diagram: one balloon is 'What I said', the other is 'What I didn't say', and the overlap is 'What I'll ruminate over in self-recriminating perpetuity'.
Sandra Bell-Lundy’s Between Friends for the 29th of June, 2019. Essays in which I discuss something brought up by Between Friends should be at this link.

Sandra Bell-Lundy’s Between Friends for the 29th is the Venn Diagram joke for the week. Formally, you have to read this diagram charitably for it to parse. If we take the “what” that Maeve says, or doesn’t say, to be particular sentences, then the intersection has to be empty. You can’t both say and not-say a sentence. But it seems to me that any conversation of importance has the things which we choose to say and the things which we choose not to say. And it is so difficult to get the blend of things said and things unsaid correct. And I realize that the last time Between Friends came up here I was similarly defending the comic’s Venn Diagram use. I’m a sympathetic reader, at least to most comic strips.


And that was the conclusion of comic strips through the 29th of June which mentioned mathematics enough for me to write much about. There were a couple other comics that brought up something or other, though. Wulff and Morgenthaler’s WuMo for the 27th of June has a Rubik’s Cube joke. The traditional Rubik’s Cube has three rows, columns, and layers of cubes. But there’s no reason there can’t be more rows and columns and layers. Back in the 80s there were enough four-by-four-by-four cubes sold that I even had one. Wikipedia tells me the officially licensed cubes have gotten only up to five-by-five-by-five. But that there was a 17-by-17-by-17 cube sold, with prototypes for 22-by-22-by-22 and 33-by-33-by-33 cubes. This seems to me like a great many stickers to peel off and reattach.

And two comic strips did ballistic trajectory calculation jokes. These are great introductory problems for mathematical physics. They’re questions about things people can observe and so have a physical intuition for, and yet involve mathematics that’s not too subtle or baffling. John Rose’s Barney Google and Snuffy Smith mentioned the topic the 28th of June. Doug Savage’s Savage Chickens used it the 28th also, because sometimes comic strips just line up like that.


This and other Reading the Comics posts should be at this link. This includes, I hope, the strips of this past week, that is, the start of July, which should be published Tuesday. Thanks for reading at all.

Reading the Comics, May 20, 2019: I Guess I Took A Week Off Edition


I’d meant to get back into discussing continuous functions this week, and then didn’t have the time. I hope nobody was too worried.

Bill Amend’s FoxTrot for the 19th is set up as geometry or trigonometry homework. There are a couple of angles that we use all the time, and they do correspond to some common unit fractions of a circle: a quarter, a sixth, an eighth, a twelfth. These map nicely to common cuts of circular pies, at least. Well, it’s a bit of a freak move to cut a pie into twelve pieces, but it’s not totally out there. If someone cuts a pie into 24 pieces, flee.

Offscreen voice: 'So a pizza sliced into fourths has ... ' Paige: '90 degrees per slice.' Voice: 'Correct! And a pizza sliced into sixths has ... ' Page: '60 degrees per slice.' Voice: 'Good! And a pizza sliced into eighths has ... ' Paige: '45 degrees per slice.' Voice: 'Yep! I'd say you're ready for your geometry final, Paige.' Paige: 'Woo-hoo!' Voice, revealed to be Peter: 'Now help me clean up these [ seven pizza ] boxes.' Page: 'I still don't understand why teaching me this required *actual* pizzas.'
Bill Amend’s FoxTrot for the 19th of May, 2019. Essays featuring FoxTrot, either the current (Sunday-only) strips or the 1990s-vintage reruns, should be at this link.

Tom Batiuk’s vintage Funky Winkerbean for the 19th of May is a real vintage piece, showing off the days when pocket electronic calculators were new. The sales clerk describes the calculator as having “a floating decimal”. And here I must admit: I’m poorly read on early-70s consumer electronics. So I can’t say that this wasn’t a thing. But I suspect that Batiuk either misunderstood “floating-point decimal”, which would be a selling point, or shortened the phrase in order to make the dialogue less needlessly long. Which is fine, and his right as an author. The technical detail does its work, for the setup, by existing. It does not have to be an actual sales brochure. Reducing “floating point decimal” to “floating decimal” is a useful artistic shorthand. It’s the dialogue equivalent to the implausibly few, but easy to understand, buttons on the calculator in the title panel.

Calculator salesman: 'This little pocket calculator is a real beauty. It's nice and light so you can take it anywhere. It has an eight-digit readout with automatic roundoff. Not only that, but it has a floating decimal which enables you to solve ANY type of problem with it!' Les Moore: 'Amazing! May I try it out?' (To the calculator) 'Hello, pocket calculator? Why do I have so much trouble getting girls to like me?'
Tom Batiuk’s vintage Funky Winkerbean for the 19th of May, 2019. The strip originally ran the 17th of June, 1973. Comics Kingdom is printing both the current Funky Winkerbean strips and early-70s reprints. Essays that mention Funky Winkerbean, old or new, should appear at this link.

Floating point is one of the ways to represent numbers electronically. The storage scheme is much like scientific notation. That is, rather than think of 2,038, think of 2.038 times 103. In the computer’s memory are stored the 2.038 and the 3, with the “times ten to the” part implicit in the storage scheme. The advantage of this is the range of numbers one can use now. There are different ways to implement this scheme; a common one will let one represent numbers as tiny as 10-308 or as large as 10308, which is enough for most people’s needs.

The disadvantage is that floating point numbers aren’t perfect. They have only around (commonly) sixteen digits of significance. That is, the first sixteen or so nonzero numbers in the number you represent mean anything; everything after that is garbage. Most of the time, that trailing garbage doesn’t hurt. But most is not always. Trying to add, for example, a tiny number, like 10-20, to a huge number, like 1020 won’t get the right answer. And there are numbers that can’t be represented correctly anyway, including such exotic and novel numbers as \frac{1}{3} . A lot of numerical mathematics is about finding ways to compute that avoid these problems.

Back when I was a grad student I did have one casual friend who proclaimed that no real mathematician ever worked with floating point numbers, because of the limitations they impose. I could not get him to accept that no, in fact, mathematicians are fine with these limitations. Every scheme for representing numbers on a computer has limitations, and floating point numbers work quite well. At some point, you have to suspect some people would rather fight for a mistaken idea they already have than accept something new.

Matrix-O-Magic: Draw a nine-square grid on a notepad, filling in the numbers 1-9 like this: 2, 9, 4 // 7, 5, 3 // 6, 1, 8 Hand the pad and marker to a friend and tell him to pick any row of three numbers, upward, downward, or diagonal. Tell him to black out any numbers not in his row. Instruct your friend to add up his three randomly chosen numbers. Ask your friend to flip through the rest of the notepad to make sure the pages are blank. All the pages are blank except one. That one bears the number that his numbers added up to: 15. (All the rows/columns/diagonals add to 15; because the other numbers are blacked out your friend won't notice. If asked to do the trick more than once the grid can be made to look different by rotating the order of the numbers left or right, et, 6, 7, 2 // 1, 5, 9 // 8, 3, 4.)
Mac King and Bill King’s Magic in a Minute for the 19th of May, 2019. So far as I know all these panels are new ones, although they do reuse gimmicks now and then. But the arithmetic and logic tricks featured in Magic In A Minute get discussed at this link, when they get mention from me at all.

Mac King and Bill King’s Magic in a Minute for the 19th does a bit of stage magic supported by arithmetic: forecasting the sum of three numbers. The trick is that all eight possible choices someone would make have the same sum. There’s a nice bit of group theory hidden in the “Howdydoit?” panel, about how to do the trick a second time. Rotating the square of numbers makes what looks, casually, like a different square. It’s hard for human to memorize a string of digits that don’t have any obvious meaning, and the longer the string the worse people are at it. If you’ve had a person — as directed — black out the rows or columns they didn’t pick, then it’s harder to notice the reused pattern.

The different directions that you could write the digits down in represent symmetries of the square. That is, geometric operations that would replace a square with something that looks like the original. This includes rotations, by 90 or 180 or 270 degrees clockwise. Mac King and Bill King don’t mention it, but reflections would also work: if the top row were 4, 9, 2, for example, and the middle 3, 5, 7, and the bottom 8, 1, 6. Combining rotations and reflections also works.

If you do the trick a second time, your mark might notice it’s odd that the sum came up 15 again. Do it a third time, even with a different rotation or reflection, and they’ll know something’s up. There are things you could do to disguise that further. Just double each number in the square, for example: a square of 4/18/8, 14/10/6, 12/2/16 will have each row or column or diagonal add up to 30. But this loses the beauty of doing this with the digits 1 through 9, and your mark might grow suspicious anyway. The same happens if, say, you add one to each number in the square, and forecast a sum of 18. Even mathematical magic tricks are best not repeated too often, not unless you have good stage patter.

Wavehead, to classmate, over lunch: 'Did you know that every square is a rhombus, but not every rhombus is a square? I mean, you can't make this stuff up!'
Mark Anderson’s Andertoons for the 20th of May, 2019. Always glad to discuss Andertoons, as you can see from these essays.

Mark Anderson’s Andertoons for the 20th is the Mark Anderson’s Andertoons for the week. Wavehead’s marveling at what seems at first like an asymmetry, about squares all being rhombuses yet rhombuses not all being squares. There are similar results with squares and rectangles. Still, it makes me notice something. Nobody would write a strip where the kid marvelled that all squares were polygons but not all polygons were squares. It seems that the rhombus connotes something different. This might just be familiarity. Polygons are … well, if not a common term, at least something anyone might feel familiar. Rhombus is a more technical term. It maybe never quite gets familiar, not in the ways polygons do. And the defining feature of a rhombus — all four sides the same length — seems like the same thing that makes a square a square.


There should be another Reading the Comics post this coming week, and it should appear at this link. I’d like to publish it Tuesday but, really, Wednesday is more probable.

Reading the Comics, May 11, 2019: I Concede I Am Late Edition


I concede I am late in wrapping up last week’s mathematically-themed comics. But please understand there were important reasons for my not having posted this earlier, like, I didn’t get it written in time. I hope you understand and agree with me about this.

Bill Griffith’s Zippy the Pinhead for the 9th brings up mathematics in a discussion about perfection. The debate of perfection versus “messiness” begs some important questions. What I’m marginally competent to discuss is the idea of mathematics as this perfect thing. Mathematics seems to have many traits that are easy to think of as perfect. That everything in it should follow from clearly stated axioms, precise definitions, and deductive logic, for example. This makes mathematics seem orderly and universal and fair in a way that the real world never is. If we allow that this is a kind of perfection then … does mathematics reach it?

Sluggo: 'You don't mess with perfection, Zippy.' Zippy: 'Sluggo, are you saying you're perfect?' Sluggo: 'Yes. I am perfect.' Zippy: 'And I am perfect too, Sluggo, huh?' Sluggo: 'No. You are not perfect. Your lines and your circles are irregular and messy.' Zippy: 'Which is better, Sluggo, perfect or messy?' Sluggo: 'Perfect is better. In a fight between messy and perfect, Sluggo always kills Zippy!' Zippy: 'In lieu of a human sacrifice, please accept this perfect parallelogram!'
Bill Griffith’s Zippy the Pinhead for the 9th of May, 2019. I am surprised to learn this is not a new tag. Essays discussing Zippy the Pinhead are at this link. Ernie, here, is Ernie Bushmiller, creator and longtime artist and writer for Nancy. He’s held in regard by some of the art community for his economic and streamlined drawing and writing style. You might or might not like his jokes, but you can’t deny that he made it easy to understand what was supposed to be funny and why it was supposed to be. It’s worth study if you like to know how comic strips can work.

Even the idea of a “precise definition” is perilous. If it weren’t there wouldn’t be so many pop mathematics articles about why 1 isn’t a prime number. It’s difficult to prove that any particular set of axioms that give us interesting results are also logically consistent. If they’re not consistent, then we can prove absolutely anything, including that the axioms are false. That seems imperfect. And few mathematicians even prepare fully complete, step-by-step proofs of anything. It takes ridiculously long to get anything done if you try. The proofs we present tend to show, instead, the reasoning in enough detail that we’re confident we could fill in the omitted parts if we really needed them for some reason. And that’s fine, nearly all the time, but it does leave the potential for mistakes present.

Zippy offers up a perfect parallelogram. Making it geometry is of good symbolic importance. Everyone knows geometric figures, and definitions of some basic ideas like a line or a circle or, maybe, a parallelogram. Nobody’s ever seen one, though. There’s never been a straight line, much less two parallel lines, and even less the pair of parallel lines we’d need for a parallellogram. There can be renderings good enough to fool the eye. But none of the lines are completely straight, not if we examine closely enough. None of the pairs of lines are truly parallel, not if we extend them far enough. The figure isn’t even two-dimensional, not if it’s rendered in three-dimensional things like atoms or waves of light or such. We know things about parallelograms, which don’t exist. They tell us some things about their shadows in the real world, at least.

Business Man on phone: 'A trillion is still a stop-and-think decision for me.'
Mark Litzler’s Joe Vanilla for the 9th of May, 2019. And this one is just barely not a new tag. This and other essays mentioning Joe Vanilla should be at this link.

Mark Litzler’s Joe Vanilla for the 9th is a play on the old joke about “a billion dollars here, a billion dollars there, soon you’re talking about real money”. As we hear more about larger numbers they seem familiar and accessible to us, to the point that they stop seeming so big. A trillion is still a massive number, at least for most purposes. If you aren’t doing combinatorics, anyway; just yesterday I was doing a little toy problem and realized it implied 470,184,984,576 configurations. Which still falls short of a trillion, but had I made one arbitrary choice differently I could’ve blasted well past a trillion.

A Million Monkeys At A Million Typewriters. Scene of many monkeys on typewriters. One pauses, and thinks, and eventually pulls a bottle of liquor from the desk, thinking: 'But how can I credibly delay Hamlet's revenge until Act V?'
Ruben Bolling’s Super-Fun-Pak Comix for the 9th of May, 2019. This one I knew wouldn’t be a new tag, not with how nerdy-but-in-the-good-ways Ruben Bolling writes. Essays mentioning Super-Fun-Pak Comix are at this link.

Ruben Bolling’s Super-Fun-Pak Comix for the 9th is another monkeys-at-typewriters joke, that great thought experiment about probability and infinity. I should add it to my essay about the Infinite Monkey Theorem. Part of the joke is that the monkey is thinking about the content of the writing. This doesn’t destroy the prospect that a monkey given enough time would write any of the works of William Shakespeare. It makes the simple estimates of how unlikely that is, and how long it would take to do, invalid. But the event might yet happen. Suppose this monkey decided there was no credible way to delay Hamlet’s revenge to Act V, and tried to write accordingly. Mightn’t the monkey make a mistake? It’s easy to type a letter you don’t mean to. Or a word you don’t mean to. Why not a sentence you don’t mean to? Why not a whole act you don’t mean to? Impossible? No, just improbable. And the monkeys have enough time to let the improbable happen.

A big wobbly scribble. Caption; 'Eric the Circle in the 20th dimension, where shape has no meaning.'
Eric the Circle, this by Kingsnake, for the 10th of May, 2019. I keep figuring to retire Eric the Circle as it seems to be all in reruns. But then I keep finding strips that, as far as I can tell, I haven’t discussed before. Essays about stuff raised by Eric the Circle should be at this link.

Eric the Circle for the 10th, this one by Kingsnake, declares itself set in “the 20th dimension, where shape has no meaning”. This plays on a pop-cultural idea of dimensions as a kind of fairyland, subject to strange and alternate rules. A mathematician wouldn’t think of dimensions that way. 20-dimensional spaces — and even higher-dimensional spaces — follow rules just as two- and three-dimensional spaces do. They’re harder to draw, certainly, and mathematicians are not selected for — or trained in — drawing, at least not in United States schools. So attempts at rendering a high-dimensional space tend to be sort of weird blobby lumps, maybe with a label “N-dimensional”.

And a projection of a high-dimensional shape into lower dimensions will be weird. I used to have around here a web site with a rotatable tesseract, which would draw a flat-screen rendition of what its projection in three-dimensional space would be. But I can’t find it now and probably it ran as a Java applet that you just can’t get to work anymore. Anyway, non-interactive videos of this sort of thing are common enough; here’s one that goes through some of the dimensions of a tesseract, one at a time. It’ll give some idea how something that “should” just be a set of cubes will not look so much like that.

Hayden: 'I don't need to know long division because there's a calculator on my phone.' Dustin: 'What happens if someday you don't have a phone?' Hayden: 'Then I've got problems long division won't solve.'
Steve Kelly and Jeff Parker’s Dustin for the 11th of May, 2019. And, you know, this strip is just out there, doing its business. Essays about some topic raised by Dustin are at this link.

Steve Kelly and Jeff Parker’s Dustin for the 11th is a variation on the “why do I have to learn this” protest. This one is about long division and the question of why one needs to know it when there’s cheap, easily-available tools that do the job better. It’s a fair question and Hayden’s answer is a hard one to refute. I think arithmetic’s worth knowing how to do, but I’ll also admit, if I need to divide something by 23 I’m probably letting the computer do it.


And a couple of the comics that week seemed too slight to warrant discussion. You might like them anyway. Brian Boychuk and Ron Boychuk’s Chuckle Brothers for the 5th featured a poorly-written numeral. Charles Schulz’s Peanuts Begins rerun for the 6th has Violet struggling with counting. Glenn McCoy and Gary McCoy’s The Flying McCoys for the 8th has someone handing in mathematics homework. Henry Scarpelli and Craig Boldman’s Archie rerun for the 9th talks about Jughead sleeping through mathematics class. All routine enough stuff.


This and other Reading the Comics posts should appear at this link. I mean to have a post tomorrow, although it might make my work schedule a little easier to postpone that until Monday. We’ll see.

Reading the Comics, May 8, 2019: Strips With Art I Like Edition


Of course I like all the comics. … Well, that’s not literally true; but I have at least some affection for nearly all of the syndicated comics. This essay I bring up some strips, partly, because I just like them. This is my content hole. If you want a blog not filled with comic strips, go start your own and don’t put these things on it.

Mark Anderson’s Andertoons for the 5th is the Mark Anderson’s Andertoons for the week. Also a bit of a comment on the ability of collective action to change things. Wavehead is … well, he’s just wrong about making the number four plus the number four equal to the number seven. Not based on the numbers we mean by the words “four” and “seven”, and based on the operation we mean by “plus” and the relationship we mean by “equals”. The meaning of those things is set by, ultimately, axioms and deductive reasoning and the laws of deductive reasoning and there’s no changing the results.

Wavehead, to another student: 'If I say 4 + 4 = 7 it's wrong. If you say 4 + 4 = 7 it's wrong. But if the entire first grade says 4 + 4 = 7, well, now she has to take us seriously.
Mark Anderson’s Andertoons for the 5th of May, 2019. Essays mentioning Andertoons are at this link and also at nearly every Reading the Comics post, it feels like.

But. The thing we’re referring to when we say “seven”? Or when we write the symbol “7”? That is convention. That is a thing we’ve agreed on as a reference for this concept. And that we can change, if we decide we want to. We’ve done this. Look at a thousand-year-old manuscript and the symbol that looks like ‘4’ may represent the number we call five. And the names of numbers are just common words. They’re subject to change the way every other common word is. Which is, admittedly, not very subject. It would be almost as much bother to change the word ‘four’ as it would be to change the word ‘mom’. But that’s not impossible. Just difficult.

Viivi: 'Oh, sorry! Oh, pain!' Wagner: 'Stop worrying. 85% of fears never come through.' Viivi: 'That means 15% do! It's worse than I thought.'
Juba’s Viivi and Wagner for the 5th of May, 2019. I don’t often have chances to talk about Viivi and Wagner but when I do, it’s here.

Juba’s Viivi and Wagner for the 5th is a bit of a percentage joke. The characters also come to conclude that a thing either happens or it does not; there’s no indefinite states. This principle, the “excluded middle”, is often relied upon for deductive logic, and fairly so. It gets less clear that this can be depended on for predictions of the future, or fears for the future. And real-world things come in degrees that a mathematical concept might not. Like, your fear of the home catching fire comes true if the building burns down. But it’s also come true if a quickly-extinguished frying pan fire leaves the wall scorched, embarrassing but harmless. Anyway, relaxing someone else’s anxiety takes more than a quick declaration of statistics. Show sympathy.

Dogs in school. The dog teacher is pointing to '1 + 1' on the blackboard. A dog student whispers to the other, 'Sometimes I feel so stupid.'
Harry Bliss and Steve Martin’s Bliss for the 6th of May, 2019. Yes, by the way, it’s the Steve Martin you know and love from Looney Tunes: Back In Action and from the 1996 Sergeant Bilko movie. Anyway I haven’t had chance to write about this strip before but this and future appearances of Bliss should be here.

Harry Bliss and Steve Martin’s Bliss for the 6th is a cute little classroom strip, with arithmetic appearing as the sort of topic that students feel overwhelmed and baffled by. It could be anything, but mathematics uses the illustration space efficiently. The strip may properly be too marginal to include, but I like Bliss’s art style and want more people to see it.

Spud: 'It's official, Wallace. My socks are *too* tight. And I know it'll take at least three minutes to run home and change. Yet I can see the bus is only two stops away.' Wallace: 'I can stall for a good thirty seconds.' Spud: 'My life is a sadistic math problem.'
Will Henry’s Wallace the Brave for the 7th of May, 2019. This is one of the comic strips I’m most excited about, the last several years. Wallace the Brave appears in essays at this link.

Will Henry’s Wallace the Brave for the 7th puts up what Spud calls a sadistic math problem. And, well, it is a story problem happening in their real life. You could probably turn this into an actual exam problem without great difficulty.

Ruthie, holding up a triangle: 'What's this shape?' James: 'A square!' Ruthie: 'I already *told* you what it is, James! You're just acting dumb to hurt my feelings! Stop it! N-n-now (sob) what does this look like to you? (Sniff)?' James: 'A cryangle!'
Rick Detorie’s One Big Happy for the 8th of May, 2019. There are two strings of One Big Happy available for daily reading. Appearances by the current or the several-years-old GoComics prints of One Big Happy should be at this link.

Rick Detorie’s One Big Happy for the 8th is a bit of wordplay built around geometry, as Ruthie plays teacher. She’s a bit dramatic, but she always has been.


I’ll read some more comics for later in this week. That essay, and all similar comic strip talk, should appear at this link. Thank you.

Reading the Comics, April 24, 2019: Mic Drop Edition Edition


I can’t tell you how hard it is not to just end this review of last week’s mathematically-themed comic strips after the first panel here. It really feels like the rest is anticlimax. But here goes.

John Deering’s Strange Brew for the 20th is one of those strips that’s not on your mathematics professor’s office door only because she hasn’t seen it yet. The intended joke is obvious, mixing the tropes of the Old West with modern research-laboratory talk. “Theoretical reckoning” is a nice bit of word juxtaposition. “Institoot” is a bit classist in its rendering, but I suppose it’s meant as eye-dialect.

Cowboys at the 'Institoot of Theoretical Reckoning'. One at the whiteboard says, 'Well, boys, looks like this here's the end of the line!' The line is a long string of what looks like legitimate LaTeX
John Deering’s Strange Brew for the 20th of April, 2019. Other appearances by Strange Brew, including ones less diligent about making the blackboard stuff sensible, are at this link.

What gets it a place on office doors is the whiteboard, though. They’re writing out mathematics which looks legitimate enough to me. It doesn’t look like mathematics though. What’s being written is something any mathematician would recognize. It’s typesetting instructions. Mathematics requires all sorts of strange symbols and exotic formatting. In the old days, we’d handle this by giving the typesetters hazard pay. Or, if you were a poor grad student and couldn’t afford that, deal with workarounds. Maybe just leave space in your paper and draw symbols in later. If your university library has old enough papers you can see them. Maybe do your best to approximate mathematical symbols using ASCII art. So you get expressions that look something like this:

  / 2 pi  
 |   2
 |  x cos(theta) dx - 2 F(theta) == R(theta)
 |
/ 0

This gets old real fast. Mercifully, Donald Knuth, decades ago, worked out a great solution. It uses formatting instructions that can all be rendered in standard, ASCII-available text. And then by dark incantations and summoning of Linotype demons, re-renders that as formatted text. It handles all your basic book formatting needs — much the way HTML, used for web pages, will — and does mathematics much more easily. For example, I would enter a line like:

\int_{0}^{2\pi} x^2 \cos(\theta) dx - 2 F(\theta) \equiv R(\theta)

And this would be rendered in print as:

\int_{0}^{2\pi} x^2 \cos(\theta) dx - 2 F(\theta) \equiv R(\theta)

There are many, many expansions available to this, to handle specialized needs, hardcore mathematics among them.

Anyway, the point that makes me realize John Deering was aiming at everybody with an advanced degree in mathematics ever with this joke, using a string of typesetting instead of the usual equations here?

The typesetting language is named TeX.

Wavehead, at lunch: 'You know if I were the other shapes I'd be like, 'listen, circle, you can have a perimeter or a circumference, but you can't have both'.'
Mark Anderson’s Andertoons for the 21st of April, 2019. When do I ever not discuss this comic? All the essays at this link are about Andertoons, at least in part.

Mark Anderson’s Andertoons for the 21st is the Mark Anderson’s Andertoons for the week. It’s about one of those questions that nags at you as a kid, and again periodically as an adult. The perimeter is the boundary around a shape. The circumference is the boundary around a circle. Why do we have two words for this? And why do we sound all right talking about either the circumference or the perimeter of a circle, while we sound weird talking about the circumference of a rhombus? We sound weird talking about the perimeter of a rhombus too, but that’s the rhombus’s fault.

The easy part is why there’s two words. Perimeter is a word of Greek origin; circumference, of Latin. Perimeter entered the English language in the early 15th century; circumference in the 14th. Why we have both I don’t know; my suspicion is either two groups of people translating different geometry textbooks, or some eager young Scholastic with a nickname like ‘Doctor Magnifico Triangulorum’ thought Latin sounded better. Perimeter stuck with circules early; every etymology I see about why we use the symbol π describes it as shorthand for the perimeter of the circle. Why `circumference’ ended up the word for circles or, maybe, ellipses and ovals and such is probably the arbitrariness of language. I suspect that opening “circ” sound cues people to think of it for circles and circle-like shapes, in a way that perimeter doesn’t. But that is my speculation and should not be mistaken for information.

Information panel about numerals, including a man who typed every number from one to a million, using one finger; it took over 16 years, seven months. Puzzle: add together every number that, written as a word, consists of three letters; what's the total?
Steve McGarry’s KidTown for the 21st of April, 2019. It’s rare that this panel is on-topic enough for me to bring up, but at least a few KidTown panels are discussed here.

Steve McGarry’s KidTown for the 21st is a kids’s information panel with a bit of talk about representing numbers. And, in discussing things like how long it takes to count to a million or a billion, or how long it would take to type them out, it gets into how big these numbers can be. Les Stewart typed out the English names of numbers, in words, by the way. He’d also broken the Australian record for treading water, and for continuous swimming.

Bub: 'I don't like crosswords because I'm not good at word stuff. I'm much better at math. That's why I like sudoku.' Betty: 'What math? There's no adding or subtracting or multiplying in sudoku.' Bub: 'That's my favorite kind of math.' Betty: 'If you were better at word stuff, you'd know you're confusing math with logic.'
Gary Delainey and Gerry Rasmussen’s Betty for the 24th of April, 2019. I don’t seem to have discussed this comic before. This and future appearances by Betty should be at this link.

Gary Delainey and Gerry Rasmussen’s Betty for the 24th is a sudoku comic. Betty makes the common, and understandable, conflation of arithmetic with mathematics. But she’s right in identifying sudoku as a logical rather than an arithmetic problem. You can — and sometimes will see — sudoku type puzzles rendered with icons like stars and circles rather than numerals. That you can make that substitution should clear up whether there’s arithmetic involved. Commenters at GoComics meanwhile show a conflation of mathematics with logic. Certainly every mathematician uses logic, and some of them study logic. But is logic mathematics? I’m not sure it is, and our friends in the philosophy department are certain it isn’t. But then, if something that a recognizable set of mathematicians study as part of their mathematics work isn’t mathematics, then we have a bit of a logic problem, it seems.


Come Sunday I should have a fresh Reading the Comics essay available at this link.

Six Or Arguably Four Things For Pi Day


I hope you’ll pardon me for being busy. I haven’t had the chance to read all the Pi Day comic strips yet today. But I’d be a fool to let the day pass without something around here. I confess I’m still not sure that Pi Day does anything lasting to encourage people to think more warmly of mathematics. But there is probably some benefit if people temporarily think more fondly of the subject. Certainly I’ll do more foolish things than to point at things and say, “pi, cool, huh?” this week alone.

I’ve got a couple of essays that discuss π some. The first noteworthy one is Calculating Pi Terribly, discussing a way to calculate the value of π using nothing but a needle, a tile floor, and a hilariously excessive amount of time. Or you can use an HTML5-and-JavaScript applet and slightly less time, and maybe even experimentally calculate the digits of π to two decimal places, if you get lucky.

Randolph dreaming about his presentation; it shows a Pie Chart: Landed On Stage, 28%. Back wall, 13%. Glancing blow off torso, 22%. Hit podium, 12%. Direct hit in face, 25%. Several pies have been thrown, hitting the stage, back wall, his torso, the podium, his face. Corner illustration: 'I turn now to the bar graph.'
Tom Toles’s Randolph Itch, 2am for the 11th of June, 2018. I’m not sure when it did first run, past that it was in 2000, but I’ve featured it at least two times before, both of those in 2015, peculiarly. So in short I have no idea how GoComics picks its reruns for this strip.

In Calculating Pi Less Terribly I showed a way to calculate π that’s … well, you see where that sentence was going. This is a method that uses an alternating series. To get π exactly correct you have to do an infinite amount of work. But if you just want π to a certain precision, all right. This will even tell you how much work you have to do. There are other formulas that will get you digits of π with less work, though, and maybe I’ll write up one of those sometime.

Jack-o-lantern standing on a scale: 'Hey! I weigh exactly 3.14 pounds!' Caption: 'Pumpkin Pi'.
Dave Whamond’s Reality Check for the 27th of October, 2018. Does the weight count if the jack-o-lantern is wearing sneakers?

And the last of the relevant essays I’ve already written is an A To Z essay about normal numbers. I don’t know whether π is a normal number. No human, to the best of my knowledge, does. Well, anyone with an opinion on the matter would likely say, of course it’s normal. There’s fantastic reasons to think it is. But none of those amount to a proof it is.

[PI sces ] Guy at bar talking to Pi: 'Wow, so you were born on March 14th at 1:59, 26 seconds? What're the odds?'
Scott Hilburn’s The Argyle Sweater for the 14th of March, 2018. Also a free probability question, if you’re going to assume that every second of the year is equally likely to be the time of birth.

That’s my three items. After that I’d like to share … I don’t know whether to classify this as one or three pieces. They’re YouTube videos which a couple months ago everybody in the world was asking me if I’d seen. Now it’s your turn. I apologize if you too got this, a couple months ago, but don’t worry. You can tell people you watched and not actually do it. I’ll alibi you.

Pi figure, wearing glasses, reading The Neverending Story.
Mark Parisi’s Off The Mark for the 14th of March, 2018. Really the book seems a little short for that.

It’s a string of videos posted on youTube by 3Blue1Brown. The first lays out the matter with a neat physics problem. Imagine you have an impenetrable wall, a frictionless floor, and two blocks. One starts at rest. The other is sliding towards the first block and the wall. How many times will one thing collide with another? That is, will one block collide with another block, or will one block collide with a wall?

[ How ancient mathematicians amused themselves, AKA how to celebrate Pi Day today; third annual Pi-Easting Contest. Emcee: 'And HERE he is, our defending champ, that father of conic sections --- ARCHIMEDES!' They're all eating cakes shaped like pi.
Michael Cavna’s Warped for the 14th of March, 2018. Yes, but have you seen Pythagoras and his golden thigh?

The answer seems like it should depend on many things. What it actually depends on is the ratio of the masses of the two blocks. If they’re the same mass, then there are three collisions. You can probably work that sequence out in your head and convince yourself it’s right. If the outer block has ten times the mass of the inner block? There’ll be 31 collisions before all the hits are done. You might work that out by hand. I did not. You will not work out what happens if the outer block has 100 times the mass of the inner block. That’ll be 314 collisions. If the outer block has 1,000 times the mass of the inner block? 3,141 collisions. You see where this is going.

[ To Stephen Hawking, Thanks for making the Universe a little easier for the rest of us to understand ] Jay: 'I suppose it's only appropriate that he'd go on Pi Day.' Roy: 'Not to mention, Einstein's birthday.' Katherine: 'I'll bet they're off in some far reach of the universe right now playing backgammon.'
John Zakour and Scott Roberts’s Working Daze for the 15th of March, 2018. No, you should never read the comments, but here, really, don’t read the comments.

The second video in the sequence explains why the digits of π turn up in this. And shows how to calculate this. You could, in principle, do this all using Newtonian mechanics. You will not live long enough to finish that, though.

Pie chart. Most of the chart: 'likes pie'. Small wedge of the chart: 'likes charts'.
Daniel Beyer’s Long Story Short for the 14th of March, 2015.

The video shows a way that saves an incredible load of work. But you save on that tedious labor by having to think harder. Part of it is making use of conservation laws, that energy and linear momentum are conserved in collisions. But part is by recasting the problem. Recast it into “phase space”. This uses points in an abstract space to represent different configurations of a system. Like, how fast blocks are moving, and in what direction. The recasting of the problem turns something that’s impossibly tedious into something that’s merely … well, it’s still a bit tedious. But it’s much less hard work. And it’s a good chance to show off you remember the Inscribed Angle Theorem. You do remember the Inscribed Angle Theorem, don’t you? The video will catch you up. It’s a good show of how phase spaces can make physics problems so much more manageable.

'Happy Pi Day.' 'Mmm. I love apple pie.' 'Pi day, not Pie Day. Pi ... you know ... 3.14 ... March 14th. Get it?' 'Today is a pie-eating holiday?' 'Sort of. They do celebrate it with pie, but it's mostly about pi.' 'I don't understand what that kid says half the time.'
John Hambrock’s The Brilliant Mind of Edison Lee for the 14th of March, 2016. The strip is like this a lot.

The third video recasts the problem yet again. In this form, it’s about rays of light reflecting between mirrors. And this is a great recasting. That blocks bouncing off each other and walls should have anything to do with light hitting mirrors seems ridiculous. But set out your phase space, and look hard at what collisions and reflections are like, and you see the resemblance. The sort of trick used to make counting reflections easy turns up often in phase spaces. It also turns up in physics problems on toruses, doughnut shapes. You might ask when do we ever do anything on a doughnut shape. Well, real physical doughnuts, not so much. But problems where there are two independent quantities, and both quantities are periodic? There’s a torus lurking in there. There might be a phase space using that shape, and making your life easier by doing so.

Anthropomorphic numerals at a cocktail party. 2: 'You're greater than me. I could listen to you forever.' Pi: 'Aw, shucks. I'm blushing.' (It is.) Caption: 'Humble Pi.'
Scott Hilburn’s The Argyle Sweater for the 14th of March, 2017. And while the strip is true, arguably, 2 goes on forever also; it’s just not very interesting how it does.

That’s my promised four or maybe six items. Pardon, please, now, as I do need to get back to reading the comics.

Proving That Disturbing Triangle Theorem That Isn’t Morley’s Somehow


I couldn’t leave people just hanging on that triangle theorem from the other day. Tthis was a compass-and-straightedge method to split a triangle into two shapes of equal area. The trick was you could split it along any point on one of the three legs of the triangle.

The theorem unsettled me, yes. But proving that it does work is not so bad and I thought to do that today.

The process: start with a triangle ABC. Pick a point P on one of the legs. We’ll say it’s on leg AB. Draw the line segment from the other vertex, C, to point P.

Now from the median point S on leg AB, draw the line parallel to PC and that intersects either leg AC or leg BC. Label that point R. The line segment RP cuts the triangle ABC into one triangle and another shape, normally a quadrilateral. Both shapes have the same area, half that of the original triangle.

To prove it nicely will involve one extra line, and the identification of one point. Construct the line SC. Lines SC and PC intersect at some point; call that Q. I’ve actually made a diagram of this, just below. I’ve put the intersection point R on the leg AC. All that would change if the point R were on BC instead would be some of the labels.

A triangle, vertices labeled ABC. The point midway between A and B is labelled S. Another point on AB, near B, is labelled P. Several interior lines are drawn. One is the line PC. Another is the line SR which is parallel to PC and which intersects AC. Next is the line PR. Also there is the line SC. The point where SC intersects PR is labelled Q.
I know, I know, it goes against my whole brand around here to go including a picture where one would really help clear up things. Also it’s not until you start drawing a sketch like this, and realize how much easier it is to read if you have a couple different colors, that you realize how few colors of marker you have accessible in the house at any one time.

Here’s how the proof will go. I want to show triangle APR has half the area of triangle ABC. The area of triangle ARP has to be equal to the area of triangle ASC, plus the area of triangle SPQ, minus the area of triangle QCR. So the first step is proving that triangle ASC has half the area of triangle ABC. The second step is showing triangle SPQ has the same area as does triangle QCR. When that’s done, we know triangle APR has the same area as triangle ASC, which is half that of triangle ABC.

First. That ASC has half the area of triangle ABC. The area of a triangle is one-half times the length of a base times its height. The base is any of the three legs which connect two points. The height is the perpendicular distance from the third point to the line that first leg is on. Here, take the base of triangle ABC to be the line segment AC. Also take the base of triangle ASC to be the line segment AC. They have the same base. Point S is the median of the line segment AB. So point S is half as far from the base AC as the point B is. Triangle ASC has half the height of triangle ABC. Same base, half the height. So triangle ASC has half the area of triangle ABC.

Second. That triangle SPQ has the same area as triangle QCR. This is going to be most easily done by looking at two other triangles, SPC and PCR. They’re relevant to triangles SPQ and QCR. Triangle SPC has the same area as triangle PCR. Take as the base for both of them the leg PC. Point S and point R are both on the line SR. SR was created parallel to the line PC. So the perpendicular distance from point S to line PC has to be the same as the perpendicular distance from point R to the line PC. Triangle SPC has the same base and same height as does triangle PCR. So they have the same area.

Now. Triangle SPC is made up of two smaller triangles: triangle SPQ and triangle PCQ. Its area is split, somehow, between those two. Triangle PCR is also made of two smaller triangles: triangle PCQ and triangle QCR. Its area is split between those two.

The area of triangle SPQ plus the area of triangle PCQ is the same as the area of triangle SPC. This is equal to the area of triangle PCR. The area of triangle PCR is the area of triangle PCQ plus the area of triangle QCR.

And that all adds up only if the area of triangle SPQ is the same as the area of triangle QCR.

So. We had that area of triangle APR is equal to the area of triangle ASC plus the area of triangle SPQ minus the area of triangle QCR. That’s the area of triangle ASC plus zero. And that’s half the area of triangle ABC. Whatever shape is left has to have the remaining area, half the area of triangle ABC.

It’s still such a neat result.


Morley’s theorem, by the way, says this: take any triangle. Trisect each of its three interior angles. That is, for each vertex, draw the two lines that cut the interior angle into three equal spans. This creates six lines. Take the three points where these lines for adjacent angles intersect. (That is, draw the obvious intersection points.) This creates a new triangle. It’s equilateral. What business could an equilateral triangle possibly have in all this? Exactly.

In Which I Am Disturbed By A Triangle Theorem That Isn’t Morley’s Somehow


I’ve been reading Alfred S Posamentier and Ingmar Lehmann’s The Secrets of Triangles: A Mathematical Journey. It is exactly what you’d think: 365 pages, plus endnotes and an index, describing what we as a people have learned about triangles. It’s almost enough to make one wonder if we maybe know too many things about triangles. I admit letting myself skim over the demonstration of how, using straightedge and compass, to construct a triangle when you’re given one interior angle, the distance from another vertex to its corresponding median point, and the radius of the triangle’s circumscribed circle.

But there are a bunch of interesting theorems to find. I wanted to share one. When I saw it I felt creeped out. The process seemed like a bit of dark magic, a result starting enough that it seemed to come from nowhere. Here it is.

Start with any old triangle ABC. Without loss of generality, select a point along the leg AB (other than the vertices). Call that point P. (This same technique would work if you put your point on another leg, but I would have to change the names of the vertices and line segments from here on. But it doesn’t matter what the names of the vertices are. So I can suppose that I was lucky enough that whatever leg you put your point P on I happened to name AB.)

Now. Pick the midpoint of the leg AB. This median is a point we’ll label S.

Draw the line PC.

Draw the line parallel to the line PC and which passes through S. This will intersect either the line segment BC or the line segment AC. Whichever it is, label this point of intersection R.

Draw the line from R to P.

The line RP divides the triangle ABC into two shapes, a triangle and (unless your P was the median point S) a quadrilateral.

The punch line: both shapes have half the area of the original triangle.

I usually read while eating. This was one of those lines that made me put the fork down and stare, irrationally angry, until I could work through the proof. It didn’t help that you can use a technique like this to cut the triangle into any whole number you like of equal-area wedges.

I’m sure this is old news to a fair number of readers. I don’t care. I haven’t noticed this before. And yes, it’s not as scary weird magic as Morley’s Theorem. But I’ve seen that one before, long enough ago I kind of accept it.

Reading the Comics, January 30, 2019: Interlude Edition


I think there are just barely enough comic strips from the past week to make three essays this time around. But one of them has to be a short group, only three comics. That’ll be for the next essay when I can group together all the strips that ran in February. One strip that I considered but decided not to write at length about was Ed Allison’s dadaist Unstrange Phenomena for the 28th. It mentions Roman Numerals and the idea of sneaking message in through them. But that’s not really mathematics. I usually enjoy the particular flavor of nonsense which Unstrange Phenomena uses; you might, too.

John McPherson’s Close to Home for the 29th uses an arithmetic problem as shorthand for an accomplished education. The problem is solvable. Of course, you say. It’s an equation with quadratic polynomial; it can hardly not be solved. Yes, fine. But McPherson could easily have thrown together numbers that implied x was complex-valued, or had radicals or some other strange condition. This is one that someone could do in their heads, at least once they practiced in mental arithmetic.

Cars lined up at a toll booth. The sign reads: 'Welcome to New York State! To enter the state, please solve the following problem: (2x^2 + 7)/3 = 13, solve for x'. Attendant telling a driver: 'It's part of the state's new emphasis on improving education. I'm afraid you'll have to turn around, Mr Strob.'
John McPherson’s Close to Home for the 29th of January, 2019. Essays inspired by Close To Home should appear at this link.

I feel reasonably confident McPherson was just having a giggle at the idea of putting knowledge tests into inappropriate venues. So I’ll save the full rant. But there is a long history of racist and eugenicist ideology that tried to prove certain peoples to be mentally incompetent. Making an arithmetic quiz prerequisite to something unrelated echoes that. I’d have asked McPherson to rework the joke to avoid that.

(I’d also want to rework the composition, since the booth, the swinging arm, and the skirted attendant with the clipboard don’t look like any tollbooth I know. But I don’t have an idea how to redo the layout so it’s more realistic. And it’s not as if that sort of realism would heighten the joke.)

Lecturer: 'Since Babylonian days mathematicians have wondered if it were possible to 'square the circle' using only a compass and straightedge. Mathematicians *supposedly* proved you couldn't back in 1882. They were wrong. Imagine your compass and straightedge. First, put a pencil on one end of the compass and an eraser on the other. Second, designate any number of tiny boxes on your straightedge. Using the compass, you can draw or erase symbols on the straightedge. And what's *that* called? A Turing machine. So now we can rephrase the problem: using only a *computer*, can you construct a square with the same area as a given circle? Using this general method we can unlock *all* 'compass and straightedge' problems! Attendee: 'Are you missing the point accidentally or strategically?' Lecturer: 'I'm mostly trying to make the philosophy students sad.'
Zach Weinersmith’s Saturday Morning Breakfast Cereal for the 29th of January, 2019. Every Reading the Comics essay has a bit of Saturday Morning Breakfast Cereal in it. The essays with a particularly high Breakfast Cereal concentration appear at this link, though.

Zach Weinersmith’s Saturday Morning Breakfast Cereal for the 29th riffs on the problem of squaring the circle. This is one of three classical problems of geometry. The lecturer describes it just fine: is it possible to make a square that’s got the same area as a given circle, using only straightedge and compass? There are shapes it’s easy to do this for, such as rectangles, parallelograms, triangles, and (why not?) this odd crescent-moon shaped figure called the lune. Circles defied all attempts. In the 19th century mathematicians found ways to represent the operations of classical geometry with algebra, and could use the tools of algebra to show squaring the circle was impossible. The squaring would be equivalent to finding a polynomial, with integer coefficients, that has \sqrt{\pi} as a root. And we know from the way algebra works that this can’t be done. So squaring the circle can’t be done.

The lecturer’s hack, modifying the compass and straightedge, lets you in principle do whatever you want. The hack isn’t new either. Modifying the geometric tools changes what you can and can’t do. The Ancient Greeks recognized that adding some specialized tools would make the problem possible. But that falls outside the scope of the problem.

Which feeds to the secondary joke, of making the philosophers sad. Often philosophy problems test one’s intuition about an idea by setting out a problem, often with unpleasant choices. A common problem with students that I’m going ahead and guessing are engineers is then attacking the setup of the question, trying to show that the problem couldn’t actually happen. You know, as though there were ever a time significant numbers of people were being tied to trolley tracks. (By the way, that thing about silent movie villains tying women to railroad tracks? Only happened in comedies spoofing Victorian melodramas. It’s always been a parody.) Attacking the logic of a problem may make for good movie drama. But it makes for a lousy student and a worse class discussion.

Li'l Bo: 'How are you on logic, Quincy?' Quincy: 'Average, I guess. I can usually put two and two together, but sometimes I have a fraction or so left over.'
Ted Shearer’s Quincy for the 30th of January, 2019. It originally ran the 6th of December, 1979. I’m usually happy when I get the chance to talk about this strip. The art’s pretty sweet. When I do discuss Quincy the essays should appear at this link.

Ted Shearer’s Quincy rerun for the 30th uses a bit of mathematics and logic talk. It circles the difference between the feeling one can have about the rational meaning of a situation and how the situation feels to someone. It seems like a jump that Quincy goes from being asked about logic to talking about arithmetic. Possibly Quincy’s understanding of logic doesn’t start from the sort of very abstract concept that makes arithmetic hard to get to, though.


There should be another Reading the Comics post this week. It should be here, when it appears. There should also be one on Sunday, as usual.

My 2018 Mathematics A To Z: Witch of Agnesi


Nobody had a suggested topic starting with ‘W’ for me! So I’ll take that as a free choice, and get lightly autobiogrpahical.

Cartoon of a thinking coati (it's a raccoon-like animal from Latin America); beside him are spelled out on Scrabble titles, 'MATHEMATICS A TO Z', on a starry background. Various arithmetic symbols are constellations in the background.
Art by Thomas K Dye, creator of the web comics Newshounds, Something Happens, and Infinity Refugees. His current project is Projection Edge. And you can get Projection Edge six months ahead of public publication by subscribing to his Patreon. And he’s on Twitter as @Newshoundscomic.

Witch of Agnesi.

I know I encountered the Witch of Agnesi while in middle school. Eighth grade, if I’m not mistaken. It was a footnote in a textbook. I don’t remember much of the textbook. What I mostly remember of the course was how much I did not fit with the teacher. The only relief from boredom that year was the month we had a substitute and the occasional interesting footnote.

It was in a chapter about graphing equations. That is, finding curves whose points have coordinates that satisfy some equation. In a bit of relief from lines and parabolas the footnote offered this:

y = \frac{8a^3}{x^2 + 4a^2}

In a weird tantalizing moment the footnote didn’t offer a picture. Or say what an ‘a’ was doing in there. In retrospect I recognize ‘a’ as a parameter, and that different values of it give different but related shapes. No hint what the ‘8’ or the ‘4’ were doing there. Nor why ‘a’ gets raised to the third power in the numerator or the second in the denominator. I did my best with the tools I had at the time. Picked a nice easy boring ‘a’. Picked out values of ‘x’ and found the corresponding ‘y’ which made the equation true, and tried connecting the dots. The result didn’t look anything like a witch. Nor a witch’s hat.

It was one of a handful of biographical notes in the book. These were a little attempt to add some historical context to mathematics. It wasn’t much. But it was an attempt to show that mathematics came from people. Including, here, from Maria Gaëtana Agnesi. She was, I’m certain, the only woman mentioned in the textbook I’ve otherwise completely forgotten.

We have few names of ancient mathematicians. Those we have are often compilers like Euclid whose fame obliterated the people whose work they explained. Or they’re like Pythagoras, credited with discoveries by people who obliterated their own identities. In later times we have the mathematics done by, mostly, people whose social positions gave them time to write mathematics results. So we see centuries where every mathematician is doing it as their side hustle to being a priest or lawyer or physician or combination of these. Women don’t get the chance to stand out here.

Today of course we can name many women who did, and do, mathematics. We can name Emmy Noether, Ada Lovelace, and Marie-Sophie Germain. Challenged to do a bit more, we can offer Florence Nightingale and Sofia Kovalevskaya. Well, and also Grace Hopper and Margaret Hamilton if we decide computer scientists count. Katherine Johnson looks likely to make that cut. But in any case none of these people are known for work understandable in a pre-algebra textbook. This must be why Agnesi earned a place in this book. She’s among the earliest women we can specifically credit with doing noteworthy mathematics. (Also physics, but that’s off point for me.) Her curve might be a little advanced for that textbook’s intended audience. But it’s not far off, and pondering questions like “why 8a^3 ? Why not a^3 ?” is more pleasant, to a certain personality, than pondering what a directrix might be and why we might use one.

The equation might be a lousy way to visualize the curve described. The curve is one of that group of interesting shapes you get by constructions. That is, following some novel process. Constructions are fun. They’re almost a craft project.

For this we start with a circle. And two parallel tangent lines. Without loss of generality, suppose they’re horizontal, so, there’s lines at the top and the bottom of the curve.

Take one of the two tangent points. Again without loss of generality, let’s say the bottom one. Draw a line from that point over to the other line. Anywhere on the other line. There’s a point where the line you drew intersects the circle. There’s another point where it intersects the other parallel line. We’ll find a new point by combining pieces of these two points. The point is on the same horizontal as wherever your line intersects the circle. It’s on the same vertical as wherever your line intersects the other parallel line. This point is on the Witch of Agnesi curve.

Now draw another line. Again, starting from the lower tangent point and going up to the other parallel line. Again it intersects the circle somewhere. This gives another point on the Witch of Agnesi curve. Draw another line. Another intersection with the circle, another intersection with the opposite parallel line. Another point on the Witch of Agnesi curve. And so on. Keep doing this. When you’ve drawn all the lines that reach from the tangent point to the other line, you’ll have generated the full Witch of Agnesi curve. This takes more work than writing out y = \frac{8a^3}{x^2 + 4a^2} , yes. But it’s more fun. It makes for neat animations. And I think it prepares us to expect the shape of the curve.

It’s a neat curve. Between it and the lower parallel line is an area four times that of the circle that generated it. The shape is one we would get from looking at the derivative of the arctangent. So there’s some reasons someone working in calculus might find it interesting. And people did. Pierre de Fermat studied it, and found this area. Isaac Newton and Luigi Guido Grandi studied the shape, using this circle-and-parallel-lines construction. Maria Agnesi’s name attached to it after she published a calculus textbook which examined this curve. She showed, according to people who present themselves as having read her book, the curve and how to find it. And she showed its equation and found the vertex and asymptote line and the inflection points. The inflection points, here, are where the curve chances from being cupped upward to cupping downward, or vice-versa.

It’s a neat function. It’s got some uses. It’s a natural smooth-hill shape, for example. So this makes a good generic landscape feature if you’re modeling the flow over a surface. I read that solitary waves can have this curve’s shape, too.

And the curve turns up as a probability distribution. Take a fixed point. Pick lines at random that pass through this point. See where those lines reach a separate, straight line. Some regions are more likely to be intersected than are others. Chart how often any particular line is the new intersection point. That chart will (given some assumptions I ask you to pretend you agree with) be a Witch of Agnesi curve. This might not surprise you. It seems inevitable from the circle-and-intersecting-line construction process. And that’s nice enough. As a distribution it looks like the usual Gaussian bell curve.

It’s different, though. And it’s different in strange ways. Like, for a probability distribution we can find an expected value. That’s … well, what it sounds like. But this is the strange probability distribution for which the law of large numbers does not work. Imagine an experiment that produces real numbers, with the frequency of each number given by this distribution. Run the experiment zillions of times. What’s the mean value of all the zillions of generated numbers? And it … doesn’t … have one. I mean, we know it ought to, it should be the center of that hill. But the calculations for that don’t work right. Taking a bigger sample makes the sample mean jump around more, not less, the way every other distribution should work. It’s a weird idea.

Imagine carving a block of wood in the shape of this curve, with a horizontal lower bound and the Witch of Agnesi curve as the upper bound. Where would it balance? … The normal mathematical tools don’t say, even though the shape has an obvious line of symmetry. And a finite area. You don’t get this kind of weirdness with parabolas.

(Yes, you’ll get a balancing point if you actually carve a real one. This is because you work with finitely-long blocks of wood. Imagine you had a block of wood infinite in length. Then you would see some strange behavior.)

It teaches us more strange things, though. Consider interpolations, that is, taking a couple data points and fitting a curve to them. We usually start out looking for polynomials when we interpolate data points. This is because everything is polynomials. Toss in more data points. We need a higher-order polynomial, but we can usually fit all the given points. But sometimes polynomials won’t work. A problem called Runge’s Phenomenon can happen, where the more data points you have the worse your polynomial interpolation is. The Witch of Agnesi curve is one of those. Carl Runge used points on this curve, and trying to fit polynomials to those points, to discover the problem. More data and higher-order polynomials make for worse interpolations. You get curves that look less and less like the original Witch. Runge is himself famous to mathematicians, known for “Runge-Kutta”. That’s a family of techniques to solve differential equations numerically. I don’t know whether Runge came to the weirdness of the Witch of Agnesi curve from considering how errors build in numerical integration. I can imagine it, though. The topics feel related to me.

I understand how none of this could fit that textbook’s slender footnote. I’m not sure any of the really good parts of the Witch of Agnesi could even fit thematically in that textbook. At least beyond the fact of its interesting name, which any good blog about the curve will explain. That there was no picture, and that the equation was beyond what the textbook had been describing, made it a challenge. Maybe not seeing what the shape was teased the mathematician out of this bored student.


And next is ‘X’. Will I take Mr Wu’s suggestion and use that to describe something “extreme”? Or will I take another topic or suggestion? We’ll see on Friday, barring unpleasant surprises. Thanks for reading.