Triangle the hypotenuse equals the sum of the squares of the lengths of the two other sides. If the hypotenuse has length "c", and the legs have lengths "a" and "b", then the theorem states that The converse is true: if the lengths of the sides of a triangle satisfy the above equation, then the triangle has a right angle opposite side "c". Some other facts about right triangles: For all triangles, angles and sides are related by the law of cosines and law of sines (also called the "cosine rule" and "sine rule"). The triangle inequality states that the sum
Incircle and excircles of a triangle has area formula_39. Similarly, formula_40 has area formula_41 and formula_42 has area formula_43. Since these three triangles decompose formula_35, we see that the area formula_45 is: where formula_48 is the area of formula_35 and formula_50 is its semiperimeter. For an alternative formula, consider formula_51. This is a right-angled triangle with one side equal to "r" and the other side equal to formula_52. The same is true for formula_53. The large triangle is composed of 6 such triangles and the total area is: The Gergonne triangle (of "ABC") is defined by the 3 touchpoints of the incircle on the 3 sides.