Integer triangle not) satisfy formula_151. We can generate the full equivalence class of similar triangles that satisfy B=3A by using the formulas where formula_28 and formula_27 are integers such that formula_157. Note that all triangles with B = 3A (whether with integer sides or not) satisfy formula_158. The only integer triangle with three rational angles (rational numbers of degrees, or equivalently rational fractions of a full turn) is the equilateral triangle. This is because integer sides imply three rational cosines by the law of cosines, and by Niven's theorem a rational cosine coincides with a rational angle if and only if 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