Choose a common origin at vertex , set and , and orient the remaining edge as . Then
This convention makes the interior angle between and equal to , and their lengths equal to the opposite side lengths and .
Figure 1.
Consistently oriented triangle edge vectors for the sine and cosine rules
. An original illustrative triangle with two vectors from vertex and their difference from to . Side labels are opposite the corresponding vertices. Details.
Take the dot product of the difference with itself. Since , the law of cosines follows:
The magnitude of the cross product of two edge vectors is twice the triangle's area . Applying this at each vertex gives . Divide by the nonzero product to obtain the law of sines: