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
Medial triangle of "ABC": the parallel to "AB" through "C", the parallel to "AC" through "B", and the parallel to "BC" through "A". Trilinear coordinates for the vertices of the anticomplementary triangle, X'Y'Z', are given by The name "anticomplementary triangle" corresponds to the fact that its vertices are the anticomplements of the vertices A, B, C of the reference triangle. The vertices of the medial triangle are the complements of A, B, C. Medial triangle Each side of the medial triangle is called a "midsegment" (or "midline"). In general, a midsegment of a triangle is a line segment which joins the midpoints