GCSE · Maths · OCR · Spec J560

Cosine rule

Pin two sticks together and swing them apart. The gap at the free ends grows with the angle, and the cosine rule predicts it exactly.

Maths · Triangles

Open the angle, watch a stretch
55°5.16 cm6.0 cm5.0 cmABC

angle A 55°. a (BC) 5.16 cm. b (AC) 6.0 cm. c (AB) 5.0 cm. Relationship: b and c never change. Open angle A wider and a gets longer; squeeze it shut and a shrinks. Set A, and a is fixed.

angle A55°a (BC)5.16 cmb (AC)6.0 cmc (AB)5.0 cmDrag C round. b and c stay put.

b and c never change. Open angle A wider and a gets longer; squeeze it shut and a shrinks. Set A, and a is fixed.

Readings are measured from the drawn triangle and rounded: lengths in cm (b and c to 1 decimal place, a to 2), angle to the nearest degree.

Which side is a?

Commit to one, then check.

Triangle DEF has DE = 9 cm, DF = 10 cm and EF = 7 cm. You use the angle at D in the cosine rule, so D plays the part of A. Which side plays the part of a?

Maths · Algebra

Build the rule from Pythagoras

Two right-angled triangles and one swap. There are other ways to prove the rule, and some steps can come in a different order.

GoalShow that a² = b² + c² − 2bc cos A
1
AD = r, BD = p, DC = b − r
set up

Take triangle ABC. Drop a perpendicular from B to AC, meeting it at D. Call AD = r and BD = p. In this picture D lands between A and C, so the rest of AC is DC = b − r.

2
3
4
5
6
7
8

Step 1 of 8

Take triangle ABC. Drop a perpendicular from B to AC, meeting it at D. Call AD = r and BD = p. In this picture D lands between A and C, so the rest of AC is DC = b − r.

Maths · Cosine rule

Find the missing side

In triangle ABC, b = 10 cm, c = 8 cm and the angle between them is A = 55°. Find the length of side a, to 2 decimal places.

  1. a is opposite the 55° angle, so a² = b² + c² − 2bc cos AStart from the rule. The side we want is the one facing the angle we know.
  2. missing step
Which line is step 2?

Find an angle

Problem

A triangle has sides 13 cm, 9 cm and 10 cm. Find the angle θ opposite the 13 cm side, to 2 decimal places.

Maths · Choosing a rule

What have you been given?

Pick what the problem gives you and see where it sends you.

What the problem gives you

3 possible routes.

On A triangle problem: find a side or an angle. 3 branches to choose from.

The sine rule can handle many problems, but it is not always the most efficient. Sometimes the cosine rule is much faster, and what you are given tells you which.

WHAT YOU'VE LEARNED

A quick recap of today's lesson.

Fix two sides and the angle between them and the third side has nowhere left to go. This is the recipe that finds it.

What you need to know

  • Three sides fix a triangle. So do two sides and the angle between them (SAS): the third side is then fixed too.
  • Have a goA classmate says: "I know two sides, so the third side is fixed. Easy." What have they forgotten?

    The angle between the two sides.

    Two sides alone aren't enough: swing the angle open and the third side stretches. Two sides plus the angle between them (SAS) fix it.

  • The cosine rule is a² = b² + c² − 2bc cos A. It finds a missing side or a missing angle.
  • Each angle sits opposite the side with the matching lower-case letter: A opposite a, B opposite b, C opposite c.
  • In the rule, a is the side opposite the angle A you are using. The other two sides, b and c, can go either way round.
  • Need a different side? Relabel. With angle B the rule becomes b² = a² + c² − 2ac cos B.
  • Have a goYou know angle C and want side c. Write the rule with c² on the left.

    c² = a² + b² − 2ab cos C

    The side on the left is the one opposite the angle in the cos term. With C that is c, so a and b fill the rest.

  • To find a side from two sides and the angle between them: substitute, evaluate, then take the square root.
  • 2bc cos A is a product. Work it out first, then subtract it from b² + c². Don't subtract 2bc first.
  • Have a goSay b² + c² = 20, 2bc = 12 and cos A = 0.5. Work out a².

    14

    Do 12 × 0.5 = 6 first, then 20 − 6 = 14. Taking 12 from 20 first would give 8 × 0.5 = 4, which is the trap.

  • To find an angle from three sides, let a be the side opposite it, rearrange for cos, then use inverse cosine (arccos).
  • Put A = 90° in and cos A = 0, so the last term vanishes and you are left with a² = b² + c². That's Pythagoras.
  • The sine rule works in many cases, but it isn't always the quickest. Sometimes the cosine rule is much faster.

