Pythagorean theorem three sides in place of squares (squares are a special case, of course). The upper figure shows that for a scalene triangle, the area of the parallelogram on the longest side is the sum of the areas of the parallelograms on the other two sides, provided the parallelogram on the long side is constructed as indicated (the dimensions labeled with arrows are the same, and determine the sides of the bottom parallelogram). This replacement of squares with parallelograms bears a clear resemblance to the original Pythagoras's theorem, and was considered a generalization by Pappus of Alexandria in 4 AD The
Isosceles triangle a special isosceles triangle with the property that the other two inscribed squares, with sides collinear with the sides of the triangle, are of the same size as the base square. A much older theorem, preserved in the works of Hero of Alexandria, states that, for an isosceles triangle with base formula_3 and height formula_1, the side length of the inscribed square on the base of the triangle is For any integer formula_35, any triangle can be partitioned into formula_36 isosceles triangles. In a right triangle, the median from the hypotenuse (that is, the line segment from the midpoint of