How do I find the length of a side of a triangle using the cosine rule?

Suppose we have a triangle with 2 sides of length 4 and 5 (in any units), and the angle between those sides is 60 degrees. We want to find the length of the side opposite the 60 degree angle.

Write the cosine rule, a2=b2+c2-2bcCos(A). Here a, b and c are the side lengths, and A is the angle opposite side a.

Given our example we have a2=42+52-245*Cos(60)

so a2=16+25-20 = 21, a = sqrt(21) which is irrational (approximately 4.58).

We can also use the cosine rule if we know two side lengths and an angle opposite one of those sides. Suppose we have a triangle with side of length 2 and 5, and we know that the angle opposite the side of length 5 is 120 degrees. We want to work out the 3rd side length.

Again we write out a2=b2+c2-2bcCos(A), but this time we want a to be the side of length 5, since this side is opposite the known angle, giving us

52=22+c2-25c*Cos(120)

25=4+c2-10c(-0.5)

c2+5c-21=0

Solving with the quadratic formula we get

c = (-5 +/- sqrt(25+84)) / 2 which is again irrational.

Notice this time we get two different values for c, since in this case there are two possible triangles that meet the criteria described in the question.

AH
Answered by Angus H. Maths tutor

5342 Views

See similar Maths GCSE tutors

Related Maths GCSE answers

All answers ▸

Amy earns £6 for every hour she works Monday to Friday. She earns £8 for every hour she works on Saturday. One week Amy worked for 5 hours on Saturday - she earned £130 that week. How many hours did she work from Monday to Friday?


How do I solve a quadratic equation?


1: x = 2, 2: y = x + 5 -> Solve this pair of simultaneous equations.


There are 5 girls, 6 boys and some adults in a classroom. The probability that a girl is chosen is 1/3. What is the probability of an adult being chosen?


We're here to help

contact us iconContact ustelephone icon+44 (0) 203 773 6020
Facebook logoInstagram logoLinkedIn logo

MyTutor is part of the IXL family of brands:

© 2026 by IXL Learning