Where the Rule Comes From: The Śulba-Sūtra
Quick answer Around 800 BCE, Indian altar builders wrote down rope-and-peg rules for exact shapes and exact areas. Baudhāyana's rule for the diagonal of a rectangle is the one this chapter is built on.
Somewhere around 800 BCE, long before anyone in India had heard of Pythagoras, a set of building manuals was written down that we now call the Śulba-Sūtras. The word śulba means a cord or a measuring rope, and sūtra means a rule, so the name is honest: these are rope rules. The oldest one that has survived is Baudhāyana's Śulba-Sūtra, and this chapter carries his name.
What were the rules for? Building fire altars out of bricks. An altar had to have a fixed shape and, much more awkwardly, a fixed area. A builder might be told to make a square altar with the same area as a given rectangle, or to build a fresh altar with exactly double the area of the old one. You cannot do that by eye. You need geometry, and you need it to be reliable enough that a wall of bricks will actually close up at the end.
The builders also had almost no equipment. No protractor, no set square, no calculator. What they had was a cord and some pegs. With a cord you can do exactly three things: stretch it straight to mark a line, hold it at a fixed length, and swing it around a peg to sweep an arc. Nearly every construction in the Śulba-Sūtras is built out of those three moves, which is why the mathematics in them is so practical and so carefully worded.
The hardest everyday job was getting a corner truly square. A corner that is off by two degrees looks fine and ruins the altar. Baudhāyana's answer is the rule this chapter is about. Written out in today's language, it says that the area of the square drawn on the diagonal of a rectangle is equal to the areas of the squares drawn on its length and on its breadth, added together. In symbols:
diagonal² = length² + breadth²
Notice that he states it as a fact about areas, not as a formula about lengths. For an altar builder, area was the thing being ordered, so area was the natural language.
Here is how that statement turns into a practical trick on the ground. Suppose the altar is to be a rectangle 12 units long and 5 units wide. Before pegging anything, work out the diagonal:
12² + 5² = 144 + 25 = 169 √169 = 13
So cut a cord 13 units long. Peg out the 12-unit side, peg out the 5-unit side, and then swing the corner around until the 13-unit cord stretches exactly from one loose end to the other. The instant it fits, the corner is a perfect right angle. No angles were measured at all — only three lengths. That is the whole reason this rule mattered enough to be written down and memorised.
So why the double name, Baudhāyana–Pythagoras? Scholars date Baudhāyana's text to roughly 800 BCE, while Pythagoras lived in Greece about two centuries later. The rule was clearly known, stated and used in India first, so Indian textbooks now name both. What the Greek tradition added, and what Indian mathematicians such as Bhāskara did much later, was to write down a proof — an argument showing the rule must hold for every right triangle, not just for the handful of cord lengths anyone had tested. You will meet two of those proofs further on in this chapter.
One small point of language before we go on. A rectangle has two diagonals and they are equal, so it does not matter which one you talk about. A square is a rectangle whose length and breadth are the same, so Baudhāyana's rule covers it too — and the square case turns out to be the most interesting one of all.
- The Śulba-Sūtras, from roughly 800 BCE, are rope-and-peg building manuals, and Baudhāyana's is the oldest that survives.
- Their purpose was altars of an exact shape and an exact area, which is why exact geometry was needed.
- Baudhāyana states the rule in area form: the square on the diagonal of a rectangle equals the squares on the length and the breadth together.
- For a 12 by 5 rectangle the diagonal cord is 13, because 144 + 25 = 169, and stretching that cord fixes a right angle without measuring any angle.
- The rule was recorded in India roughly two centuries before Pythagoras, which is why both names are used today.
