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
Incircle and excircles of a triangle using the side lengths of the triangle relative to the perimeter—i.e., using the barycentric coordinates given above, normalized to sum to unity—as weights. (The weights are positive so the incenter lies inside the triangle as stated above.) If the three vertices are located at formula_14, formula_15, and formula_16, and the sides opposite these vertices have corresponding lengths formula_7, formula_8, and formula_9, then the incenter is at Denoting the incenter of triangle "ABC" as "I", the distances from the incenter to the vertices combined with the lengths of the triangle sides obey the equation Additionally, where "R" and "r" are the