Learn on PengiOpenStax Algebra and TrigonometryChapter 10: Further Applications of Trigonometry
Lesson 10.2 : Non-right Triangles: Law of Cosines
In this Grade 7 lesson from OpenStax Algebra and Trigonometry, students learn to apply the Law of Cosines to solve oblique triangles in SAS and SSS configurations where the Law of Sines falls short. The lesson covers deriving the three Law of Cosines equations from the Generalized Pythagorean Theorem, solving for unknown sides and angles, and using Heron's formula to calculate triangle area. Real-world applied problems, such as finding distances in navigation scenarios, help students connect these formulas to practical contexts.
Section 1
📘 Non-right Triangles: Law of Cosines
New Concept
Master the Law of Cosines, a key tool for solving oblique (non-right) triangles in cases where the Law of Sines falls short, like SAS and SSS. You'll learn to find unknown sides, angles, and calculate area using Heron's formula.
What’s next
Next, you'll dive into worked examples for SAS and SSS triangles. Then, test your new skills with a series of interactive practice cards.
Section 2
Law of Cosines
Property
The Law of Cosines states that the square of any side of a triangle is equal to the sum of the squares of the other two sides minus twice the product of the other two sides and the cosine of the included angle. For triangles with angles α, β, and γ, and opposite corresponding sides a, b, and c, the Law of Cosines is given as three equations.
a2=b2+c2−2bccosα
b2=a2+c2−2accosβ
c2=a2+b2−2abcosγ
To solve for an angle, these can be rearranged, for example:
cosγ=2aba2+b2−c2
Examples
To find side c in a triangle where a=8, b=10, and γ=60∘: c2=82+102−2(8)(10)cos(60∘)=64+100−160(0.5)=84. So, c=84≈9.17.
To find angle α in a triangle with sides a=7, b=8, and c=9: cosα=2(8)(9)82+92−72=14496≈0.667. Thus, α=cos−1(0.667)≈48.2∘.
The Law of Cosines is unambiguous because cos−1(x) provides a unique angle between 0∘ and 180∘, unlike the Law of Sines which can have two possible angles.
Explanation
Think of this as the Pythagorean theorem with an upgrade for any triangle, not just right triangles. It is essential for solving triangles when you know Side-Angle-Side (SAS) or Side-Side-Side (SSS), where the Law of Sines cannot be used.
Section 3
Solving SAS Triangles
Property
Given two sides and the included angle (SAS), find the measures of the remaining side and angles of a triangle.
Sketch the triangle and identify knowns and unknowns.
Apply the Law of Cosines to find the length of the unknown side.
Apply the Law of Sines or Cosines to find the measure of a second angle.
Compute the measure of the remaining angle by subtracting the known angles from 180∘.
Examples
Given a=15, c=20, and β=45∘. Find side b: b2=152+202−2(15)(20)cos(45∘)=625−3002. So, b≈14.19.
Continuing from above, find angle α using the Law of Sines: 15sinα=14.19sin45∘. This gives sinα≈0.747, so α≈48.3∘.
Finally, find the third angle: γ=180∘−45∘−48.3∘=86.7∘. The triangle is now fully solved.
Explanation
When given a Side-Angle-Side setup, your first step is always the Law of Cosines to find the third side. Once you have that, the triangle can be fully solved using the Law of Sines to find the remaining angles.
Section 4
Solving SSS Triangles
Property
Given all three sides of a triangle (SSS), find the measures of the angles.
Use the rearranged Law of Cosines to find one of the angles. It is often best to find the largest angle first (opposite the longest side).
Use the Law of Sines or Cosines to find a second angle.
Find the third angle by subtracting the other two from 180∘.
Examples
Given a=10, b=14, and c=18. Find the largest angle, γ, opposite side c. cosγ=2(10)(14)102+142−182=280−28=−0.1. So γ≈95.7∘.
Continuing from above, find a second angle, say α: 10sinα=18sin95.7∘. This gives sinα≈0.553, so α≈33.6∘.
The final angle is β=180∘−95.7∘−33.6∘=50.7∘. The triangle is solved.
Explanation
If you have all three sides but no angles, the Law of Cosines is your tool to unlock the triangle. By solving for the cosine of an angle, you can find one angle and then easily determine the rest.
Section 5
Heron’s Formula
Property
Heron’s formula finds the area of oblique triangles in which sides a, b, and c are known.
Area=s(s−a)(s−b)(s−c)
where s=2a+b+c is one half of the perimeter of the triangle, sometimes called the semi-perimeter.
Examples
Find the area of a triangle with sides a=13, b=14, and c=15. The semi-perimeter is s=213+14+15=21. The area is 21(21−13)(21−14)(21−15)=21(8)(7)(6)=7056=84 square units.
A triangular garden has sides of 20 ft, 25 ft, and 30 ft. First, s=220+25+30=37.5. The area is 37.5(17.5)(12.5)(7.5)≈248 square feet.
Calculate the area of a triangular plot with sides 50 m, 70 m, and 80 m. The semi-perimeter is s=250+70+80=100. The area is 100(50)(30)(20)≈1732.1 square meters.
Explanation
This is a powerful formula for finding a triangle's area using only its side lengths. You don't need to know any angles or the height, making it perfect for problems where only side measurements are available.
Book overview
Jump across lessons in the current chapter without opening the full course modal.
Expand to review the lesson summary and core properties.
Expand
Section 1
📘 Non-right Triangles: Law of Cosines
New Concept
Master the Law of Cosines, a key tool for solving oblique (non-right) triangles in cases where the Law of Sines falls short, like SAS and SSS. You'll learn to find unknown sides, angles, and calculate area using Heron's formula.
What’s next
Next, you'll dive into worked examples for SAS and SSS triangles. Then, test your new skills with a series of interactive practice cards.
Section 2
Law of Cosines
Property
The Law of Cosines states that the square of any side of a triangle is equal to the sum of the squares of the other two sides minus twice the product of the other two sides and the cosine of the included angle. For triangles with angles α, β, and γ, and opposite corresponding sides a, b, and c, the Law of Cosines is given as three equations.
a2=b2+c2−2bccosα
b2=a2+c2−2accosβ
c2=a2+b2−2abcosγ
To solve for an angle, these can be rearranged, for example:
cosγ=2aba2+b2−c2
Examples
To find side c in a triangle where a=8, b=10, and γ=60∘: c2=82+102−2(8)(10)cos(60∘)=64+100−160(0.5)=84. So, c=84≈9.17.
To find angle α in a triangle with sides a=7, b=8, and c=9: cosα=2(8)(9)82+92−72=14496≈0.667. Thus, α=cos−1(0.667)≈48.2∘.
The Law of Cosines is unambiguous because cos−1(x) provides a unique angle between 0∘ and 180∘, unlike the Law of Sines which can have two possible angles.
Explanation
Think of this as the Pythagorean theorem with an upgrade for any triangle, not just right triangles. It is essential for solving triangles when you know Side-Angle-Side (SAS) or Side-Side-Side (SSS), where the Law of Sines cannot be used.
Section 3
Solving SAS Triangles
Property
Given two sides and the included angle (SAS), find the measures of the remaining side and angles of a triangle.
Sketch the triangle and identify knowns and unknowns.
Apply the Law of Cosines to find the length of the unknown side.
Apply the Law of Sines or Cosines to find the measure of a second angle.
Compute the measure of the remaining angle by subtracting the known angles from 180∘.
Examples
Given a=15, c=20, and β=45∘. Find side b: b2=152+202−2(15)(20)cos(45∘)=625−3002. So, b≈14.19.
Continuing from above, find angle α using the Law of Sines: 15sinα=14.19sin45∘. This gives sinα≈0.747, so α≈48.3∘.
Finally, find the third angle: γ=180∘−45∘−48.3∘=86.7∘. The triangle is now fully solved.
Explanation
When given a Side-Angle-Side setup, your first step is always the Law of Cosines to find the third side. Once you have that, the triangle can be fully solved using the Law of Sines to find the remaining angles.
Section 4
Solving SSS Triangles
Property
Given all three sides of a triangle (SSS), find the measures of the angles.
Use the rearranged Law of Cosines to find one of the angles. It is often best to find the largest angle first (opposite the longest side).
Use the Law of Sines or Cosines to find a second angle.
Find the third angle by subtracting the other two from 180∘.
Examples
Given a=10, b=14, and c=18. Find the largest angle, γ, opposite side c. cosγ=2(10)(14)102+142−182=280−28=−0.1. So γ≈95.7∘.
Continuing from above, find a second angle, say α: 10sinα=18sin95.7∘. This gives sinα≈0.553, so α≈33.6∘.
The final angle is β=180∘−95.7∘−33.6∘=50.7∘. The triangle is solved.
Explanation
If you have all three sides but no angles, the Law of Cosines is your tool to unlock the triangle. By solving for the cosine of an angle, you can find one angle and then easily determine the rest.
Section 5
Heron’s Formula
Property
Heron’s formula finds the area of oblique triangles in which sides a, b, and c are known.
Area=s(s−a)(s−b)(s−c)
where s=2a+b+c is one half of the perimeter of the triangle, sometimes called the semi-perimeter.
Examples
Find the area of a triangle with sides a=13, b=14, and c=15. The semi-perimeter is s=213+14+15=21. The area is 21(21−13)(21−14)(21−15)=21(8)(7)(6)=7056=84 square units.
A triangular garden has sides of 20 ft, 25 ft, and 30 ft. First, s=220+25+30=37.5. The area is 37.5(17.5)(12.5)(7.5)≈248 square feet.
Calculate the area of a triangular plot with sides 50 m, 70 m, and 80 m. The semi-perimeter is s=250+70+80=100. The area is 100(50)(30)(20)≈1732.1 square meters.
Explanation
This is a powerful formula for finding a triangle's area using only its side lengths. You don't need to know any angles or the height, making it perfect for problems where only side measurements are available.
Book overview
Jump across lessons in the current chapter without opening the full course modal.