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 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 of two sides of the triangle. It is parallel to the third side and has a length equal to half the length of the third side. The medial triangle can also be viewed as the image of triangle "ABC" transformed by a homothety centered at the centroid with ratio -1/2. Thus, the sides of the medial triangle are half and parallel to the corresponding sides of triangle ABC. Hence, the medial