MathClario
← Back to High school
High school📐Geometry●●○○○· 4 min
📐

Law of cosines: Pythagoras generalized to any triangle

Any triangle: $a^2 = b^2 + c^2 - 2bc\cos(A)$. The formula that replaces Pythagoras when the triangle isn't right.

The formula

In triangle ABCABC (any triangle):

a2=b2+c2−2bccos⁡(A^)a^2 = b^2 + c^2 - 2bc \cos(\widehat{A})

with a=BCa = BC (opposite AA), b=ACb = AC, c=ABc = AB.

Similarly for B,CB, C:

  • b2=a2+c2−2accos⁡(B^)b^2 = a^2 + c^2 - 2ac \cos(\widehat{B})
  • c2=a2+b2−2abcos⁡(C^)c^2 = a^2 + b^2 - 2ab \cos(\widehat{C})

Special case: A^=90°\widehat{A} = 90°

cos⁡(90°)=0\cos(90°) = 0, so: a2=b2+c2a^2 = b^2 + c^2

Pythagoras! Cosine rule contains Pythagoras.

Two uses

Use 1: find a side from two sides and the included angle

b=5b = 5, c=7c = 7, A^=60°\widehat{A} = 60°. Find aa.

a2=25+49−2×5×7×0.5=39a^2 = 25 + 49 - 2 \times 5 \times 7 \times 0.5 = 39 a≈6.24a \approx 6.24.

Use 2: find an angle from 3 sides

Isolate cos⁡\cos: cos⁡(A^)=b2+c2−a22bc\cos(\widehat{A}) = \dfrac{b^2 + c^2 - a^2}{2bc}

Example: a=4,b=5,c=6a = 4, b = 5, c = 6. Find A^\widehat{A}.

cos⁡A=(25+36−16)/60=0.75\cos A = (25 + 36 - 16)/60 = 0.75 A^≈41.4°\widehat{A} \approx 41.4°.

Common mistakes

  1. Confusing angle and side: side aa is opposite to angle A^\widehat{A}.
  2. Forgetting the sign in "−2bccos⁡A- 2bc \cos A".
  3. Using Pythagoras on a non-right triangle.
?À toi de jouer

Triangle with b = 3, c = 4, angle A = 90°. Find a.

Mini-quiz

Question 1 / 3

Triangle b = 5, c = 8, angle A = 60°. What is a²?

#law of cosines#cosine rule#triangle#grade 11

You might also like