Triangles

The Converse of Pythagoras and How Builders Check a Square Corner

See why matching squares of sides force a right angle, and how the 3-4-5 method and equal diagonals check a layout for square.

Key takeaways

  • If a² + b² = c² holds for the sides of a triangle, the angle between a and b is exactly 90°.
  • The proof builds a second triangle with a known right angle and shows that the two are congruent.
  • If c² is larger than a² + b² the angle is obtuse, and if smaller it is acute.
  • Any multiple of 3-4-5 works for layout, and larger triangles give a more accurate check.
  • For a four-cornered layout, equal opposite sides and equal diagonals confirm a rectangle.

The converse of the Pythagorean theorem says that if the sides of a triangle satisfy a² + b² = c², then the angle opposite side c is a right angle. That lets you make or test a 90° corner using nothing but a tape measure: mark 3 units along one edge, 4 along the other, and adjust until the marks are exactly 5 apart.

This is a different statement from the theorem itself. The theorem starts with a right angle and tells you about lengths. The converse starts with lengths and tells you about an angle, and it needs its own proof.

Theorem and converse are not the same

"If a shape is a square, then it has four sides" is true. "If a shape has four sides, then it is a square" is false. Reversing a true statement can easily produce a false one.

So knowing that right triangles satisfy a² + b² = c² does not by itself rule out some other, non-right triangle that satisfies it too. The converse is the guarantee that no such impostor exists.

The proof

Suppose triangle ABC has BC = a, CA = b and AB = c, with a² + b² = c².

  1. Construct a new triangle DEF with a right angle at F, with legs EF = a and FD = b.
  2. By the Pythagorean theorem, its hypotenuse satisfies DE² = a² + b².
  3. But a² + b² = c², so DE² = c², and since lengths are positive, DE = c.
  4. Triangles ABC and DEF now have three pairs of equal sides.
  5. By side-side-side congruence, they are congruent, so angle C equals angle F, which is 90°.

The whole argument leans on three side lengths fixing a triangle. Euclid gives essentially this proof as Proposition 48, the final proposition of Book I.

Acute, right or obtuse

Let c be the longest side of a triangle. Picture hinging the two shorter sides at their meeting point. At a 90° opening, the gap between their far ends is √(a² + b²). Open the hinge more and the gap grows; close it and the gap shrinks.

Comparison Angle opposite c Example
c² < a² + b² acute 5, 6, 7: 49 < 61
c² = a² + b² right 5, 12, 13: 169 = 169
c² > a² + b² obtuse 5, 6, 9: 81 > 61

Before using the test, confirm that a triangle exists at all, so the longest side must be less than the sum of the others. See which lengths form a triangle.

The 3-4-5 method, step by step

Say you want one edge of a deck frame square to the wall of a shed.

  1. Fix a corner point O on the wall.
  2. Measure 3 m along the wall from O and mark point P.
  3. Run a string from O in the direction of the new edge.
  4. Mark point Q on the string 4 m from O.
  5. Swing the string until the distance from P to Q is exactly 5 m.
  6. Recheck the 3 m and 4 m marks, then fix the string.

Any common multiple works, in any unit: 6, 8, 10 feet; 9, 12, 15 feet; or 600, 800, 1000 mm. Other whole-number sets such as 5, 12, 13 or 8, 15, 17 serve equally well. You may also use any pair of legs and compute the diagonal: legs of 2 m and 2 m need a diagonal of about 2.828 m.

Squaring a corner with a tape
1 Mark one leg 3 units along the fixed edge 2 Mark the other 4 units along a string from the corner 3 Adjust Swing until the marks are 5 units apart 4 Verify Recheck all three lengths before fixing Mark one leg 3 units along the fixed edge 1 Mark the other 4 units along a string from the corner 2 Adjust Swing until the marks are 5 units apart 3 Verify Recheck all three lengths before fixing 4

Why bigger triangles are better

Every measurement carries some error. Suppose the legs are exactly 3 m and 4 m but your diagonal reads 1 cm long, at 5.01 m. Working through the geometry, the far end of the 4 m leg is then about 1.7 cm off from true square. Carried out along a 12 m edge, that becomes about 5 cm.

Using a 6, 8, 10 m triangle with the same 1 cm error cuts the angular error roughly in half. So make the check triangle as large as the site allows.

Other habits help: pull the tape with steady tension, keep it level, avoid letting it sag, and measure from the same face of each mark.

Checking a whole rectangle

For a four-cornered frame there is a faster test.

  1. Check that each pair of opposite sides is equal. This makes the shape a parallelogram.
  2. Measure both diagonals. If they are equal, the parallelogram is a rectangle.

Why does it work? In parallelogram ABCD, triangles ABC and BAD have AB shared, BC = AD, and equal diagonals AC = BD. So they are congruent, and angles ABC and BAD are equal. Those neighboring angles add to 180° in a parallelogram, so each is 90°.

