impera Open Impera

IB MYP Extended Mathematics · Geometry and trigonometry

Sine and cosine rules

1Labelling a triangle

SOH CAH TOA works only in right-angled triangles. The sine rule and cosine rule work in any triangle.

They use a standard labelling:

  • The angles are capital letters $A$, $B$, $C$.
  • The side opposite each angle has the matching small letter: side $a$ is opposite angle $A$, and so on.

Each side is named after the angle opposite it

Deciding which rule to use depends on what you are given.

  • Sine rule: when you know a side and its opposite angle, plus one other side or angle.
  • Cosine rule: when you know two sides and the angle between them, or all three sides.

Always start by sketching the triangle and marking what you know.

Check yourself

In the standard labelling, which side is opposite angle B?

  • Side b

  • Side a

  • The longest side

  • Side c

Show the answer

Side b

Each side has the small letter of the angle opposite it.

2The sine rule

$$\frac{a}{\sin A} = \frac{b}{\sin B} = \frac{c}{\sin C}$$

Use any two of the three fractions. To find an angle, it is easier to turn the rule upside down: $\dfrac{\sin A}{a} = \dfrac{\sin B}{b}$.

Worked example

Finding a side

  1. In triangle ABC, $A = 40°$, $B = 65°$ and $a = 8$ cm. Find $b$.
  2. $\dfrac{b}{\sin 65°} = \dfrac{8}{\sin 40°}$.
  3. $b = \dfrac{8\sin 65°}{\sin 40°} \approx 11.3$ cm.
  4. Sense check: $B$ is larger than $A$, so $b$ should be longer than $a$. It is.
Worked example

Finding an angle

  1. $a = 7$ cm, $b = 10$ cm and $A = 35°$. Find $B$.
  2. $\dfrac{\sin B}{10} = \dfrac{\sin 35°}{7}$.
  3. $\sin B = \dfrac{10\sin 35°}{7} = 0.819$.
  4. $B = \sin^{-1}(0.819) \approx 55.0°$.

The ambiguous case. Because $\sin\theta = \sin(180° - \theta)$, there may be a second possible angle: $180° - 55.0° = 125.0°$. Here both fit, since $35° + 125° < 180°$, so two different triangles match the information. Check whether the question says the angle is acute or obtuse, or look at the diagram.

Check yourself

In a triangle, a = 6 cm, A = 30° and B = 90°. What is b?

  • 3 cm

  • 10.4 cm

  • 12 cm

  • 6 cm

Show the answer

12 cm

b = 6 × sin 90° ÷ sin 30° = 6 ÷ 0.5.

3The cosine rule

To find a side from two sides and the angle between them:

$$a^2 = b^2 + c^2 - 2bc\cos A$$

To find an angle from three sides, rearrange:

$$\cos A = \frac{b^2 + c^2 - a^2}{2bc}$$

The cosine rule is Pythagoras' theorem with a correction term. When $A = 90°$, $\cos A = 0$ and it becomes $a^2 = b^2 + c^2$.

Worked example

Finding a side

  1. $b = 7$ cm, $c = 9$ cm and $A = 50°$.
  2. $a^2 = 49 + 81 - 2(7)(9)\cos 50°$.
  3. $a^2 = 130 - 126 \times 0.6428 = 49.01$.
  4. $a \approx 7.00$ cm.
  5. Calculate $2bc\cos A$ fully before subtracting. A common error is to work out $(130 - 126)\cos 50°$.
Worked example

Finding an angle

  1. A triangle has sides 5 cm, 6 cm and 7 cm. Find the largest angle.
  2. The largest angle is opposite the longest side, 7 cm.
  3. $\cos C = \dfrac{5^2 + 6^2 - 7^2}{2(5)(6)} = \dfrac{12}{60} = 0.2$.
  4. $C = \cos^{-1}(0.2) \approx 78.5°$.

If the cosine comes out negative, the angle is obtuse. Unlike the sine rule, the cosine rule gives only one answer.

Check yourself

Which information lets you use the cosine rule to find a side?

  • Two sides and the angle between them

  • Two angles and one side

  • One side and its opposite angle only

  • Three angles

Show the answer

Two sides and the angle between them

The rule a² = b² + c² − 2bc cos A needs b, c and the included angle A.

4The area of a triangle

When you know two sides and the angle between them, the area is:

$$\text{Area} = \frac{1}{2}ab\sin C$$

This comes from ½ × base × height, where the height is $a\sin C$.

Worked example

Two sides and the included angle

  1. Sides 6 cm and 8 cm with an angle of 30° between them.
  2. Area = ½ × 6 × 8 × sin 30°.
  3. = ½ × 48 × 0.5 = 12 cm².
Worked example

Working backwards

  1. A triangle has two sides of 10 cm and 12 cm and area 30 cm². Find the angle between them, given that it is acute.
  2. $30 = \frac{1}{2} \times 10 \times 12 \times \sin C$.
  3. $\sin C = 0.5$, so $C = 30°$.
Worked example

A parallelogram

  1. A parallelogram has sides 5 cm and 9 cm with an angle of 70° between them.
  2. It is two equal triangles: area = 2 × ½ × 5 × 9 × sin 70° = 45 sin 70° ≈ 42.3 cm².

The angle must be the one between the two sides you use.

Check yourself

What is the area of a triangle with sides 4 cm and 10 cm and an included angle of 90°?

  • 14 cm²

  • 20 cm²

  • 10 cm²

  • 40 cm²

Show the answer

20 cm²

½ × 4 × 10 × sin 90° = 20.

5Multi-step problems and bearings

Real problems often need more than one rule.

Worked example

A journey with bearings

  1. A ship sails 8 km from port P on a bearing of 050° to A, then 11 km on a bearing of 170° to B. How far is B from P?
  2. Find the angle at A. The bearing of P from A is 050° + 180° = 230°. The angle between the directions 170° and 230° is 60°.
  3. Cosine rule: $PB^2 = 8^2 + 11^2 - 2(8)(11)\cos 60°$.
  4. $PB^2 = 64 + 121 - 88 = 97$.
  5. $PB \approx 9.85$ km.
  6. To find the bearing of B from P, use the sine rule to get the angle at P, then add it to 050°.
Worked example

Choosing rules in sequence

  1. A triangle has sides 9 cm, 10 cm and 12 cm. Find its area.
  2. Cosine rule for the angle opposite 12: $\cos C = \dfrac{81 + 100 - 144}{180} = 0.2056$, so $C \approx 78.1°$.
  3. Area = ½ × 9 × 10 × sin 78.1° ≈ 44.0 cm².

A decision guide:

  • Right angle present: SOH CAH TOA or Pythagoras.
  • A side and its opposite angle known: sine rule.
  • Two sides and the included angle, or three sides: cosine rule.
  • Area with two sides and the included angle: ½ab sin C.

Keep full calculator values between steps, and round only the final answer.

Check yourself

A triangle has sides 8 cm, 11 cm and 15 cm, and you need its largest angle. Which rule do you use?

  • Pythagoras' theorem

  • SOH CAH TOA

  • The cosine rule

  • The sine rule

Show the answer

The cosine rule

Three sides and no angles: only the cosine rule can start.

Now test yourself

This lesson has a 8-question quiz and 5 exam-style questions with mark schemes in Impera. Free, with your progress saved.

Practise in Impera