Skip to content
LoveToCalc

Theorem — what does that mean?

Geometric mean theorem

The altitude to the hypotenuse, squared, equals the product of the two pieces the altitude cuts the hypotenuse into.

In Swedish: Höjdsatsen

Geometric mean theorem

The relation

h²=pq

In a right triangle, the altitude to the hypotenuse squared equals the product of the two pieces it cuts the hypotenuse into.

A right triangle with the right angle at the top. The altitude h drops from the right angle to the hypotenuse at a right angle and cuts it into the pieces q on the left and p on the right.
Solve for
Solved for h

h=pq

Show how the formula is rearranged
  1. h²=pq
  2. Take the square root of both sides. These are lengths, so only the positive root counts.

    h=pq

h=6cm

h equals the square root of (4 times 9), equals the square root of (36), equals 6 cm

Working3 steps

Practice questions

You are given

  • h=8cm
  • q=16cm

Pick the unit your lengths are in. Areas are then labelled in square units and volumes in cubic units; nothing is converted.

The theorem

Draw the altitude from the right angle down to the hypotenuse. It cuts the hypotenuse into two pieces, p and q, and the altitude h satisfies h² = pq.

Holds when the triangle is right-angled and h is the altitude to the hypotenuse, from the corner with the right angle.

The altitude cuts the hypotenuse into pieces of 4 cm and 9 cm. Then

h² = 4 · 9 = 36, so h = 6 cm.

p and q are pieces of the hypotenuse

The easy mistake is to substitute a leg for one of the pieces. With the leg a = √52 ≈ 7.2 cm in the same triangle:

Substituted h
4 · 9, the two pieces of the hypotenuse 6 cm
7.2 · 9, a leg and a piece ≈ 8.0 cm

The answer looks plausible but is longer than the leg itself, which the altitude of a right triangle cannot be. Mark in the figure where the altitude meets the hypotenuse before substituting anything.

When the altitude is known

The altitude is 6 cm and one piece is 3 cm. Then 36 = 3 · q, so q = 12 cm, and the whole hypotenuse is 3 + 12 = 15 cm.

The pieces can be as unequal as you like. The closer the right angle sits to one end of the hypotenuse, the shorter that piece and the longer the other, and in every position the product pq is the altitude squared.

Why the theorem holds

The altitude splits the triangle into two smaller right triangles. Both have the same angles as the large one, so they are similar to each other. One has the legs q and h, the other h and p, and corresponding sides are in the same ratio:

h / q = p / h

Cross-multiply and you get h² = pq.

The geometric mean theorem and the leg theorem

The same figure gives the leg theorem, a² = pc, and together with the Pythagorean theorem the three form a system: two measurements are enough to work out the rest of the triangle.

Known Work out
p and q h = √(pq), c = p + q
h and p q = h²/p
p and c a = √(pc), with the leg theorem

Common mistakes

Common questions

Why is h called the geometric mean of p and q? Because h = √(pq), which is the definition of the geometric mean of two numbers. The theorem therefore lets you construct √(pq) with compass and straightedge: draw a semicircle on a segment p + q and raise a perpendicular at the join.

Does it hold in a triangle that is not right-angled? No. The proof rests on the two small triangles having the same angles as the large one, and that needs the right angle.

Looking for another letter? The formula solved for each one
Solved for each letter
Solve forRearrangedWith the numbersComes to
ph²q6²94 cm
qh²p6²49 cm
hpq4·96 cm

Last reviewed October 7, 2026 ·How pages are reviewed

GeometryAll formulas

Put this formula on your site

Copy the code into your page where the formula card should appear. It loads from lovetocalc.com, so it stays current on its own — all we ask is that the credit line comes with it.