Skip to main content

Pythagorean Theorem

Converse of the Pythagorean Theorem: Proof and Examples

If a² + b² = c², the triangle is right-angled. See the statement, the SSS and law of cosines proofs, the acute and obtuse test, and worked examples.

Three triangles with sides 7-8-9, 6-8-10 and 4-6-9 showing the acute, right and obtuse cases of the converse of the Pythagorean theorem

The converse of the Pythagorean theorem states that if the sides of a triangle satisfy a² + b² = c², where c is the longest side, then the triangle is a right triangle and the right angle lies opposite c. It turns the famous theorem around: instead of starting from a right angle and finding a side, it starts from three side lengths and proves a right angle. Sides of 5, 12 and 13 give 25 + 144 = 169 = 13², so the angle facing 13 is exactly 90°. The check mode of the Pythagorean theorem calculator runs this test for any three lengths.

Figure 1

5 12 13
Sides of 5, 12 and 13 satisfy 5² + 12² = 13², so the converse guarantees that the angle opposite the side of 13 is a right angle.

The statement, precisely

The converse has three parts, and each one matters:

  1. A real triangle. The three lengths must form a triangle at all, which means the two shorter sides add up to more than the longest side.
  2. The longest side plays c. The test compares the squares of the two shorter sides with the square of the longest one.
  3. The conclusion is about one angle. If a² + b² = c², the angle between sides a and b, which is the angle opposite c, measures exactly 90°.
If a² + b² = c² (c the longest side)then the angle opposite c = 90°

The converse of the Pythagorean theorem. Euclid proved it as Proposition 48 of Book I of the Elements.

The original theorem and its converse are both true, which is less common than it sounds. Many true statements have false converses. “Every square is a rectangle” is true, but “every rectangle is a square” is false. The Pythagorean theorem is one of the cases where the relationship runs both ways.

Theorem, converse and contrapositive

Three related statements are easy to confuse. They use the same ingredients in a different order.

StatementFormExample
Pythagorean theoremIf the angle opposite c is 90°, then a² + b² = c²A right triangle with legs 3 and 4 has hypotenuse 5
ConverseIf a² + b² = c², then the angle opposite c is 90°Sides 3, 4 and 5 must form a right angle
Contrapositive of the theoremIf a² + b² ≠ c², then the angle opposite c is not 90°Sides 4, 5 and 6 cannot form a right angle, since 16 + 25 = 41 ≠ 36

The contrapositive always has the same truth value as the original statement, so it needs no separate proof. The converse does need its own proof. The theorem alone says nothing about a triangle whose angles are unknown; the converse is what lets three side lengths decide the angle.

Figure 2

a² = 9 b² = 16 c² = 25
In a 3-4-5 triangle the squares on the two shorter sides hold 9 and 16 unit squares, and the square on the longest side holds 25. The converse says this equality of areas forces a right angle.

Proof 1: building a copy with SSS

The classic proof builds a second triangle that is known to be right-angled, then shows it is identical to the first.

Given: triangle ABC with sides a = BC, b = CA and c = AB, where a² + b² = c².

To prove: angle C, the angle between sides a and b, equals 90°.

  1. Draw a separate right angle at a point F, and mark FE = a along one arm and FD = b along the other.
  2. Join D and E. Triangle DEF has a right angle at F, so the ordinary Pythagorean theorem gives DE² = a² + b².
  3. The given condition says a² + b² = c², so DE² = c² and DE = c, since lengths are positive.
  4. Triangles ABC and DEF now have three pairs of equal sides: a with a, b with b, c with c.
  5. By the side-side-side (SSS) congruence rule, the two triangles are congruent.
  6. Corresponding angles of congruent triangles are equal, so angle C equals angle F, which is 90°.

The proof uses the forward theorem on the new triangle and congruence to carry the right angle back to the original. No measurement of angle C is needed at any point.

Proof 2: the law of cosines

The law of cosines holds in every triangle, with C the angle between sides a and b:

c² = a² + b² − 2ab · cos C

When C = 90°, cos C = 0 and the law of cosines becomes the Pythagorean theorem.

