The Two Poles Theorem Solves a Geometry Puzzle
A geometry puzzle about two walls and a man's height reveals a classical theorem — and a surprising connection to teamwork math. Here's what's actually going on.
Written by AI. Mei Zhang

Photo: AI. Soraya Hadid
The moment I watched Presh Talwalkar set up the algebra and the D variable just... vanished — canceled clean out of both sides of the equation like it was never invited to the party — I genuinely had to pause the video. Not because I was confused. Because I needed a second to process the fact that the universe had just done something deeply smug and beautiful at the same time. 🧬
Math does this to me. I cover genomics for a living and people act like biology and mathematics live in different zip codes, but honestly? Math is just biology without the wetness. The same structural logic that makes a protein fold the same way regardless of cellular context is doing its thing right here in a geometry puzzle about brick walls. A variable that should matter — the distance between two walls — turns out to be completely irrelevant. The answer is locked in. The shape of reality doesn't care about your specific setup.
Let me back up.
The Puzzle That Looks Impossible
Talwalkar poses it cleanly in his MindYourDecisions video: two brick walls, one 4 meters tall, one 6 meters tall, standing some unspecified distance apart. Draw a line from the top of the left wall to the base of the right wall. Draw a line from the top of the right wall to the base of the left wall. Those two lines cross somewhere in the middle, and at that exact crossing point — the top of a man's head. What's the man's height?
The trap is obvious. You weren't given the distance between the walls. Most people's brains immediately file this under "unsolvable" and move on. That intuition is completely wrong.
Talwalkar works through it using similar triangles — one of those geometry tools that sounds simple until you see what it can do. He sets up two pairs of similar triangles, derives two separate expressions for the same horizontal distance x, sets them equal, and then watches the distance variable D cancel itself out of existence. As he puts it: "the distance between the two walls is irrelevant to the height."
What's left is: H = 24/10 = 2.4 meters. That's roughly 7 feet 10½ inches — an extraordinarily tall person, tall enough that Talwalkar admits he double-checked his own arithmetic. But not impossible: Robert Wadlow, the tallest person in recorded history, stood 8 feet 11.1 inches. The puzzle man clears that bar with about a foot to spare.
The General Formula — And Why It's Everywhere
Once you have the specific answer, Talwalkar does the thing that separates good math communication from great math communication: he generalizes. Replace 4 and 6 with A and B, run through the same algebra, and you get:
H = AB / (A + B)
This is a classical result known as the two poles theorem — a piece of geometry with deep roots that appears across many standard references, not just online math communities. And the formula is satisfying in a way that goes beyond the puzzle. Notice that H = AB/(A+B) is exactly half the harmonic mean of A and B (the harmonic mean being 2AB/(A+B)). The harmonic mean is one of those mathematical constructs that keeps turning up in wildly different contexts — parallel resistors in electrical circuits, average speeds over equal distances, economic inequality indices. It has this quality of being the "correct" average when you're combining rates rather than quantities. And here it is again, quietly running the geometry of crossed lines between two poles.
The distance-independence is the part I can't stop thinking about. Talwalkar illustrates it by sliding one of the poles further away in the animation — the intersection point moves horizontally, but its height off the ground stays locked. It's like the formula is describing something more fundamental than the specific configuration. The height of that intersection is a property of the two poles alone, full stop.
The Part Where It Gets Actually Unhinged
Here's where Talwalkar goes from "math explainer" to "person who sees structural patterns in the universe" — which is, for the record, an energy I deeply respect.
He notices that AB/(A+B) looks familiar. Specifically, it looks like the answer to a completely different type of problem: if Alice takes A hours to finish a job and Bob takes B hours, how long does it take them working together? Work-rate problems. A staple of standardized tests. The answer, as anyone who survived eighth-grade math knows, is T = AB/(A+B).
"It is an interesting fact that both problems have the same algebraic result," Talwalkar says — which I'd argue is the understatement of the video. The same formula governs where two diagonal lines cross between poles and how long two workers take to finish a shared task. That's not a coincidence you wave at. That's the universe telling you something.
To his credit, Talwalkar doesn't just note the algebraic parallel and move on. He asks whether there's a geometric way to see it — whether you can actually draw the work problem in a way that makes the two poles theorem apply directly. And the answer is yes, with one important nuance.
Plot Alice's progress on a graph: time on the x-axis, job completion on the y-axis. Her line runs from (0,0) up to (A,1). Now plot Bob's progress running in the opposite direction — starting at (0,1) and descending to (B,0). The point where those two lines cross is the moment their combined work sums to 100% — the moment the job is done. When you rotate the diagram, you get a geometric configuration that's structurally identical to the two poles setup, and the two poles theorem delivers T = AB/(A+B) directly.
The precise thing to say here: in this construction, the x-coordinate of the intersection (time elapsed) maps to T — not the y-coordinate. The correspondence between "height" in the poles theorem and "time" in the work problem is algebraic, not a literal spatial translation. The formula is the same; the geometry is rotated and reinterpreted. It's less "same picture, different label" and more "same deep structure, wearing different clothes." Which, if anything, makes it more interesting.
What the Universe Is Actually Doing Here
I think about this the same way I think about convergent evolution in biology — when distantly related organisms independently arrive at the same solution (the eye evolved separately something like forty times). When that happens, biologists don't shrug and say "huh, weird coincidence." They ask: what's the underlying constraint that keeps producing this answer?
The harmonic mean of two quantities shows up when you're combining rates — whether that's the rate at which lines converge across space or the rate at which workers consume a task over time. It's the natural average of a system defined by reciprocals. That's why AB/(A+B) keeps appearing: it's not that geometry and labor economics are secretly the same field, it's that both problems are, at their core, about combining two rates toward a shared limit. The formula isn't a coincidence. It's a signature.
You see this pattern everywhere once you start looking. Parallel resistors: 1/R = 1/R₁ + 1/R₂, which rearranges to R = R₁R₂/(R₁+R₂). Optical lens combinations. Fluid flow through pipes. Every time you have two processes running in parallel toward a shared constraint, the harmonic structure appears. The two poles theorem is just the geometric face of something that runs much deeper.
Talwalkar ends with a line that's doing a lot of quiet work: "this is a truly remarkable phenomenon that all you need to know is the height of the two poles, and you can figure out the height of the intersection." He's right. But I'd go further: what you can figure out is that the intersection's height is a property of the relationship between the poles, not a property of the space between them. Distance is a red herring. The answer was always there, waiting to be found.
That's the thing about mathematical structure. It doesn't care how far apart you put the walls.
— Mei Zhang, Biotech & Genetics Reporter, Buzzrag
We Watch Tech YouTube So You Don't Have To
Get the week's best tech insights, summarized and delivered to your inbox. No fluff, no spam.
More Like This
Black Hole Paradox: Are Reference Frames the Key?
Exploring how reference frames might resolve the black hole information paradox.
Exploring Cosmic Time Delays and Dark Energy
Time delay cosmography may unveil dark energy mysteries, resolving Hubble tension with new cosmic insights.
The Neuroscience of Discipline: Automation Over Motivation
Explore how discipline evolves from motivation to neural automation, making actions automatic and emotions irrelevant.
Dunkin' Donuts' Math Contest: A Sweet Challenge
Explore Dunkin' Donuts' math contest, featuring the Fibonacci sequence and Pigeonhole Principle, blending marketing with mathematics.
Riemann Hypothesis: Cracking Prime Mysteries
Explore how the Riemann Hypothesis might reveal the hidden order of prime numbers and its implications for the universe.
Can Space Data Centers Beat the Heat?
Exploring the challenges of cooling data centers in space, balancing physics with environmental impact.
RAG·vector embedding
2026-06-26This article is indexed as a 1536-dimensional vector for semantic retrieval. Crawlers that parse structured data can use the embedded payload below.