The Cosine Rule and the Triangle Area Formula ½ab sin C | Analysis and Approaches IB Maths notes
Free preview: The Cosine Rule and the Triangle Area Formula ½ab sin C
The Cosine Rule: Where It Comes From
Analysis and approaches and Applications and interpretation: SL and HL (common content, SL 3.2 and SL 3.3)
Let's start with the gap the sine rule leaves. Two roads leave a village at an angle of 72°. One town is 9 km down the first road, another is 6 km down the second. How far apart are the towns? Try the sine rule: you need a side and its opposite angle. You don't have one. Stuck.
- The sine rule needs a side together with its opposite angle.
- Sometimes you have no such pair: you know all three sides, or two sides and the angle between them.
- The angle between two known sides is called the included angle.
- In these cases you need the cosine rule.
Where it comes from
We'll build it from Pythagoras and the unit circle. Every step uses something you already know.
- Put corner C at the origin with side CB along the x-axis, so B = (a, 0).
- Corner A is a distance b from C at angle C. From the unit circle idea (multiply the unit-circle point by b), .
- AB has length c. By Pythagoras, is (difference in x)² plus (difference in y)².

What the picture shows
- C is at the origin and B is a distance a along the x-axis, so B = (a, 0).
- A is b away from C at angle C, so A = .
- The dashed lines make a right-angled triangle with hypotenuse c. Its sides are the across distance and the up distance .
- Pythagoras on that triangle is exactly the first line below. Squaring a negative gives the same answer, so the order inside the bracket does not matter.
👀 Watch me do it: derive the cosine rule
| What I write | Why I do it |
|---|---|
| Pythagoras on the dashed triangle. | |
| Expand the first bracket: . | |
| Group the terms. | |
| Since (the point is on the unit circle). | |
| That leaves the cosine rule. |
- C is the angle between sides a and b, and c is the side opposite C.
- The second form is the first rearranged, to find an angle when all three sides are known.
💡 In plain words
- The side you want, squared, equals the other two sides squared, minus a correction.
- The angle in the formula is always the one opposite the side on the left.
💡 Pythagoras plus a correction
- If C = 90°, then and the rule becomes .
- So the term corrects Pythagoras for angles that are not right angles.
- Acute C: cos C is positive, so c is shorter than Pythagoras would say. Obtuse C: c is longer.
✏️ YOUR TURN 1
Try this first:
Write the cosine rule for side q in triangle PQR. Then say what it becomes when angle Q = 90°.
Answer:
- . The angle is Q because it is opposite q; p and r are the sides that meet at Q.
- If Q = 90°, , so : Pythagoras, with q the hypotenuse.
Using the Cosine Rule: Sides and Angles
Recipe 1: finding a side (two sides and the included angle)
- Label so the unknown side is c and the known angle between the known sides is C. Why: the formula is written that way.
- Substitute into .
- Work out first, then subtract. Why: order of operations (see the trap below).
- Square root at the end. Why: the formula gives , not c.
👀 Watch me do it: back to the two towns: sides 9 km and 6 km with 72° between them. Find the distance between the towns
Unlock the full note: start 7 days free.
Log in or subscribe to read the rest of this note. Members also get the AI tutor, practice quizzes, mock exams and flashcards for this topic.
All notes in Geometry of solids and triangles (SL 3.1–3.3)
- 3D Solids: Distance, Midpoint, Volume and Surface Area
- Right-Angled Trigonometry in Context: Elevation, Depression, Bearings and 3D Angles
- The Sine Rule for Non-Right-Angled Triangles
- The Cosine Rule and the Triangle Area Formula ½ab sin C
What's inside for this topic
4 teacher notes, 52 practice questions, 29 flashcards, 2 quizzes.
Get the full notes, every practice question, flashcards, quizzes and mock papers.
Previous note: The Sine Rule for Non-Right-Angled Triangles