26 July 2026 · Mathematics and society · 3 min

The Geometry of Gerrymandering

In 1812 the governor of Massachusetts, Elbridge Gerry, signed a map that gave his party a strangely shaped district. Someone said it looked like a salamander. A newspaper called it a Gerry-mander. The name stuck.

A small example makes it clear. Imagine 50 voters, 30 for party A and 20 for party B. You must split them into 5 districts of 10. Put 6 A voters and 4 B voters in every district and A wins all 5. Now put 6 B voters and 4 A voters in three districts, and the remaining voters in the other two. B wins 3. Same voters. Same votes. A completely different result.

So people tried to measure unfairness with maths. One idea is to look at shape. Compact districts are good and twisted ones are suspicious. But shape is a weak test. Rivers and cities make honest districts odd too.

A better idea counts wasted votes. A vote is wasted if it went to a loser, or if it was more than the winner needed. A fair map should waste roughly the same number of votes for each party. The difference is called the efficiency gap. It is easy to compute and easy to explain.

The newest idea uses computers. Generate thousands of random maps that follow all the legal rules. See how many seats each party wins in a typical one. Then look at the real map. If it sits far out at the edge of all those random maps, something deliberate probably happened.

I like this last method a lot. It does not ask what fair means in the abstract. It asks what normal looks like.

But there is a catch. Every method needs a baseline. Wasted votes assume seats should follow votes in a certain way. Random maps depend on which rules you give the computer. Keep counties whole or not? Protect communities or not? Each choice moves the baseline. Maths can measure distance from the baseline very precisely. It cannot choose the baseline.

In 2019 the US Supreme Court said federal courts would not decide partisan gerrymandering cases at all. One reason was that there is no clear standard for how much is too much. I think that is half right. The measuring is not the problem. The choosing is.

India does this differently. A Delimitation Commission draws the boundaries, not the ruling party. That removes one temptation. It does not remove the baseline question. Someone still decides what a fair district looks like.

What I take from this is that maths is very good at the second step and silent on the first. Tell it what fair means and it will tell you how far you are from it. Ask it what fair means and it hands the question back.

All writing