Solved Exercises on the Law of Cosines Introduction in Geometry

Master the law of cosines: applications, proofs, and problem-solving through these 5 detailed exercises with comprehensive explanations.

Solution: Exercises 1 to 3
1 Finding Third Side
Exercise 1
In triangle ABC, side AB = 8, side AC = 6, and angle A = 60°. Find the length of side BC.
Definition:

Law of Cosines: Relates the lengths of sides in a triangle to the cosine of one of its angles. Formula: c² = a² + b² - 2ab cos(C)

Law of Cosines Method:
  1. Identify the known sides and angle
  2. Identify which side to find
  3. Select the appropriate formula: a² = b² + c² - 2bc cos(A)
  4. Substitute values and solve
Given Values
AB = 8, AC = 6, ∠A = 60°
Formula
BC² = AB² + AC² - 2(AB)(AC)cos(A)
Solution
BC = 7.21
Step 1: Apply the law of cosines

BC² = AB² + AC² - 2(AB)(AC)cos(∠A)

Step 2: Substitute known values

BC² = 8² + 6² - 2(8)(6)cos(60°)

Step 3: Evaluate cosine

cos(60°) = 0.5

BC² = 64 + 36 - 2(8)(6)(0.5)

Step 4: Calculate

BC² = 100 - 96(0.5) = 100 - 48 = 52

BC = √52 = 2√13 ≈ 7.21

BC ≈ 7.21 units
Final answer:

BC ≈ 7.21 units

Applied rules:

• Law of Cosines: c² = a² + b² - 2ab cos(C)

• Trigonometric Values: cos(60°) = 0.5

• Algebraic Manipulation: Proper substitution and simplification

2 Finding Unknown Angle
Exercise 2
In triangle DEF, DE = 10, EF = 12, and DF = 14. Find the measure of angle E.
Definition:

Law of Cosines for Angles: When all three sides are known, we can find any angle using: cos(E) = (DE² + EF² - DF²)/(2·DE·EF)

Given Values
DE = 10, EF = 12, DF = 14
Formula
cos(E) = (DE² + EF² - DF²)/(2·DE·EF)
Solution
∠E ≈ 73.4°
Step 1: Apply the law of cosines for angle E

cos(E) = (DE² + EF² - DF²)/(2·DE·EF)

Step 2: Substitute known values

cos(E) = (10² + 12² - 14²)/(2·10·12)

Step 3: Calculate numerator and denominator

Numerator: 100 + 144 - 196 = 48

Denominator: 2·10·12 = 240

Step 4: Find the angle

cos(E) = 48/240 = 0.2

∠E = arccos(0.2) ≈ 78.5°

∠E ≈ 78.5°
Final answer:

∠E ≈ 78.5°

Applied rules:

• Law of Cosines for Angles: cos(C) = (a² + b² - c²)/(2ab)

• Inverse Cosine: arccos to find angle from cosine value

• Algebraic Calculation: Proper fraction evaluation

3 Real-World Application
Exercise 3
Two ships leave a port at the same time. Ship A travels 15 km north, and ship B travels 20 km in a direction 45° east of north. How far apart are the ships after 1 hour?
Definition:

Real-world Application: The law of cosines can be used to find distances in navigation, surveying, and engineering problems involving non-right triangles.

Given Information
Ship A: 15km N, Ship B: 20km NE
Angle Between Paths
45°
Distance
≈ 14.3 km
Step 1: Identify the triangle formed

Port (P), Ship A (A), Ship B (B) form triangle PAB

PA = 15km, PB = 20km, ∠APB = 45°

Step 2: Apply the law of cosines

AB² = PA² + PB² - 2(PA)(PB)cos(∠APB)

Step 3: Substitute values

AB² = 15² + 20² - 2(15)(20)cos(45°)

AB² = 225 + 400 - 600(√2/2)

Step 4: Calculate

cos(45°) = √2/2 ≈ 0.707

AB² = 625 - 600(0.707) = 625 - 424.2 = 200.8

AB = √200.8 ≈ 14.2 km

The ships are approximately 14.2 km apart
Final answer:

The ships are approximately 14.2 km apart

Applied rules:

• Law of Cosines: For non-right triangle calculations

• Trigonometric Values: cos(45°) = √2/2