The big picture

The cosine rule, a² = b² + c² − 2bc cos A, links the three sides of a triangle to one of its angles. It finds a missing side from two sides and the angle between them, or a missing angle from all three sides. It comes from Pythagoras in two right-angled triangles, and the product 2bc cos A has to be worked out before it is subtracted.

Key points

1a² = b² + c² − 2bc cos A: a faces angle A, and b and c are the two sides either side of A.
2Two sides and the angle between them: cosine rule for the third side. All three sides: cosine rule for an angle.
3Work out 2bc cos A as one product before subtracting it from b² + c².
4Side: substitute, evaluate, square root. Angle: rearrange for cos, then inverse cosine.
5The rule comes from Pythagoras in the two right-angled triangles made by a perpendicular.

Worked example

Problem

Two paths leave a gate at 75° to each other. Sam walks 3 km along one and Priya 4 km along the other. How far apart are they? Give your answer to 2 decimal places.

⚠ Watch out

Subtracting 2bc from b² + c² before multiplying by cos A. For example, 164 − 160 cos 55° is not 164 − 160 followed by a cos. 2bc cos A is a product, so work out 160 × cos 55° first, then subtract it from 164.

🧠

Memory hook

Pythagoras plus a correction: a² = b² + c² − 2bc cos A. Make the angle 90° and the correction vanishes.

✓

Check yourself

Cover the page. Label triangle PQR, say which side plays a for angle R, and write the rule. Then say why 2bc cos A is worked out before subtracting.

Flashcards

(12)
What does the cosine rule let you find?
An unknown side, from two sides and the angle between them, or an unknown angle, from all three sides.
Write the cosine rule.
a² = b² + c² − 2bc cos A, where a is the side opposite angle A, b is opposite B and c is opposite C.
How do you match sides to angles in any triangle, say DEF?
Each vertex (capital letter) is opposite the side with the matching lower-case letter: D opposite d, E opposite e, F opposite f.
In the cosine rule, which side is a?
The side opposite the angle you are using. b and c are the other two sides, either way round.
Which side goes on the left of the rule when you use angle B?
Side b, the side opposite B, so the rule starts b² = and has cos B inside. a and c fill the rest.
What fixes a triangle?
Three sides (only one triangle can be made), or two sides and the angle between them (SAS), which fixes the third side.
Cosine rule for a side: what are the three moves?
Substitute, evaluate, then square root, because the rule gives a², not a.
What is the trap inside b² + c² − 2bc cos A?
2bc cos A is a product. Don't subtract 2bc from b² + c² before multiplying by cos A.
Cosine rule for an angle: what are the moves?
Take a as the side opposite the angle, substitute, rearrange to make cos of the angle the subject, then use inverse cosine (arccos).
Outline the derivation of the cosine rule.
Drop a perpendicular from B to AC (D, with AD = r and BD = p). Use Pythagoras in BDC and ABD, substitute and simplify to a² = b² + c² − 2br, then cos A = r/c gives r = c cos A.
What does the cosine rule become when A = 90°?
cos 90° = 0, so the last term vanishes and a² = b² + c². That is Pythagoras' theorem.
How do the sine rule and the cosine rule compare for efficiency?
The sine rule can be used in many cases but is not always the most efficient. For some problems the cosine rule is much faster.

Tap any card to flip it, or use Study as deck to go through them one at a time. In the full lesson these run as a spaced-repetition deck — you rate each card Hard, Good or Easy and the tricky ones keep coming back until they stick.

Learning with Lightbulb is opening soon

You can use this lesson now. Join the waitlist and we'll let you know when the full Lightbulb experience is ready.

Keep me posted

More OCR GCSE Maths topics

See the full OCR Maths curriculum →

How this lesson was checked. This OCR GCSE Maths (specification J560)lesson was published through Lightbulb Learning's human-designed editorial process — the educational standards, accuracy rules and publication checks it must pass were authored and approved by Philip Halpin. It passed subject-specific assessment, automated educational checks and technical publication verification before going live (publication checks completed 18 November 2026). Published pages are monitored, human spot-checking is ongoing across the lesson library, and anything found wrong is corrected or withdrawn. How our lessons are made and checked. Spotted a mistake? Email hello@lightbulblearning.co and we'll review it.

Helpful guides for parents and students