Law of sines/cosines
Math · Trigonometry
Question 1 of 10
0A triangle has sides a = 7 and b = 7, with included angle C = 90°. What is side c?
Decimals (0.75 or 0,75), fractions (3/4) and mixed numbers (1 1/2) are accepted. Do not use thousands separators.
How to type your answer
- Fractions: 3/4. Mixed numbers: 1 1/2.
- Decimals with a point or a comma: 0.75 or 0,75.
- Negative numbers start with a minus: -3/4.
- Percentages need the % sign: 75%.
Stuck? Read the explanation
Unlocks at a streak of 5 correct answers in a row.
Embed this practice on your site or class page
Paste this HTML into your page. Students practise right there; it is free and needs no account.
Law of sines/cosines explained
The sine rule and the cosine rule find missing sides and angles in triangles that are not right-angled. Use the cosine rule when you know two sides and the angle between them, or all three sides. Use the sine rule when you know an angle and the side opposite it, plus one more piece of information. If you know two sides and an angle that is not between them, there may be two possible triangles.
The cosine rule, where is the angle opposite side :
The sine rule:
- For the cosine rule, the angle must sit between the two known sides, and it must be opposite the side you are finding.
- Rearranging the cosine rule gives an angle when all three sides are known.
- Put your calculator in degree mode, or every sine and cosine will be wrong.
Worked example
In a triangle, , and the angle between them is . Find to 2 decimal places.
- Substitute into the cosine rule: .
- Since , we get .
- So .
A common mistake is using the sine rule here. It needs a matching pair of a side and its opposite angle, and this question gives two sides and the angle between them, so the cosine rule is the right choice.
Key facts
- Label the triangle so each side is named after the angle opposite it: side is opposite angle , and so on.
- Cosine rule for a side: . Rearranged for an angle: .
- Sine rule for a side or angle when you already have one matching pair (a side and its opposite angle): .
- The medium and hard practice questions ask for an angle to 1 decimal place, with the calculator in degree mode. The easy questions find a side from two sides and the angle between them.
- In the cosine rule the term is a subtraction. If is obtuse then is negative, so the term adds to the total.
Worked example 2
A triangle has sides cm, cm and cm. Find angle , to 1 decimal place.
- All three sides are known, so use the rearranged cosine rule: .
- Top: . Bottom: .
- to 1 decimal place.
The negative cosine is a good sign here: is the longest side, so is the largest angle, and it is obtuse. Always pick the longest side as so that a negative value does not surprise you. Type the fraction into your calculator, not the rounded decimal.
Worked example 3
In triangle , cm, cm and . Find angle , to 1 decimal place.
This takes two steps. The cosine rule finds the missing side first, then the sine rule finds the angle.
- .
- , so
- cm.
- Sine rule: .
- , so
- to 1 decimal place.
Why is this safe? Because is shorter than , angle must be smaller than angle , so is acute. on a calculator only gives angles up to , so it only gives the right answer when the angle is acute. Find the angle opposite the shorter side.
Worked example 4
In triangle , , and cm. Find side , to 2 decimal places.
- The side and its opposite angle are a matching pair, so use the sine rule: .
- Multiply by : .
- and
- cm.
- cm to 2 decimal places.
Sense check: is the bigger angle, so must be the longer side. It is: 14.12 cm against 9 cm.
Common mistakes
- Using the sine rule when there is no matching pair. Two sides and the angle between them, or three sides, always means the cosine rule first.
- Using the cosine rule with an angle that is not between the two known sides.
- Calculating . The multiplies only the part, so work out first and subtract it.
- Working out wrongly when the answer is negative, then dropping the minus sign on the way to .
- Forgetting to take the square root after finding .
- Rounding before using it in the sine rule, which can change the last digit of the angle.
- Having the calculator in radians instead of degrees.
Exam tips
- Write the triangle with sides , , opposite angles , , before you substitute anything.
- Choose the formula by what you are given: three sides or SAS (two sides and the angle between) means the cosine rule, a side plus its opposite angle means the sine rule.
- In two-step questions, find the angle opposite the shorter side with the sine rule.
- Check with the rule that the biggest angle faces the longest side.
- Angles in a triangle add up to . Use it as a quick check, and to get the third angle without another rule.
- State the accuracy asked for, for example " to 1 d.p.", and keep full calculator values until the last line.
What you will practise
New numbers every time you practise. Levels: Easy, Medium, Hard. Each answer is followed by a worked explanation.
Example questions
Easy
A triangle has sides a = 9 and b = 9, with included angle C = 90°. What is side c?
Medium
A triangle has side lengths a = 4, b = 8 and c = 10. Angle C is opposite side c. Find angle C in degrees, to 1 decimal place.
Hard
In triangle ABC, side a = 7, side b = 7 and angle C = 73°. Side a is opposite angle A and side b is opposite angle B. Find angle A in degrees, to 1 decimal place.