Substitute the given condition a² + b² = c². The equation becomes c² = c² − 2ab · cos C, so 2ab · cos C = 0. The sides a and b are positive, so cos C = 0. The only angle between 0° and 180° with a cosine of 0 is 90°, so C = 90°.

This second proof is shorter but leans on the law of cosines, which is usually proved later in a course. The SSS proof needs only congruence and the forward theorem, which is why textbooks prefer it.

Euclid’s Proposition I.48

The converse is the last proposition of Book I of Euclid’s Elements, written around 300 BC. Proposition 48 states that if the square on one side of a triangle equals the sum of the squares on the other two sides, the angle contained by those two sides is right. Proposition 47, directly before it, is the Pythagorean theorem itself. Euclid’s proof builds a right triangle on one of the sides and uses side-side-side reasoning, the same idea as Proof 1 above.

Beyond right angles: acute and obtuse triangles

Comparing a² + b² with c² does more than detect a right angle. It classifies every triangle, provided c is the longest side.

ComparisonLargest angleTriangle typeExample sides
a² + b² > c²Less than 90°Acute7, 8, 9: 49 + 64 = 113 > 81
a² + b² = c²Exactly 90°Right6, 8, 10: 36 + 64 = 100 = 100
a² + b² < c²More than 90°Obtuse4, 6, 9: 16 + 36 = 52 < 81

Figure 3

73.4° Acute: 7, 8, 9 113 > 81 90° Right: 6, 8, 10 100 = 100 127.2° Obtuse: 4, 6, 9 52 < 81
The same comparison sorts three triangles. 7-8-9 is acute (largest angle 73.4°), 6-8-10 is right (90°) and 4-6-9 is obtuse (127.2°).

The law of cosines explains the pattern. Rearranged, it reads a² + b² − c² = 2ab · cos C. The right side has the same sign as cos C, and cos C is positive for angles under 90°, zero at 90° and negative above 90°. So the sign of a² + b² − c² gives away the size of angle C.

Check the triangle inequality first

The comparison only means something for lengths that form a triangle. The two shorter sides must add up to more than the longest:

a + b > c (with c the longest side)

The triangle inequality. Lengths that fail it cannot close into a triangle at all.

Lengths 3, 4 and 8 show what goes wrong when the step is skipped. The squares give 9 + 16 = 25 < 64, which would suggest an obtuse triangle, but 3 + 4 = 7 is less than 8, so the three lengths never meet. Test the inequality first, then compare the squares.

Worked examples

Example 1 A large whole-number triple

Given
A triangle with sides 99, 20 and 101
Find
Whether the triangle is right-angled
Formula
a² + b² = c², with c the longest side
Substitution
20² + 99² = 101²?
Calculation
400 + 9801 = 10201, and 101² = 10201

Answer Right triangle: 20-99-101 is a Pythagorean triple

The sides were listed out of order. Sorting them first puts 101 in the role of c.

Example 2 Decimal sides

Given
A triangle with sides 0.9 m, 1.2 m and 1.5 m
Find
Whether the triangle is right-angled
Formula
a² + b² = c²
Substitution
0.9² + 1.2² = 1.5²?
Calculation
0.81 + 1.44 = 2.25, and 1.5² = 2.25

Answer Right triangle (3-4-5 scaled by 0.3)

Example 3 Square-root sides

Given
A triangle with sides √5, √11 and 4
Find
Whether the triangle is right-angled
Formula
a² + b² = c²
Substitution
(√5)² + (√11)² = 4²?
Calculation
5 + 11 = 16, and 4² = 16

Answer Right triangle

Squaring a root removes it, so this example needs no decimals at all. Rounding √5 and √11 first would only add error.

Example 4 Close, but not right

Given
A triangle with sides 11, 13 and 17
Find
The triangle type
Formula
Compare a² + b² with c²
Substitution
11² + 13² compared with 17²
Calculation
121 + 169 = 290, and 17² = 289

Answer Acute: 290 > 289, largest angle ≈ 89.80°

A difference of 1 between 290 and 289 is enough to rule out a right angle. Exact whole numbers leave no room for “close enough”.

Example 5 An obtuse triangle

