Triangles

Proving the Pythagorean Theorem With Similar Triangles

Drop one altitude to make three similar right triangles, then use their matching ratios to prove a² + b² = c² in a few lines.

Key takeaways

  • The altitude to the hypotenuse creates two triangles that are each similar to the original.
  • Similarity follows from the angle-angle test, since each small triangle shares an acute angle with the big one and has a right angle.
  • The ratios give a² = c × q and b² = c × p, where p and q are the two pieces of the hypotenuse.
  • Adding those two equations proves the theorem because p + q = c.
  • The same figure yields h² = p × q and ab = ch for the altitude h.

Drop a perpendicular from the right angle to the hypotenuse. It cuts the triangle into two smaller triangles, and each of them has the same shape as the original. Matching their sides in proportion shows that each leg squared equals the hypotenuse times a piece of the hypotenuse. Since the two pieces make up the whole hypotenuse, adding gives a² + b² = c².

This is probably the most economical proof there is. It needs one extra line and the idea of similar triangles.

Labeling the triangle

Let ABC have its right angle at C. Name the sides after the opposite corners: a = BC, b = CA and c = AB. Draw the altitude from C, meeting AB at H. Let

  • h = CH, the altitude,
  • p = AH, the piece next to side b,
  • q = HB, the piece next to side a.

First, does H really lie between A and B? The angles at A and B are both acute. If H fell outside segment AB, one of them would have to be obtuse. So H is inside, and p + q = c.

Seeing three similar triangles

Two triangles are similar when their angles match, so that one is a scaled copy of the other. Two matching angles are enough, as explained in angle-angle similarity.

Triangle Right angle at Shared angle Hypotenuse Similar to
ACB C AB = c (the original)
AHC H A AC = b ACB
CHB H B CB = a ACB

The order of the letters records which corner matches which. In the correspondence AHC with ACB, A goes to A, H goes to C and C goes to B.

If you find this hard to see, redraw all three triangles separately, each with the right angle at the lower left and the shorter leg vertical. The family resemblance then jumps out.

The proof

Compare triangle AHC with the original. In both, look at the leg next to angle A and the hypotenuse.

AH / AC = AC / AB            leg next to A over hypotenuse
p / b = b / c
b² = c·p

Now compare triangle CHB with the original, using angle B.

HB / CB = CB / AB            leg next to B over hypotenuse
q / a = a / c
a² = c·q

Add the two results.

a² + b² = c·q + c·p = c·(p + q) = c·c = c²

That is the entire argument.

One altitude, three relations
Altitude CH Splits c into p and q Area a·b = c·h Altitude h h² = p·q Leg b b² = c·p Leg a a² = c·q Altitude CH Splits c into p and q Leg b b² = c·p Leg a a² = c·q Altitude h h² = p·q Area a·b = c·h

Checking with numbers

Take a = 3, b = 4 and c = 5.

p = b² / c = 16/5 = 3.2
q = a² / c = 9/5 = 1.8
p + q = 5                      matches c
h = a·b / c = 12/5 = 2.4
h² = 5.76 = 3.2 × 1.8          matches p·q

For the 5, 12, 13 triangle, q = 25/13 ≈ 1.92 and p = 144/13 ≈ 11.08, which add to 13. The altitude is 60/13 ≈ 4.62.

Two more relations from the same figure

Triangles AHC and CHB are both similar to the original, so they are similar to each other. Matching their legs gives p/h = h/q, or h² = p·q. The altitude is the geometric mean of the two pieces. These facts are developed in the geometric mean relations.

The area can be computed with either the legs or the hypotenuse as base: ½ab = ½ch, so ab = ch. Squaring and using c² = a² + b² gives a neat companion theorem:

1/h² = 1/a² + 1/b².

For the 3, 4, 5 triangle: 1/9 + 1/16 = 25/144, and 1/h² = 1/5.76 = 25/144.

The area version

There is an even shorter proof along the same lines. For similar figures, area grows with the square of the matching length. So for right triangles of this particular shape, area = k × (hypotenuse)², where k is a fixed positive number.

The three triangles have hypotenuses b, a and c, and the two small ones exactly fill the large one.

area AHC + area CHB = area ACB
k·b² + k·a² = k·c²
a² + b² = c²

You never need to know the value of k. This version is often linked to a story about the young Albert Einstein working out a similarity proof for himself; accounts of exactly which argument he found are not certain.

