Law of Sines and Law of Cosines

Apply the Law of Sines and Law of Cosines to solve oblique triangles and find missing sides and angles.

Law of Sines and Law of Cosines

Introduction to Oblique Triangles

An oblique triangle is any triangle that is not a right triangle (no 90° angle).

For oblique triangles, we cannot use basic trigonometry (SOH CAH TOA). Instead, we use:

  • Law of Sines: Relates sides and their opposite angles
  • Law of Cosines: Generalizes the Pythagorean theorem

Triangle Notation

For any triangle with vertices AA, BB, and CC:

  • Angles: A\angle A, B\angle B, C\angle C (or simply AA, BB, CC)
  • Sides:
    • Side aa is opposite angle AA
    • Side bb is opposite angle BB
    • Side cc is opposite angle CC

Sum of angles: A+B+C=180°A + B + C = 180° (or π\pi radians)

Law of Sines

Formula

asinA=bsinB=csinC\frac{a}{\sin A} = \frac{b}{\sin B} = \frac{c}{\sin C}

Or equivalently:

sinAa=sinBb=sinCc\frac{\sin A}{a} = \frac{\sin B}{b} = \frac{\sin C}{c}

When to Use

Use the Law of Sines when you have:

  1. AAS (Angle-Angle-Side): Two angles and one side
  2. ASA (Angle-Side-Angle): Two angles and the included side
  3. SSA (Side-Side-Angle): Two sides and a non-included angle ⚠️ Ambiguous case

Solving with Law of Sines

Given: Two angles and one side (AAS or ASA)

Steps:

  1. Find the third angle: C=180°ABC = 180° - A - B
  2. Use the law of sines to find the unknown sides
  3. Use the ratio asinA=bsinB\frac{a}{\sin A} = \frac{b}{\sin B}

The Ambiguous Case (SSA)

When given two sides and a non-included angle (SSA), there may be:

  • 0 solutions (no triangle exists)
  • 1 solution (one unique triangle)
  • 2 solutions (two different triangles)

Why it's ambiguous: The side opposite the known angle might "swing" to create two different triangles.

To determine the number of solutions:

Given sides aa, bb and angle AA (where aa is opposite AA):

  1. If a<bsinAa < b\sin A: No triangle (side too short)
  2. If a=bsinAa = b\sin A: One triangle (right triangle)
  3. If bsinA<a<bb\sin A < a < b: Two triangles (ambiguous case)
  4. If aba \geq b: One triangle

Law of Cosines

Formulas

For any triangle:

a2=b2+c22bccosAa^2 = b^2 + c^2 - 2bc\cos A b2=a2+c22accosBb^2 = a^2 + c^2 - 2ac\cos B c2=a2+b22abcosCc^2 = a^2 + b^2 - 2ab\cos C

Note: When C=90°C = 90°, cosC=0\cos C = 0, and this reduces to the Pythagorean theorem: c2=a2+b2c^2 = a^2 + b^2

Solving for an Angle

Rearrange to solve for the cosine:

cosA=b2+c2a22bc\cos A = \frac{b^2 + c^2 - a^2}{2bc} cosB=a2+c2b22ac\cos B = \frac{a^2 + c^2 - b^2}{2ac} cosC=a2+b2c22ab\cos C = \frac{a^2 + b^2 - c^2}{2ab}

Then use A=arccos(b2+c2a22bc)A = \arccos(\frac{b^2 + c^2 - a^2}{2bc})

When to Use

Use the Law of Cosines when you have:

  1. SAS (Side-Angle-Side): Two sides and the included angle
  2. SSS (Side-Side-Side): All three sides

Strategy for Solving Triangles

Given Information → Method

| Given | Method | Steps | |-------|--------|-------| | AAS or ASA | Law of Sines | Find third angle, then use ratios | | SAS | Law of Cosines | Find third side, then use Law of Sines | | SSS | Law of Cosines | Find one angle, then use Law of Sines | | SSA | Law of Sines | Check ambiguous case first |

Area of a Triangle

Using the Law of Sines, we can derive:

Area=12absinC=12bcsinA=12acsinB\text{Area} = \frac{1}{2}ab\sin C = \frac{1}{2}bc\sin A = \frac{1}{2}ac\sin B

This is useful when you know two sides and the included angle.

Common Applications

  1. Navigation: Finding distances and bearings
  2. Surveying: Measuring inaccessible distances
  3. Engineering: Analyzing forces in structures
  4. Physics: Resolving vector components

