Sub topic 4
Area Formulas: Base-Height, Heron and Half ab sin C
What this chapter assumes
You should be comfortable with square roots and surds, with angle facts for parallel lines, and with the values sin 30° = 1/2, sin 45° = √2/2, sin 60° = √3/2 and sin 90° = 1. Later chapters use area heavily for similarity, medians and the inradius, so it pays to know all three formulas and to pick the right one in a few seconds.
Base and height
The basic formula is
Area = (1/2) × base × height
The base can be any side. The height is the perpendicular distance from the opposite vertex to the line containing that base. Three points matter in exam questions.
- The height is not a slanted side. It only equals a side in a right triangle, where one leg is the height on the other leg.
- In an obtuse triangle, the foot of the height falls outside the base, on its extension. The formula still works.
- Every side can serve as the base, so (1/2) × a × ha = (1/2) × b × hb = (1/2) × c × h_c. The longest side therefore has the shortest height. This is how you find an unknown height from a known area.
Triangles that share a base and have their third vertex on a line parallel to that base have equal areas, because the height is the same. A median splits a triangle into two triangles with equal bases and the same height, so each has half the area.
Half ab sin C
If you know two sides and the angle between them, you can skip the height. Take sides a and b with included angle C. The height on side a is h = b sin C, so
Area = (1/2) × a × b × sin C
Worked example: two sides are 6 and 8, and the angle between them is 30°. Area = (1/2) × 6 × 8 × (1/2) = 12.
The formula has three useful consequences.
- At C = 90° it reduces to (1/2)ab, the right-triangle area.
- Since sin(180° − C) = sin C, an included angle of 150° gives the same area as 30°. An obtuse angle does not need a separate formula.
- A parallelogram with adjacent sides a and b and included angle C has area ab sin C, which is twice the triangle.
For an equilateral triangle with side a, set C = 60° to get Area = (√3/4) a². With a = 4 this gives 4√3.
Heron's formula
When you know all three sides and no height, use Heron's formula. Let s be the semi-perimeter:
s = (a + b + c) / 2
Area = √( s(s − a)(s − b)(s − c) )
For the 13-14-15 triangle, s = 21. The factors are s − a = 8, s − b = 7 and s − c = 6. The product is 21 × 8 × 7 × 6 = 7056, and √7056 = 84.
You can check this against base-height. Taking 14 as the base, 84 = (1/2)(14)h gives h = 12, a neat whole number. The code below also computes the inradius and circumradius, which the triangle-centres chapter derives.
import math
a, b, c = 13, 14, 15
s = (a + b + c) / 2
area = math.sqrt(s * (s - a) * (s - b) * (s - c))
inradius = area / s
circumradius = a * b * c / (4 * area)
print(area, inradius, circumradius) # 84.0 4.0 8.125Two uses of Heron's formula deserve attention.
- Existence test. If any of s − a, s − b or s − c is zero or negative, the triangle does not exist. For sides 3, 4 and 7, s = 7 and s − 7 = 0, so the area is 0. The three lengths lie on one line.
- Hand calculation. Do not multiply the four factors out. Factor them first. For 13-14-15, 21 × 8 × 7 × 6 = (3·7)(2³)(7)(2·3) = 2⁴ · 3² · 7², so the root is 2² · 3 · 7 = 84.
Related formulas worth knowing
Some formulas follow from the three above. You do not need to derive them in the exam.
- Right triangle with legs p and q: area = (1/2)pq. The hypotenuse height is pq / hypotenuse. For the 3-4-5 triangle that height is 12/5 = 2.4.
- Isosceles triangle with equal sides l and base b: the height on the base is √(l² − b²/4). For 10-10-12 it is √(100 − 36) = 8, so the area is (1/2)(12)(8) = 48.
- Inradius: area = r × s, so r = area / s.
- Circumradius: R = abc / (4 × area).
- Same-height rule: two triangles with the same height have areas in the ratio of their bases. This is the main tool for the shared-height ratios in the area-ratio chapter.
Choosing the formula
| What you are given | Best formula |
|---|---|
| A side and the perpendicular height to it | (1/2) × base × height |
| Right angle between two known sides | (1/2) × product of the legs |
| Two sides and the included angle | (1/2) ab sin C |
| All three sides, no height | Heron's formula |
| Equilateral, side a | (√3/4) a² |
| Area known, one side known | Solve for the height with (1/2) × side × height |
Area scales with the square of lengths
If every side of a triangle is multiplied by k, the base and the height both scale by k, so the area scales by k². The code doubles the 3-4-5 triangle and checks this.
import math
def heron(a, b, c):
s = (a + b + c) / 2
return math.sqrt(s * (s - a) * (s - b) * (s - c))
small = (3, 4, 5)
large = (6, 8, 10)
k = large[0] / small[0] # side ratio 2.0
area_ratio = heron(*large) / heron(*small)
print(k, area_ratio) # 2.0 4.0
print(math.isclose(area_ratio, k ** 2)) # TrueThe areas are 6 and 24. The similarity chapters build on this fact.
Common errors
- Using the perimeter as s. Heron's formula needs half the perimeter. Using the full perimeter inflates every factor.
- Using a slanted side as the height. In a non-right triangle, a side is not the height. Drop a perpendicular instead.
- Using a non-included angle in half ab sin C. The angle must sit between the two sides.
- Forgetting the one-half. Base × height gives the area of a parallelogram or rectangle, which is twice the triangle.
- Skipping the factoring step in Heron. Multiplying large numbers by hand costs time and invites mistakes. Factor into primes and pair them up.
- Rejecting an obtuse angle. Because sin 150° = sin 30°, an obtuse included angle works in half ab sin C without any adjustment.
Practice
Exercise
Find the area of a triangle with sides 17, 25 and 28.
Show answer
s = (17 + 25 + 28) / 2 = 35. The factors are 35 − 17 = 18, 35 − 25 = 10 and 35 − 28 = 7. The product is 35 × 18 × 10 × 7 = 44100, and its square root is 210. The area is 210.
Exercise
Two sides of a triangle are 10 and 12, and the angle between them is 150°. Find the area.
Show answer
Area = (1/2)(10)(12) sin 150° = 60 × (1/2) = 30.
Exercise
An isosceles triangle has sides 10, 10 and 12. Find its area using Heron's formula, then find the height on one of the equal sides.
Show answer
s = 16, so the product is 16 × 6 × 6 × 4 = 2304 and the area is √2304 = 48. The height on a side of length 10 satisfies (1/2)(10)h = 48, so h = 9.6.
Exercise
Can a triangle have sides 5, 9 and 15? Use Heron's formula to decide.
Show answer
s = 29/2 = 14.5. Then s − c = 14.5 − 15 = −0.5, which is negative, so the product under the root is negative and no such triangle exists. This agrees with the triangle inequality, since 5 + 9 = 14 is less than 15.