It also shows why the theorem is not really about squares. Draw semicircles, equilateral triangles or any three similar shapes on the sides, and the two smaller areas still add to the largest. Euclid states this in Book VI, Proposition 31, and the idea is pursued in Pythagoras with other shapes.

How the two pieces compare

Divide one leg relation by the other and the hypotenuse cancels:

p / q = b² / a².

The altitude splits the hypotenuse in the ratio of the squares of the legs, not the ratio of the legs. If one leg is twice the other, the piece beside it is four times as long as the other piece. With legs 1 and 2, the hypotenuse √5 is cut into pieces of 4/√5 and 1/√5.

The areas of the two small triangles share the same ratio. Both have altitude h, so their areas compare as their bases p and q. That matches the scaling rule: their hypotenuses are b and a, and areas of similar figures compare as squares of lengths.

Constructing a square root

The relation h² = p·q gives a ruler-and-compass way to find square roots. On a line, mark a segment of length 1 followed by a segment of length n. Draw a semicircle on the whole segment as diameter, and raise a perpendicular at the join until it meets the arc.

The angle in a semicircle is a right angle, so the meeting point and the two ends form a right triangle with altitude h. Therefore h² = 1 × n, and h = √n. For n = 9 the perpendicular is 3 units long. For n = 2 it is √2.

Running it backward

Suppose H lies on segment AB, CH is perpendicular to AB, and h² = p·q. Must angle C be right? Use the theorem, already proved, in the two small triangles.

AC² = p² + h² = p² + p·q = p·(p + q) = p·c
BC² = q² + h² = q² + p·q = q·(p + q) = q·c
AC² + BC² = (p + q)·c = c²

By the converse of the Pythagorean theorem, the angle at C is 90°. So the geometric mean relation holds for an altitude exactly when the triangle is right-angled at that vertex.

Is the reasoning circular?

A proof must not use what it is proving. Here the tools are the angle sum of a triangle, which gives the angle-angle test, and the theory of proportional sides. Neither depends on the Pythagorean theorem. Proportion theory rests instead on results such as the basic proportionality theorem.

The distance formula in coordinates is another matter. Using it to "prove" the theorem would go in a circle, because that formula is usually derived from Pythagoras in the first place.

Similarity itself requires a flat geometry. On a sphere or in the hyperbolic plane there are no similar triangles of different sizes, and so this proof, like the theorem in its usual form, does not carry over.

Practice problems

Find the pieces. A right triangle has legs 6 and 8. Then c = 10, p = 64/10 = 6.4 for the piece beside the leg of 8, q = 3.6, and h = 4.8.

Find a leg. The hypotenuse is split into pieces of 4 and 21. Then c = 25. The legs are √(25 × 4) = 10 and √(25 × 21) = √525 ≈ 22.91. Check: 100 + 525 = 625.

Find the altitude. The pieces are 2 and 8. Then h = √16 = 4, and the legs are √20 and √80. Check: 20 + 80 = 100 = 10².

A measurement application

The altitude relation can find a height that is hard to reach. Say you stand where you can sight the top and the bottom of a tall wall so that the two lines of sight make a right angle at your eye. A carpenter's square held to your eye helps you find the spot by moving closer or farther away.

If your eye is 1.5 m above level ground and you stand 6 m from the wall, then the horizontal line from your eye to the wall is the altitude of the right triangle, with h = 6. The part of the wall below eye level is one piece, q = 1.5. The part above is p = h² / q = 36 / 1.5 = 24. The wall is 25.5 m tall.

Small sighting errors are magnified when q is short, so treat the answer as an estimate. A reading of 6.1 m in place of 6 m would change the upper piece from 24 m to about 24.8 m.

Common mistakes

  • Mismatching corners. Write the similarity statement with letters in matching order before writing any ratio.
  • Pairing a leg with the far piece. Each leg goes with the piece of hypotenuse that touches it.
  • Treating h as a median. The altitude meets the hypotenuse at its midpoint only when the two legs are equal.
  • Using the relations without a right angle. In other triangles the three pieces are not similar.

If the ratios still feel slippery, practice on the standard similarity pictures before returning to this figure.

Common questions

Which proof should I learn first?

The area rearrangement is easiest to see. The similarity proof is shorter to write and gives more by-products. Knowing both is worthwhile.

Why does the altitude matter and not some other line?

Only the perpendicular produces right angles at H, which is what makes each piece share the shape of the whole.

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