Tips for Success

  1. Draw a diagram and label all known values
  2. Identify the given information (AAS, SAS, SSS, etc.)
  3. Choose the appropriate law (Sines or Cosines)
  4. Check your answer using the angle sum (A+B+C=180°A + B + C = 180°)
  5. Watch for the ambiguous case with SSA
  6. Use calculator in correct mode (degrees or radians)

📚 Practice Problems

1Problem 1easy

Question:

In triangle ABCABC, A=35°A = 35°, B=65°B = 65°, and c=10c = 10 cm. Find the length of side aa.

💡 Show Solution

Solution:

Given:

  • A=35°A = 35°
  • B=65°B = 65°
  • c=10c = 10 cm
  • Find: aa

Step 1: Identify the case

This is AAS (two angles and one side), so use the Law of Sines.

Step 2: Find the third angle C=180°AB=180°35°65°=80°C = 180° - A - B = 180° - 35° - 65° = 80°

Step 3: Apply Law of Sines asinA=csinC\frac{a}{\sin A} = \frac{c}{\sin C}

Substitute: asin35°=10sin80°\frac{a}{\sin 35°} = \frac{10}{\sin 80°}

Step 4: Solve for aa a=10sin35°sin80°a = \frac{10 \sin 35°}{\sin 80°}

Calculate: a=10×0.57360.98485.7360.98485.82 cma = \frac{10 \times 0.5736}{0.9848} \approx \frac{5.736}{0.9848} \approx 5.82 \text{ cm}

Answer: a5.82a \approx 5.82 cm

Verification:

  • All angles sum to 180°180°
  • a<ca < c makes sense since A<CA < C (smaller angle opposite smaller side) ✓

2Problem 2medium

Question:

In triangle ABCABC, a=12a = 12, b=15b = 15, and A=35°A = 35°.

a) Use the Law of Sines to find angle BB. b) Find angle CC. c) Find side cc.

💡 Show Solution

Solution:

Part (a): Law of Sines: asinA=bsinB\frac{a}{\sin A} = \frac{b}{\sin B}

12sin35°=15sinB\frac{12}{\sin 35°} = \frac{15}{\sin B}

sinB=15sin35°12=15(0.5736)12=8.60412=0.717\sin B = \frac{15 \sin 35°}{12} = \frac{15(0.5736)}{12} = \frac{8.604}{12} = 0.717

B=sin1(0.717)45.8°B = \sin^{-1}(0.717) \approx 45.8°

Note: There could be another solution B=180°45.8°=134.2°B' = 180° - 45.8° = 134.2°, but we need to check if it's valid.

If B=134.2°B = 134.2°, then A+B=35°+134.2°=169.2°<180°A + B = 35° + 134.2° = 169.2° < 180°, so this is also possible.

However, since b>ab > a and angle BB is opposite the larger side, we expect B>AB > A.

Both solutions satisfy this, so we have the ambiguous case. Let's take B45.8°B \approx 45.8° as the acute solution.

Part (b): C=180°AB=180°35°45.8°=99.2°C = 180° - A - B = 180° - 35° - 45.8° = 99.2°

Part (c): Using Law of Sines:

csinC=asinA\frac{c}{\sin C} = \frac{a}{\sin A}

c=asinCsinA=12sin99.2°sin35°=12(0.9877)0.573620.7c = \frac{a \sin C}{\sin A} = \frac{12 \sin 99.2°}{\sin 35°} = \frac{12(0.9877)}{0.5736} \approx 20.7

3Problem 3medium

Question:

In triangle ABCABC, a=8a = 8, b=5b = 5, and C=60°C = 60°. Find the length of side cc.

💡 Show Solution

Solution:

Given:

  • a=8a = 8
  • b=5b = 5
  • C=60°C = 60°
  • Find: cc

Step 1: Identify the case

This is SAS (two sides and the included angle), so use the Law of Cosines.

Step 2: Apply Law of Cosines c2=a2+b22abcosCc^2 = a^2 + b^2 - 2ab\cos C

Substitute: c2=82+522(8)(5)cos60°c^2 = 8^2 + 5^2 - 2(8)(5)\cos 60°

Step 3: Calculate

c2=64+258012c^2 = 64 + 25 - 80 \cdot \frac{1}{2} c2=64+2540c^2 = 64 + 25 - 40 c2=49c^2 = 49 c=7c = 7

Answer: c=7c = 7

Bonus: Find angle AA

