Euler Hall — free maths guides

Order the steps that derive Heron's formula by expressing the altitude in terms of the sides

Order and justify the steps that derive Heron's formula. The idea in plain words, a worked example, and a check with the answers shown — part of the free Geometry guides.

The idea in plain words

The plan. Heron's formula is not handed down; it is what you get by computing the altitude from the sides.

1. Name the unknown. Drop the altitudehh to the sideaa. Its foot cutsaa intoxx anda−xa - x. 2. Two Pythagoras relations. The two right triangles giveb2=h2+x2b^2 = h^2 + x^2 andc2=h2+(a−x)2c^2 = h^2 + (a-x)^2. 3. Eliminateh2h^2 by subtracting. The difference is linear inxx:b2−c2=x2−(a−x)2b^2 - c^2 = x^2 - (a-x)^2, sox=(a2+b2−c2)/(2a)x = (a^2 + b^2 - c^2)/(2a). 4. Geth2h^2 back by substituting:h2=b2−x2h^2 = b^2 - x^2, and clearing the denominator gives((2ab)2−(a2+b2−c2)2)/(2a)2\big((2ab)^2 - (a^2+b^2-c^2)^2\big)/(2a)^2. 5. Factor the numerator as a difference of squares:(a+b+c)(a+b−c)(a+c−b)(b+c−a)(a+b+c)(a+b-c)(a+c-b)(b+c-a). 6. Substitute the semiperimeter. Withq=(a+b+c)/2q = (a+b+c)/2 the four factors are2q2q,2(q−c)2(q-c),2(q−b)2(q-b),2(q−a)2(q-a), so the area12ah\tfrac12 a h isq(q−a)(q−b)(q−c)\sqrt{q(q-a)(q-b)(q-c)}.

Why step 3 is the hinge. Two equations in the two unknownshh andxx, one of them quadratic in each — subtracting killsh2h^2 and leavesxx linear, which is the only reason the derivation closes. Had both equations been kept inhh, the algebra would not reduce.

What the factors mean. Eachq−sideq - \text{side} is the semiperimeter less one side, and the triangle inequality makes all four positive — which is why the square root is real. For a degenerate "triangle" witha+b=ca + b = c one factor is zero and so is the area, as it should be.

Why it is true

Why the subtraction is legitimate. Both relations haveh2h^2 on one side, so subtracting one from the other eliminates it without any assumption about the triangle beyond the two right triangles existing. The foot may lie outside the side for an obtuse triangle — the algebra covers that case withxx coming out negative or exceedingaa, and the formula still holds.

Why the numerator factors.(2ab)2−(a2+b2−c2)2(2ab)^2 - (a^2 + b^2 - c^2)^2 is a difference of two squaresP2−Q2P^2 - Q^2 withP=2abP = 2ab andQ=a2+b2−c2Q = a^2 + b^2 - c^2. So it is(P+Q)(P−Q)(P+Q)(P-Q), and each piece is a difference of squares again after regrouping:P+Q=(a+b)2−c2P + Q = (a+b)^2 - c^2 andP−Q=c2−(a−b)2P - Q = c^2 - (a-b)^2. Four factors, as claimed.

Why the semiperimeter is the right variable. The four factors come in the pairs(a+b+c)(a+b+c),(a+b−c)(a+b-c),(a+c−b)(a+c-b),(b+c−a)(b+c-a), and every one is a sum or difference of the perimeter with twice one side. Half the perimeter,qq, is the number that makes them all2q2q or2(q−something)2(q - \text{something}) — a bookkeeping choice that turns four unrelated expressions into one formula.

Why the triangle inequality matters. Ifa+b<ca + b < c thena+b−c<0a + b - c < 0 and the product under the root is negative. So a real area exists exactly when the three lengths satisfy the inequality, which is the converse triangle inequality — the same fact the SSS construction needs.

A worked example

The derivation on a 5-12-13 triangle. Sidesa=5a = 5,b=12b = 12,c=13c = 13.

First the foot's position.x2−(5−x)2=x2−(25−10x+x2)=10x−25x^2 - (5-x)^2 = x^2 - (25 - 10x + x^2) = 10x - 25, andb2−c2=144−169=−25b^2 - c^2 = 144 - 169 = -25. So10x−25=−2510x - 25 = -25 andx=0x = 0: the foot sits at the vertex, which is exactly what a right angle at the junction of the55 and1212 sides requires.

Thenh2=b2−x2=144−0=144h^2 = b^2 - x^2 = 144 - 0 = 144, soh=12h = 12 — the altitude IS the1212-side, as it must be in a right triangle — and the area is12⋅5⋅12=30\tfrac12 \cdot 5 \cdot 12 = 30.

The formula's check.q=15q = 15, so15⋅10⋅3⋅2=900=30\sqrt{15 \cdot 10 \cdot 3 \cdot 2} = \sqrt{900} = 30. Agreed.

I gotxx wrong the first time I did this by expanding(5−x)2(5-x)^2 as25−x225 - x^2 instead of25−10x+x225 - 10x + x^2, which gave a falsexx and an area of144−x2\sqrt{144 - x^2} that was not 30. The check that caught it is the one above: in a right triangle the altitude is a side, so if the algebra says otherwise the algebra is wrong.

By the end you can
  • Order and justify the steps that derive Heron's formula
  • Explain why subtracting the two Pythagoras relations is the key step
Check yourself
  1. 1. Why does subtracting the two Pythagoras relations help?
  2. 2. A 6-8-10 triangle: what isxx?
  3. 3. What doesqq denote, and what are the four factors?
Answers
  1. 1.h2h^2 has coefficient 1 in both, so it cancels and leaves a linear equation inxx.
  2. 2.(36+64−100)/12=0(36 + 64 - 100)/12 = 0 — a right triangle, foot at the vertex.
  3. 3. The semiperimeter; the factors areqq,q−aq-a,q−bq-b,q−cq-c.
Work out where to start — free, no accountAnswer six real questions — free, no account