Geometry

The rope that squares a corner

The theorem turns two sides into a third. Run it backwards and it turns three lengths into a right angle — which is a different statement, needs its own proof, and is the only one of the two that has ever been used to build anything.
16 min read 7 figures Proof without words

Worth reading first: Two squares, four triangles, and no algebra.

A loop of rope with twelve knots in it, spaced equally, is a complete instrument for building a right angle. Hold the first knot, the fourth and the eighth, pull until the rope is taut, and the corner at the first knot is square — not approximately, not for practical purposes, but exactly.

A knotted rope pulled into a 3-4-5 triangleA closed loop of rope carrying 12 equally spaced knots, held at three of them so the sides are 3, 4 and 5 knots long; the angle between the two shorter sides is 90.0 degrees.34512 knots at equal spacing, closed into aloop and pulled taut at three of them3² + 4² = 25 = 5², and the corner comesout square without anything beingmeasured
Fig. 1 Twelve knots, closed into a loop and pulled taut at three of them. Nothing has been measured with anything, and no instrument has been consulted; the corner is square because 9 + 16 = 25.

Nothing here measures an angle. There is no protractor, no set square, no plumb line and no straight edge. There is a length divided into equal parts, which is the easiest thing in the world to make — fold a rope in half, in half again, in three — and out of it comes the one angle that every other construction in flat geometry is built on.

The theorem this rests on is not the one proved by rearrangement. That one says: given a right angle between sides of aa and bb, the third side is a2+b2\sqrt{a^2+b^2}. What the rope uses is the sentence with its ends swapped: given three sides with a2+b2=c2a^2+b^2=c^2, the angle between the first two is right.

Those are different statements. One takes an angle and produces a length; the other takes three lengths and produces an angle. Neither follows from the other by logic alone, and the second is the one worth having.

What a converse is, and why it is not free

A statement of the form if P then Q says nothing whatever about what happens when Q holds. If it is raining then the pavement is wet is a fact about rain; the pavement is also wet after a street cleaner has passed. The converse of a true statement is a separate claim, sometimes true and sometimes not, and the only way to know which is to prove it.

Plenty of geometry’s converses are false. Every square has four equal sides, and a rhombus has four equal sides without being a square. Every equilateral triangle is isosceles, and the converse fails at once. Two triangles with equal areas need not be congruent. The habit of assuming a converse is one of the more reliable ways to arrive at a wrong answer while feeling entirely secure.

So the rope needs an argument, and there is a good one.

The given triangle beside the right triangle on the same two legsTwo triangles with the same two shorter sides: one with its third side given, one built with a right angle between the legs. Their third sides are compared, and congruence is what turns the equality into an angle.given: three lengths90.0°345built: a right angle345.000both triangles have sides 3, 4 and 5 — three sides equal, so they are the same triangle, so the left corneris the right angle on the rightthe converse needs this step: side-side-side congruence is what carries the equality of lengths back to anequality of angles
Fig. 2 On the left, a triangle whose three sides are given: 3, 4 and 5. On the right, a triangle built with a right angle between legs of 3 and 4, whose third side is then computed by the theorem — and comes out at exactly 5. Three sides equal, so the two triangles are congruent, so the left corner is the right angle on the right.

The argument runs in three steps, and the middle one is where the original theorem gets used.

Start with the triangle that actually exists: sides aa, bb, cc, with a2+b2=c2a^2+b^2=c^2, and an unknown angle between the first two. Now build a second triangle, on a clean patch of ground, with a right angle between two sides of the same lengths aa and bb. The forward theorem — the one already proved — says the third side of that constructed triangle is a2+b2\sqrt{a^2+b^2}, which by assumption is cc.

Both triangles now have sides aa, bb, cc. Side-side-side congruence says they are the same triangle. Corresponding angles of congruent triangles are equal. The angle in the first, between aa and bb, therefore equals the angle in the second between aa and bb, which was built to be right.

That is the whole proof, and it is worth noticing how it works: it does not examine the given triangle at all. It manufactures a second one that is known to be right, and then shows the two cannot be told apart. The given corner is square by an alibi.

The rope that does not close square

A figure that only ever draws the case that works is not evidence about the case that does not. The same rope with a different knot count closes into a triangle too — every triple of lengths that satisfies the triangle inequality does — and the corner comes out wherever the arithmetic sends it.

A knotted rope pulled into a 4-5-7 triangleA closed loop of rope carrying 16 equally spaced knots, held at three of them so the sides are 4, 5 and 7 knots long; the angle between the two shorter sides is 101.5 degrees.101.5°45716 knots at equal spacing, closed into a loop and pulled taut atthree of them4² + 5² = 41, against 7² = 49 — the corner misses by 11.5°
Fig. 3 Sixteen knots, held at 4, 5 and 7. The rope closes, the triangle is perfectly real, and the corner misses square by twelve degrees — because 16 + 25 = 41, and 49 is not 41.

Nothing about the rope objects. It has no way to object: it is a length divided into equal parts, and it will make whatever triangle it is asked for. What decides the corner is the arithmetic, and the picture merely reports the verdict.