Now use Law of Sines: sinAa=sinCc\frac{\sin A}{a} = \frac{\sin C}{c} sinA8=sin60°7\frac{\sin A}{8} = \frac{\sin 60°}{7} sinA=8sin60°7=8×327=4370.9897\sin A = \frac{8 \sin 60°}{7} = \frac{8 \times \frac{\sqrt{3}}{2}}{7} = \frac{4\sqrt{3}}{7} \approx 0.9897 A=arcsin(0.9897)81.8°A = \arcsin(0.9897) \approx 81.8°

Verification:

  • c2=49c^2 = 49 gives c=7c = 7
  • When C=60°C = 60°, cos60°=0.5\cos 60° = 0.5

4Problem 4medium

Question:

In triangle ABCABC, a=8a = 8, b=11b = 11, and c=14c = 14.

a) Use the Law of Cosines to find angle CC. b) Find the area of the triangle.

💡 Show Solution

Solution:

Part (a): Law of Cosines: c2=a2+b22abcosCc^2 = a^2 + b^2 - 2ab\cos C

142=82+1122(8)(11)cosC14^2 = 8^2 + 11^2 - 2(8)(11)\cos C

196=64+121176cosC196 = 64 + 121 - 176\cos C

196=185176cosC196 = 185 - 176\cos C

11=176cosC11 = -176\cos C

cosC=11176=0.0625\cos C = -\frac{11}{176} = -0.0625

C=cos1(0.0625)93.6°C = \cos^{-1}(-0.0625) \approx 93.6°

Part (b): Area formula using two sides and included angle:

First, we need to find one of the other angles. Let's find angle AA:

a2=b2+c22bccosAa^2 = b^2 + c^2 - 2bc\cos A

64=121+1962(11)(14)cosA64 = 121 + 196 - 2(11)(14)\cos A

64=317308cosA64 = 317 - 308\cos A

253=308cosA-253 = -308\cos A

cosA=253308=0.821\cos A = \frac{253}{308} = 0.821

A=cos1(0.821)34.7°A = \cos^{-1}(0.821) \approx 34.7°

Now use: Area =12bcsinA= \frac{1}{2}bc\sin A

=12(11)(14)sin34.7°= \frac{1}{2}(11)(14)\sin 34.7°

=12(154)(0.569)= \frac{1}{2}(154)(0.569)

43.8\approx 43.8 square units

5Problem 5hard

Question:

In triangle ABCABC, a=20a = 20, b=15b = 15, and c=25c = 25. Find all three angles.

💡 Show Solution

Solution:

Given:

  • a=20a = 20
  • b=15b = 15
  • c=25c = 25
  • Find: All angles

Step 1: Identify the case

This is SSS (all three sides), so use the Law of Cosines.

Step 2: Find angle CC (largest angle, opposite longest side)

cosC=a2+b2c22ab\cos C = \frac{a^2 + b^2 - c^2}{2ab}

Substitute: cosC=202+1522522(20)(15)\cos C = \frac{20^2 + 15^2 - 25^2}{2(20)(15)} cosC=400+225625600\cos C = \frac{400 + 225 - 625}{600} cosC=0600=0\cos C = \frac{0}{600} = 0

Therefore: C=arccos(0)=90°C = \arccos(0) = 90°

This is a right triangle!

Step 3: Find angle AA

Now we can use Law of Sines: sinAa=sinCc\frac{\sin A}{a} = \frac{\sin C}{c} sinA20=sin90°25\frac{\sin A}{20} = \frac{\sin 90°}{25} sinA20=125\frac{\sin A}{20} = \frac{1}{25} sinA=2025=45=0.8\sin A = \frac{20}{25} = \frac{4}{5} = 0.8 A=arcsin(0.8)53.1°A = \arcsin(0.8) \approx 53.1°

Step 4: Find angle BB

B=180°AC=180°53.1°90°=36.9°B = 180° - A - C = 180° - 53.1° - 90° = 36.9°

Answer:

  • A53.1°A \approx 53.1°
  • B36.9°B \approx 36.9°
  • C=90°C = 90°

Verification:

  • A+B+C53.1°+36.9°+90°=180°A + B + C \approx 53.1° + 36.9° + 90° = 180°
  • Check Pythagorean theorem: 202+152=400+225=625=25220^2 + 15^2 = 400 + 225 = 625 = 25^2
  • This confirms it's a right triangle! ✓

Note: This is a 3-4-5 right triangle scaled by 5 (sides 15, 20, 25).