Both conditions are needed. An isosceles trapezoid has equal diagonals without being a rectangle. If the diagonals differ, push the longer diagonal's corners toward each other until the two readings agree.

You can also predict the value. A 10 m by 6 m rectangle should have diagonals of √136 ≈ 11.662 m. A 24 ft by 32 ft slab should measure 40 ft corner to corner. The full routine is covered in laying out a building square with diagonals.

Useful whole-number triples

Legs Hypotenuse Check
3 and 4 5 9 + 16 = 25
5 and 12 13 25 + 144 = 169
8 and 15 17 64 + 225 = 289
7 and 24 25 49 + 576 = 625
20 and 21 29 400 + 441 = 841

A triple with similar legs, such as 20, 21, 29, spreads the check evenly along both directions.

Correcting a frame that is out of square

Suppose a 10 m by 6 m layout has its opposite sides correct, but the diagonals read 11.70 m and 11.62 m. The frame is a leaning parallelogram. How far must the far side shift along its own line?

Let s be the sideways lean of the top edge, with width w. Applying coordinates to the two diagonals shows that their squares differ by 4ws.

11.70² − 11.62² = (11.70 − 11.62) × (11.70 + 11.62)
                = 0.08 × 23.32 = 1.8656
s = 1.8656 / (4 × 10) ≈ 0.047 m

So shift the top edge about 4.7 cm, toward the side that shortens the long diagonal. Remeasure both diagonals afterward. They should both come out close to 11.66 m. In practice many people simply nudge and remeasure, which converges quickly, but the estimate tells you whether to move millimeters or centimeters.

Notice that a small difference between diagonals can hide a larger shift in the corners, especially when the rectangle is long and narrow.

The converse on paper

The same test settles questions in coordinates without drawing anything. Take the points A(1, 1), B(4, 2) and C(2, 8).

AB² = 3² + 1² = 10
BC² = 2² + 6² = 40
AC² = 1² + 7² = 50
10 + 40 = 50,  so the angle at B is 90°

The right angle sits opposite the longest side, here AC, so it is at B. There was no need to take any square roots.

It also generates right triangles from algebra. For any n greater than 1, the lengths 2n, n² − 1 and n² + 1 satisfy (2n)² + (n² − 1)² = (n² + 1)². By the converse, each such triple is a right triangle. With n = 4 the sides are 8, 15 and 17.

A note on history

It is often said that ancient Egyptian surveyors, the so-called rope stretchers, made right angles with a loop of cord knotted into 12 equal parts. The geometry works, since 3 + 4 + 5 = 12. Firm evidence that they actually did it this way is lacking, so treat the story as a plausible modern suggestion. Number triples themselves do appear in much older Babylonian mathematics.

Other simple methods exist, including folding and the angle in a semicircle. See making a right angle without tools, or look at the carpenter's square.

Reading a real set of measurements

Say a tabletop frame has two sides measured at 2.41 m and 3.22 m, and the distance between their free ends is 4.00 m.

2.41² + 3.22² = 5.8081 + 10.3684 = 16.1765
√16.1765 ≈ 4.022 m expected for a square corner
measured 4.00 m, about 2 cm short

A short diagonal means the angle is a little under 90°. Open the corner and measure again. Whether 2 cm matters depends on the job, so decide the allowed difference before you start, and write it down with the layout.

Limits and cautions

The converse is exact for ideal triangles in a flat plane. Real materials bow, strings stretch and ground is uneven, so a layout is square only within some tolerance that you should decide in advance.

This is general information. Anything structural should follow local building codes and, where required, the plans of an engineer. Locating property lines is a job for a licensed surveyor, and no tape-measure triangle substitutes for that. Check for buried utilities before driving stakes.

Common mistakes

  • Testing the wrong side as c. Only the longest side can sit across from a right angle.
  • Marking from different points. Both leg marks must be measured from the same corner.
  • Squaring one corner and assuming the rest. A four-sided frame needs the side and diagonal checks, since the other corners can still be off.

Common questions

What if my measurements are not whole numbers?

The converse holds for any positive lengths. Compare a² + b² with c², allowing for measurement error. Sides of 1.50, 2.00 and 2.50 satisfy it exactly.

How close is close enough?

Compare the measured diagonal with the computed one rather than comparing squares. A difference of a few millimeters on a small cabinet may matter, while the same on a garden bed may not.

Can I test an angle that is not 90°?

You can classify it as acute or obtuse with the squares test. Finding its size in degrees needs trigonometry or a protractor.

Written for 4Geometry with AI writing tools and not reviewed line by line by a person. Check anything you rely on against a textbook or primary source. Report an error.

Keep reading

All 57 articles in Triangles →

Latest news on this topic