PuzzleReels
Sections

The Rope Around the Earth

The maths · Episode 11 · 2:47 · gives the answer

The puzzle

A rope lies snug around the Earth's equator, a circle of 40,075,017 metres. Add one metre of rope, splice it in, and lift the whole rope the same height off the ground all the way round.

How high does it sit?

The model is the plain one. The ground is a circle, the rope is a thread of no thickness that lies on it, and after the splice the rope is again a circle with the same centre, floating at one height everywhere. Nothing sags.

The maths, properly

Write r for the radius before, r′ for the radius after, and C for the length of the rope.

Route one: the honest way, with the real numbers

This is the film's first route. Divide the circumference by 2π, before and after:

r=C2π=6378137.05 mr′=C+12π=6378137.21 mr′−r=0.159155 m

The two radii agree to 7 significant figures. They share every digit of the whole number of metres and part company in the first decimal place, which is why the sum is delicate (more on that below).

Route two: the radius cancels

This is the film's second route. Write the rope's length before and after, and subtract:

C=2πrC+1=2πr′1=2π(r′−r)

So r′−r=12π. The letter r was there at the start and has gone by the end, because both circumferences have the same factor 2π in front of the radius and it comes out of the subtraction. For a general extra length the last line reads ΔC=2πΔr, which is the claim.

Why intuition says otherwise

The graph of C against r is a straight line of slope 2π. A straight line gains the same height for the same step wherever you stand on it, so one metre of extra circumference buys the same extra radius at every radius. Compare the area πr2, whose graph curves upwards: there, the same extra area buys a smaller and smaller extra radius as the circle grows, and the size of the planet would matter.

The intuition that fails is a sound one about the wrong quantity. The relative changes really are tiny and really are equal:

Δrr=ΔCC

Here that is one part in 40,075,017. A viewer who expects a tiny lift is expecting a tiny fraction, and gets one. But the fraction is of a radius of 6378137.05 metres, and a tiny fraction of an enormous number is not tiny. The two effects cancel exactly, which is the same statement as Δr=ΔC/2π with r divided out. The extra metre is spread thinly over a rope that is 40,075,017 metres long, and every part of that rope rises by the same small amount, but the amount is small only compared with the planet and not compared with a person.

The tennis ball

A tennis ball of radius 0.0335 metres has a rope round it of 0.2105 metres. Add one metre, and the new radius is 0.1927 metres, so the gap is 0.1927 − 0.0335 = 0.1592 metres. The gap is wider than the ball is across. The Earth's lift (0.159155 metres) and the ball's lift come out equal when each is computed from its own radius, not assumed.

Why it is the same for every shape: the normals turn

The algebra above is for a circle. Here is the reason it holds for any shape, and where on the rope the extra length really comes from.

A normal to a curve, at a point, is the line at right angles to the curve there, pointing outwards. Lifting a rope by a height h all the way round means moving every point of it a distance h along its own normal.

The idea of this section is one line:

added length=h×(total turn of the normal)=h×2π

Where the normal does not turn, the rope gains nothing. Where it turns, the rope gains h for every radian of turn. The normal makes one full turn, 360° or 2π radians, on the way round any closed convex curve.

The square first

Take a square of side 10, and lift the rope off it by h=1.2.

h90°90°90°90°
h2πh
The square (navy) and the rope lifted by h = 1.2. Along each side the normals are parallel and the rope just slides out; at each corner they fan through 90° and the rope sweeps a quarter-circle. The four quarters, gathered up, are one circle of radius h. The rope goes from 40.00 to 47.54: 7.54 longer, all of it at the corners.

Along a side, the normals all point the same way. They are parallel and they do not fan out, so lifting just slides the side outwards. It is the same straight line, the same length, and nothing is added.

At a corner the normal has to turn from facing one side to facing the next, a quarter of a full turn. The lifted rope cannot keep a sharp corner and stay h from the square, so it swings round the corner on a quarter-circle of radius h, a length of π2h=1.885. Gather the four quarters and they make a whole circle of radius h, of length 2πh=7.540. The rope grows from 40.00 to 47.54, which is 7.54 more. All of it comes from the four corners, where the normal turns, and none of it from the sides, where it does not.

The square with rounded corners

Now round the corners first, with some radius r, and then lift by the same h. The sides still slide out and add nothing. Each corner arc keeps its centre and its quarter-turn, but its radius grows from r to r+h, so its length grows from π2r to π2(r+h), which is π2h more. The radius r has cancelled out.