Given
A triangle with sides 6, 9 and 12
Find
The triangle type and its largest angle
Formula
cos C = (a² + b² − c²) ÷ 2ab
Substitution
cos C = (36 + 81 − 144) ÷ (2 × 6 × 9)
Calculation
cos C = −27 ÷ 108 = −0.25

Answer Obtuse: C = cos⁻¹(−0.25) ≈ 104.48°

Building a right angle with 3-4-5

The converse is the reason the 3-4-5 triangle rule works on a building site. Mark 3 units along one line and 4 units along the other; if the two marks are exactly 5 units apart, the converse guarantees the corner is 90°. A loop of rope divided into 12 equal parts does the same job: stretched into a triangle with sides of 3, 4 and 5 parts, it forms a right angle without any protractor.

Larger triples give a more precise check over longer distances. The guides to the 8-15-17 triangle and to Pythagorean triples list other sets that work the same way. Once the right angle is confirmed, the right triangle formula sheet gives every other measurement.

Try It Yourself

A triangle has sides x, 15 and 17, where x is a whole number. For which values of x is the triangle right, acute or obtuse?

Show the answer
  • Right: x = 8 only, since 8² + 15² = 64 + 225 = 289 = 17². A right angle with 17 as a leg would need x² = 15² + 17² = 514, which is not a perfect square.
  • Acute: x = 9 to 22. For 9 ≤ x ≤ 17, x² + 225 > 289. For 18 ≤ x ≤ 22, 225 + 289 = 514 > x², and 22² = 484.
  • Obtuse: x = 3 to 7 and x = 23 to 31. For x ≤ 7, x² + 225 < 289. For x ≥ 23, x² ≥ 529 > 514.

Check any case in the right triangle calculator or the calculator’s check mode.

Common mistakes

  1. Testing the wrong side as c. The longest side must be c. For 13, 5 and 12, test 5² + 12² against 13², not 5² + 13² against 12².
  2. Skipping the triangle inequality. Lengths such as 3, 4 and 8 pass no test at all, since they do not form a triangle.
  3. Rounding square roots before squaring. (√5)² is exactly 5; 2.24² is 5.0176.
  4. Treating “almost equal” as equal. With exact data, 290 against 289 means acute, not right.
  5. Mixing up the theorem and its converse. The theorem goes from a right angle to an equation; the converse goes from the equation to a right angle.

Practice questions

  1. Do 12, 35 and 37 form a right triangle?
  2. Do 1.6, 3 and 3.4 form a right triangle?
  3. Classify the triangle with sides 7, 8 and 11.
  4. Classify the triangle with sides 5, 5 and 7.

Answer key

  1. Yes. 12² + 35² = 144 + 1225 = 1369 = 37².
  2. Yes. 1.6² + 3² = 2.56 + 9 = 11.56 = 3.4². These are the 8-15-17 sides scaled by 0.2.
  3. Obtuse. 7² + 8² = 49 + 64 = 113 < 121 = 11², and the largest angle is about 94.10°.
  4. Acute. 5² + 5² = 50 > 49 = 7², and the largest angle is about 88.85°.

Frequently Asked Questions

What does the converse of the Pythagorean theorem say?

It says that if the squares of the two shorter sides of a triangle add up to the square of the longest side, the triangle is a right triangle, with the right angle opposite the longest side.

Is the converse of the Pythagorean theorem always true?

Yes. Both the theorem and its converse are proven results. Euclid proved the converse as Proposition 48 of Book I of the Elements, and it also follows in one line from the law of cosines.

How do you use the converse to check a right triangle?

Sort the three sides, square the two shorter ones and add them, then compare the total with the square of the longest side. Equal values mean a right triangle; a larger total means acute; a smaller total means obtuse.

What is the difference between the converse and the contrapositive?

The converse swaps the condition and the conclusion: if a² + b² = c², the angle is 90°. The contrapositive of the theorem negates both: if a² + b² ≠ c², the angle opposite c is not 90°.

Does the converse work with decimals and square roots?

Yes. The test only needs the squares of the sides. Square roots disappear when squared, and decimal sides such as 0.9, 1.2 and 1.5 work the same way as whole numbers. Avoid rounding before you square.