Right triangle then with equality only in the isosceles case. If segments of lengths "p" and "q" emanating from vertex "C" trisect the hypotenuse into segments of length "c"/3, then The right triangle is the only triangle having two, rather than one or three, distinct inscribed squares. Let "h" and "k" ("h" > "k") be the sides of the two inscribed squares in a right triangle with hypotenuse "c". Then These sides and the incircle radius "r" are related by a similar formula: The perimeter of a right triangle equals the sum of the radii of the incircle and the three excircles:
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.