r = 0 (sharp)
40.00 → 47.54
sides +0.00, corners +7.54
r = 1.5
37.42 → 44.96
sides +0.00, corners +7.54
r = 3.5
33.99 → 41.53
sides +0.00, corners +7.54
r = 5 (circle)
31.42 → 38.96
sides +0.00, corners +7.54
The same lift, h = 1.2, on four squares of side 10.00. The corner radius goes from nothing to the largest it can be. The corners are always the whole story: +7.54 every time.

The extra length is the same at every setting, because the normal turns through the same four quarter-turns however the turning is spread. A small r packs the turn into a tight bend and a large r spreads it out, but the total is the same. The sharp square is the limit r→0, where all of the turning happens at a single point. At the other end, r is half the side and the four arcs join up into a circle.

Try it. Slide the corner radius and the lift, and watch the readout.

A square of side 10, lifted by h = 1.2
Corner radius rRope beforeRope afterFrom the four sidesFrom the four corners
0 (sharp)40.00047.5400.0007.540
1.537.42544.9650.0007.540
3.533.99141.5310.0007.540
5 (a circle)31.41638.9560.0007.540

How hard a curve is bending is its curvature: how fast the normal turns for each metre travelled. A straight piece has none, an arc of radius r has 1/r, and a sharp corner has all of its turning in no length at all. So the rope gets longer exactly where the curve bends, and by h times the turning there.

A circle, and any convex shape

On a circle, the normal turns at a steady rate: the same angle for every metre round. That is the Earth, and the circle in the picture. On an oval it turns faster where the curve bends harder and slower where it is flatter, but it still makes one full turn on the way round.

0°90°180°270°
A circle. The normal turns at a steady rate.
18.85 → 25.13: +6.28
0°90°180°270°
An oval. It turns faster where the curve bends harder.
20.42 → 26.70: +6.28
A normal drawn every 30° of turn, 0° to 360°. Both ropes are lifted by h = 1, and both grow by 2π × 1 = 6.28.

That one full turn is why 2π is in the answer, and why the size of the shape is not. A bigger circle turns the normal through the same 360°, only more gently. For the Earth the rope is lifted by h and gets longer by h×2π, so one metre more buys h=12π, exactly the claim at the top. The same count gives 2πh for any closed convex curve, which is why a square, a triangle and an oval agree with the circle.

A worked case: the Earth and what the guess missed

The film's four guess cards, against the true lift of 15.9 cm. He picks "a millimetre", which is 0.001 metres, and the answer is between the last two cards:

CardIn metres
a hair's width0.0001
a millimetre0.001
a centimetre0.01
enough to crawl under0.5

Drawn to one scale, the true lift is a bar 800 pixels long, and a millimetre against it is 5.027 pixels: a hairline, against a bar of 159.15 mm.

The film's shrink holds the rope at 320 pixels across and lets the body shrink inside it. The gap the rope stands off is the same 0.159155 metres in every case, drawn to scale:

BodyBody drawn at (px)Gap (px)
Earth319.9999920.000008
Moon319.9999710.000029
beach ball178.196072141.803928
tennis ball55.643524264.356476

What changes if the puzzle changes

Another amount of rope

The claim is for any ΔC. To lift the rope by a height h all the way round you need 2πh more rope, so one metre of lift costs 2π metres, on a planet or a pea.

A square the size of the Earth

The film ends on a square whose perimeter is the Earth's circumference, so its side is 10018754.25 metres, with a loop of rope standing off it by the same lift everywhere. The extra rope is the same 1 metre.

The reason is the corners. Stand a rope off a square by h and every point of it is at distance h from the square. Along each side the rope is a straight line parallel to the side, the same length as the side, so the straight parts add nothing. At each corner the rope swings round a quarter of a circle of radius h centred on the corner. Four quarters make one whole circle, so the rope has grown by exactly its circumference, 2πh. For the extra to be one metre, h=12π, the same lift as before.

The figures in the section above, on the normals, draw exactly this. Notice that the rope has rounded corners. A loop with sharp corners, each pushed out to a right angle, would have sides longer by 2h and a perimeter longer by 8h, which is more than 2πh. The claim above is about the rounded rope, which is the one that stays exactly h from the square everywhere. The script does not assert the sharp-cornered figure: it is one line of arithmetic.

The same argument covers any convex polygon. At each corner the rope sweeps out an arc of radius h and an angle equal to the turn the polygon makes there, and the turns of a closed convex polygon add up to one full turn, 2π. So the extra length is 2πh for a triangle, a pentagon or a thin rectangle as well. The extra length depends on how far out the rope stands and on nothing about the shape. That is why a circle, whose boundary is turning all the time, is the same as a square, which turns only at the corners.

Checking it

