Right triangle and "b" are the legs of the triangle. If the incircle is tangent to the hypotenuse AB at point P, then denoting the semi-perimeter as "s", we have and , and the area is given by This formula only applies to right triangles. If an altitude is drawn from the vertex with the right angle to the hypotenuse then the triangle is divided into two smaller triangles which are both similar to the original and therefore similar to each other. From this: In equations, where "a", "b", "c", "d", "e", "f" are as shown in the diagram. Thus Moreover, the
Automedian triangle much more recent. The problem of characterizing automedian triangles was posed in the late 19th century in the "Educational Times" (in French) by Joseph Jean Baptiste Neuberg, and solved there with the formula 2"a" = "b" + "c" by William John Greenstreet. Apart from the trivial cases of equilateral triangles, the triangle with side lengths 17, 13, and 7 is the smallest (by area or perimeter) automedian triangle with integer side lengths. There is only one automedian right triangle, the triangle with side lengths proportional to 1, , and . This triangle is the second triangle in the spiral of