Download Article
Download Article
The cosine rule is a commonly used rule in trigonometry. It can be used to investigate the properties of non-right triangles and thus allows you to find missing information, such as side lengths and angle measurements. The formula is similar to the Pythagorean Theorem and relatively easy to memorize. The cosine rule states that, for any triangle, .
Steps
-
Assess what values you know. To find the missing side length of a triangle, you need to know the lengths of the other two sides, as well as the size of the angle between them. [1] X Research source
- For example, you might have triangle XYZ. Side YX is 5 cm long. Side YZ is 9 cm long. Angle Y is 89 degrees. How long is side XZ?
-
Set up the formula for the Cosine Rule. This is also called the law of cosines. The formula is . In this formula, equals the missing side length, and equals the cosine of the angle opposite the missing side length. The variables and are the lengths of the two known sides. [2] X Research sourceAdvertisement
-
Plug the known values into the formula. The variables and are the two known side lengths. The variable is the known angle, which should be the angle between and . [3] X Research source
- For example, since the length of side XZ is missing, this side length will stand for in the formula. Since sides YX and YZ are known, these two side lengths will be and . It doesn’t matter which side is which variable. The variable is angle Y. So, your formula should look like this: .
-
Find the cosine of the known angle. Do this using a calculator’s cosine function. Simply type in the angle measurement, then hit the button. If you don't have a scientific calculator, you can find a cosine table online. [4] X Research source You can also simply type in "cosine x degrees" into Google, (substituting the angle for x), and the search engine will give back the calculation. [5] X Research source
- For example, the cosine of 89 is about 0.01745. So, plug this value into your formula: .
-
Complete the necessary multiplication. You are multiplying by the known angle’s cosine.
- For example:
- For example:
-
Add the squares of the known sides. Remember that when you square a number, you multiply it by itself. Square the two numbers first, then add them.
- For example:
- For example:
-
Subtract the two values. This will give you the value of .
- For example:
- For example:
-
Take the square root of the difference. You will likely want to use a calculator for this step, because the number you are finding the square root of will have many decimal places. The square root is equal to the length of the missing side of the triangle. [6] X Research source
- For example:
So, the missing side length, , is 10.2191 cm long.
- For example:
Advertisement
-
Assess what values you know. To find the missing angle of a triangle using the cosine rule, you need to know the length of all three sides of the triangle. [7] X Research source
- For example, you might have triangle RST. Side SR is 8 cm long. Side ST is 10 cm long. Side RT is 12 cm long. What is the measurement of angle S?
-
Set up the formula for the Cosine Rule. The formula is . In this formula, equals the cosine of the angle you are trying to find. The variable equals the side opposite the missing angle. The variables and are the lengths of the other two sides. [8] X Research source
-
Determine the values of , , and . Plug these values into the formula. [9] X Research source
- For example, since side RT is opposite the missing angle, angle S, side RT will equal in the formula. The other two side lengths will be and . It doesn’t matter which side is which variable. So, your formula should look like this: .
-
Complete the necessary multiplication. You are multiplying times the cosine of the missing angle, which you don’t know yet. So, the variable should remain.
- For example, .
-
Find the square of . Remember that to square a number, you multiply the number by itself.
- For example,
-
Add the squares of and . Make sure you square each number first, and then add them together.
- For example:
- For example:
-
Isolate the cosine of the missing angle. To do this, subtract the sum of and from both sides of the equation. Then, divide each side of the equation by the coefficient of the missing angle’s cosine. [10] X Research source
- For example, to isolate the cosine of the missing angle, subtract 164 from both sides of the equation, then divide each side by -160:
- For example, to isolate the cosine of the missing angle, subtract 164 from both sides of the equation, then divide each side by -160:
-
Find the inverse cosine. This will give you the measurement of the missing angle. [11] X Research source On a calculator, the inverse cosine key is denoted by .
- For example, the inverse cosine of .0125 is 82.8192. So, the missing angle, angle S, is 82.8192 degrees.
Advertisement
-
Find the missing side length of a triangle. The two known side lengths are 20 and 17 cm long. The angle between these two sides is 68 degrees.
- Since you know two side lengths, and the angle between them, you can use the cosine rule. Set up the formula: .
- The missing side length is . Plug the other values into the formula: .
- Use the order of operations to find
:
- Take the square root of both sides of the equation. This will give you the missing side length:
So, the missing side length is 20.8391 cm long.
-
Find angle H in the triangle GHI. The two sides adjacent to angle H are 22 and 16 cm long. The side opposite angle H is 13 centimeter (5.1 in) long.
- Since you know all three side lengths, you can use the cosine rule. Set up the formula: .
- The side opposite the missing angle is . Plug all of the values into the formula: .
- Use the order of operations to simplify the expression:
- Isolate the cosine:
- Find the inverse cosine. This will give you the missing angle:
.
So, angle H is about 35.7985 degrees.
-
Find the missing trail length. Dune, Ridge, and Bog Trail form a triangle. Dune Trail is 3 miles long. Ridge Trail is 5 miles long. Dune Trail and Ridge Trail meet on their north ends at a 135 degree angle. Bog Trail connects the other two ends of the trails. How long is Bog Trail?
- The trails form a triangle, and you are asked to find a missing trail length, which is like the side of a triangle. Since you know the length of the other two trails, and you know they meet at 135 degree angle, you can use the cosine rule.
- Set up the formula: .
- The missing side length (Bog Trail) is . Plug the other values into the formula: .
- Use the order of operations to find
:
- Take the square root of both sides of the equation. This will give you the missing side length:
So, Bog Trail is about 7.4306 miles long.
Advertisement
Community Q&A
Search
-
QuestionWhy do we only use sine and cosine rule? Is there any other to find the same thing?Community AnswerTrigonometry and the sine and cosine rules are needed to work out missing angles and sides of triangles. If there isn't enough information, then you have to use either the sine or cosine rule. It's just the way it is, unless you have two sides and can use Pythagoras's theorem or 2 angles to work out the missing angle.
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
Advertisement
Video
Tips
-
Thanks
Submit a Tip
All tip submissions are carefully reviewed before being published
Name
Please provide your name and last initial
Thanks for submitting a tip for review!
Advertisement
References
- ↑ https://www.mathsisfun.com/algebra/trig-cosine-law.html
- ↑ http://www.bbc.co.uk/schools/gcsebitesize/maths/geometry/furthertrigonometryhirev2.shtml
- ↑ https://www.khanacademy.org/math/geometry/hs-geo-trig/hs-geo-law-of-cosines/v/law-of-cosines-example
- ↑ https://digitalcommons.unl.edu/cgi/viewcontent.cgi?article=1011&context=mathclass
- ↑ https://www.mathsisfun.com/algebra/trig-cosine-law.html
- ↑ https://www.khanacademy.org/math/geometry/hs-geo-trig/hs-geo-law-of-cosines/v/law-of-cosines-example
- ↑ https://www.mathsisfun.com/algebra/trig-cosine-law.html
- ↑ http://www.bbc.co.uk/schools/gcsebitesize/maths/geometry/furthertrigonometryhirev2.shtml
- ↑ https://www.khanacademy.org/math/geometry/hs-geo-trig/hs-geo-law-of-cosines/v/law-of-cosines-missing-angle
About This Article
Thanks to all authors for creating a page that has been read 153,314 times.
Reader Success Stories
- "I was writing an exam, but didn't know how to use the cosine rule. Now I can solve any equation."
Advertisement