Right triangle altitude to the hypotenuse is related to the legs of the right triangle by For solutions of this equation in integer values of "a, b, f", and "c", see here. The altitude from either leg coincides with the other leg. Since these intersect at the right-angled vertex, the right triangle's orthocenter—the intersection of its three altitudes—coincides with the right-angled vertex. The Pythagorean theorem states that: In any right triangle, the area of the square whose side is the hypotenuse (the side opposite the right angle) is equal to the sum of the areas of the squares whose sides are the
Acute and obtuse triangles according to This implies that the longest side in an obtuse triangle is the one opposite the obtuse-angled vertex. An acute triangle has three inscribed squares, each with one side coinciding with part of a side of the triangle and with the square's other two vertices on the remaining two sides of the triangle. (In a right triangle two of these are merged into the same square, so there are only two distinct inscribed squares.) However, an obtuse triangle has only one inscribed square, one of whose sides coincides with part of the longest side of the triangle. All triangles