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?
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}$.
Finding a side
- In triangle ABC, $A = 40°$, $B = 65°$ and $a = 8$ cm. Find $b$.
- $\dfrac{b}{\sin 65°} = \dfrac{8}{\sin 40°}$.
- $b = \dfrac{8\sin 65°}{\sin 40°} \approx 11.3$ cm.
- Sense check: $B$ is larger than $A$, so $b$ should be longer than $a$. It is.
Finding an angle
- $a = 7$ cm, $b = 10$ cm and $A = 35°$. Find $B$.
- $\dfrac{\sin B}{10} = \dfrac{\sin 35°}{7}$.
- $\sin B = \dfrac{10\sin 35°}{7} = 0.819$.
- $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?
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$.
Finding a side
- $b = 7$ cm, $c = 9$ cm and $A = 50°$.
- $a^2 = 49 + 81 - 2(7)(9)\cos 50°$.
- $a^2 = 130 - 126 \times 0.6428 = 49.01$.
- $a \approx 7.00$ cm.
- Calculate $2bc\cos A$ fully before subtracting. A common error is to work out $(130 - 126)\cos 50°$.
Finding an angle
- A triangle has sides 5 cm, 6 cm and 7 cm. Find the largest angle.
- The largest angle is opposite the longest side, 7 cm.
- $\cos C = \dfrac{5^2 + 6^2 - 7^2}{2(5)(6)} = \dfrac{12}{60} = 0.2$.
- $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?
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$.
Two sides and the included angle
- Sides 6 cm and 8 cm with an angle of 30° between them.
- Area = ½ × 6 × 8 × sin 30°.
- = ½ × 48 × 0.5 = 12 cm².
Working backwards
- 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.
- $30 = \frac{1}{2} \times 10 \times 12 \times \sin C$.
- $\sin C = 0.5$, so $C = 30°$.
A parallelogram
- A parallelogram has sides 5 cm and 9 cm with an angle of 70° between them.
- 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°?
Show the answer
20 cm²
½ × 4 × 10 × sin 90° = 20.
5Multi-step problems and bearings
Real problems often need more than one rule.
A journey with bearings
- 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?
- 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°.
- Cosine rule: $PB^2 = 8^2 + 11^2 - 2(8)(11)\cos 60°$.
- $PB^2 = 64 + 121 - 88 = 97$.
- $PB \approx 9.85$ km.
- To find the bearing of B from P, use the sine rule to get the angle at P, then add it to 050°.
Choosing rules in sequence
- A triangle has sides 9 cm, 10 cm and 12 cm. Find its area.
- Cosine rule for the angle opposite 12: $\cos C = \dfrac{81 + 100 - 144}{180} = 0.2056$, so $C \approx 78.1°$.
- 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?
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