Baudhayana-Pythagoras theorem
Turn a right-angled triangle inside out and a strange fact appears: draw a square on each of its three sides, and the two smaller squares always add up, in area, to exactly the largest one. This is the Baudhayana-Pythagoras theorem — one of the oldest and most useful results in mathematics, recorded by the Indian mathematician Baudhāyana in his Śulba-Sūtra around 800 BCE, centuries before the Greek mathematician Pythagoras, to whom it is often credited alone in Western texts. Builders use it to square a corner, sailors and surveyors used it to lay out right angles without any protractor, and it still sits at the heart of geometry, trigonometry, and coordinate distance formulas taught in later grades. This section builds the theorem from the ground up: what legs and hypotenuse mean, a hands-on cut-and-rearrange proof, a fully worked hypotenuse calculation, and the converse test that tells you whether any triangle is right-angled just by checking three numbers.
In a right-angled triangle with legs and hypotenuse , the areas satisfy , a relation known since Baudhāyana's Śulba-Sūtra roughly 800 BCE and provable by cutting and rearranging squares built on each side.
The core idea
Legs and hypotenuse. In a right-angled triangle, the side opposite the angle is the hypotenuse — always the longest side. The two sides that form the right angle are the legs. If the legs have lengths and , and the hypotenuse has length , the theorem states:
where: and are the lengths of the two legs (the sides meeting at the right angle), and is the length of the hypotenuse (the side opposite the right angle).
The area picture. The same relation can be read as a statement about areas. If you draw a square on each of the three sides of the right triangle, the areas of the two smaller squares — built on the legs — add up exactly to the area of the largest square, built on the hypotenuse:
This area reading is what makes the theorem provable by pure cutting and rearranging, with no algebra at all — see the figure below and the derivation that follows.
Baudhāyana before Pythagoras. The Śulba-Sūtras were practical manuals for constructing fire altars of precise shape and area. Baudhāyana's text states the relationship, and shows how to construct a square equal in area to a given rectangle using this same idea, roughly three centuries before Pythagoras is traditionally said to have lived. Babylonian, Chinese, and Egyptian sources independently show evidence of using the same relationship in surveying and construction long before it had one named discoverer. Calling the result the Baudhāyana–Pythagoras theorem credits this older, independently-arrived-at insight rather than crediting a single culture.
The converse — a right-angle test. The theorem also runs backwards: if three side lengths (with the largest) satisfy , then a triangle with those three sides is guaranteed right-angled, with the right angle opposite . This converse is what makes the theorem so practically useful — it lets you check for a right angle using only a measuring tape, with no protractor or angle tool at all.
Show, using only cutting and rearranging of shapes with no algebraic manipulation of unknowns, that the two squares built on the legs of a right triangle together have exactly the same total area as the single square built on its hypotenuse, so that for every right-angled triangle regardless of its size or proportions.
Step 1. Start with a right-angled triangle whose legs have lengths and and whose hypotenuse has length . Construct a square of side on one leg, a square of side on the other leg, and a square of side on the hypotenuse, each square drawn outward from the triangle so none overlaps it.
Step 2. Take four identical copies of the original right triangle and arrange them inside a large square of side , placed so their hypotenuses form a tilted square of side in the middle, with the right angle of each triangle tucked into a corner of the big square. The big square's total area is , and it is made up of the four triangles plus the tilted inner square of area .
Step 3. Rearrange the same four triangles inside a second, identically sized square of side , but this time push them into two of the corners so they leave behind two separate uncovered squares — one of side and one of side — instead of one tilted square in the middle. Because both arrangements use the same four triangles inside squares of the same total size , the leftover uncovered area must be the same in both cases.
Step 4. In the first arrangement the leftover area was the single tilted square, . In the second arrangement the leftover area is the two separate squares, . Since cutting and rearranging pieces never changes total area, these leftover areas must be equal: . This holds for any right triangle, because no property of , , or beyond the right angle was ever used — only that four copies of the same triangle can be packed both ways inside a square of side .
Worked example
Problem: A right-angled triangle has legs of length and . Find the length of the hypotenuse, and then check whether a nearby triangle with sides , , and a measured diagonal of is also right-angled.
Step 1. Identify the legs of the first triangle: , . Apply the theorem, .
Step 2. Take the square root of both sides to isolate : . So the hypotenuse is — this is the well-known triple, a multiple of the primitive triple .
Step 3. Now use the converse to test the second triangle. A builder wants to check whether a rectangular plot with sides and has a genuinely right-angled corner, and measures the diagonal as . Treat , as the two sides and as the diagonal, and compute and separately: , and .
Step 4. Compare the two results: , so the condition holds exactly, confirming the corner is a genuine right angle. This is the classic "-- method," here scaled by to , that builders and carpenters use on-site to check square corners with only a measuring tape — no angle tool required.
Competitive stretch
Quiz and olympiad problems often disguise the theorem inside word problems — a ladder leaning against a wall, the diagonal of a rectangular field, or the shortest path across a rectangular park. In every case, first identify which side is the hypotenuse (the one opposite the right angle, and the longest), then apply exactly as above; the disguise never changes the underlying calculation.
Common traps
- Applying the theorem to a non-right triangle: only holds when the triangle has a genuine angle; for any other triangle this relation is false.
- Mislabelling the hypotenuse: the hypotenuse must be the side opposite the right angle and is always the longest side; plugging the wrong side into can give a negative or impossible value under the square root.
- Confusing with : a common slip is adding the legs first and squaring the sum, instead of squaring each leg separately and then adding — these are not equal in general.
- Assuming three numbers satisfying can form any triangle shape: they always form one specific right-triangle shape (up to scaling); the angles are not a free choice.
Ask the tutor: Want to see the four-triangle dissection proof animated step by step, or try a few more converse-test word problems?
Does the theorem work for triangles that are not right-angled
No. The relation is true only when the triangle contains a genuine angle, with being the side opposite that angle. For an acute or obtuse triangle, will be greater than or less than respectively, and a different relationship (studied in later grades using the cosine rule) is needed instead.
How do I know which side to call c in a word problem
Always look for the side opposite the right angle, or the longest side if lengths are already given — that is the hypotenuse, and it always goes on its own on one side of the equation as . In practical problems like ladders or diagonals, the hypotenuse is usually the slanted or diagonal measurement, while the legs are the horizontal and vertical measurements.
Is the dissection proof the only way to prove the theorem
No, it is simply the proof suited to this stage of school, since it uses only cutting, rearranging, and area — no algebra of unknown quantities. Later grades cover proofs using similar triangles and formal congruence postulates, and there are in fact hundreds of known proofs of this theorem discovered across history, including one credited to a U.S. president.