Apollonius' Theorem on the Length of a Median
Find any median of a triangle from its three sides, understand two proofs and use the result in length and locus problems.
Key takeaways
- A median joins a vertex to the midpoint of the opposite side.
- With a = BC, b = CA and c = AB, the median from A satisfies m² = (2b² + 2c² − a²) / 4.
- The theorem is the parallelogram law for diagonals, seen on half a parallelogram.
- Applied to a right angle at A, it shows the median is half the hypotenuse.
- Points whose squared distances to two fixed points have a constant sum form a circle.
Apollonius' theorem connects the two sides that meet at a vertex with the median drawn from that vertex. If M is the midpoint of BC, then
AB² + AC² = 2·(AM² + BM²) In words: the squares of the two sides add to twice the sum of the squares of the median and of half the base. With the three sides known, you can solve this for the median at once, without any angles.
A first calculation
Take a triangle with BC = 8, CA = 9 and AB = 7. Find the median from A.
AB² + AC² = 49 + 81 = 130
130 = 2·(AM² + 4²)
65 = AM² + 16
AM² = 49, so AM = 7 In formula form, with m_a for the median to side a:
m_a² = (2b² + 2c² − a²) / 4 The side that the median bisects is the one with the minus sign. The other two carry the factor 2.
Solving for a side instead
The equation has four lengths in it, so any three determine the fourth. Suppose AB = 4, AC = 6 and the median AM = 4. How long is BC?
16 + 36 = 2·(16 + BM²)
26 = 16 + BM²
BM = √10
BC = 2√10 ≈ 6.32 Check that the triangle exists: 4 + 6 exceeds 6.32, and 4 + 6.32 exceeds 6. A data set that produced a negative value for BM² would describe no triangle at all.
Proof with Pythagoras
Drop the perpendicular from A to line BC, meeting it at H. Let h = AH, k = MH and let half the base be p, so BM = MC = p. Suppose H lies on the C side of M.
AB² = h² + (p + k)²
AC² = h² + (p − k)²
sum = 2h² + 2p² + 2k²
= 2·(h² + k²) + 2p²
= 2·AM² + 2·BM² The two cross terms 2pk and −2pk cancel. The identity still holds if H falls outside segment BC, since (p − k)² equals (k − p)², and if H falls on the B side, since the two lines simply swap roles.
This is also a special case of Stewart's theorem, which handles a cevian landing anywhere on the base.
Checking the example with coordinates
An independent check is worth a minute. Put B = (0, 0) and C = (8, 0). The point A = (x, y) must be 7 from B and 9 from C.
x² + y² = 49
(x − 8)² + y² = 81
subtract: −16x + 64 = 32, so x = 2 and y² = 45 The midpoint of BC is M = (4, 0). Then AM² = (2 − 4)² + 45 = 49, so the median is 7, matching the theorem.
The parallelogram picture
Extend median AM beyond M by its own length to a point D. The diagonals AD and BC now bisect each other, so ABDC is a parallelogram, a fact covered in parallelogram properties.
Its diagonals are BC = a and AD = 2m_a. The parallelogram law says the squares of the diagonals add to the squares of all four sides.
a² + (2m_a)² = 2b² + 2c² Solving for m_a gives the same formula. Apollonius' theorem and the parallelogram law are one statement drawn two ways.
How long can a median be?
The parallelogram picture also bounds the median. In triangle ABD, the sides are AB = c, BD = b and AD = 2m_a. The triangle inequality then gives
|b − c| < 2·m_a < b + c So a median is always shorter than the average of the two sides that surround it, and longer than half their difference. With sides 9 and 7, the median to the third side must lie between 1 and 8. The value 7 found for a = 8 sits inside that range.
As the angle at A opens toward 180°, the median shrinks toward the lower limit. As the angle closes toward zero, the median stretches toward the upper one.
All three medians at once
Write the formula for each vertex and add.
4·(m_a² + m_b² + m_c²) = 3·(a² + b² + c²) So the squares of the medians total three quarters of the squares of the sides. For the 8, 9, 7 triangle, the other medians satisfy m_b² = 145/4 and m_c² = 241/4. Adding 49 gives 145.5, and three quarters of 64 + 81 + 49 = 194 is also 145.5.
Because the centroid G lies two thirds of the way along each median, it follows that GA² + GB² + GC² equals one third of a² + b² + c².
Longer side, shorter median
Subtracting two of the formulas shows how the medians are ordered.
m_b² − m_c² = (3/4)·(c² − b²) If side c is longer than side b, then the median to b is longer than the median to c. So the longest side of a triangle receives the shortest median, and the shortest side receives the longest one. It also follows that two equal medians force two equal sides: a triangle with m_b = m_c is isosceles.
Going backward from medians to sides
The three formulas can be inverted. If you know the medians, then
a² = (4/9)·(2m_b² + 2m_c² − m_a²) with matching expressions for b² and c². This works because the medians of a triangle can themselves be slid into a new triangle, whose medians are three quarters of the original sides. A set of three lengths can serve as medians exactly when it can form a triangle.
Quick check. In an equilateral triangle of side 2, each median is √3. The formula gives a² = (4/9)·(6 + 6 − 3) = 4.
The right triangle case
Let the angle at A be a right angle. Then b² + c² = a², and the formula gives m_a² = (2a² − a²)/4 = a²/4. The median to the hypotenuse is half the hypotenuse.
The converse follows from the same line. If m_a = a/2, then b² + c² = a², so the angle at A is right. Moreover, a median longer than half the base means the angle at A is acute, and a shorter median means it is obtuse.
| Median compared with half the base | b² + c² compared with a² | Angle at A |
|---|---|---|
| Longer | Greater | Acute |
| Equal | Equal | Right |
| Shorter | Less | Obtuse |
A circle hiding in the theorem
Fix two points B and C, and look for all points P with PB² + PC² = K for a constant K. By the theorem applied to triangle PBC,
PM² = K/2 − BM² The right side is fixed, so PM is fixed. The points form a circle centered at the midpoint of BC. If K = 2·BM², the circle shrinks to the point M, and smaller values of K give no points at all.
Example. Let BC = 6 and K = 50. Then PM² = 25 − 9 = 16, so the locus is a circle of radius 4 about the midpoint.
Do not confuse this with the Apollonius circle, which fixes the ratio PB : PC. Both carry the same name, as does a famous tangency problem.
Using it when the midpoint is hidden
Many problems never mention a median, yet contain one.
A diagonal of a parallelogram. A parallelogram has sides 5 and 7, and one diagonal 8. The other diagonal q satisfies 64 + q² = 2·(25 + 49) = 148. So q² = 84 and q ≈ 9.17.
A point and a diameter. If BC is a diameter of a circle of radius r and P is any point at distance d from the center, then PB² + PC² = 2d² + 2r². For P on the circle this is 4r², which is the Pythagorean theorem for the right angle at P.
Three medians prove a theorem about quadrilaterals
Take any quadrilateral ABCD. Let M be the midpoint of diagonal AC and N the midpoint of diagonal BD. Apply the theorem three times.
triangle ABC, median BM: AB² + BC² = 2·BM² + 2·AM²
triangle CDA, median DM: CD² + DA² = 2·DM² + 2·AM²
triangle BMD, median MN: BM² + DM² = 2·MN² + 2·BN² Add the first two lines, then use the third to replace 2·(BM² + DM²). Since 4·AM² = AC² and 4·BN² = BD², the result is
AB² + BC² + CD² + DA² = AC² + BD² + 4·MN² This is Euler's quadrilateral theorem. In a parallelogram the diagonals share a midpoint, MN is zero and the parallelogram law returns. In every other quadrilateral, the squares of the sides add to more than the squares of the diagonals.
About the name
The theorem is traditionally attributed to Apollonius of Perga, a Greek geometer of around 200 BCE best known for his work on conic sections. A form of it also appears in the collection of Pappus, written centuries later. Treat the attribution as a convention of naming, since much ancient work survives only through later writers.
Common mistakes
- Putting the factor 2 on the wrong term. The side being bisected is subtracted once.
- Forgetting to divide by 4, which yields (2m)² instead of m².
- Using the whole base BC where the formula needs BM.
- Applying the median formula to an altitude or bisector. It requires a midpoint.
As practice, find all three medians of a triangle with sides 5, 5 and 6. One of them is also an altitude and has length 4, which gives you an immediate check on your arithmetic. The other two medians are equal, each with square 97/4 and length about 4.92. They are longer than the median to the base, as expected, since they go to the shorter sides.