The sine rule, cosine rule and area of a triangle for HSC Maths Advanced: using the sine rule to find a side or an angle, the ambiguous (two-triangle) case of the sine rule, the cosine rule to find a side from SAS and an angle from SSS, and the area formula one half a b sin C, all in degrees with surveying and navigation contexts
“Establish and apply the sine rule (including the ambiguous case when finding an angle), the cosine rule to find a side and its rearrangement to find an angle, and the area rule , to solve problems involving non-right-angled triangles”
To solve a triangle with no right angle, label each side with the lower-case letter of the angle opposite it, then pick the rule from what you are given. With a side and its opposite angle, use the sine rule (unknown side at the top left), flipping it to to find an angle. With two sides and the angle between them, use the cosine rule for the third side; with all three sides, rearrange it to for an angle (a negative answer means an obtuse angle, and the cosine rule never gives two answers). For area from two sides and the included angle, use . The one trap is the ambiguous case: finding an angle from the sine rule gives both an acute angle and its obtuse supplement, so compute both and keep whichever leaves a positive third angle. Work in degrees and keep full precision until the final rounding.
Jump to a section
What this dot point is asking
Right-angled triangle trigonometry only works when there is a right angle to anchor the ratios. Most triangles in surveying, navigation and design have no right angle, and this dot point gives you the three tools that handle them: the sine rule, the cosine rule and the area rule. Together they let you find any missing side or angle, and the area, of a triangle from the right starting information, all in degrees. The exam-worthy skill is not memorising three formulas; it is reading the triangle to decide which rule to reach for, and knowing the one place the sine rule can trip you, the ambiguous case, where two different triangles fit the same numbers.
First, the labelling that every one of these rules assumes. Name the three vertices (corners) with capital letters , , , and name each side with the lower-case letter of the angle it sits opposite. So side is the side across the triangle from angle , side is opposite angle , and side is opposite angle . Getting this opposite-side pairing right is the whole game: every rule below pairs a side with the angle facing it.
The decision the whole topic turns on is which rule to use, and it is settled by what you are given:
- Two angles and any side (so you can find the third angle), or two sides and an angle opposite one of them: use the sine rule.
- Two sides and the included angle (the angle between them), and you want the third side: use the cosine rule.
- All three sides, and you want an angle: use the cosine rule rearranged.
- Two sides and the included angle, and you want the area: use the area rule.
The answer
The sine rule and why it is true
The sine rule says that in any triangle the ratio of a side to the sine of its opposite angle is the same for all three sides:
Here is why it holds. Drop a perpendicular of height from vertex straight down to the base . That splits the triangle into two right-angled triangles that share the height . In the left one, , so . In the right one, , so . The same height equals both, so , which rearranges to . Dropping a perpendicular from a different vertex brings in the third ratio. So the sine rule is just right-angled trigonometry applied twice to a shared height.
You use the rule as a pair of equal fractions, picking the two that involve your knowns and the one unknown. When the unknown is a side, write that side over its angle at the top left and solve. When the unknown is an angle, it is tidier to flip every fraction and use the reciprocal form , so the unknown sits on top.
The sine rule holds in every triangle:
Reach for the sine rule whenever you have a matched side-and-opposite-angle pair plus one more piece of information.
The cosine rule and why it is true
The cosine rule generalises Pythagoras to triangles with no right angle. For the side opposite angle ,
Compare it with Pythagoras, . The extra term is a correction for the angle not being . When , and the correction vanishes, leaving Pythagoras exactly. When is acute () the correction is subtracted, so ; when is obtuse () the correction adds on, so . That sign sense is a quick reality check on your answer.
To find an angle from the three sides, rearrange the same rule to make the cosine the subject:
There is a hidden bonus here. The cosine of an obtuse angle is negative, so if this formula gives a negative value the angle is obtuse, and if it gives a positive value the angle is acute. Either way the inverse cosine returns exactly one angle between and , so the cosine rule never has the two-answer problem the sine rule does. That is why, when you have a free choice, the cosine rule is the safer way to find an angle.
The cosine rule for a side (you need two sides and the included angle):
The cosine rule rearranged for an angle (you need all three sides):
A negative result means is obtuse. The cosine rule always gives a single angle, so it has no ambiguous case.
The area rule
The familiar area becomes, once you write the height as (from the same dropped perpendicular as before),
In words: the area of a triangle is half the product of two sides times the sine of the angle between them. The angle must be the included angle, the one sitting between the two sides you use; any of the three pairings works as long as you keep that pairing. This is exactly the SAS information, two sides and the angle between them, so whenever a question hands you SAS and asks for area, this is the one line you need.
The area rule uses two sides and the angle between them:
Half the product of two sides, times the sine of the included angle.
The ambiguous case: when the sine rule gives two triangles
This is the edge case textbooks flag and exams love. It happens only when you use the sine rule to find an angle, and never when you find a side or use the cosine rule. The reason is that two different angles share the same sine: . So is satisfied by both and , and the sine rule cannot tell which one your triangle has.
The geometry behind it is the SSA (side, side, angle) configuration: you know two sides and an angle that is not between them. Picture fixing the known angle at a vertex, drawing one known side along a ray, and then swinging the other known side like a compass to meet the base. If that swung side is short enough, the arc can cross the base in two places, giving two genuinely different triangles, one with an acute second angle and one with an obtuse one. If it is just long enough it touches once (a right angle); if it is too long it crosses once on the far side only.
The practical test is simple. When the sine rule gives you with , there are two candidate angles, the acute and the obtuse . Both are geometrically real only if they still leave room for the third angle, that is, only if the known angle plus the candidate is less than . So you always compute both and then test each against the angle sum: if the obtuse option is impossible and you keep just the acute one; if both pass, the question genuinely has two answers and you must give both triangles. A common shortcut: if the side opposite the known angle is the longer of the two given sides, the obtuse option always fails, so there is only one triangle.
The ambiguous case arises when the sine rule is used to find an angle from the SSA data (two sides and a non-included angle). Because , the equation has two candidate angles, the acute and its obtuse supplement . Keep whichever candidate(s) leave a positive third angle (known angle plus candidate ). Finding a side, and the whole cosine rule, are never ambiguous.
How exam questions ask about the sine and cosine rules
The wording tells you which rule the markers expect:
- "Find the length of ..." with a side-and-opposite-angle pair given points to the sine rule for a side. Put the unknown side over its angle at the top left.
- "Find the size of the angle ..." with all three sides given is the cosine rule for an angle (make the subject); with two sides and a non-included angle given it is the sine rule for an angle, so watch for the ambiguous case.
- "Find the third side" with two sides and the angle between them is the cosine rule for a side, the SAS situation.
- "Find the area" with two sides and the included angle is the area rule . If only some of that is given, find the missing piece first.
- "Show that there are two possible triangles" or "find both values" is an explicit ambiguous-case prompt: give the acute and obtuse angles and carry each through to its own side or area.
- "Correct to the nearest minute" wants an angle in degrees and minutes; "correct to ... decimal places" wants a length. Keep full precision in the calculator and round only the final line.
- A bearings or angle of elevation problem usually hides a non-right triangle; sketch it, mark the known side-angle pairs, then choose the rule as above.
Draw and label the triangle first, capitals for vertices and the matching lower-case letter on each opposite side; most lost marks come from pairing a side with the wrong angle. Then choose the rule from what you are given: a side with its opposite angle means sine rule; two sides and the angle between them (or all three sides) means cosine rule. Write the rule in full before substituting, the marker rewards the correct general statement. For a side, put the unknown at the top left; for an angle from three sides, prefer the cosine rule because it gives a single answer and sidesteps the ambiguous case. When you must use the sine rule for an angle, always compute both the acute and the obtuse candidate and test each against the angle sum before deciding how many triangles there are. Keep every intermediate value in the calculator and round only at the end (sides to the stated decimal places, angles to the nearest minute); rounding early throws the final angle out by a degree or more. Quick check: the largest angle faces the longest side, and a cosine that comes out negative means the angle is obtuse. Keep the calculator in degrees and confirm before you start.
Find a side with the sine rule in a survey
A surveyor measures a straight baseline of length m between two pegs. From the angle to a distant tree is , and from the angle to the same tree is . How far is the tree from peg ? Give the distance correct to two decimal places.
Sketch and label. The tree is at vertex . The distance from to the tree is side (opposite angle ), and the measured baseline is side (opposite angle ).
Find the angle opposite the known side. The three angles add to , so
Set up the sine rule with the unknown side at the top left. Pair the unknown with angle , and the known with angle :
Solve for .
Answer: the tree is m from peg .
Find an angle with the sine rule: the ambiguous case
In triangle , angle , side cm (opposite ) and side cm. Find every possible size of angle to the nearest minute, and the length of side to two decimal places in each case.
Recognise the SSA data and use the sine rule for an angle. Two sides and a non-included angle are given, so flip the rule to put the unknown sine on top:
Write down both candidate angles. Since the sine is between and , the acute and the obtuse supplement are
Test each against the angle sum. For : , valid. For : , also valid. Because the side opposite the known angle () is the shorter of the two given sides, both triangles exist, so there are two answers.
Find the third angle in each.
Find each side with the sine rule. Using with and ,
Answer: either with cm, or with cm.
Find a side with the cosine rule in navigation
A yacht sails km from a marina on one bearing, then turns and sails a further km on a new bearing, so that the angle between the two legs of the trip (measured inside the path) is . How far is the yacht now, in a straight line, from the marina? Give the distance correct to two decimal places.
Recognise SAS and choose the cosine rule. The two legs ( and ) are the two known sides and the turn is the included angle between them; the unknown is the third side opposite that angle.
Substitute into the cosine rule. With , and ,
Evaluate, keeping full precision. Because is negative, the last term adds on, so as expected for an obtuse angle:
Answer: the yacht is km from the marina.
Find an angle with the cosine rule from three sides
A triangular sail has sides of length m, m and m. Find the size of the angle opposite the m side, correct to the nearest minute.
Choose the cosine rule for an angle. All three sides are known (SSS), so make the cosine the subject. Let be the side opposite the wanted angle , with and :
Read the sign. The cosine is negative, so the angle is obtuse, which is the expected check since is the longest side and faces the largest angle.
Take the inverse cosine.
Answer: the angle opposite the m side is .
Find a triangle's area from two sides and the included angle
A surveyor records a triangular block of land with two boundaries of length m and m meeting at an angle of . Find the area of the block, correct to two decimal places.
Recognise the area rule applies. Two sides and the angle between them are given (SAS), so use the area rule directly with , and included angle .
Substitute and evaluate.
Answer: the block has area m.
A two-step problem: choose the right rule, twice
A surveyor stands at point . A boundary corner is m from and another corner is m from , and the angle between the two lines of sight is . Find the distance to two decimal places, then the size of angle to the nearest minute.
Step 1: the distance is the SAS situation, so use the cosine rule. The two known sides are and , with the included angle , and is the side opposite :
Step 2: choose the rule for the angle . Now all three sides are known, so the cosine rule for an angle is the safe choice (no ambiguity). The angle sits at , opposite the side , with the other two sides and :
Take the inverse cosine.
Answer: m and angle .
- Using the sine rule when only SAS or SSS is given
- If you have two sides and the angle between them, or all three sides, the sine rule has no complete side-and-opposite-angle pair to start from; you must use the cosine rule. Reaching for the sine rule here stalls immediately.
- Forgetting the ambiguous case
- When the sine rule gives with , there are two candidate angles, the acute and the obtuse . Writing down only the acute one can miss a whole triangle. Always compute both and test each against the angle sum.
- Rounding too early
- Rounding or an intermediate angle before the final step shifts the answer by a degree or more. Keep full precision in the calculator and round only the last line.
- Misplacing the included angle in the cosine rule
- In , the angle must be the one between the two sides and and opposite the side you are finding. Using a non-included angle gives a wrong side.
- Calculator in radian mode
- A triangle answer that is wildly wrong is almost always radians left on. Check before starting, and keep degrees throughout.
- Pairing a side with the wrong angle
- Side is opposite angle , not next to it. Label the triangle carefully so every side meets the sine and cosine rules with its true opposite angle.
Practice questions
Original practice questions graded from foundation to exam level, each with a full worked solution. Try them before revealing the solution.
foundation2 marksIn triangle , angle , angle and side cm. Find the length of side , correct to two decimal places.Show worked solution →
Find the third angle so you can use the side opposite a known angle. The angles add to , so
Set up the sine rule with the unknown side at the top left. Side is opposite and the known side is opposite :
Solve for .
Answer: cm.
foundation2 marksA triangular garden bed has two sides of length m and m meeting at an angle of . Find its area, correct to two decimal places.Show worked solution →
Identify the included angle. The angle sits between the two given sides, so the area rule applies directly with , and included angle .
Substitute into the area rule.
Evaluate.
Answer: the garden bed has area m.
core3 marksTwo straight roads leave a town. One runs for km and the other for km, and the angle between the roads at the town is . Find the straight-line distance between the far ends of the two roads, correct to two decimal places.Show worked solution →
Recognise the configuration as SAS. You know two sides ( and ) and the angle between them (), and you want the third side, so use the cosine rule. Call the unknown distance , opposite the angle.
Substitute into the cosine rule.
Evaluate the right-hand side, then square-root.
Answer: the ends are km apart.
core3 marksA triangle has sides of length cm, cm and cm. Find the size of its largest angle, correct to the nearest minute.Show worked solution →
Know where the largest angle is. The largest angle is opposite the longest side, so it is the angle opposite the cm side. Call it , with , and .
Substitute into the cosine rule and make the subject.
The cosine is negative, so the angle is obtuse. Taking the inverse cosine,
Answer: the largest angle is .
exam4 marksIn triangle , angle , side cm (opposite ) and side cm. Show that two different triangles fit this information, and find the two possible sizes of angle to the nearest minute and the two possible lengths of side to two decimal places.Show worked solution →
Apply the sine rule to find . With opposite and opposite ,
Explain why there are two triangles. Since is less than a solution exists, and because the side opposite the known angle () is shorter than the other given side () while is acute, both the acute and the obtuse angle with this sine are geometrically possible. So
Check both against the angle sum. For the acute case . For the obtuse case . Both leave room for a third angle, so both stand.
Find the third angle in each triangle.
Find each value of with the sine rule. Using with and ,
Answer: with cm, or with cm.
exam4 marksA triangular reserve has two sides of length m and m with an angle of between them. Find (a) the length of the third side, correct to two decimal places, and (b) the area of the reserve, correct to two decimal places.Show worked solution →
(a) Use the cosine rule (SAS) for the third side. Call the third side , opposite the angle, with the two known sides and :
(b) Use the area rule with the two given sides and the angle between them.
Answer: the third side is m and the area is m.
exam5 marksFrom a port , town is km away on a bearing of and town is km away on a bearing of . Find (a) the distance , correct to two decimal places, and (b) the bearing of from , correct to the nearest minute.Show worked solution →
(a) Find the angle at the port, then use the cosine rule. The two bearings differ by , so the angle . With and and the unknown side opposite ,
(b) Find angle with the cosine rule (now SSS), avoiding the ambiguous case. Using the three sides , and ,
Turn the interior angle into a bearing. The bearing of from is the reverse of , which is . Town lies clockwise back from that direction, so the bearing of from is
Answer: km and the bearing of from is .