Mathematics and society

The Geometry of Power: Gerrymandering and Math

26 July 2026 · 2 min read

Gerrymandering looks purely political until you see the actual mechanics, which are geometry and probability, and courts are now using both as real evidence.

You do not need to change how anyone votes. You need to control how the votes get grouped. Packing crams opposition voters into a small number of districts so they win those by enormous, wasted margins. Cracking spreads the rest thin enough that they never reach a majority anywhere else. Same voters, same votes, different districting lines, opposite outcome.

The efficiency gap is the standard measurement. A vote is wasted if it is more than needed for a win, or if it goes to a loss entirely.

$$ EG = \frac{\text{Wasted votes}_B - \text{Wasted votes}_A}{\text{Total votes}} $$

A large gap signals one side winning far more efficiently than the other, which suggests, though does not prove, that the map was drawn on purpose to produce that outcome. Compactness measures the same suspicion from a different angle. The Polsby–Popper score,

$$ \frac{4\pi \cdot \text{Area}}{\text{Perimeter}^2} $$

punishes districts shaped like nothing a natural boundary would produce.

Markov Chain Monte Carlo simulation goes further than either. Generate thousands of alternate valid maps for the same state, under the same legal rules, and see where the actual proposed map falls against that whole distribution. A map sitting far out in the tail, compared to nearly every random valid alternative, is hard to explain as coincidence.

None of this settles what “fair” means, though. Proportional representation, where a party with 40% of the vote gets roughly 40% of seats, is one definition. It can directly conflict with keeping communities geographically intact, or with protecting minority representation, which sometimes requires drawing a district that looks unfair by the efficiency-gap measure precisely because it is protecting something else. Math measures how skewed a map is against a chosen baseline with real precision. It does not choose the baseline. That choice stays political, and the math gets deployed afterward to defend whichever one someone already picked. Courts treating these tools as real evidence is a genuinely recent development. The remaining question — how much statistical outlier-ness counts as legal proof of intent — is not a math question at all.

← All writing