Stewart's Theorem Explained with Worked Examples

In triangle with , , , take a point on with , and . Then .

Write 2x or 2*x to multiply, ^ for powers, and ; between simultaneous equations. You can also type factor, expand, derivative of, integrate … from a to b, limit … as x->0 or 15% of 80.

Try an example

Before you start

This page is easier if you are comfortable with:

What Stewart's theorem means

The line is called a cevian. Stewart's theorem finds its length from the three sides and the position of . It follows by applying the cosine rule to angles and , which are supplementary so their cosines are opposite, and eliminating the cosine.

Special cases: if is the midpoint then and the result is Apollonius' theorem for the median; if is the foot of the bisector then come from the angle bisector theorem; and if is an altitude, Pythagoras applies in both small triangles.

For the 13-14-15 triangle, with , , , the median has and the altitude from has . The theorem is used together with Heron's formula and with Ceva's theorem in problems on triangle lengths, and the area in the area of a triangle gives a check.

What is it used for?

Stewart's theorem gives the length of any line from a vertex to the opposite side.

How to use stewart's theorem

  1. Label the sides and the segments , .
  2. Write .
  3. Substitute the known values.
  4. Solve for and take the square root.

Graph

The 13-14-15 triangle with its median (√148) and altitude (12) from AAmedian footaltitude foot0246810121402468101214The 13-14-15 triangle with its median (√148) and altitude (12) from AxyGraph with x from -1 to 15 and y from -1 to 14. Shows triangle (4); point A at (5, 12); point median foot at (7, 0); point altitude foot at (5, 0).

Both dashed lines satisfy Stewart's equation with a = 14, b = 15, c = 13.

Worked examples

These examples are worked by hand, step by step, so you can compare your own working.

Example 1: median

In a triangle with , , , find the median from .

Worked example
Answer
148≈12.17\sqrt{148}\approx12.17
  1. m = n = 7
  2. Simplify
  3. Length

Example 2: altitude

In the same triangle, the foot of the altitude from has , . Check that .

Worked example
Answer
2646=26462646=2646
  1. Left side
  2. Right side

Example 3: angle bisector

In a triangle with , , , find the bisector length from (here , ).

Worked example
Answer
32≈4.2433\sqrt2\approx4.243
  1. Equation
  2. Solve
  3. Length

Special cases

A few situations come up again and again. Knowing them saves time and helps you spot answers that cannot be right.

a = 7, b = 5, c = 6, median (m = n = 3.5)

d² = (b²m + c²n)/a − mn

18.25.

Median length

√18.25

4.2720.

Median formula check

(2b² + 2c² − a²)/4

18.25.

Angle bisector from A

bc(1 − a²/(b+c)²)

17.8512.

Word problems

b²m + c²n = a(d² + mn), where D divides BC = a into BD = m, DC = n and AD = d. For a median it reduces to the median-length formula.

d² for the median

a = 7, b = 5, c = 6, m = n = 3.5.

  1. (87.5 + 126)/7 − 12.25
  2. Check: ✓18.25

Median length

√18.25.

  1. 4.272
  2. Check: ✓4.272

Check with the median formula Higher

(2b² + 2c² − a²)/4.

  1. (50 + 72 − 49)/4
  2. Check: equal ✓18.25

Angle bisector Higher

d² = bc(1 − a²/(b + c)²).

  1. 30 × 0.595
  2. Check: ✓17.8512

Common mistakes

Swapping m and n

b²n + c²m ✗

b²m + c²n ✓

Opposite sides.

Forgetting mn

a d² only ✗

a(d² + mn) ✓

Extra term.

Using a for the cevian

confusion ✗

a = BC, d = AD ✓

Labels.

Median needs equal m, n

general ✗

special case m = n ✓

Formula.

Exam tips

  1. b²m + c²n = a(d² + mn).
  2. m, n are the two parts of a.
  3. Median: m = n = a/2.
  4. Check with the median formula.
  5. Angle bisector via the bisector theorem.

Practice questions

Try each one on paper, then open the answer. Use the solver above to see the full working.

1. Median² for 5-6-7 (a = 7) Foundation

18.25

2. Median² for 3-4-5 to the hypotenuse (a = 5, b = 3, c = 4) Foundation

6.25

3. Median² for 13-14-15 to side 14 (b = 13, c = 15) Foundation

148

4. Median to the hypotenuse of 6-8-10 (half hypotenuse) Higher

5

5. Median² for equilateral side 2 Higher

3

6. RHS a(d² + mn) with a = 7, d² = 18.25, mn = 12.25 Higher

213.5

Practice generator

Unlimited fresh questions with instant marking. Choose a level, work it out on paper, then type your answer.

Solve: …

Key terms

Stewart’s theorem
Cevian length relation.
Cevian
Line from a vertex to the opposite side.
Median
Cevian to the midpoint.
Angle bisector
Cevian bisecting the angle.
Segments m, n
Parts of the side.
Cosine rule
Proof tool.

Frequently asked questions

What is Stewart’s theorem?

b²m + c²n = a(d² + mn).

What does it give for a median?

AD² = (2b² + 2c² − a²)/4.

What is d?

The cevian AD.

How is it proved?

With the cosine rule twice.

Which page covers Ceva’s theorem?

Ceva’s theorem.

Which page covers power of a point?

power of a point.

More in Competition and admissions maths and the formula sheets.