Formula: \(c^2 = a^2 + b^2 - 2ab\cos C\)
Law of Cosines: A fundamental trigonometric law that relates the lengths of the sides of a triangle to the cosine of one of its angles. It generalizes the Pythagorean theorem to non-right triangles and allows solving for unknown sides or angles when certain combinations of sides and angles are known.
- The Law of Cosines relates three sides and one angle of a triangle
- It generalizes the Pythagorean theorem: when C = 90°, cos(90°) = 0, so c² = a² + b²
- It can be written for any side-angle combination
Label the vertices as A, B, C and the corresponding opposite sides as a, b, c respectively. Angle C is opposite to side c.
The Law of Cosines states that: \(c^2 = a^2 + b^2 - 2ab\cos C\)
This can be rearranged to solve for the angle: \(\cos C = \frac{a^2 + b^2 - c^2}{2ab}\)
The Law of Cosines shows that the square of any side equals the sum of squares of the other two sides minus twice their product times the cosine of the included angle.
The Law of Cosines is used when you know: two sides and the included angle (SAS), or all three sides (SSS).
The Law of Cosines establishes a relationship between sides and angles in any triangle.
• Generalization: Extends Pythagorean theorem to non-right triangles
• SAS configuration: Two sides and included angle
• SSS configuration: All three sides
Visual: 📐 Triangle with two sides and included angle
SAS Case: When two sides and the included angle are known, we can find the third side using the Law of Cosines.
We have sides a = 5 and b = 7, with the included angle C = 60°. We need to find the third side c.
Using: \(c^2 = a^2 + b^2 - 2ab\cos C\)
\(c^2 = 5^2 + 7^2 - 2(5)(7)\cos 60°\)
\(c^2 = 25 + 49 - 70\cos 60°\)
Since \(\cos 60° = 0.5\):
\(c^2 = 74 - 70(0.5) = 74 - 35 = 39\)
\(c = \sqrt{39} \approx 6.24\)
Check that the calculated side length makes sense geometrically and satisfies the triangle inequality.
Side c ≈ 6.24 units
• Law of Cosines: \(c^2 = a^2 + b^2 - 2ab\cos C\)
• Trigonometric values: cos 60° = 0.5
• Algebraic manipulation: Proper substitution and simplification
Visual: 📐 Triangle with all three sides known
SSS Case: When all three sides are known, we can find any angle using the rearranged Law of Cosines.
We have all three sides: a = 3, b = 4, c = 5. We need to find angle C opposite to side c.
To find angle C, we rearrange: \(c^2 = a^2 + b^2 - 2ab\cos C\)
Solving for cos C: \(\cos C = \frac{a^2 + b^2 - c^2}{2ab}\)
\(\cos C = \frac{3^2 + 4^2 - 5^2}{2(3)(4)}\)
\(\cos C = \frac{9 + 16 - 25}{24} = \frac{0}{24} = 0\)
Since \(\cos C = 0\), then \(C = \arccos(0) = 90°\)
This confirms that (3, 4, 5) is a Pythagorean triple and forms a right triangle.
Angle C = 90°
• Law of Cosines rearranged: \(\cos C = \frac{a^2 + b^2 - c^2}{2ab}\)
• Trigonometric values: \(\arccos(0) = 90°\)
• Pythagorean verification: 3² + 4² = 5²
Law of Cosines: Relates the lengths of sides of a triangle to the cosine of one of its angles
SAS (Side-Angle-Side): Two sides and the included angle are known
SSS (Side-Side-Side): All three sides are known
Generalization: Extends the Pythagorean theorem to non-right triangles
Triangle Inequality: The sum of any two sides must be greater than the third side
- SAS Case: When two sides and the included angle are known
- SSS Case: When all three sides are known
- Checking triangle validity: To verify if given sides can form a triangle
- Alternative to Law of Sines: When the Law of Sines cannot be applied
• Law of Cosines: \(c^2 = a^2 + b^2 - 2ab\cos C\)
• Angle version: \(\cos C = \frac{a^2 + b^2 - c^2}{2ab}\)
• Alternative forms: \(a^2 = b^2 + c^2 - 2bc\cos A\) and \(b^2 = a^2 + c^2 - 2ac\cos B\)
• Pythagorean connection: When C = 90°, Law of Cosines becomes \(c^2 = a^2 + b^2\)
• Triangle validity: If cos C > 1 or cos C < -1, no triangle exists
Visual: 🧭 Ship navigation forming a triangle
Navigation Triangle: A practical application where the Law of Cosines helps solve real-world problems involving bearings and distances.
The ship's path forms a triangle with sides 10 miles and 15 miles. The angle between these paths needs to be calculated.
The first bearing is N30°E (30° East of North), and the second is S60°E (60° East of South). The angle between North and South is 180°, so the angle between the two paths is: 180° - 30° - 60° = 90°.
With a = 10, b = 15, and C = 90°: \(c^2 = 10^2 + 15^2 - 2(10)(15)\cos 90°\)
Since \(\cos 90° = 0\): \(c^2 = 100 + 225 - 0 = 325\)
So \(c = \sqrt{325} = 5\sqrt{13} \approx 18.03\) miles
Using the Law of Cosines to find angle A (at the starting point): \(\cos A = \frac{b^2 + c^2 - a^2}{2bc}\)
\(\cos A = \frac{15^2 + (5\sqrt{13})^2 - 10^2}{2(15)(5\sqrt{13})} = \frac{225 + 325 - 100}{150\sqrt{13}} = \frac{450}{150\sqrt{13}} = \frac{3}{\sqrt{13}}\)
\(A = \arccos(\frac{3}{\sqrt{13}}) \approx 33.69°\)
The ship is approximately 18.03 miles away at a bearing of N33.69°W from its starting point.
• Problem modeling: Translate real-world scenario to geometric model
• Bearing interpretation: Convert compass directions to geometric angles
• Law of Cosines: When two sides and included angle are known
Visual: ❌ Checking triangle validity
Triangle Validation: Using the Law of Cosines to verify whether given side lengths can form a valid triangle.
Try to find angle C using: \(\cos C = \frac{a^2 + b^2 - c^2}{2ab}\)
\(\cos C = \frac{2^2 + 3^2 - 7^2}{2(2)(3)} = \frac{4 + 9 - 49}{12} = \frac{-36}{12} = -3\)
Since \(\cos C = -3\), and the cosine of any angle must be between -1 and 1, this is impossible.
For a valid triangle: a + b > c, a + c > b, and b + c > a
Here: 2 + 3 = 5 < 7, so the triangle inequality is violated.
No triangle can exist with sides of length 2, 3, and 7.
No triangle exists with sides of length 2, 3, and 7.
• Range of cosine: -1 ≤ cos(θ) ≤ 1 for any angle θ
• Triangle inequality: Sum of any two sides must exceed the third
• Validation method: Use Law of Cosines to check feasibility
Law of Cosines: A fundamental relationship in trigonometry that connects the lengths of sides of a triangle to the cosine of one of its angles. It states that the square of any side equals the sum of squares of the other two sides minus twice their product times the cosine of the included angle.
Non-right Triangle: A triangle that does not contain a 90° angle, requiring special trigonometric laws like the Law of Cosines and Law of Sines for solving.
SAS Configuration: Side-Angle-Side setup where two sides and the included angle are known, perfectly suited for the Law of Cosines.
SSS Configuration: Side-Side-Side setup where all three sides are known, allowing calculation of any angle using the rearranged Law of Cosines.
- Identify the given information: Determine which case applies (SAS or SSS).
- Draw the triangle: Sketch the triangle with known elements labeled.
- Select the appropriate form: Use the standard form for SAS or rearranged form for SSS.
- Apply the Law of Cosines: Set up the appropriate equation based on known elements.
- Solve for unknowns: Use algebraic manipulation to find missing sides or angles.
- Find remaining elements: Use additional applications of Law of Cosines or Law of Sines.
- Verify the solution: Check triangle inequality and geometric reasonableness.
• Law of Cosines: \(c^2 = a^2 + b^2 - 2ab\cos C\) (works for any triangle)
• Angle form: \(\cos C = \frac{a^2 + b^2 - c^2}{2ab}\) (use when finding angles)
• Alternative forms: \(a^2 = b^2 + c^2 - 2bc\cos A\) and \(b^2 = a^2 + c^2 - 2ac\cos B\)
• Pythagorean connection: When C = 90°, cos(90°) = 0, so c² = a² + b²
• Range check: If cos C > 1 or cos C < -1, no triangle exists
Analysis: The chart demonstrates how the Law of Cosines relates sides and angles in various triangle configurations, showing the relationship between side lengths and cosine of included angles.
| Configuration | Known Elements | Unknown Element | Formula Used |
|---|---|---|---|
| SAS | a, b, C | c | c² = a² + b² - 2ab cos C |
| SSS | a, b, c | C | cos C = (a² + b² - c²)/(2ab) |
| SAS | b, c, A | a | a² = b² + c² - 2bc cos A |
| SAS | a, c, B | b | b² = a² + c² - 2ac cos B |