9.1PureCore

The Cosine Rule

Right-angled trigonometry only works on right-angled triangles. The cosine rule extends it to ANY triangle, letting you find a missing side from two sides and the angle between them, or a missing angle from all three sides.

30 min Trigonometric Ratios
Edexcel AS Level Maths: 9.1 The Cosine RuleCurated by Kepler, not produced by us. Watch it before the notes below.
Open on YouTube

What you'll be able to do

  • State the cosine rule
  • Find a missing side using two sides and the included angle
  • Rearrange the rule to find a missing angle
  • Recognise when the cosine rule (not the sine rule) is needed
1

The rule

For a triangle with sides aa, bb, cc and the angle AA opposite side aa, the cosine rule links all three sides to one angle. It is essentially Pythagoras with a correction term for the angle.

a2=b2+c2−2bccos⁡Aa^{2} = b^{2} + c^{2} - 2bc\cos A
Side aa is opposite angle AA; bb and cc enclose that angle.

Tip — Label the triangle so the side you want (or the angle you want) is the “a”/“A” in the formula.

2

Finding a side

Use this form when you know two sides and the included\textbf{included} angle (the angle between them) — often called the SAS case.

Example 1A triangle has b=7b = 7, c=5c = 5 and included angle A=60∘A = 60^\circ. Find aa.
1Substitute: a2=72+52−2(7)(5)cos⁡60∘a^2 = 7^2 + 5^2 - 2(7)(5)\cos 60^\circ.
2a2=49+25−70(0.5)=74−35=39a^2 = 49 + 25 - 70(0.5) = 74 - 35 = 39.
3a=39a = \sqrt{39}.
Answer
a≈6.24a \approx 6.24
3

Finding an angle

Rearranged, the cosine rule finds an angle when you know all three sides (the SSS case).

cos⁡A=b2+c2−a22bc\cos A = \dfrac{b^{2} + c^{2} - a^{2}}{2bc}
Put the side opposite the wanted angle as aa.
Example 1A triangle has sides a=8a = 8, b=5b = 5, c=7c = 7. Find angle AA.
1cos⁡A=52+72−822(5)(7)=25+49−6470=1070\cos A = \dfrac{5^2 + 7^2 - 8^2}{2(5)(7)} = \dfrac{25 + 49 - 64}{70} = \dfrac{10}{70}.
2A=cos⁡−1(0.1429)A = \cos^{-1}(0.1429).
Answer
A≈81.8∘A \approx 81.8^\circ

Tip — If cos A comes out negative, the angle is obtuse (greater than 90°) — that is fine.

Formula recap

a2=b2+c2−2bccos⁡Aa^{2} = b^{2} + c^{2} - 2bc\cos A
Cosine rule — find a side (SAS).
cos⁡A=b2+c2−a22bc\cos A = \dfrac{b^{2} + c^{2} - a^{2}}{2bc}
Rearranged — find an angle (SSS).

Common mistakes to avoid

Using the cosine rule when you only know one side and its opposite angle.
That is the sine rule’s job. Cosine rule needs SAS (a side) or SSS (an angle).
Pairing the wrong side with the angle.
The side a must be OPPOSITE the angle A in the formula.

Key takeaways

  • Cosine rule: a² = b² + c² − 2bc·cos A, with a opposite A.
  • Find a side from two sides + the included angle (SAS).
  • Rearrange to cos A = (b² + c² − a²)/(2bc) to find an angle (SSS).
  • A negative cosine signals an obtuse angle.

Test yourself

Answer a few questions, then review anything you missed.

Prefer paper? Open the written self-check

Answer each question before opening its answer. This self-check does not record a quiz score.

  1. The cosine rule is:

    • a2=b2+c2−2bccos⁡Aa^{2} = b^{2} + c^{2} - 2bc\cos A
    • a2=b2+c2a^{2} = b^{2} + c^{2}
    • asin⁡A=bsin⁡B\dfrac{a}{\sin A} = \dfrac{b}{\sin B}
    • a=b+c−cos⁡Aa = b + c - \cos A
    Show answer and explanation

    Answer: a2=b2+c2−2bccos⁡Aa^{2} = b^{2} + c^{2} - 2bc\cos A

    This is the standard cosine rule.

  2. You should use the cosine rule to find a side when you know:

    • Two sides and the included angle
    • A side and its opposite angle
    • Two angles
    • One side only
    Show answer and explanation

    Answer: Two sides and the included angle

    The SAS case is solved by the cosine rule.

  3. With b=4b = 4, c=3c = 3, A=90∘A = 90^\circ, the cosine rule gives a2=a^{2} = ?

    • 2525
    • 77
    • 2424
    • 11
    Show answer and explanation

    Answer: 2525

    cos 90° = 0, so a² = 16 + 9 = 25 (Pythagoras).

  4. To find an angle with all three sides, rearrange to:

    • cos⁡A=b2+c2−a22bc\cos A = \dfrac{b^{2}+c^{2}-a^{2}}{2bc}
    • sin⁡A=ab\sin A = \dfrac{a}{b}
    • a=b+ca = b + c
    • cos⁡A=2bc\cos A = 2bc
    Show answer and explanation

    Answer: cos⁡A=b2+c2−a22bc\cos A = \dfrac{b^{2}+c^{2}-a^{2}}{2bc}

    This rearrangement isolates cos A.

  5. If cos⁡A\cos A is negative, angle AA is:

    • Obtuse
    • Acute
    • A right angle
    • Impossible
    Show answer and explanation

    Answer: Obtuse

    Cosine is negative for angles between 90° and 180°.

  6. For a=6a = 6, b=5b = 5, c=4c = 4, cos⁡A=52+42−622(5)(4)\cos A = \dfrac{5^{2}+4^{2}-6^{2}}{2(5)(4)} equals:

    • 0.1250.125
    • 0.50.5
    • −0.125-0.125
    • 11
    Show answer and explanation

    Answer: 0.1250.125

    (25 + 16 − 36)/40 = 5/40 = 0.125.

Finished this lesson?

Loading your progress…

Next step

Check your understanding

Work through questions on The Cosine Rule. Use the feedback to decide what needs another look.

2 past-paper questions · 5 marks

Practise this topic

Related lessons

All 8 lessons

Put the methods into practice: see how A-Level maths duels work. An account is required to play; the overview and sample are public.