The law of sines for an arbitrary triangle states:
or equivalently:
The law of cosines (also known as the cosine formula) is an extension of the Pythagorean theorem to arbitrary triangles:
or equivalently:
Note that are correct, it means it may be either one, depending on the value of A/2.
The law of tangents: