Skip to content
spmaddmath.com.my
Tuition

Study

SyllabusFormulasMethodsExam & PapersTools
LocationsPricingBlogOur TeachersContact
EN

Chapter · Solution of Triangles

Solving triangles with the sine and cosine rules

The whole chapter comes down to one decision: which rule fits what you are given. Use the sine rule when you have a matching side-and-angle pair, and the cosine rule when you have two sides and the angle between them, or all three sides.

Get that choice right and the arithmetic is straightforward.

Which rule to use, the decision that saves time

Most of the difficulty in this chapter is not the calculation, a scientific calculator does that in seconds, it is choosing the right rule before you start. Make that choice quickly and correctly and the rest is short.

Choose wrongly and you can burn ten minutes going nowhere.

There is a clean way to decide. Look at what the triangle gives you, and match it to the rule that fits:

  • You have a side and the angle opposite it (a matching pair), plus one more piece, use the sine rule.
  • You have two sides and the angle between them (SAS), use the cosine rule to find the third side.
  • You have all three sides (SSS) and want an angle, use the cosine rule rearranged for the angle.

The single word that unlocks it is pair. If you already have a side opposite a known angle, the sine rule is almost always the faster tool.

If you do not have such a pair, the cosine rule is what gets you started.

The sine rule

The sine rule links each side of a triangle to the sine of the angle opposite it. Labelling the sides a,b,ca, b, c opposite angles A,B,CA, B, C:

Must memorise
asinA=bsinB=csinC\frac{a}{\sin A} = \frac{b}{\sin B} = \frac{c}{\sin C}

You only ever use two of the three fractions at a time, the pair you can fill in. Suppose A=40A = 40^{\circ}, the side opposite it is a=8a = 8, and another side is b=10b = 10.

To find angle BB, pair the two fractions you can complete:

8sin40=10sinB    sinB=10sin4080.8035\frac{8}{\sin 40^{\circ}} = \frac{10}{\sin B} \;\Rightarrow\; \sin B = \frac{10 \sin 40^{\circ}}{8} \approx 0.8035

So B53.5B \approx 53.5^{\circ}. Notice how the rule turns a triangle problem into a single equation you can rearrange.

When you are finding a side rather than an angle, flip the fractions the other way up so the unknown sits on top, it saves a step.

The cosine rule (two versions of one idea)

The cosine rule is what you reach for when the sine rule has nothing to pair. In its first form it finds a side from two sides and the angle between them:

Must memorise
a2=b2+c22bccosAa^{2} = b^{2} + c^{2} - 2bc\cos A

For instance, with b=7b = 7, c=5c = 5 and the included angle A=60A = 60^{\circ}: a2=49+252(7)(5)cos60=7435=39a^{2} = 49 + 25 - 2(7)(5)\cos 60^{\circ} = 74 - 35 = 39, so a=396.24a = \sqrt{39} \approx 6.24. Rearranged, the same rule finds an angle when you know all three sides:

Must memorise
cosA=b2+c2a22bc\cos A = \frac{b^{2} + c^{2} - a^{2}}{2bc}

With sides a=6a = 6, b=7b = 7, c=8c = 8, the angle opposite the longest side is cosC=62+72822(6)(7)=2184=0.25\cos C = \dfrac{6^{2} + 7^{2} - 8^{2}}{2(6)(7)} = \dfrac{21}{84} = 0.25, giving C75.5C \approx 75.5^{\circ}. One formula, two jobs, recognising which version you need is the whole skill.

The ambiguous case, when the sine rule gives two answers

Here is the trap that catches careful students. When you use the sine rule to find an angle, your calculator gives you an acute answer, but an obtuse angle can have the same sine.

Because sinθ=sin(180θ)\sin\theta = \sin(180^{\circ} - \theta), there may be two valid triangles, and the question sometimes wants both.

