Ptolemy's Theorem
In this post, we will prove the famous Ptolemy's theorem using the law of cosines.
Let us restate the theorem here.
Theorem (Ptolemy's theorem). In any quadrilateral ABCD, AB⋅CD+AD⋅BC=AC⋅BD.
First, we must derive an expression for the lengths of the diagonals of the cyclic quadrilateral. Suppose that a=AB, b=BC, c=CD, d=AD, e=AC, and f=BD. In order to do this, apply the law of cosines on ∠B and ∠D and solve for cos∠B.
Let's check your result! Did you get e2=a2+b2−2abcosB=c2+d2+2cdcosB⟹cosB=2ab+2cda2+b2−c2−d2
Now plug this back in to the original equation for e2.
You should've gotten: e2=ab+cd(ac+bd)(ad+bc).
We plug this into our original equation to get
e2=a2+b2−2ab(2ab+2cda2+b2−c2−d2)=ab+cd(a2+b2)(ab+cd)−ab+cda3b+b3a−abc2−abd2=ab+cd(cda2+cdb2+abc2+abd2
Now, we can see that cda2+cdb2+abc2+abd2=ac(ad+bc)+bd(ad+bc)=(ac+bd)(ad+bc).
Thus
e2=ab+cd(ac+bd)(ad+bc).
What other expression must we have by symmetry?
We should get the following: f2=ad+bc(ac+bd)(ab+cd)
The proof from here is now very simple. Note that e2⋅f2=(ac+bd)2.
Thus, ef=ac+bd. □