Integer triangle we today use the term Heronian triangle; Somos uses it to refer to triangles whose ratios of sides are rational; Conway and Guy define a rational triangle as one with rational sides and rational angles measured in degrees—in which case the only rational triangle is the rational-sided equilateral triangle. There are various general properties for an integer triangle, given in the first section below. All other sections refer to classes of integer triangles with specific properties. Any triple of positive integers can serve as the side lengths of an integer triangle as long as it satisfies the triangle inequality: the
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