High Impact Tutoring Built By Math Experts
Personalized standards-aligned one-on-one math tutoring for schools and districts
In order to access this I need to be confident with:
Sin cos tan SOHCAHTOA Solving equations Rearranging equationsHere is everything you need to know about the law of cosines or cosine rule. You’ll learn how to use the cosine rule to find missing sides and angles in an oblique triangle (non-right triangle) and understand when to use the cosine rule instead of using the law of sines, Pythagorean theorem, or SOHCAHTOA (right triangle trigonometry).
Students first learn how to work with the law of cosines in geometry and expand that knowledge as they progress through Algebra 2 and precalculus.
The law of cosines (or cosine rule) is a formula that can be used to calculate a missing side or missing angle in a triangle. To apply the law of cosines, you need to know the correct arrangement of the formula and what each variable represents.
The law of cosines is typically used when you are given the three sides of a triangle (SSS) or given two sides of a triangle with the included angle measurement, (SAS).
Take a look at the triangle ABC below.
The way you label the sides of a triangle and the angles of a triangle is the same as how you label them when using the law of sines, opposite the angle is the side.
For example, opposite angle A is side a, opposite angle B is side b, and opposite angle C is side c.
The law of cosines or the cosine rule is:
a^{2}=b^{2}+c^{2}-2bc\cos(A)Take a look at this triangle. If you wanted to solve for the length of side a, you would use the formula a^{2}=b^{2}+c^{2}-2bc\cos(A).
Notice how side a in the formula is isolated on the left hand side of the equation with angle A being used on the right hand side of the equation.
If you need to find a different side or angle, you can use the alternate forms of the law of cosines.
The law of cosines can also be written as:
b^2=a^2+c^2-2 a c \cos (B)or
c^2=a^2+b^2-2 a b \cos (C)Let’s look at how to use the law of cosines to solve the triangle.
Use this quiz to check your grade 9 to 12 students’ understanding of Trigonometry. 15+ questions with answers covering a range of 9th to 12th grade trigonometry topics to identify areas of strength and support!
DOWNLOAD FREEUse this quiz to check your grade 9 to 12 students’ understanding of Trigonometry. 15+ questions with answers covering a range of 9th to 12th grade trigonometry topics to identify areas of strength and support!
DOWNLOAD FREEFind side a in the triangle. Remember that side a is opposite angle A and side b is opposite angle B and side c is opposite angle C.
Using the law of cosines,
a^2=b^2+c^2-2 b c \cos (A)Substitute in the values:
\begin{aligned}&x^2=(6.5)^2+(7.1)^2-2(6.5)(7.1) \cos (32) \\\\ &x^2=42.25+50.41-78.27 \\\\ &x^2=14.39 \\\\ &\sqrt{x^2}=\sqrt{14.39} \\\\ &x=3.79 \end{aligned}Side a is approximately 3.79 \, cm which makes sense looking at the sketch of the triangle.
Find angle \theta in the triangle. Remember to label the triangle as A, \, B, \, C and a, \, b, \, c to help decide which equation to use.
The way the triangle is labeled, angle \theta is angle B so the arrangement of the law of cosines that should be used is:
b^2=a^2+c^2-2 a c \cos (B)Substitute the values into the equation.
(27.5)^2=(13.8)^2+(29.7)^2-2(13.8)(29.7) \cos B \begin{aligned} & 756.25=190.44+882.09-819.72 \cos B \\\\ & 756.25=1072.53-819.72 \cos B \end{aligned} 756.25-1072.53=1072.53-1072.53-819.72 \cos B \begin{aligned} & - \, 316.28=- \, 819.72 \cos B \\\\ & \cfrac{- \, 316.28}{- \, 819.72}=\cfrac{- \, 819.72 \cos B}{- \, 819.72} \end{aligned}(0.3858)=\cos B \quad (Use the inverse cosine to solve)
\begin{aligned} & \cos ^{-1}(0.3858)=\cos ^{-1}(\cos B) \\\\ & 67.31=\text { angle } B \\\\ & \text { Angle } B=\text { angle } \theta \approx 67.31^{\circ} \end{aligned}How does this relate to high school math?
In order to find the missing side or angle of a triangle using the law of cosines:
Find the value of x for triangle ABC, correct to 2 decimal places.
2State the law of cosines, then substitute the given values into the formula.
Looking at how the triangle is labeled, x is the same as side c.
So, the arrangement of the law of cosines should be:
c^2=a^2+b^2-2 a b \cos CSubstitute in the values:
x^2=(12.5)^2+(14)^2-2(12.5)(14) \cos (38)3Solve the equation.
\begin{aligned}& x^2=(12.5)^2+(14)^2-2(12.5)(14) \cos (38) \\\\ & x^2=156.25+196-350(0.7880) \\\\ & x^2=352.25-275.8 \\\\ & x^2=76.25 \\\\ & \sqrt{x^2}=\sqrt{76.25} \\\\ & x=8.74 \\\\ & x=\text { side } c \approx 8.74\mathrm{~cm} \end{aligned}Find the length of XY for triangle XYZ.
Label each angle \textbf{(A, \, B, \, C)} and each side \textbf{(a, \, b, \, c)} of the triangle.
Notice, how you need to find the interior angle of the triangle, \text { angle } C A B=39^{\circ}.
The way you solve the interior angle is to subtract the exterior angle measurement from 180^{\circ}.
180-141=39
State the law of cosines, then substitute the given values into the formula.
The way the triangle is labeled, side XY is the same as side a. So the arrangement of the law of sines that should be used is:
a^2=b^2+c^2-2 b c \cos (A)
Substitute in the values:
a^2=(0.8)^2+(0.6)^2-2(0.8)(0.6) \cos 39
Solve the equation.
Find the length of side b in triangle ABC. Round your answer to the nearest tenth.
Label each angle \textbf{(A, \, B, \, C)} and each side \textbf{(a, \, b, \, c)} of the triangle.
The triangle has vertices A, \, B, \, C. Label the sides across from the angles with the same variables.
State the law of cosines, then substitute the given values into the formula.
In this case, since you are solving for side b, the correct arrangement is:
b^2=a^2+c^2-2 a c \cos B
b^2=(12.1)^2+(25.2)^2-2(12.1)(25.2) \cos 43
Solve the equation.
Find the measure of the angle \theta for the isosceles triangle ABC. Round your answer to the nearest tenth.
Label each angle \textbf{(A, \, B, \, C)} and each side \textbf{(a, \, b, \, c)} of the triangle.
State the law of cosines, then substitute the given values into the formula.
The way the triangle is labeled, \text{ angle } \theta is the same as \text{ angle } A. So, the arrangement of the law of cosines that should be used is:
a^2=b^2+c^2-2 b c \cos (A)
Substitute in the values:
Remember that an isosceles triangle has two equal sides so side a is the same as side c. Substitute 12 in for a into the law of cosines.
12^2=6^2+12^2-2(6)(12) \cos \theta
Solve the equation.
0.25=\cos \theta \quad (Use the inverse cosine function)
\begin{aligned} & \cos ^{-1}(0.25)=\cos ^{-1}(\cos \theta) \\\\ & 75.52=\theta \\\\ &\text { Angle } \theta=\text { Angle } A \approx 75.5^{\circ} \end{aligned}
Find the measure of angle \theta for triangle EFG. Round your answer to the nearest hundredth.
Label each angle \textbf{(A, \, B, \, C)} and each side \textbf{(a, \, b, \, c)} of the triangle.
State the law of cosines, then substitute the given values into the formula.
The way the triangle is labeled, the arrangement of the law of cosines that should be used is:
a^2=b^2+c^2-2 b c \cos (A)
Substitute values:
29.5^2=(29.7)^2+(13.8)^2-2(29.7)(13.8) \cos \theta
Solve the equation.
(0.2468)=\cos \theta \quad (Use the inverse cosine function)
\begin{aligned} & \cos ^{-1}(0.2468)=\cos ^{-1}(\cos \theta) \\\\ & 75.71=\theta \\\\ & \text { Angle } \theta \approx 75.71^{\circ} \end{aligned}
Find the measure of angle \theta for triangle XYZ. Write your answer to 2 decimal places.
Label each angle \textbf{(A, \, B, \, C)} and each side \textbf{(a, \, b, \, c)} of the triangle.
State the law of cosines, then substitute the given values into the formula.
The way the triangle is labeled, the arrangement of the law of cosines that should be used is:
a^2=b^2+c^2-2 b c \cos (A)
Substitute values:
(- \, 0.2086)=\cos \theta \quad (Use the inverse cosine function)
\begin{aligned}
& 102.04=\theta \\\\
& \text { Angle } \theta \approx 102.04^{\circ} \end{aligned}
1. Use the law of cosines to find the length of the third side of a triangle which is represented by x. Round your answer to the nearest tenth.
Label the triangle:
Use the labeled triangle to write the correct arrangement of the law of cosines:
a^2=b^2+c^2-2 b c \cos (A)
Substitute in the values:
\begin{aligned}& x^2=12^2+8^2-2 \times 12 \times 8 \times \cos (97) \\\\ & x^2=208-192 \cos (97) \\\\ & x^2=231.3989 \end{aligned}
x=\sqrt{231.3989} \quad (take the square root)
x=15.2 \quad (rounded to the nearest tenth)
2. Find the length of x for triangle PQR. Write your answer to the nearest tenth.
Label the triangle:
Use the labeled triangle to write the correct arrangement of the law of cosines:
The law of cosines states:
a^2=b^2+c^2-2 b c \cos (A)
Substitute in the values:
\begin{aligned}& x^2=6.3^2+5.4^2-2 \times 6.3 \times 5.4 \times \cos (59) \\\\ & x^2=68.85-68.04 \cos (59) \\\\ & x^2=33.8068 \end{aligned}
x=\sqrt{33.8068} \quad (take the square root)
x=5.8 \quad (rounded to the nearest tenth)
3. Find the length of XY for triangle XYZ. Write your answer to the nearest tenth.
Label the triangle:
Use the labeled triangle to write the correct arrangement of the law of cosines.
The law of cosines states:
a^2=b^2+c^2-2 b c \cos (A)
Substitute in the values:
\begin{aligned}& a^2=6^2+6^2-2 \times 6 \times 6 \times \cos (122) \\\\ & x^2=72-72 \cos (122) \\\\ & x^2=110.154187 \end{aligned}
x=\sqrt{110.154187} \quad (take the square root)
x=10.5 \quad (nearest tenth)
4. Find the measure of angle \theta for triangle ABC. Round the angle to the nearest tenth.
Label the triangle:
Use the labeled triangle to write the correct arrangement of the law of cosines:
The law of cosines states:
a^2=b^2+c^2-2 b c \cos (A)
Substitute in the values:
\begin{aligned}& 12^2=5.2^2+7.8^2-2(5.2)(7.8) \cos A \\\\ & 144=27.04+60.84-81.12 \cos A \\\\ & 144=87.88-81.12 \cos A \\\\ & 56.12=- \, 81.12 \cos A \\\\ & \cfrac{56.12}{- \, 81.12}=\cfrac{- \, 81.12 \cos A}{- \, 81.12} \\\\ & – \, 0.6918=\cos A \end{aligned}
\cos ^{-1}(- \, 0.6918)=\cos ^{-1}(\cos A) \quad (use the inverse cosine function)
\begin{aligned} & 133.8^{\circ}=\text { Angle } A=\theta \\\\ & 133.8^{\circ}=\theta \end{aligned}
5. Find the measure of angle \theta for triangle XYZ. Round your answer to the nearest tenth.
Label the triangle:
Use the correct arrangement for the law of cosines
a^2=b^2+c^2-2 b c \cos (A)
Substitute in the values:
\begin{aligned}& 8.3^2=15.1^2+9.8^2-2(15.1)(9.8) \cos A \\\\ & 68.89=228.01+96.04-295.96 \cos A \\\\ & 68.89=324.05-295.96 \cos A \\\\ & – \, 255.16=- \, 295.96 \cos A \\\\ & \cfrac{- \, 255.16}{- \, 295.96}=\cfrac{- \, 295.96 \cos A}{- \, 295.96} \\\\ & 0.8621=\cos A \end{aligned}
\cos ^{-1}(0.8621)=\cos ^{-1}(\cos A) \quad (use the inverse cosine function)
\theta=30.4^{\circ}
6. Find the measure of angle \theta for triangle EFG. Write your answer to 2 decimal places.
Label the triangle:
Use the correct arrangement for the law of cosines
a^2=b^2+c^2-2 b c \cos (A)
Substitute in the values:
\begin{aligned}& 7^2=25^2+25^2-2(25)(25) \cos A \\\\ & 49=625+625-1250 \cos A \\\\ & 49=1250-1250 \cos A \\\\ & – \, 1201=- \, 1250 \cos A \\\\ & \cfrac{- \, 1201}{- \, 1250}=\cfrac{- \, 1250}{- \, 1250} \cos A \\\\ & 0.9608=\cos A \end{aligned}
\cos ^{-1}(0.9608)=\cos ^{-1}(\cos A) \quad (Use the inverse cosine function)
\begin{aligned} & 16.1^{\circ}=\text { Angle } A=\theta \\\\ & 16.1^{\circ}=\theta \end{aligned}
You can use the law of cosines to find the angles and sides of any triangle. However, if the triangle is a right triangle using Pythagoras’s theorem or right triangle trigonometry might be more efficient.
There is a law of tangents, but it is rarely or never taught in high school. However, if you pursue mathematics in college, there is a possibility you will learn about it.
Yes, you can use the law of cosines to find the missing sides and angles of any acute triangle. However, look to see what values are given because the law of sines might be more efficient.
Yes, there are other ways you can find the area of a triangle.
When learning trigonometry, you will learn how to find the area of a triangle using the formula, A=\cfrac{1}{2} \, b c \sin A which can also be written as A=\cfrac{1}{2} \, a c \sin B or A=\cfrac{1}{2} \, a b \sin C.
These formulas can be used when you have two known sides of a triangle and the angle in between them.
Yes, there might be situations when you will have to solve quadratic equations when using law of cosines. For example, when you have two sides and a non-included angle.
Yes, just like the pythagorean theorem, you will have to be able to apply the law of sines and cosines to word problems. The rules can also be used when working with vectors.
At Third Space Learning, we specialize in helping teachers and school leaders to provide personalized math support for more of their students through high-quality, online one-on-one math tutoring delivered by subject experts.
Each week, our tutors support thousands of students who are at risk of not meeting their grade-level expectations, and help accelerate their progress and boost their confidence.
Find out how we can help your students achieve success with our math tutoring programs.
Prepare for math tests in your state with these 3rd Grade to 8th Grade practice assessments for Common Core and state equivalents.
Get your 6 multiple choice practice tests with detailed answers to support test prep, created by US math teachers for US math teachers!