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
Baudhayana sutras to a square. In either case, it states that the square of the hypotenuse equals the sum of the squares of the sides. If restricted to right-angled isosceles triangles, however, it would constitute a less general claim, but the text seems to be quite open to unequal sides. If this refers to a rectangle, it is the earliest recorded statement of the Pythagorean theorem. Baudhāyana also provides a non-axiomatic demonstration using a rope measure of the reduced form of the Pythagorean theorem for an isosceles right triangle: Sequences of Pythagorean triples used in cryptography as random sequences and for the