Topic 2/3
Law of Cosines and its Applications
Introduction
Key Concepts
Definition and Formula
The Law of Cosines relates the lengths of the sides of a triangle to the cosine of one of its angles. For any triangle with sides \(a\), \(b\), and \(c\), and corresponding opposite angles \(A\), \(B\), and \(C\), the Law of Cosines is expressed as:
$$ c^2 = a^2 + b^2 - 2ab\cos(C) $$Similarly, the formulas for the other sides are:
$$ a^2 = b^2 + c^2 - 2bc\cos(A) $$ $$ b^2 = a^2 + c^2 - 2ac\cos(B) $$These equations allow for the determination of an unknown side or angle in a triangle when sufficient information is provided.
Derivation of the Law of Cosines
The Law of Cosines can be derived using the Pythagorean theorem and the definition of the cosine of an angle in a right-angled triangle. Consider a triangle \( \triangle ABC \) with side \( a \) opposite angle \( A \), side \( b \) opposite angle \( B \), and side \( c \) opposite angle \( C \). By dropping a perpendicular from vertex \( C \) to side \( AB \), we create two right-angled triangles. Using the Pythagorean theorem and trigonometric identities, we arrive at the Law of Cosines formula.
Applications of the Law of Cosines
The Law of Cosines is instrumental in various applications, including:
- Solving Triangles: Determining unknown sides and angles in any triangle, whether right-angled or not.
- Navigation and Surveying: Calculating distances and bearings between points when direct measurements are challenging.
- Physics: Analyzing forces and vectors that form non-right angles.
- Astronomy: Computing distances between celestial bodies where direct measurement is impractical.
Solve for an Unknown Side
To find an unknown side using the Law of Cosines, rearrange the formula as follows:
$$ a = \sqrt{b^2 + c^2 - 2bc\cos(A)} $$Example: In a triangle with sides \( b = 7 \), \( c = 10 \), and angle \( A = 60^\circ \), find side \( a \).
- Substitute the known values into the formula: $$ a = \sqrt{7^2 + 10^2 - 2 \times 7 \times 10 \times \cos(60^\circ)} $$
- Calculate the cosine: $$ \cos(60^\circ) = 0.5 $$
- Compute the expression: $$ a = \sqrt{49 + 100 - 2 \times 7 \times 10 \times 0.5} $$ $$ a = \sqrt{149 - 70} $$ $$ a = \sqrt{79} $$ $$ a \approx 8.89 $$
Thus, side \( a \) is approximately \( 8.89 \) units long.
Solve for an Unknown Angle
To determine an unknown angle, rearrange the Law of Cosines formula to solve for the cosine of the angle:
$$ \cos(C) = \frac{a^2 + b^2 - c^2}{2ab} $$Example: In a triangle with sides \( a = 5 \), \( b = 6 \), and \( c = 7 \), find angle \( C \).
- Substitute the known values into the formula: $$ \cos(C) = \frac{5^2 + 6^2 - 7^2}{2 \times 5 \times 6} $$
- Calculate the squares: $$ \cos(C) = \frac{25 + 36 - 49}{60} $$ $$ \cos(C) = \frac{12}{60} $$ $$ \cos(C) = 0.2 $$
- Determine the angle using the inverse cosine: $$ C = \cos^{-1}(0.2) $$ $$ C \approx 78.46^\circ $$
Therefore, angle \( C \) is approximately \( 78.46^\circ \).
Relationship with the Pythagorean Theorem
The Law of Cosines generalizes the Pythagorean theorem. Specifically, in the case of a right-angled triangle where angle \( C = 90^\circ \), the Law of Cosines simplifies to:
$$ c^2 = a^2 + b^2 - 2ab\cos(90^\circ) $$Since \( \cos(90^\circ) = 0 \), the equation reduces to:
$$ c^2 = a^2 + b^2 $$This is the familiar Pythagorean theorem, demonstrating that the Law of Cosines encompasses the Pythagorean theorem as a special case.
Solving Triangles Using the Law of Cosines
Solving a triangle involves finding all unknown sides and angles. The Law of Cosines is essential when:
- Given two sides and the included angle (SAS): Use the Law of Cosines to find the third side, then apply the Law of Sines or Cosines to find the remaining angles.
- Given all three sides (SSS): Use the Law of Cosines to find each angle sequentially.
The systematic approach ensures accurate determination of all triangle elements.
Areas Related to the Law of Cosines
The Law of Cosines plays a role in various areas of mathematics and real-life applications, such as:
- Vector Mathematics: Calculating the angle between vectors.
- Engineering: Designing structures where non-right angles are present.
- Computer Graphics: Rendering scenes with triangles in 3D space.
- Robotics: Determining the movement paths of robotic arms.
These applications underscore the versatility and importance of the Law of Cosines in both theoretical and practical contexts.
Limitations of the Law of Cosines
While the Law of Cosines is powerful, it has certain limitations:
- Computational Complexity: For complex problems involving multiple triangles, calculations can become cumbersome without computational tools.
- Dependence on Non-right Angles: The Law of Cosines is specifically beneficial for non-right-angled triangles, whereas the Pythagorean theorem suffices for right-angled ones.
- Requires Knowledge of at Least One Angle: To solve for an unknown side, at least one angle must be known, which might not always be the case.
Practical Example: Navigation
Imagine a ship that travels from port \( A \) to port \( B \) covering \( 50 \) kilometers, and then from port \( B \) to port \( C \) covering \( 60 \) kilometers at an angle of \( 120^\circ \) relative to the first journey. To find the distance between port \( A \) and port \( C \), the Law of Cosines can be applied:
- Assign the sides:
- Let \( a = 60 \) km
- Let \( b = 50 \) km
- Let \( C = 120^\circ \)
- Apply the Law of Cosines: $$ c^2 = a^2 + b^2 - 2ab\cos(C) $$ $$ c^2 = 60^2 + 50^2 - 2 \times 60 \times 50 \times \cos(120^\circ) $$
- Calculate the cosine: $$ \cos(120^\circ) = -0.5 $$
- Compute the expression: $$ c^2 = 3600 + 2500 - 2 \times 60 \times 50 \times (-0.5) $$ $$ c^2 = 6100 + 3000 $$ $$ c^2 = 9100 $$ $$ c = \sqrt{9100} $$ $$ c \approx 95.39 \text{ km} $$
Therefore, the distance between port \( A \) and port \( C \) is approximately \( 95.39 \) kilometers.
Using the Law of Cosines in Coordinate Geometry
In coordinate geometry, the Law of Cosines aids in finding the distance between two points when the coordinates are known. For example, given points \( P(x_1, y_1) \) and \( Q(x_2, y_2) \), the distance \( d \) between them can be found using the formula derived from the Law of Cosines:
$$ d = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2} $$This is essentially an application of the Pythagorean theorem, a special case of the Law of Cosines.
Advanced Applications: Law of Cosines in Non-Euclidean Geometry
Beyond Euclidean spaces, the Law of Cosines is adapted for use in spherical and hyperbolic geometries. In spherical geometry, for instance, the formula adjusts to account for the curvature of the sphere:
$$ \cos(c) = \cos(a)\cos(b) + \sin(a)\sin(b)\cos(C) $$Such adaptations are essential in fields like astronomy and navigation, where the Earth's curvature must be considered.
Comparison with the Law of Sines
While both the Law of Sines and the Law of Cosines are used to solve triangles, they serve different purposes:
- Law of Sines: Best suited for cases where two angles and one side (AAS or ASA) or two sides and a non-included angle (SSA) are known.
- Law of Cosines: Ideal for scenarios where two sides and the included angle (SAS) or all three sides (SSS) are known.
Understanding when to apply each law enhances problem-solving efficiency.
Real-World Problem Solving with the Law of Cosines
Consider a scenario where a surveyor needs to determine the width of a river. By measuring two points along the riverbank and the distance across the river at an angle, the Law of Cosines can be employed to calculate the river's width accurately.
- Measure the distances from a point on one bank to two points on the opposite bank, forming a triangle with a known angle.
- Apply the Law of Cosines to solve for the unknown side, representing the river's width.
This practical application demonstrates the Law of Cosines' utility in engineering and environmental studies.
Comparison Table
Aspect | Law of Sines | Law of Cosines |
When to Use | When two angles and one side (AAS/ASA) or two sides and a non-included angle (SSA) are known. | When two sides and the included angle (SAS) or all three sides (SSS) are known. |
Primary Purpose | To find unknown sides or angles using proportional relationships. | To find unknown sides or angles using the relationship between sides and the cosine of an angle. |
Formulas | $$\frac{a}{\sin(A)} = \frac{b}{\sin(B)} = \frac{c}{\sin(C)}$$ | $$c^2 = a^2 + b^2 - 2ab\cos(C)$$ |
Complexity | Generally simpler and requires fewer calculations. | More complex, especially when dealing with multiple equations. |
Applicability | Limited to specific cases where angles are involved. | Applicable to any triangle, including right-angled triangles. |
Derived From | Basic trigonometric identities and proportionality. | Pythagorean theorem and trigonometric identities. |
Summary and Key Takeaways
- The Law of Cosines extends the Pythagorean theorem to all types of triangles.
- It is essential for solving triangles when sides and angles are unknown.
- Internally derived from fundamental geometric principles.
- Widely applicable in various fields such as navigation, engineering, and physics.
- Complementary to the Law of Sines, providing a comprehensive toolkit for trigonometric problem-solving.
Coming Soon!
Tips
Remember the mnemonic "a squared equals b squared plus c squared minus twice b c cosine of A" to recall the Law of Cosines formula. Always label all sides and angles clearly before starting your calculations to avoid confusion. Double-check your calculator is set to the correct mode (degrees or radians) when finding angles using inverse cosine functions.
Did You Know
The Law of Cosines was crucial in the Apollo moon missions, helping engineers calculate precise trajectories for spacecraft. In astronomy, it's used to determine the distances between stars, especially when direct measurements are challenging. Additionally, computer graphics rely on the Law of Cosines to render realistic 3D models by calculating angles and distances within triangles.
Common Mistakes
Students often forget to square the sides of the triangle when applying the Law of Cosines, leading to calculation errors. Another frequent mistake is misidentifying which angle corresponds to which side, resulting in incorrect substitutions in the formula. Additionally, confusing degrees with radians when calculating inverse cosine functions can lead to inaccurate angle measurements.