That is the part worth holding on to about instruments generally. The rope does not know the theorem. It embodies a consequence of the theorem, and it does so only when the numbers chosen are the right ones. A builder using a 4-5-7 rope in the belief that any three numbers will do would produce a wall twelve degrees out of true and would have followed the procedure faithfully throughout.

What a mistake is worth, in degrees

The interesting engineering question is not whether the exact triple works. It is how much a small error costs — because a real rope stretches, real knots have width, and the ground is never quite flat.

The corner angle against the length of the third sideThe angle between two fixed legs as the third side is varied, passing through ninety degrees exactly once — at the length the theorem names.608010012044.5055.506the third side, in knotsthe angle between the two legs, in degreesc = 5.0004.8 → 85.3°5.2 → 94.9°legs of 3 and 4: the corner is square at c = 5.000 and at no other lengthone knot in a hundred wrong along the rope is 1.19° out of square
Fig. 4 The corner angle against the length of the third side, with the two shorter sides held at 3 and 4. The curve crosses ninety degrees exactly once, at c=5c=5, and it crosses steeply: a tenth of a knot’s error costs about a quarter of a degree.

The slope of that curve at the right angle has a clean closed form. Differentiating the law of cosines at θ=90°\theta=90° gives

dθdc=cabsinθ=cab,\frac{d\theta}{dc} = \frac{c}{ab\sin\theta} = \frac{c}{ab},

which for the 3-4-5 rope is 5/125/12 of a radian per unit of cc, or about 24°24° per knot. One part in a hundred wrong along the rope — a centimetre in a metre — is a fifth of a degree out of square, which over a ten-metre wall is a displacement of about three centimetres at the far end.

That is the honest answer to why the method survived: it is good, not perfect, and it degrades gently. A construction whose error grew faster than its input would have been abandoned. This one loses a fifth of a degree for a one-percent mistake, which is comfortably better than a builder can hold a set square by eye.

The same curve reads in the other direction too, and this is the direction the law of cosines lives in: the corner angle is a continuous, strictly increasing function of the third side, so every angle between 0° and 180°180° is produced by exactly one length cc. The right angle is not special to the geometry — it is special because it is the one whose cc satisfies a clean equation in the other two.

The law of cosines as a correction termThe same two sides at three different angles. The square on the third side falls short of, equals, or exceeds the sum of the other two squares as the angle is acute, right or obtuse.70°70°c² < a² + b²c = 124.190°c² = a² + b²c = 152.1110°110°c² > a² + b²c = 175.8
Fig. 5 The same two sides at three angles. The square on the third side falls short of the sum, matches it, or exceeds it, and the shortfall is exactly 2abcosθ2ab\cos\theta — a term that vanishes at a right angle and at no other.

Which ropes are worth carrying

A rope is useful only if the triple is small enough to knot and remember. The 3-4-5 needs twelve knots; the next few are longer.

A knotted rope pulled into a 5-12-13 triangleA closed loop of rope carrying 30 equally spaced knots, held at three of them so the sides are 5, 12 and 13 knots long; the angle between the two shorter sides is 90.0 degrees.5121330 knots at equal spacing, closedinto a loop and pulled taut at threeof them5² + 12² = 169 = 13², and thecorner comes out square withoutanything being measured
Fig. 6 The 5-12-13 rope: thirty knots, and a much sharper triangle. It is the second-smallest triple, and it makes a corner just as square as the first.

The primitive triples in order of perimeter are 3-4-5 at twelve knots, 5-12-13 at thirty, 8-15-17 at forty, 7-24-25 at fifty-six, and 20-21-29 at seventy. Only the first is convenient. The second is already a rope five times as long for a triangle that is worse shaped for laying out a rectangular room — long and thin, so the far corner is set by a short leg, which magnifies whatever error the rope carries.

Those triples are not a scattered list. Every one of them comes from a rational point on a circle, and the parametrisation produces them all exactly once, so the sequence of usable ropes is completely known and completely described. There is no hunting to be done.

Squares on the three sides of a right triangleA right triangle with a square built outward on each side; the two smaller squares together hold as much area as the largest.abc
Fig. 7 The 5-12-13 triangle with the squares drawn on its sides. The two smaller squares are 25 and 144 units of area against the largest one’s 169, which is the whole reason the rope of thirty knots closes square.

Doubling works too — 6-8-10 is a rope of twenty-four knots making the same triangle at twice the size — and for a builder that is the useful direction. A 3-4-5 rope of twelve knots can be laid out with each knot at a metre and produce a triangle three metres by four, which is the scale a room actually needs.

What it costs

Two things, and both are the reason the rope is not the modern method.

The first is that the rope is only as good as its knots. Twelve equal intervals are easy to make by folding, but a rope stretches unevenly under tension, and the knot that has been pulled hardest is the one that has moved. The construction assumes exactly equal spacing and has no way to check it, which is why the error curve above matters: it converts a defect that cannot be seen into an angle that can be measured later, when the wall is up.

