ExamSaathi learning library · Government exams · SSC CGL quantitative foundations; published syllabus labelled 2024 · Quantitative aptitude
Length of a median: Apollonius theorem and the parallelogram law
Find the length of a median of a triangle from its three sides with Apollonius theorem, work back from a median to a missing side, add the squares of all three medians, and get a diagonal of a parallelogram from its sides.
Status: original pilot lesson. Teacher review is pending. It is not a complete course or official exam material.
You will learn to
- State Apollonius theorem for the median of a triangle and explain how it follows from the law of cosines.
- Calculate the length of a median from the three sides with m = (1/2) x sqrt(2b^2 + 2c^2 - a^2), and work back from a median to a missing side.
- Use the facts that the squares of the three medians add up to three quarters of the sum of the squares of the sides, and that the median to the hypotenuse is half the hypotenuse.
- Apply the parallelogram law, the squares of the two diagonals adding up to the squares of the four sides, to find a missing diagonal of a parallelogram.
Before you start
Label the corners of a triangle A, B and C, and the sides facing them a = BC, b = CA and c = AB. A median runs from a corner to the midpoint of the opposite side: if D is the midpoint of BC, then AD is the median from A and BD = DC = a/2. Every triangle has three medians, one from each corner. Two tools are assumed: Pythagoras' theorem, and the law of cosines, a^2 = b^2 + c^2 - 2bc x cos A, which ties a side to the angle facing it. One more fact: two angles that together make a straight line have cosines of equal size and opposite sign, cos(180 - t) = -cos t. Here x is used only for multiplication, ^ marks a power, and lengths are in cm or metres. No diagrams are given, so sketch each figure from its description.
Apollonius theorem and where it comes from
In triangle ABC let D be the midpoint of BC. Apollonius theorem states AB^2 + AC^2 = 2 x AD^2 + 2 x BD^2. In words, the squares of the two sides meeting at A add up to twice the square of the median plus twice the square of half the third side. It is a consequence of the law of cosines, not a separate rule to take on trust. Use the law of cosines at D in both small triangles. In triangle ABD, AB^2 = AD^2 + BD^2 - 2 x AD x BD x cos(ADB). In triangle ADC, AC^2 = AD^2 + DC^2 - 2 x AD x DC x cos(ADC). The angles ADB and ADC sit side by side on the straight line BC, so cos(ADC) = -cos(ADB), and DC = BD. Adding the two lines, the cosine terms cancel and the theorem is left. A quick test: in an equilateral triangle of side 2 cm the median is also the height, sqrt(3) cm, and 2 x 3 + 2 x 1 = 8 = 2^2 + 2^2.
The median formula, forwards and backwards
Put BD = a/2 into the theorem: b^2 + c^2 = 2 x AD^2 + a^2/2, so AD^2 = (2b^2 + 2c^2 - a^2)/4 and the median from A is m = (1/2) x sqrt(2b^2 + 2c^2 - a^2). The side carrying the minus sign is the one the median cuts in half; the two sides that meet at the median's own corner are the doubled ones. Squaring and rearranging gives the backward form a^2 = 2b^2 + 2c^2 - 4m^2, which finds the third side when two sides and the median between them are known. Now write the formula once for each corner and add the three squares. The term a^2 appears as -a^2 in one of them and as +2a^2 in the other two, a net 3a^2 over 4, and b^2 and c^2 behave the same way. So the squares of the three medians add up to three quarters of a^2 + b^2 + c^2. For sides of 4, 5 and 6 cm that total is (3/4) x (16 + 25 + 36) = 57.75 cm^2.
Right angles and the parallelogram law
When angle A is 90 degrees, b^2 + c^2 = a^2 and the formula becomes m^2 = (2a^2 - a^2)/4 = a^2/4. So the median to the hypotenuse is exactly half the hypotenuse, and D is the same distance from A, B and C. It also works in reverse: if a median equals half the side it meets, the angle at its corner is 90 degrees. In general AD^2 - BD^2 = bc x cos A, so the median from A is longer than half of BC when angle A is acute and shorter when it is obtuse. Now take a parallelogram PQRS. Its diagonals PR and QS bisect each other at a point O, so QO is a median of triangle PQR and PQ^2 + QR^2 = 2 x QO^2 + 2 x PO^2. Since QO = QS/2 and PO = PR/2, this turns into PR^2 + QS^2 = 2 x (PQ^2 + QR^2). As RS = PQ and SP = QR, the squares of the two diagonals add up to the squares of all four sides. A rhombus of side 5 with diagonals 6 and 8 fits: 36 + 64 = 100 = 4 x 25.
Common mistakes
Putting the wrong side under the minus sign: in m = (1/2) x sqrt(2b^2 + 2c^2 - a^2), a must be the side the median meets at its midpoint. Forgetting the 1/2, which reports twice the median. Using the whole of BC in place of BD in the theorem, or dropping the 2 in front of BD^2. Stopping at BD, or at the half-diagonal QO, when the question asks for the full length. Assuming every median is half the side it meets; that holds only opposite a right angle. Taking the median for an altitude: the two lines coincide only when AB = AC. In a parallelogram, dropping the factor 2 in front of the sides, or treating the diagonals as equal, which is true only for a rectangle. Last, an answer that breaks the triangle inequality, such as a third side equal to the sum of the other two, signals an error somewhere.
A routine for median and diagonal questions
1. Sketch the figure from the words and mark the midpoint. 2. Call the bisected side a, and the two sides at the median's corner b and c. 3. Median wanted: m = (1/2) x sqrt(2b^2 + 2c^2 - a^2). Third side wanted: a^2 = 2b^2 + 2c^2 - 4m^2. 4. All three medians together: their squares total three quarters of a^2 + b^2 + c^2. 5. Right angle at the corner: the median is half the hypotenuse. 6. Parallelogram: d1^2 + d2^2 = 2 x (p^2 + q^2), where p and q are two neighbouring sides. 7. Sense-check: every triangle in the figure obeys the triangle inequality, and the median compared with half its side matches the angle at its corner, longer for acute, equal for right and shorter for obtuse.
Worked examples
In triangle ABC, AB = 11 cm, AC = 13 cm and BC = 16 cm. D is the midpoint of BC. Find the length of the median AD.
- The median AD meets BC at its midpoint, so the bisected side is a = BC = 16 cm, and the sides at A are b = AC = 13 cm and c = AB = 11 cm.
- 2b^2 + 2c^2 - a^2 = 2 x 169 + 2 x 121 - 256 = 338 + 242 - 256 = 324.
- AD = (1/2) x sqrt(324) = (1/2) x 18 = 9 cm.
- Check with Apollonius theorem: BD = 8 cm and 2 x 9^2 + 2 x 8^2 = 162 + 128 = 290 = 11^2 + 13^2. Also 290 is more than 16^2 = 256, so angle A is acute and AD is rightly longer than BD.
Answer: The median AD is 9 cm long.
In triangle ABC, angle A is a right angle, AB = 6 cm and AC = 8 cm. The midpoints of BC, CA and AB are named D, E and F in that order. Find the medians AD, BE and CF, and the sum of their squares.
- BC = sqrt(36 + 64) = 10 cm is the hypotenuse, so the median to it is AD = 10/2 = 5 cm.
- E is the midpoint of CA, so AE = 4 cm, and triangle ABE has its right angle at A: BE^2 = 6^2 + 4^2 = 52, so BE = sqrt(52), about 7.21 cm.
- F is the midpoint of AB, so AF = 3 cm, and triangle ACF has its right angle at A: CF^2 = 8^2 + 3^2 = 73, so CF = sqrt(73), about 8.54 cm.
- Sum of the squares = 25 + 52 + 73 = 150. The three-quarters rule agrees: (3/4) x (6^2 + 8^2 + 10^2) = (3/4) x 200 = 150.
Answer: AD = 5 cm, BE = sqrt(52) cm and CF = sqrt(73) cm, and their squares add up to 150 cm^2.
A plot of land in Nashik is a parallelogram PQRS with sides PQ = 13 m and QR = 9 m. Its diagonal PR is 10 m long. Find the length of the other diagonal, QS.
- The diagonals of a parallelogram bisect each other at a point O, so O is the midpoint of PR, PO = 5 m, and QO is a median of triangle PQR.
- Apollonius theorem in triangle PQR: PQ^2 + QR^2 = 2 x QO^2 + 2 x PO^2, so 169 + 81 = 2 x QO^2 + 50 and QO^2 = 100.
- QO = 10 m, so QS = 2 x QO = 20 m.
- Check with the parallelogram law: PR^2 + QS^2 = 100 + 400 = 500, and 2 x (13^2 + 9^2) = 2 x 250 = 500.
Answer: The other diagonal QS is 20 m.
Practice checks
- In triangle ABC, AB = 7 cm, AC = 11 cm and BC = 14 cm. D is the midpoint of BC. The length of the median AD is:
- The sides of a triangle are 10 cm, 12 cm and 14 cm. What is the sum of the squares of its three medians?
- In triangle PQR, angle Q = 90 degrees, PQ = 9 cm and QR = 12 cm. M is the midpoint of PR. Find the length of QM.
- In triangle ABC, AB = 9 cm and AC = 17 cm. D is the midpoint of BC, and the median AD is 8 cm long. Find BC.
- PQRS is a parallelogram with PQ = 15 cm and QR = 10 cm. Its diagonal PR is 17 cm long. Find the other diagonal, QS.
Sources checked
- SSC CGL Scheme and Syllabus, labelled 2024 — Tier-I Quantitative Aptitude and Tier-II Mathematical Abilities (Geometry (triangle and its various kinds of centres)); not verified as the full 2026-cycle syllabus
- OpenStax, Precalculus 2e — Section 8.2, the Law of Cosines a^2 = b^2 + c^2 - 2bc cos(alpha) for any triangle, with exercises that apply it to the diagonals of a parallelogram; Apollonius theorem, the median formula and the parallelogram law are not stated there and are derived from the Law of Cosines in this lesson; mathematical relationships only