Derive Law of Cosines using Pythagorean Theorem

Consider the triangle ABC. Denote h the altitude through B and D the point where h intersects the (extended) base AC
Cosine function for triangle ADB.

cos α= x/c  =>  x=c*cos α
 

Pythagorean theorem for triangle ADB
x2+h2=c2*x2+h2=c2
h2=c2−x2*h2=c2−x2

Pythagorean theorem for triangle CDB
(b−x)2+h2=a2*(b−x)2+h2=a2

Substitute h2 = c2 - x2
(b−x)2+(c2−x2)=a2(b−x)2+(c2−x2)=a2
(b2−2bx+x2)+(c2−x2)=a2(b2−2bx+x2)+(c2−x2)=a2
b2−2
bx+c2=a2b2−2bx+c2=a2

Substitute x = ccos α
b2−2b
(ccosα)+c2=a2b2−2b(c*cos α)+c2=a2

Rearrange to get Law of Cosines

a2=b2+c2−2bc*cos α

JM
Answered by Jan M. Maths tutor

3444 Views

See similar Maths A Level tutors

Related Maths A Level answers

All answers ▸

Imagine a sector of a circle called AOB. With center O and radius rcm. The angle AOB is R in radians. The area of the sector is 11cm². Given the perimeter of the sector is 4 time the length of the arc AB. Find r.


The velocity of a car at time, ts^-1, during the first 20 s of its journey, is given by v = kt + 0.03t^2, where k is a constant. When t = 20 the acceleration of the car is 1.3ms^-2, what is the value of k?


How do you find the gradient of a line?


The variable x=t^2 and the variable y=2t. What is dy/dx in terms of t?


We're here to help

contact us iconContact ustelephone icon+44 (0) 203 773 6020
Facebook logoInstagram logoLinkedIn logo

MyTutor is part of the IXL family of brands:

© 2026 by IXL Learning