3.1.20Advanced Trigonometry

Law of cosines — proof and applications

1,693 words8 min readdifficulty · medium6 backlinks

What it says

WHAT the letters mean: CC is the angle between the two sides aa and bb; cc is the side opposite that angle. The angle and its opposite side always pair up.

Figure — Law of cosines — proof and applications

Deriving it from scratch (coordinate proof)

Rearranged form (for SSS — finding an angle)

Solve the definition for cosC\cos C: cosC=a2+b2c22ab\cos C = \frac{a^2 + b^2 - c^2}{2ab} Why useful? Given all three sides, this directly returns the angle via arccos\arccos.


Worked examples


Forecast-then-Verify

Recall Forecast before computing

Triangle a=6, b=6, C=90°a=6,\ b=6,\ C=90°. Predict cc before reading on. Verify: c2=36+362(36)(0)=72c^2 = 36+36-2(36)(0) = 72, so c=628.49c=6\sqrt2\approx8.49. Pythagoras — correction is zero at 90°90°. ✓


Common mistakes


Feynman

Recall Explain to a 12-year-old

Imagine two sticks joined at a hinge. The far ends have a gap between them. If you open the hinge a little (small angle), the ends are close, so the gap is small. Open it wide (big angle) and the ends swing far apart, so the gap is large. The Law of Cosines is just a formula that tells you the gap's length from the two stick lengths and how wide you opened the hinge. When the hinge is a perfect corner (90°90°), it becomes the old Pythagoras rule.


Flashcards

State the Law of Cosines for side cc.
c2=a2+b22abcosCc^2 = a^2 + b^2 - 2ab\cos C
Which angle appears in c2=a2+b22abcosCc^2 = a^2+b^2-2ab\cos C?
The angle CC opposite side cc (between sides aa and bb).
What does the Law of Cosines reduce to when C=90°C=90°?
Pythagoras: c2=a2+b2c^2=a^2+b^2 (since cos90°=0\cos90°=0).
Rearrange to find angle CC from three sides.
cosC=a2+b2c22ab\cos C = \dfrac{a^2+b^2-c^2}{2ab}
Which two triangle cases require Law of Cosines to start?
SAS (two sides + included angle) and SSS (three sides).
Why is the correction term negative for acute angles?
cosC>0\cos C>0 so 2abcosC<0-2ab\cos C<0, shrinking cc below the Pythagorean value.
For an obtuse angle, why is cc larger?
cosC<0\cos C<0, so 2abcosC>0-2ab\cos C>0 adds length.
In the coordinate proof, what are BB's coordinates?
B=(acosC,asinC)B=(a\cos C, a\sin C).
Given a=8,b=5,C=60°a=8,b=5,C=60°, find cc.
c2=64+2540=49c^2=64+25-40=49, so c=7c=7.

Connections

  • Pythagoras Theorem — the C=90°C=90° special case.
  • Law of Sines — complements this; used for AAS/ASA and the ambiguous SSA.
  • Dot Productuv=uvcosθ\vec{u}\cdot\vec{v}=|u||v|\cos\theta is the Law of Cosines in disguise.
  • Solving Triangles — decision tree: which law for which given data.
  • Unit Circle and Cosine Values — why cos\cos goes negative past 90°90°.

Concept Map

extended by correction term

correction is -2ab cosC

angle=90, cosC=0

acute angle, cosC>0

obtuse angle, cosC<0

derives

uses distance formula

via cos2+sin2=1

rearranged for cosC

two sides plus included angle

cannot start SAS or SSS

Pythagoras c2=a2+b2

Law of Cosines

Correction term

c shrinks

c grows

Coordinate proof

Distance A to B

SSS: find angle

SAS: find third side

Law of Sines

Hinglish (regional understanding)

Intuition Hinglish mein samjho

Dekho, Law of Cosines ka basic idea simple hai: Pythagoras theorem sirf right-angle triangle ke liye chalta hai (c2=a2+b2c^2 = a^2+b^2). Lekin zyada tar triangles right-angle wale nahi hote. Toh Law of Cosines ek "correction term" add karta hai — c2=a2+b22abcosCc^2 = a^2 + b^2 - 2ab\cos C. Jab angle CC exactly 90°90° hota hai, tab cos90°=0\cos90°=0, correction gayab, aur wapas Pythagoras mil jaata hai.

Yeh formula tab kaam aata hai jab tumhe do side aur beech ka angle pata ho (SAS), ya teeno side pata ho (SSS). In cases mein Law of Sines akela shuru nahi kar sakta. Ek zaroori baat yaad rakho: correction term mein jo angle aata hai wo hamesha wahi hota hai jo opposite side ke saamne hai. Yaani c2c^2 likhoge toh angle CC use hoga, jo cc ke opposite hai; aa aur bb uske neighbours hain.

Proof bilkul basic hai — triangle ko coordinate axis par rakho, CC ko origin par, phir BB ke coordinates (acosC,asinC)(a\cos C, a\sin C) nikaalo aur distance formula lagao. cos2+sin2=1\cos^2+\sin^2=1 use karte hi formula automatically nikal aata hai. Ek Steel-man mistake yaad rakho: obtuse angle (jaise 120°120°) mein cos\cos negative hota hai, toh sign flip ho jaata hai aur cc bada ho jaata hai — sign mat girao, wahi to obtuse triangle ka magic hai!

Go deeper — visual, from zero

Test yourself — Advanced Trigonometry

Connections