The second is subtler. The rope produces one right angle, at one place. A building needs a great many of them, and each is set from the last, so errors accumulate along the chain rather than cancelling. Setting out a large rectangle by transferring a rope corner four times gives a figure whose closing error is the sum of four independent mistakes. The professional fix — measuring both diagonals of the finished rectangle and adjusting until they agree — is itself a converse argument, and a better one: a quadrilateral with equal sides in pairs and equal diagonals is a rectangle, which checks all four corners at once instead of one at a time.

The rope stretchers, and what the evidence says

The 3-4-5 rope is routinely attributed to the Egyptians, and the attribution deserves more care than it usually gets.

What is documented is that Egypt employed harpedonaptae — rope-stretchers — who laid out temple foundations, and that Democritus, writing in the fifth century BC, said he had met nobody better at constructing figures with lines. What is not documented anywhere in the surviving Egyptian mathematical papyri is a 3-4-5 rope, or the relation between the squares, or any statement of the converse. The Rhind and Moscow papyri are full of area and volume computations and contain nothing of the kind. The knotted-rope story appears to have been proposed by a nineteenth-century historian as a plausible reconstruction and then repeated until it acquired the status of a source.

Two other traditions do have the statement in writing. The Śulba Sūtras, Indian manuals for building sacrificial altars, state the relation explicitly and list several triples including 3-4-5, 5-12-13 and 8-15-17 — and their purpose is construction, which is the converse direction. The Chinese Zhoubi Suanjing gives the 3-4-5 case with a dissection diagram that is essentially the rearrangement proof. Babylonian tablet Plimpton 322, older than either, is a list of numbers that are hard to explain except as triples, though what it was for remains argued about.

So the honest summary is that several ancient traditions knew which numbers make a right angle, at least one of them wrote the rule down as a building instruction, and the single culture the story is usually told about is the one with no direct evidence for it. That is a common shape for a mathematical anecdote, and it is worth checking before repeating.

Where it needs a condition

The proof used side-side-side congruence, and that is a theorem of flat geometry. It fails on a curved surface in the sense that matters here: the two triangles are still congruent, but the constructed one no longer has a right angle at the corner where it was built with one, because on a sphere the relation between the three sides and the angle is different.

Laid out on ground that curves — which all ground does, at about one part in ten million over ten metres — a 3-4-5 rope makes a corner that is not quite square. The spherical version of the theorem says the corner comes out at slightly less than 90°90°, by an amount proportional to the area of the triangle. For a rope triangle six metres across on the Earth’s surface, that is about a hundred-billionth of a degree, which is why nobody has ever noticed. For a triangle six hundred kilometres across it is a tenth of a degree, which is why geodesy exists.

The condition is therefore not a technicality about proof style. It is a statement about how large a triangle may be before the flat theorem stops being the right theorem, and the answer is: much larger than a building, much smaller than a country.

What the picture cannot show

Every figure here draws a triangle at one size, with one set of knot counts, at one place on the page. The converse is a claim about every triple of lengths satisfying the equation, of which there are infinitely many, in infinitely many sizes. No drawing can contain them.

Worse, the drawing cannot show the thing the proof turns on. The congruence step compares the given triangle to a triangle that was never built — one manufactured for the argument and discarded immediately afterwards. It exists in the proof and nowhere in the picture, and it is the entire reason the conclusion holds. The right-hand panel of the second figure is an illustration of a hypothetical, which is exactly what a diagram is worst at signalling.

What the pictures do carry is the falsifiability. The 4-5-7 rope is on the page, closing into a triangle with a corner twelve degrees out, and its presence is what makes the 3-4-5 rope evidence rather than decoration.

The ladder from here

The forward theorem has three rungs below this one: the rearrangement, Euclid’s shearing proof, and the triples as rational points. Above it, the theorem stops being about triangles at all: in three dimensions it becomes a statement about the diagonal of a box and then about areas, and on a sphere it becomes false in a way that is more informative than its truth.

Further along, the same equation with the exponent changed is the question that took three hundred years, and the same distance formula with the exponent changed is the family of pp-norms, where the unit circle is a diamond or a square and the shortest path between two points depends on which one is chosen. That last direction is where the theorem stops being a fact and becomes a definition — the point at which distance is something chosen rather than discovered.

The instrument is the argument

The lasting point is about what a converse buys, and it is not symmetry.

The forward theorem is a fact about right triangles: it describes. The converse is a procedure: it builds. Nothing in the forward direction tells anyone how to make a right angle, because it assumes one is already there. The rope is the theorem in its useful direction, and the useful direction had to be proved separately.

This pattern recurs across the whole of mathematics and is worth naming. A characterisation that runs both ways turns a property into a test. Two integers are coprime exactly when the Euclidean algorithm ends at one — the forward direction is a fact and the backward one is a decision procedure. A graph has an Eulerian circuit exactly when every vertex has even degree — the forward direction is a remark and the backward one is a construction. In each case the second half is where the work goes, and in each case the second half is the half somebody can pick up and use.

Twelve knots in a rope is a right angle, and the reason it is a right angle is a proof that manufactures a triangle nobody ever sees.

What links here

Computed from the collection, not written here: the essays that point at this one.

Named objects

A dashed tag is an object no other essay names yet.

CongruenceConstructionConverseLaw of cosinesPythagorean theoremPythagorean triplesRight angle