Pythagorean theorem straightedge and compass. Pythagoras's theorem enables construction of incommensurable lengths because the hypotenuse of a triangle is related to the sides by the square root operation. The figure on the right shows how to construct line segments whose lengths are in the ratio of the square root of any positive integer. Each triangle has a side (labeled "1") that is the chosen unit for measurement. In each right triangle, Pythagoras's theorem establishes the length of the hypotenuse in terms of this unit. If a hypotenuse is related to the unit by the square root of a positive integer that is
Special right triangle : , which follows immediately from the Pythagorean theorem. Of all right triangles, the 45°–45°–90° degree triangle has the smallest ratio of the hypotenuse to the sum of the legs, namely . Of all right triangles, the 45°–45°–90° degree triangle has the greatest ratio of the altitude from the hypotenuse to the sum of the legs, namely . Triangles with these angles are the only possible right triangles that are also isosceles triangles in Euclidean geometry. However, in spherical geometry and hyperbolic geometry, there are infinitely many different shapes of right isosceles triangles. This is a triangle whose three angles