• Real-world Modeling: Converting scenarios to geometric problems

Law of Cosines Fundamentals
c² = a² + b² - 2ab cos(C)
Law of Cosines
For Side c
c² = a² + b² - 2ab cos(C)
Find side opposite to angle C
For Angle C
cos(C) = (a² + b² - c²)/(2ab)
Find angle opposite to side c
Alternative Forms
a² = b² + c² - 2bc cos(A)
Permutations for other sides
Key definitions:

Law of Cosines: A formula relating the lengths of sides of a triangle to the cosine of one of its angles

Oblique Triangle: A triangle with no right angle, requiring law of cosines for solution

Included Angle: The angle between two known sides

Uses: Finding third side when two sides and included angle are known, or finding an angle when all three sides are known
Relationship to Pythagorean Theorem: When angle C = 90°, law of cosines reduces to c² = a² + b²
Tip 1: Use law of cosines when you have SAS (Side-Angle-Side) or SSS (Side-Side-Side) information.
Tip 2: Remember that the angle in the formula is the one opposite to the side you're solving for.
Tip 3: The law of cosines works for all triangles, not just acute ones.
Solution: Exercises 4 to 5
4 Advanced Triangle Problem
Exercise 4
In triangle PQR, angle Q = 120°, PQ = 7, and QR = 9. Find the length of PR and the measures of the other two angles.
Definition:

Multi-step Problem: Using the law of cosines to find one element, then using it again or the law of sines to find others.

Given Values
∠Q = 120°, PQ = 7, QR = 9
First Step
PR ≈ 13.23
Angles
∠P ≈ 32.2°, ∠R ≈ 27.8°
Step 1: Find side PR using law of cosines

PR² = PQ² + QR² - 2(PQ)(QR)cos(∠Q)

PR² = 7² + 9² - 2(7)(9)cos(120°)

Step 2: Evaluate cosine

cos(120°) = -0.5

PR² = 49 + 81 - 2(7)(9)(-0.5) = 130 + 63 = 193

PR = √193 ≈ 13.89

Step 3: Find angle P using law of cosines

cos(P) = (PQ² + PR² - QR²)/(2·PQ·PR)

cos(P) = (49 + 193 - 81)/(2·7·13.89) = 161/194.46 ≈ 0.828

∠P = arccos(0.828) ≈ 34.1°

Step 4: Find angle R

∠R = 180° - ∠P - ∠Q = 180° - 34.1° - 120° = 25.9°

PR ≈ 13.89 units, ∠P ≈ 34.1°, ∠R ≈ 25.9°
Final answer:

PR ≈ 13.89 units, ∠P ≈ 34.1°, ∠R ≈ 25.9°

Applied rules:

• Law of Cosines: For finding sides and angles

• Triangle Sum Theorem: Angles sum to 180°

• Trigonometric Values: cos(120°) = -0.5

5 Surveying Application
Exercise 5
A surveyor needs to measure the distance across a lake. From point A, she walks 800m to point B, then turns 75° toward point C, and walks 600m to reach point C. Find the distance from A to C across the lake.
Definition:

Surveying Application: Using the law of cosines to find distances that cannot be measured directly.

Given Information
AB = 800m, BC = 600m, ∠ABC = 75°
Formula
AC² = AB² + BC² - 2(AB)(BC)cos(∠ABC)
Distance AC
≈ 849.2m
Step 1: Identify the triangle configuration

We have triangle ABC with AB = 800m, BC = 600m, and ∠ABC = 75°

Step 2: Apply the law of cosines

AC² = AB² + BC² - 2(AB)(BC)cos(∠ABC)

Step 3: Substitute known values

AC² = 800² + 600² - 2(800)(600)cos(75°)

cos(75°) ≈ 0.2588

Step 4: Calculate

AC² = 640,000 + 360,000 - 2(800)(600)(0.2588)

AC² = 1,000,000 - 248,448 = 751,552

AC = √751,552 ≈ 866.9m

The distance from A to C across the lake is approximately 866.9 meters
Final answer:

The distance across the lake is approximately 866.9 meters

Applied rules:

• Law of Cosines: For indirect distance measurement

• Trigonometric Values: cos(75°) ≈ 0.2588

