How to Calculate Using the Law of Cosines
The Law of Cosines is a fundamental theorem in trigonometry that relates the lengths of the sides of a triangle to the cosine of one of its angles. It's particularly useful when dealing with non-right triangles where the Pythagorean theorem doesn't apply.
Let a, b, and c be the lengths of the sides of a triangle, and A, B, and C be the angles opposite these sides respectively.
- \( c^2 = a^2 + b^2 - 2ab \cos(C) \)
- \( b^2 = a^2 + c^2 - 2ac \cos(B) \)
- \( a^2 = b^2 + c^2 - 2bc \cos(A) \)
These formulas can be rearranged to find angles:
- \( \cos(C) = \frac{a^2 + b^2 - c^2}{2ab} \)
- \( \cos(B) = \frac{a^2 + c^2 - b^2}{2ac} \)
- \( \cos(A) = \frac{b^2 + c^2 - a^2}{2bc} \)
Calculation Steps
- Identify the known values (at least three) among side lengths and angles.
- Choose the appropriate Law of Cosines formula based on what you know and what you need to find.
- Substitute the known values into the chosen formula.
- Solve the equation for the unknown side or angle.
- If needed, use the results to calculate other unknown values.
- Calculate additional properties like perimeter and area if required.
Example Calculation
Let's calculate the properties of a triangle with side a = 5 units, side b = 7 units, and angle C = 60°.
- Use the formula: \( c^2 = a^2 + b^2 - 2ab \cos(C) \)
- Substitute the values: \( c^2 = 5^2 + 7^2 - 2(5)(7) \cos(60°) \)
- Simplify: \( c^2 = 25 + 49 - 70 \cos(60°) = 74 - 70(0.5) = 74 - 35 = 39 \)
- Solve for c: \( c = \sqrt{39} \approx 6.245 \) units
- Calculate angle A: \( \cos(A) = \frac{7^2 + 6.245^2 - 5^2}{2(7)(6.245)} \approx 0.7071 \)
- Solve for A: \( A = \arccos(0.7071) \approx 45.0° \)
- Calculate angle B: \( B = 180° - 60° - 45.0° = 75.0° \)
- Perimeter = 5 + 7 + 6.245 = 18.245 units
- Semi-perimeter s = 18.245 / 2 = 9.1225
- Area = \( \sqrt{9.1225(9.1225-5)(9.1225-7)(9.1225-6.245)} \approx 15.33 \) square units
Visual Representation
This diagram illustrates a triangle with its sides (a, b, c) and angles (A, B, C) labeled, demonstrating how the Law of Cosines relates these components.