Theorem: The law of cosines
Given a triangle with sides of lengths \(a\), \(b\), and \(c\), and an angle \(\theta\) opposite the side of length \(c\), the law of cosines states that:
\[c^2 = a^2 + b^2 - 2ab \cos(\theta) \nonumber\]Given a triangle with sides of lengths \(a\), \(b\), and \(c\), and an angle \(\theta\) opposite the side of length \(c\), the law of cosines states that:
\[c^2 = a^2 + b^2 - 2ab \cos(\theta) \nonumber\]