proof of Stewart’s theorem
Let be the angle .
Cosines law on says and thus
Using cosines law on and noting that and thus we get
From the expressions above we obtain
By cancelling on both sides and collecting we are led to
and from there. Finally, we note that so we conclude that
QED