• Surveying Techniques: Using known distances and angles to find unknown distances

Comprehensive Law of Cosines Guide
c² = a² + b² - 2ab cos(C)
Law of Cosines Formula
Key definitions:

Law of Cosines: A fundamental relationship in trigonometry that connects the lengths of the sides of a triangle to the cosine of one of its angles

Oblique Triangle: Any triangle that is not a right triangle

Included Angle: The angle formed between two known sides of a triangle

When to Use Law of Cosines:
  1. SAS (Side-Angle-Side): Two sides and the included angle are known
  2. SSS (Side-Side-Side): All three sides are known
  3. SSA (Side-Side-Angle): Sometimes, but requires careful consideration
Tip 1: The law of cosines is the generalization of the Pythagorean theorem for non-right triangles.
Tip 2: When the angle is 90°, cos(90°) = 0, so the formula becomes the Pythagorean theorem.
Tip 3: Remember that the angle in the formula is always opposite to the side you're solving for.
Tip 4: Use the law of sines when you have AAS or ASA information.
Common errors: Misidentifying the included angle, incorrect sign when dealing with obtuse angles, computational mistakes.
Exam preparation: Practice with different configurations, memorize the three forms, review trigonometric values.
Three Forms of the Law of Cosines:

• a² = b² + c² - 2bc cos(A)

• b² = a² + c² - 2ac cos(B)

• c² = a² + b² - 2ab cos(C)

• For finding angles: cos(C) = (a² + b² - c²)/(2ab)

• Special case: When C = 90°, cos(C) = 0, giving c² = a² + b² (Pythagorean theorem)

Visualization: Law of Cosines Behavior
Exercise 6: Cosine Function Impact
Observe how the law of cosines changes based on the angle: when the angle is acute, the third side is shorter than in a right triangle; when obtuse, it's longer; when 90°, it reduces to the Pythagorean theorem.

Analysis: The law of cosines demonstrates how the cosine of an angle affects the relationship between the sides of a triangle:

  • Acute angle (0° < θ < 90°): cos(θ) > 0, so c² < a² + b²
  • Right angle (θ = 90°): cos(θ) = 0, so c² = a² + b²
  • Obtuse angle (90° < θ < 180°): cos(θ) < 0, so c² > a² + b²

Questions & Answers

Question: When should I use the law of cosines versus the law of sines? How do I decide which one to use?

Answer: The choice depends on the given information:

  • Use Law of Cosines when you have:
    • SAS (Side-Angle-Side) - two sides and the included angle
    • SSS (Side-Side-Side) - all three sides
  • Use Law of Sines when you have:
    • AAS (Angle-Angle-Side) - two angles and a non-included side
    • ASA (Angle-Side-Angle) - two angles and the included side
    • SSA (Side-Side-Angle) - two sides and a non-included angle (ambiguous case)

A good rule of thumb: If you have an angle and the side opposite to it, consider the law of sines. If you have two sides and the angle between them, use the law of cosines.

Question: In exercise 4, why did cos(120°) equal -0.5? How do I remember the cosine values for obtuse angles?

Answer: The cosine of 120° is -0.5 because 120° = 180° - 60°, and cos(180° - θ) = -cos(θ).

For common obtuse angles:

  • cos(90°) = 0
  • cos(120°) = -cos(60°) = -0.5
  • cos(135°) = -cos(45°) = -√2/2 ≈ -0.707
  • cos(150°) = -cos(30°) = -√3/2 ≈ -0.866

Remember: cosine is positive in the first quadrant (0° to 90°) and negative in the second quadrant (90° to 180°). For angles greater than 90°, use the reference angle and apply the appropriate sign.

Question: How is the law of cosines useful in real-world applications beyond the navigation and surveying examples?

Answer: The law of cosines has numerous real-world applications:

  • Engineering: Calculating forces in structures, determining cable lengths in suspension bridges
  • Physics: Vector addition, calculating resultant forces or velocities
  • Computer Graphics: Calculating distances and angles in 3D modeling
  • Robotics: Determining arm positioning and reach calculations
  • Architecture: Designing roof trusses and other structural elements
  • Aviation: Navigation calculations and flight path planning

The law of cosines is particularly valuable when working with triangles that aren't right triangles, which occurs frequently in real-world scenarios.