In the earlier example, sinB0.8035\sin B \approx 0.8035 gives B53.5B \approx 53.5^{\circ}, but also B18053.5=126.5B \approx 180^{\circ} - 53.5^{\circ} = 126.5^{\circ}. Both can be genuine.

You keep an answer only if the three angles still add to 180180^{\circ} with room to spare.

When to check for a second answer

The ambiguous case only arises when you use the sine rule to find an angle. Finding a side never has this problem, and the cosine rule never does either.

So whenever you write sinB=\sin B = \ldots to find an angle, pause and ask whether the obtuse partner also fits the triangle.

The area formula, and the mistakes that cost marks

The chapter also gives you a neat way to find area without the perpendicular height, using two sides and the angle between them:

Must memorise
Area=12absinC\text{Area} = \tfrac{1}{2}\,ab\sin C

For the triangle with a=6a = 6, b=7b = 7 and included angle C75.5C \approx 75.5^{\circ}, the area is 12(6)(7)sin75.520.3\tfrac{1}{2}(6)(7)\sin 75.5^{\circ} \approx 20.3 square units. As always, the angle used must be the one between the two sides.

  • Leaving the calculator in radian mode, for SPM degree work it must be in degrees, or every value will be wrong.
  • Using the sine rule when there is no matching side-angle pair, instead of the cosine rule.
  • Forgetting the obtuse possibility in the ambiguous case, or keeping an obtuse angle that makes the triangle impossible.
  • Rounding part-way through: keep full accuracy on your calculator and round only the final answer.

Why the working matters here

Solution-of-triangles questions appear across Paper 1 (2 hours, 80 marks) and Paper 2 (2 hours 30 minutes, 100 marks); there is no Paper 3, and you use a non-programmable scientific calculator. Marking is analytic, so writing the rule, then the substitution, then the answer earns marks at each stage, a wrong final number after correct set-up still scores the method.

How one-to-one teaching can help

This is a chapter where a student can know both rules perfectly and still lose marks, because the difficulty lives in the choice, the ambiguous case, and small calculator habits. Those are exactly the things a teacher can spot in real time.

Working one-to-one, a teacher watches which rule you reach for and why, catches the moment the obtuse answer is forgotten, and checks that your calculator is set up the way the paper expects. Our teachers are experienced; lessons are online and taught in English, while the SPM papers are set bilingually in Bahasa Melayu and English.

If solving triangles is where you slip, you are welcome to begin with a one-hour paid trial class at the teacher's own rate (from RM50 per hour, depending on experience). We will not promise a grade, but we can help make the choice of rule feel automatic, which is where most of the marks in this chapter live.

Get 1-to-1 help.

Book a Trial Class

Frequently asked questions

How do I decide between the sine rule and the cosine rule?

Look for a matching pair, a side and the angle opposite it. If you have one, use the sine rule.

If you only have two sides and the angle between them, or all three sides, use the cosine rule.

What is the ambiguous case?

When you use the sine rule to find an angle, both an acute and an obtuse angle can share the same sine, because sinθ=sin(180θ)\sin\theta = \sin(180^{\circ}-\theta). So there may be two valid triangles.

It only happens when finding an angle with the sine rule, never with the cosine rule.

How do I find the area of a triangle without the height?

Use Area=12absinC\text{Area} = \tfrac{1}{2}\,ab\sin C, where aa and bb are two sides and CC is the angle between them. For example 12(6)(7)sin75.520.3\tfrac{1}{2}(6)(7)\sin 75.5^{\circ} \approx 20.3.

Why do my triangle answers come out completely wrong?

The most common reason is the calculator being in radian mode when the question is in degrees. For SPM work, set your non-programmable scientific calculator to degrees, and check a known value like sin30=0.5\sin 30^{\circ} = 0.5 before you start.

Source:SRC-FORMAT

Written by the spmaddmath.com.my editorial team.· Last updated 5 September 2026

Ready to get started?

Book a Trial Classfrom RM50/hr · One-hour paid trial · Same-day reply
Book a Trial ClassOne-hour paid trial · Same-day reply