Sine Rule, Cosine Rule and Area of a Triangle AA SL
The sine rule and the cosine rule find missing sides and angles in a triangle that has no right angle, and a third formula gives its area. This page shows when to use each one, then brings them together in mixed problems like those in Paper 1 and Paper 2.
Formulas at a glance
The sine rule, the cosine rule and the area formula are all in the formula booklet.
Sine rule
In the bookletCosine rule (find a side)
In the bookletCosine rule (find an angle)
In the bookletArea without a height
In the bookletWhich rule to use
For a triangle with no right angle, decide the rule from the information you are given. Finding an angle with the sine rule can give two answers (the ambiguous case, syllabus SL3.5).
| The triangle gives you | Use | Notes |
|---|---|---|
| Two angles and a side | Find the third angle with the angle sum, then the sine rule | The angles add to 180 degrees |
| Two sides and an angle opposite one of them | The sine rule | Put the unknown on top to find a side, or use the inverse to find an angle |
| Two sides and the angle between them | The cosine rule to find the third side | |
| All three sides | The cosine rule to find an angle | |
| An area, with two sides and the angle between them | The angle must be between the two sides | |
| An area, with all three sides | Find an angle with the cosine rule, then | Or a height from the right-angled triangle |
| A bearing problem | Draw a north line at each point and mark the angles from north | Use parallel lines to find the angle inside the triangle |
| A triangle with a right angle | The trigonometric ratios or Pythagoras | See the right-angled triangles page |
Section 1 of 4 SL3.2
The sine rule
The sine rule, , links each side of a triangle to the angle opposite it, where side is opposite angle . Use it in a triangle with no right angle when you know an angle and its opposite side, plus one more angle or side. It finds a missing side or angle.
The sine rule
The ratio form is given in the formula booklet - you just need to know which side of it to work with.
Finding an angle
The same rule, rearranged with the unknown angle's sine on top. Take care when the angle could be acute or obtuse: its sine is the same either way, so check which angle fits the triangle (the ambiguous case, syllabus SL3.5).
Given two sides and the angle between them, or all three sides, instead? See Cosine rule.
Key terms
Which side is opposite an angle?
The side opposite an angle is the one across the triangle from it, and it does not touch the angle's vertex. Side is opposite angle , side is opposite angle , and so on.
e.g. In triangle , side is opposite angle , so it is labelled .
How do you find a missing side with the sine rule?
Choose the two ratios that include the unknown side and a known pair, put the unknown on top, and rearrange. For example, .
e.g. With , and , .
How do you find a missing angle with the sine rule?
Write the rule with the sines on top, , then rearrange for the sine of the unknown angle and apply the inverse sine.
e.g. With , and , , so the acute angle is .
How do you find the third angle of a triangle?
The angles of a triangle add up to . Finding the third angle often gives you the matching angle needed to use the sine rule.
e.g. If and , then .
What is the ambiguous case of the sine rule?
When you are given two sides and an angle that is not between them, the sine of the unknown angle gives two possible angles, an acute angle and the obtuse angle that value. Both give a valid triangle when the angles still add up to less than , so check each one.
e.g. With , and , , so or . Both fit, because , so there are two triangles.
Worked example, step by step
The question Calculator in degree mode [6 marks]
In triangle , angle , angle and side cm, where side is opposite angle . Find the lengths of sides and , each to 3 significant figures.
Worked solution: worked example
Answer: cm and cm.
Step 1 - Sketch and label.
Draw the triangle and mark what you know. Side is opposite angle , side is opposite angle and side is opposite angle . Mark the two angles and the side you are given.
Why? A sketch turns the words into a picture, so you can see which side faces which angle. Most mistakes with the sine rule come from pairing a side with the wrong angle.
Step 2 - Find the third angle.
The angles in a triangle add up to , so You now know all three angles and one side. M1 - Use the angle sum to find angle A1 -
Why? The sine rule pairs every side with the angle opposite it. To find side you need angle , and you can get it from the angle sum without any trigonometry. It also gives you a check at the end.
Step 3 - Choose the rule.
You know an angle with its opposite side ( and ), and you want a side opposite another known angle. That is the sine rule: Put the unknown side on the top. M1 - Set up the sine rule with the known pair and
Why? The sine rule needs one complete pair (a side and its opposite angle) plus one more piece of information. You have that. The cosine rule would need two sides, which you do not have. Writing the unknown on top means you can solve by multiplying, not dividing.
Step 4 - Find side .
Substitute the values and rearrange for : Rounded to 3 significant figures, cm. A1 - cm
Why? Substituting leaves one unknown, . Multiplying both sides by gets on its own. Keep the full calculator value until the end so that rounding does not build up.
Step 5 - Find side .
Use the same ratio with angle : so cm. M1 - Use the sine rule to find A1 - cm
Why? The ratio is the same for all three sides of the triangle, so you reuse the known pair to find any other side once you know its opposite angle.
Step 6 - Check.
The longest side should be opposite the largest angle. The largest angle is and the longest side is cm. The smallest angle is and the shortest side is cm. The order matches.
Why? A check takes a few seconds and catches a calculator left in radians or a sine rule set up the wrong way round, which would give sides in the wrong order.
M1 Use the angle sum to find angle
A1
M1 Set up the sine rule with the known pair and
A1 cm
M1 Use the sine rule to find
A1 cm
Now you try: enter your answers to be marked
These are real practice questions. Type your answer in each box and press Mark it. The worked solution and mark scheme appear straight away, and your first attempt is the one that counts. Use the keyboard for powers, roots and trig, and the working box for your notes.
Find angle .
Worked solution: practice question 1
Find angle .
Worked solution: practice question 2
Find the perimeter of the triangle.
Worked solution: practice question 3
Your score so far: 0 out of 11 marks
Calculator steps: Switch between degrees and radians, Store a value and reuse it
Common mistakes
- Reaching for the sine rule when you know two sides and the angle between them. If you only know two sides and the angle between them, there's no angle-side pair to plug into the sine rule - you need the cosine rule instead.
- Pairing the wrong side with the wrong angle. Each fraction must match a side to the angle directly opposite it - swap a pairing and the whole equation is wrong, even though the numbers look plausible.
- Rounding an intermediate angle before the final step. Truncating to two significant figures partway through a multi-part question can shift the final answer outside the accepted tolerance.
Section 2 of 4 SL3.2
The cosine rule
The cosine rule, , extends Pythagoras' theorem to any triangle, where is the angle opposite side . Use it to find a side when you know two sides and the angle between them, or to find an angle when you know all three sides. For an angle, use the rearranged form .
The cosine rule
Both versions are given in the formula booklet, so recognising when you have two sides and the angle between them, or all three sides, is the real skill.
Given an angle-side pair instead? See Sine rule.
Key terms
How is the cosine rule related to Pythagoras' theorem?
When , , so the cosine rule becomes . The extra term adjusts for angles that are not right angles.
e.g. With , and , , so .
How do you find a side with the cosine rule?
Substitute the two known sides and the angle between them into , evaluate, and take the square root as the final step.
e.g. With , and , , so .
How do you find an angle with the cosine rule?
Use , where is the side opposite the angle you want. Then apply the inverse cosine.
e.g. For sides , and , the largest angle is opposite : , so .
What does a negative cosine value mean?
A negative value of means that is obtuse, between and . This is a valid result, and the inverse cosine gives the correct angle directly.
e.g. For sides , and , , so .
Worked example, step by step
The question Calculator in degree mode [4 marks]
A triangle has sides of length 7 cm, 9 cm and 12 cm. Find the size of the largest angle, to 1 decimal place.
Worked solution: worked example
Answer: The largest angle is .
Step 1 - Decide which rule to use.
All three sides are known and no angle is given. That is the case for the cosine rule used to find an angle: where is the angle opposite side .
Why? Choosing the rule first saves time. The sine rule needs a side together with its opposite angle, and here you have no angle at all, so it cannot start. With three sides and no angle, the cosine rule is the one that works.
Step 2 - Identify the largest angle.
The largest angle is opposite the longest side. Call it , opposite the 12 cm side, so , and let and . M1 - Identify the longest side as the one opposite the largest angle
Why? The formula is written for the angle opposite side , so you choose which side plays the part of to match the angle you want. The longest side faces the largest angle, which tells you which angle to find.
Step 3 - Substitute.
M1 - Substitute into the cosine rule for an angle A1 -
Why? This turns three lengths into a single number, the value of . The side opposite the angle, , is the one that is subtracted, so keep it in the right place.
Step 4 - Take the inverse cosine.
so . A1 -
Why? The inverse cosine turns the value of back into an angle. A negative cosine gives an angle bigger than .
Step 5 - Check with the other angles.
Find the angle opposite the 9 cm side with the sine rule: , so . The remaining angle is . Check it opposite the 7 cm side: , which gives . The three angles add to .
Why? Finding the other angles by a different route, and checking that all three add to , shows that the first answer is consistent. If the total were wrong you would know to look for an arithmetic slip.
M1 Identify the longest side as the one opposite the largest angle
M1 Substitute into the cosine rule for an angle
A1
A1
Now you try: enter your answers to be marked
Find side .
Worked solution: practice question 1
Find the distance
Worked solution: practice question 2
Worked solution: practice question 3
Your score so far: 0 out of 12 marks
Calculator steps: Switch between degrees and radians, Store a value and reuse it
Common mistakes
- Reaching for the sine rule when you know two sides and the angle between them. If you only know two sides and the angle between them, there's no angle-side pair to plug into the sine rule - you need the cosine rule instead.
- Sign errors in the cosine rule. Writing instead of - the minus sign is what makes the formula reduce to Pythagoras when .
- Forgetting a negative cosine still gives a valid angle. A negative value for just means is obtuse - don't dismiss it as an arithmetic mistake and go hunting for a "nicer" positive answer.
Section 3 of 4 SL3.2
Area of a triangle
The area of a triangle with sides and and the angle between them is . It works for any triangle and does not need a perpendicular height. If the angle you are given is not the one between the two sides, first find the angle you need using the angle sum or another rule.
The area formula
C must be the included angle
and must be the two sides that meet at . If the angle you're given sits opposite one of the sides instead, this formula doesn't apply directly - you'd need the sine or cosine rule first to find the missing piece.
Key terms
Which angle goes in the area formula?
Use the angle between the two sides you are using, which is the angle at the vertex where those sides meet. Using an angle opposite one of the sides gives the wrong area.
e.g. Sides and meet at , so the area is .
How is the formula linked to base times height?
The perpendicular height on side is . Substituting it into gives .
e.g. With , and , the height is , and the area is , the same as .
How do you give an exact area?
Use the exact value of the sine and keep surds in the answer instead of a decimal.
e.g. With , and , the area is .
How do you find an angle from a given area?
Rearrange to and apply the inverse sine. Both and have the same sine, so check whether the angle is acute or obtuse.
e.g. With , and area , , so or .
Worked example, step by step
The question Calculator in degree mode [4 marks]
A triangle has sides of length 5 cm, 6 cm and 7 cm. Find its area.
Worked solution: worked example
Answer: Area cm.
Step 1 - See what is missing.
The area formula needs two sides and the angle between them. You have three sides and no angle, so first find an angle.
Why? Spotting what is missing tells you what to do next. The formula cannot be used until you have an angle, so the first job is to find one.
Step 2 - Choose the angle.
Let be the angle between the 5 cm and 6 cm sides, so it is opposite the 7 cm side. Then , and .
Why? Any of the three angles would work, but this one is between the two sides you will use in the area formula, so the same angle serves both steps.
Step 3 - Use the cosine rule.
So . M1 - Use the cosine rule to find an angle A1 - , so
Why? With three sides known and no angle, the cosine rule is the only rule that can find an angle.
Step 4 - Use the area formula.
With the calculator, cm. M1 - Use area A1 - Area cm (or if exact)
Why? This is the formula for the area when you know two sides and the angle between them. It does not need a height, which you were not given.
Step 5 - Exact answer, if asked.
Because , , so
Why? If a question asks for an exact value you cannot use a decimal. Since , the exact gives the exact , which is quicker than rounding.
Step 6 - Check.
A triangle with two sides of 5 cm and 6 cm and an angle of about between them should have an area just under the largest possible, cm (when the angle is ). is just under 15.
Why? A quick estimate tells you whether the answer is sensible. An area of, say, 147 or 1.47 would show immediately that something went wrong.
M1 Use the cosine rule to find an angle
A1 , so
M1 Use area
A1 Area cm (or if exact)
Now you try: enter your answers to be marked
Find the area of the field.
Worked solution: practice question 1
Find the acute angle between the two sides.
Worked solution: practice question 2
Worked solution: practice question 3
Your score so far: 0 out of 10 marks
Common mistakes
- Using the wrong angle. must be the angle enclosed between the two sides and you're substituting - plugging in an angle that sits opposite one of those sides gives a completely wrong area.
- Reaching for out of habit. If the question gives two sides and an angle rather than a perpendicular height, is the formula that fits the data you actually have.
- Forgetting to sanity-check the angle sum. A triangle's angles must add to - if your three angles don't, a mistake happened earlier (often a wrong degree/radian mode on the GDC).
- Rounding too early. Carry full calculator accuracy through and only round the final answer - rounding the sine value early can shift the last significant figure of the area.
Section 4 of 4 SL3.2
Mixed triangle problems
Multi-step triangle problems combine right-angled trigonometry, the sine rule and the cosine rule, often within a diagram of a real situation. Mark everything you know, split the diagram into triangles, and choose the technique for each from its data: a right angle, an angle with its opposite side, or two sides and the angle between them. Carry accurate values from one triangle to the next.
Choosing the right tool
These questions sit under IB syllabus reference SL3.2, which covers the sine rule, the cosine rule and triangle area - but a mixed problem often needs right-angle trigonometry too, before the triangle-specific rules even come into play.
Right-angle stage
,
Prior-knowledge tools, not in the formula booklet. Reach for these the moment a right angle appears - heights, cliffs, 3D solids, angles of elevation/depression.
Key terms
How do you split a diagram into triangles?
Draw extra lines, such as a diagonal or a vertical height, so that each triangle has enough information to solve. Look for a side shared by two triangles, because it links them.
e.g. In quadrilateral , drawing the diagonal creates triangles and , which share the side .
How do you use the angle sum of a triangle?
The three angles of a triangle add to . Finding a missing angle often gives you the angle opposite a known side, which allows you to use the sine rule.
e.g. If two angles are and , the third angle is .
What is the angle of depression?
An angle of depression is measured downward from the horizontal. It equals the angle of elevation measured from the lower point, because the two horizontal lines are parallel.
e.g. From a cliff top, an angle of depression of to a boat means the angle at the boat, between the sea level and the line to the cliff top, is .
Why should you keep full accuracy between steps?
Rounding a length or angle early changes every later result. Store the unrounded value on your GDC, or keep it exact, and round only the final answer.
e.g. If a side is , use that full value in the next triangle rather than .
Worked example, step by step
The question Calculator in degree mode [8 marks]
A ship leaves port and sails 10 km on a bearing of to a buoy . It then sails 8 km on a bearing of to a lighthouse . Find the distance and the bearing of from .
Worked solution: worked example
Answer: km, and the bearing of from is .
Step 1 - Draw the journey.
Draw a north line at and mark with an angle of clockwise from north. Draw a north line at , then at clockwise from north. Join to to complete triangle .
Why? Bearing questions are very hard without a picture. The diagram shows that is a triangle, which two sides you know, and which angle you still need to find.
Step 2 - Find the angle at .
Extend line beyond . It points along bearing . The ship turns clockwise to bearing , a turn of . The angle inside the triangle is the rest of the straight line: M1 - Use angles on a straight line to find the angle at A1 -
Why? The cosine rule for the third side needs the angle between the two known sides, which is the angle at . The bearings give you angles measured from north, not this angle, so you work it out from them using angles on a straight line.
Step 3 - Find with the cosine rule.
You know two sides and the angle between them, so use the cosine rule for the third side: M1 - Use the cosine rule to find A1 - km
Why? Two sides and the angle between them is the situation where the cosine rule gives the third side directly. The sine rule cannot start here because there is no side with its opposite angle yet. Note that is negative, so the term you subtract becomes an addition.
Step 4 - Find angle with the sine rule.
Now you know a side and its opposite angle ( opposite ), so use the sine rule to find the angle opposite : M1 - Use the sine rule to find A1 -
Why? The question also asks for a bearing, and for that you need the angle at . With and its opposite angle known, the sine rule is quicker than a second cosine rule. Choose the angle opposite the shorter side, 8 km: it must be acute because the triangle already has an obtuse angle at .
Step 5 - Turn the angle into a bearing.
lies clockwise of the direction , which has bearing . So the bearing of from is , written as to the nearest degree. M1 - Add the angle to the bearing of A1 - Bearing
Why? Bearings are measured clockwise from north, and is clockwise of as seen from (look at the diagram), so you add the angle to . Bearings are written with three figures.
Step 6 - Check with coordinates.
Take as the origin. Then and . The distance from is km, and from north. Both agree.
Why? A completely different method that gives the same distance and bearing is strong evidence that neither answer contains an angle slip, which is the most common error in bearing problems.
M1 Use angles on a straight line to find the angle at
A1
M1 Use the cosine rule to find
A1 km
M1 Use the sine rule to find
A1
M1 Add the angle to the bearing of
A1 Bearing
Now you try: enter your answers to be marked
Worked solution: practice question 1
Find the distance the boat travelled.
Worked solution: practice question 2
Stage 1 - 25 km on a bearing of to point .
Stage 2 - 40 km on a bearing of to point .
Worked solution: practice question 3
Your score so far: 0 out of 14 marks
Calculator steps: Switch between degrees and radians, Store a value and reuse it
Common mistakes
- Reaching for the sine or cosine rule when a right angle already does the job. If the diagram gives you a right angle, plain trigonometry or Pythagoras is usually faster and less error-prone than the general triangle rules.
- Missing that an angle of depression equals the angle of elevation. The angle measured down from the horizontal at the cliff top and the angle measured up from the horizontal at the boat are alternate angles - equal, but easy to mix up under pressure.
- Forgetting to sanity-check the angle sum. A triangle's angles must add to - if your three angles don't, a mistake happened earlier (often a wrong degree/radian mode on the GDC).
Using your GDC
The exact key presses for the TI-84 Plus CE, Casio fx-CG50, Casio fx-CG100 and TI-Nspire CX, with what the screen shows. Pick your calculator.
Switch between degrees and radians
Used in: The sine rule, The cosine rule, Mixed triangle problems
How to switch between degrees and radians on a TI-84 Plus CE
Mode screen | |
Press mode to open the mode screen. The angle setting is the line that shows RADIAN and DEGREE. The highlighted word is the one in use. |
NORMAL SCI ENG FLOAT 0 1 2 3 4 5 6 7 8 9 RADIAN DEGREE |
Press ▼ until the cursor is on that line. Press ▶ to move to DEGREE (or ◀ to move to RADIAN), then press enter to select it. |
NORMAL SCI ENG FLOAT 0 1 2 3 4 5 6 7 8 9 RADIAN DEGREE |
Press 2nd mode (QUIT) to return to the home screen. The angle mode you chose now shows in the status bar at the top of the screen. |
|
Check the mode with a test calculation | |
Type sin 3 0 ) and press enter. In degree mode is . Any other value means the calculator is in radian mode. In radian mode the same keys give to 3 decimal places, because 30 is then read as 30 radians. |
DEGREE: sin(30) 0.5 RADIAN: sin(30) -.9880316241 |
The mode stays as you leave it until you change it again, and it applies only to new calculations: press enter on an old line to recalculate it in the new mode.
The full guide: Switch between degrees and radians
Store a value and reuse it
Used in: The sine rule, The cosine rule, Mixed triangle problems
How to store a value and reuse it on a TI-84 Plus CE
Store a value in a letter with STO | |
Calculate the value on the home screen but do not press enter yet. For type 1 . 0 4 5 ^ 1 2, then press ▶ to move out of the power. |
|
Press sto▶. The arrow → appears. Then press alpha and the key with the letter A above it, and press enter. The calculator works out the value and stores all of it in A, not the rounded number on the screen. The screen shows , and A now holds it. |
1.045^12→A 1.695881433 |
Use the stored letter later | |
Press alpha and the key with the letter A above it wherever the value belongs. For press 3 5 0 0 × alpha A enter. To see what is stored, enter A on a blank line and press enter. , which is to 3 significant figures. |
3500*A 5935.585015 |
The same letter works in the next part: 1 8 0 0 × alpha A enter. , which is to 3 significant figures. |
1800*A 3052.586579 |
Use the last answer once with Ans | |
Press 2nd (−) (ANS) to paste Ans, the last answer. It is replaced by every new answer, so use a letter for any value you need again later. |
|
Store the value before you round anything. The calculator keeps every digit in the letter even though the screen shows only ten.
The full guide: Store a value and reuse it
See the full list of GDC guides for every calculator task.
Syllabus content covered
| Code | Syllabus content |
|---|---|
| SL3.2 | The sine rule (not including the ambiguous case). The cosine rule ; . Area of a triangle as . |
| SL3.3 | Applications of right and non-right angled trigonometry, including Pythagoras's theorem. Angles of elevation and depression. Construction of labelled diagrams from written statements. |
| SL3.5 | Extension of the sine rule to the ambiguous case. |
Official IB source: Mathematics: analysis and approaches subject brief (PDF, ibo.org).
Quick questions
When should I use the sine rule instead of the cosine rule?
Use the sine rule when you know a matching angle-side pair (an angle and the side directly opposite it) plus one more piece of information - either another angle, or another side opposite a known angle.
When do I use the cosine rule?
Use the cosine rule when you know two sides and the angle between them, to find the third side, or when you know all three sides, to find any angle.
What is the formula for the area of a triangle without a height?
, where and are two sides and is the angle between them. It works even when you have no perpendicular height.
How do I know which triangle tool a question wants?
If there's a right angle, use right-angled trigonometry or Pythagoras' theorem. If not, an angle with its opposite side means the sine rule; two sides and the included angle, or all three sides, means the cosine rule.
What is the sine rule formula?
, where each side is paired with the angle directly opposite it. When you find an angle, its sine is the same for an acute and an obtuse angle, so check which one fits the triangle (the ambiguous case, syllabus SL3.5).
What is the cosine rule formula?
to find a side, or , its rearranged form, to find an angle.
Do the two sides have to include the given angle?
Yes. must be the angle enclosed between sides and - using an angle that sits opposite one of the sides instead gives the wrong area.
What makes a triangle question "mixed"?
It combines more than one technique in a single problem - often a right-angle triangle for one stage and the sine or cosine rule for another, sometimes wrapped in context like bearings, angles of elevation, or 3D solids.
Can the sine rule be written upside down?
Yes. The form is equivalent, and it is more convenient when you are finding an angle because the unknown is on the top.
How do I avoid mistakes with the order of operations in the cosine rule?
Work out as a single product and subtract it from , then take the square root last. Do not subtract from before multiplying by the cosine.
Ready to practise properly?
Practice questions on every section, marked instantly like the real exam.