scripts/rope.mjs asserts every number on this page, and the page is built from the file it writes.

  • The Earth, in exact arithmetic. The two radii are computed in fixed-point integers with 60 decimal places, with π from Machin's formula and checked against a literal, because the answer lives in the eighth figure of the radii. They come out as 6378137.05 and 6378137.21, agreeing to 7 figures, and their difference is 12π to 50 places.
  • The radius cancels. The lift is computed from starting radii of an atom, a tennis ball, a beach ball, the Earth, the Moon and the Sun, and from 200 seeded random circumferences, by building the rope and adding a metre. Each agrees with 12π to 50 places. This is a check by computation, and it is not the proof, which is the three lines of algebra above.
  • Not circular. The lift is also found by bisection, on the rope's length, in ordinary doubles, with no 12π anywhere in the code, for the Earth and for the tennis ball.
  • The tennis ball and the shrink. The ball's lift is computed from its own radius and compared with the Earth's. Every body in the shrink table is computed from its own radius, and the drawn sizes are asserted to fall at every step.
  • The square. In exact arithmetic, a square of side C/4 with four quarter-circle corners of radius h has perimeter C+1. And by measurement: the offset curve is built from translated edges and sampled corner arcs for the Earth-sized square, a triangle, a pentagon and a thin rectangle, and each grows by one metre to within 10−6. A different h is shown to give a different answer, so the test can fail. Only convex polygons are tested, and the turning argument above is for convex polygons too.
  • What is not checked. The model: a perfect circle, a rope with no thickness and no sag.

The trap: subtracting two nearly equal numbers

Route one is a subtraction of two numbers that agree to 7 figures. This is catastrophic cancellation. A computer holds a number with a fixed count of significant digits, so a number as large as a planet's radius can only be held to a coarse step. The subtraction cancels the leading digits that agree and leaves only the few that did not, and by then rounding errors made earlier are as big as what is left.

Single precision (float32 in a program) keeps 24 binary digits, about seven decimal ones. Near a radius of six million metres neighbouring single-precision numbers are half a metre apart. Near the circumference, forty million, they are four metres apart, so the added metre may not survive being stored at all. The script does the sum in single precision, rounding at every step, and both radii come out as the same number, 6378136.5 and 6378136.5. Their difference is 0, nothing at all, not a rough answer. The stored radius is not even the true one: compare 6378136.5 with 6378137.05.

Double precision holds about sixteen digits. Cancelling seven leaves nine, and the script asserts that the double-precision difference is within 10−8 metres of the true lift. The better cure is not more digits but to do the algebra first. Route two never subtracts two large numbers: it divides one metre by 2π. A good way to write numerical code is to cancel on paper, then compute.

Where this shows up

  • Running tracks. The lanes of a track differ in length because of the bends alone, since the straights are the same for all. Two bends make one full turn, so each lane of width w is longer than the one inside by 2πw in all. That is why the starts are staggered, and it is the corner argument above.
  • Head and feet. Walk once round the Earth's equator and your head travels 2π times your height further than your feet.
  • Numerical computing. Catastrophic cancellation is a standard hazard: the textbook examples are the variance computed as the mean of squares minus the square of the mean, and the quadratic formula when b2 is much bigger than 4ac. The fix is usually the same, to rearrange the algebra so that the subtraction is done before the numbers are made.
  • Offsets in geometry. The extra length of 2πh for a convex curve pushed out by h is a case of Steiner's formula for parallel bodies. The film shows the square in one silent shot and leaves the reason for a later episode.

Try it yourself

1. A rope is round the Earth and another round a tennis ball. One metre is added to each. Which stands higher?

Neither. Both stand 12π metres, 0.159155, higher. The Earth's rope is 40,075,017 metres long and the ball's is 0.2105 metres long, but the extra metre has the same effect on each, because ΔC=2πΔr has no r in it.

2. How much rope do you add to lift it a whole metre all round, on the Earth?

2π metres, about 6.28. The same on any planet. Nothing in ΔC=2πΔr depends on the size.

3. A square with its rope stood off by the same lift, but with sharp corners, needs how much extra rope?

Each side grows by 2h, so the perimeter grows by 8h. With h=12π that is 82π=4π, about 1.27 metres, against one metre for the rounded rope. The sharp-cornered loop sits further than h from the square at each corner, so it is not the same rope.

4. Why is the single-precision answer exactly zero and not just wrong?

Stored numbers near the radius are half a metre apart, and the two real radii are only 0.159155 metres apart, less than that step. Two numbers closer than the step usually round to the same stored number (they can straddle a boundary, but not here), and then the subtraction is of a number from itself. The script gets 6378136.5 for each radius and 0 for the difference.