Trigonometry of a tetrahedron Clearly the sum of the angles of any side of the tetrahedron must be 180°. Since there are four such triangles, there are four such constraints on sums of angles, and the number of degrees of freedom is thereby reduced from 12 to 8. The four relations given by the sine law further reduce the number of degrees of freedom, from 8 down to not 4 but 5, since the fourth constraint is not independent of the first three. Thus the space of all shapes of tetrahedra is 5-dimensional. See: Law of sines The law of cosines for the tetrahedron
Incircle and excircles of a triangle Because the Incenter is the same distance of all sides the trilinear coordinates for the incenter are The barycentric coordinates for a point in a triangle give weights such that the point is the weighted average of the triangle vertex positions. Barycentric coordinates for the incenter are given by where formula_7, formula_8, and formula_9 are the lengths of the sides of the triangle, or equivalently (using the law of sines) by where formula_11, formula_12, and formula_13 are the angles at the three vertices. The Cartesian coordinates of the incenter are a weighted average of the coordinates of the three vertices