Table of Contents >> Show >> Hide
- What Is the Viral Amazon Math Problem?
- Why This Puzzle Trips People Up
- The Key Idea: Split the Cable in Half
- Case 1: When the Cable Center Is 10 Meters Above the Ground
- Case 2: When the Cable Center Is 20 Meters Above the Ground
- The Final Answers
- What This Question Really Tests
- Common Mistakes People Make
- How to Explain This in an Interview
- Why the Puzzle Became So Popular
- Experiences and Lessons From Solving the Amazon Hanging Cable Problem
- Conclusion
- SEO Tags
Some job interview questions politely ask about teamwork. Others ask you to describe a time you handled conflict. And then there are the questions that make you stare into space like your calculator just moved to another country. One of the most famous examples is the math problem Amazon supposedly asks job applicants to solve: the “hanging cable” puzzle.
The setup sounds innocent enough. Two poles are 50 meters tall. An 80-meter cable hangs between the tops of the poles. The lowest point of the cable is either 20 meters above the ground or 10 meters above the ground. The question: how far apart are the poles?
Simple, right? Maybe. The catch is that the cable is not a straight line. A free-hanging cable forms a catenary, the same graceful U-shaped curve seen in chains, power lines, and suspension-style engineering problems. That means the answer is not always something you can grab with a quick Pythagorean theorem and a confident grin. In fact, one version of the puzzle has a surprisingly elegant answer: zero meters. Yes, zero. The poles are basically having an awkwardly close conversation.
What Is the Viral Amazon Math Problem?
The problem is commonly presented like this:
A cable of 80 meters is hanging from the top of two poles that are both 50 meters off the ground. What is the distance between the two poles, to one decimal point, if the center of the cable is 20 meters off the ground? What if the center of the cable is 10 meters off the ground?
The story often describes this as an Amazon interview question, especially for technical or engineering-minded applicants. The word “supposedly” matters. Public versions of the puzzle have circulated widely online, and the math itself is real, but Amazon’s official interview guidance today emphasizes role-related problem solving, behavioral questions, Leadership Principles, and structured answers such as the STAR method. In other words, do not walk into an Amazon interview expecting a cable, two poles, and a surprise emotional support hyperbolic cosine.
Still, the puzzle is useful because it tests several skills at once: reading carefully, identifying assumptions, resisting the first easy-looking answer, explaining reasoning clearly, and knowing when a problem has a special case.
Why This Puzzle Trips People Up
The hanging cable problem looks like a geometry question, but it is partly a modeling question. The first instinct is to draw two equal poles, mark the center of the cable, split the diagram in half, and apply the Pythagorean theorem. That works only if each half of the cable is a straight segment. A real hanging cable, however, curves under its own weight.
That curve matters. The shortest path from the top of a pole to the lowest point of the cable is a straight line. But a hanging cable is longer than that straight-line distance because it droops in a curve. So if you use the cable length as the hypotenuse of a triangle, you may overestimate the distance between the poles.
This is the classic trap: the drawing looks triangular, but the physics says “not so fast, buddy.” The cable follows a catenary, not a straight line and not exactly a parabola. A parabola can approximate a shallow hanging cable in some situations, but the mathematically correct model for a uniform cable hanging freely under gravity is the catenary.
The Key Idea: Split the Cable in Half
Because the poles are the same height and the cable hangs symmetrically, we can analyze half of the cable. The full cable is 80 meters long, so each side from the top of one pole to the lowest center point is 40 meters long.
The top of each pole is 50 meters above the ground. If the lowest point of the cable is 20 meters above the ground, the vertical drop from the top of the pole to the center is:
50 – 20 = 30 meters
If the lowest point is 10 meters above the ground, the vertical drop is:
50 – 10 = 40 meters
Those two drops create two very different problems. The 20-meter case needs catenary math. The 10-meter case can be solved almost instantly if you notice the hidden constraint.
Case 1: When the Cable Center Is 10 Meters Above the Ground
This is the version that makes people argue in comment sections, which is where math goes when it wants to wear boxing gloves.
Each half of the cable is 40 meters long. The cable drops from 50 meters high to 10 meters high. That is a vertical drop of exactly 40 meters.
So each half of the cable must use all 40 meters just to go straight down from the top of the pole to the lowest point. There is no cable length left for horizontal distance. If the poles were separated by even a tiny amount, each half of the cable would need to be longer than 40 meters.
Therefore, the distance between the poles is:
0.0 meters
It feels wrong at first because we imagine two poles with space between them. But the numbers do not allow space. The cable must go down 40 meters and back up 40 meters, using the entire 80 meters. The only possible distance between the poles is zero. It is less “engineering marvel” and more “two poles standing in the same place wondering who scheduled this meeting.”
Case 2: When the Cable Center Is 20 Meters Above the Ground
Now the problem becomes more interesting. Each half of the cable is still 40 meters long, but the vertical drop is only 30 meters. That leaves some cable length for horizontal separation and curvature.
If the cable were straight, the half-distance between the pole and the center would be:
√(40² – 30²) = √700 ≈ 26.5 meters
That would make the full distance about 52.9 meters. But that is not the correct catenary answer because a curved cable uses some of its length in sag. The actual horizontal span must be shorter.
The Catenary Formula in Plain English
A hanging cable can be modeled with the catenary equation:
y = a cosh(x/a) – a
Here, the lowest point of the cable is treated as the origin of the curve. The variable x is the horizontal distance from the center to one pole, y is the vertical rise from the center to the pole top, and a is a catenary parameter that controls the curve’s shape.
The arc length from the center to one pole is:
s = a sinh(x/a)
For this problem, the half-cable length is s = 40, and the vertical rise is y = 30. A useful relationship from the catenary model is:
s² = y² + 2ay
Solving for a gives:
a = (s² – y²) / (2y)
Now plug in the numbers:
a = (40² – 30²) / (2 × 30)
a = (1600 – 900) / 60
a = 700 / 60 ≈ 11.6667
Next, solve for x:
x = a asinh(s/a)
x ≈ 11.6667 × asinh(40 / 11.6667)
x ≈ 22.7 meters
That is only half the distance between the poles, so the full distance is:
2x ≈ 45.4 meters
So, when the center of the cable is 20 meters above the ground, the poles are approximately:
45.4 meters apart
The Final Answers
- If the cable center is 20 meters above the ground: about 45.4 meters
- If the cable center is 10 meters above the ground: exactly 0.0 meters
The two answers feel wildly different, but they come from the same basic constraint: each half of the cable is only 40 meters long. In the 20-meter case, the cable has enough length to curve across a real horizontal span. In the 10-meter case, every centimeter of each half is consumed by the vertical drop.
What This Question Really Tests
A good interview puzzle is rarely just about the final number. It is about how a candidate thinks. The hanging cable problem tests whether you read the wording carefully, notice symmetry, identify edge cases, challenge assumptions, and communicate your steps.
For software engineering and technical roles, that matters. Real work is full of problems that look straightforward until one requirement changes everything. A database query seems fine until the dataset becomes huge. A user interface works beautifully until someone uses it on a tiny screen. A system design looks clean until latency, scale, security, and cost arrive at the party carrying folding chairs.
The 10-meter version is especially revealing because the answer is not “calculate harder.” The answer is “think better.” Many people start hunting for equations when a simple constraint solves the whole thing. That is an excellent lesson for technical interviews: before writing code or doing algebra, understand the problem.
Common Mistakes People Make
Mistake 1: Treating the Cable Like a Straight Line
The most common wrong move is turning the cable into a triangle. It is tempting because the numbers are tidy. But unless the problem says the cable is pulled tight, a hanging cable curves.
Mistake 2: Assuming the Same Method Works for Both Cases
The 20-meter case needs catenary reasoning. The 10-meter case collapses into a boundary condition. Treating both as identical can lead to unnecessary calculations or impossible results.
Mistake 3: Ignoring the Word “Center”
The center of the cable is the lowest point because the setup is symmetric. That lets us split the cable into two equal 40-meter halves. Without that observation, the problem becomes messier than a whiteboard after five rounds of system design.
Mistake 4: Forgetting to Check the Answer
A good answer should pass a reality check. For the 10-meter case, zero meters makes sense because the cable needs 40 meters down and 40 meters up. For the 20-meter case, the catenary answer must be less than the straight-line estimate of about 52.9 meters, because curvature uses extra cable length. The answer 45.4 meters passes that test.
How to Explain This in an Interview
If you ever face a puzzle like this, do not silently panic while drawing increasingly desperate arcs. Talk through your reasoning. A strong explanation might sound like this:
“First, I’ll use symmetry. Since the poles are equal height and the cable hangs evenly, each half of the cable is 40 meters. If the center is 10 meters above the ground, each half must drop 40 meters from the 50-meter pole top. That uses the entire half-cable length vertically, so no horizontal separation is possible. The distance is zero. For the 20-meter case, the drop is 30 meters, so there is room for horizontal distance, but because the cable hangs freely, it forms a catenary rather than a straight line. Using the catenary length relationship gives a pole distance of about 45.4 meters.”
That explanation is clear, structured, and honest about assumptions. It also shows that you are not just throwing equations at the wall and hoping one sticks like overcooked spaghetti.
Why the Puzzle Became So Popular
The hanging cable problem has all the ingredients of viral math content. It sounds like a prestigious interview question. It has a surprisingly simple answer in one case. It has a more advanced answer in another. It invites confident wrong guesses. And it makes people feel brilliant or betrayed, depending on which answer they picked first.
It also connects everyday intuition with real mathematics. Catenaries are not just textbook decorations. They appear in hanging wires, chains, arches, bridges, and engineering design. The same curve that makes this puzzle tricky also helps engineers understand clearance, tension, and safety in real structures.
Experiences and Lessons From Solving the Amazon Hanging Cable Problem
One of the most useful experiences related to the Amazon hanging cable problem is watching how people approach it in groups. Give the puzzle to five smart people, and you may get six answers, because someone will change their mind halfway through and then defend both positions with equal passion. That is not a weakness. It is the point of the exercise. The problem exposes how quickly the brain grabs a familiar tool, such as the Pythagorean theorem, before checking whether the tool actually fits.
In interview preparation, this puzzle is a great reminder to slow down during the first minute. Many candidates believe speed is the main signal of intelligence. In reality, clear thinking often begins with a pause. The candidate who says, “Let me restate the problem and check the constraints,” usually sounds more professional than the candidate who immediately launches into calculations. The hanging cable problem rewards that pause because the 10-meter version becomes obvious only after noticing that each half of the cable is exactly the same length as the vertical drop.
Another valuable experience is learning to separate “exact answer” thinking from “modeling” thinking. In school, many math problems come packaged with a known method. In real technical work, the first job is often deciding what kind of problem you are solving. Is the cable straight? Is it flexible? Is it uniform? Is it hanging under gravity? Are the supports the same height? Those questions define the model. A candidate who asks them shows maturity. A candidate who ignores them may solve a different problem perfectly, which is impressive in the same way that bringing a kayak to a chess tournament is impressive.
The puzzle also teaches humility. The zero-meter answer feels like a trick, but it is not a cheap trick. It follows directly from the numbers. Many people reject it because they are attached to the picture in their head: two poles must be apart, therefore the answer must be positive. Good problem solvers learn to let the math correct the picture. That skill matters in engineering, analytics, business strategy, and daily decision-making. Assumptions are useful, but they should not be allowed to drive the car unsupervised.
For job seekers, the best lesson is not to memorize this one puzzle. The better lesson is to practice a repeatable approach: clarify the setup, find constraints, simplify with symmetry, test edge cases, choose the right model, calculate carefully, and then sanity-check the result. That process works for brain teasers, coding problems, estimation questions, and even messy workplace decisions.
Finally, the hanging cable problem is a reminder that communication can matter as much as computation. In an interview, an answer without explanation is just a number looking for a home. Walk the interviewer through the reasoning. Explain why the 10-meter case is a boundary condition. Explain why the 20-meter case needs a catenary. Mention that a straight-line estimate gives an upper check, not the final answer. When you do that, you are not merely solving a puzzle. You are demonstrating how you think when the obvious path is not quite right.
Conclusion
The math problem Amazon supposedly asks job applicants to solve is famous because it looks simple, behaves strangely, and rewards careful reasoning. The 80-meter cable and 50-meter poles create two different outcomes depending on the height of the cable’s lowest point. If the center is 10 meters above the ground, the poles must be 0.0 meters apart because the cable length is fully used by the vertical drop. If the center is 20 meters above the ground, the catenary model gives a distance of about 45.4 meters.
The real value of the puzzle is not the rumor attached to it. The value is the thinking habit it teaches: read carefully, challenge the diagram, check assumptions, and explain your reasoning clearly. Whether you are preparing for Amazon, another tech company, or just trying to win a friendly math argument without losing friends, that habit is worth more than the answer itself.
SEO Tags
Note: This article discusses a widely circulated interview-style puzzle often associated online with Amazon. The mathematical solution is real, but the hiring-question claim should be treated as internet lore rather than confirmed current Amazon interview practice.