Pythagorean theorem, the well-known geometric theorem that the sum of the squares on the legs of a right triangle is equal to the square on the hypotenuse (the side opposite the right angle)—or, in familiar algebraic notation, a2 + b2 = c2. Although the theorem has long been associated with Greek mathematician-philosopher Pythagoras (c. 570–500/490 BCE), it is far older. Four Babylonian tablets from circa 1900–1600 BCE indicate some knowledge of the theorem, with a very accurate calculation of the square root of 2 (the length of the hypotenuse of a right triangle with the length of both legs equal to 1) and lists of special integers known as Pythagorean triples that satisfy it (e.g., 3, 4, and 5; 32 + 42 = 52, 9 + 16 = 25). The theorem is mentioned in the Baudhayana Sulba-sutra of India, which was written between 800 and 400 BCE. Nevertheless, the theorem came to be credited to Pythagoras. It is also proposition number 47 from Book I of Euclid’s Elements.

According to the Syrian historian Iamblichus (c. 250–330 CE), Pythagoras was introduced to mathematics by Thales of Miletus and his pupil Anaximander. In any case, it is known that Pythagoras travelled to Egypt about 535 BCE to further his study, was captured during an invasion in 525 BCE by Cambyses II of Persia and taken to Babylon and may have visited India before returning to the Mediterranean. Pythagoras soon settled in Croton (now Crotone, Italy) and set up a school, or in modern terms, a monastery (see Pythagoreanism), where all members took strict vows of secrecy, and all new mathematical results for several centuries were attributed to his name. Thus, not only is the first proof of the theorem not known, there is also some doubt that Pythagoras himself proved the theorem that bears his name. Some scholars suggest that the first proof was the one shown in the figure. It was probably independently discovered in several different cultures.
Book I of the Elements ends with Euclid’s famous “windmill” proof of the Pythagorean theorem. (See Sidebar: Euclid’s Windmill.) Later in Book VI of the Elements, Euclid delivers an even easier demonstration using the proposition that the areas of similar triangles are proportionate to the squares of their corresponding sides. Euclid invented the windmill proof so that he could place the Pythagorean theorem as the capstone to Book I. He had not yet demonstrated (as he would in Book V) that line lengths can be manipulated in proportions as if they were commensurable numbers (integers or ratios of integers). The problem he faced is explained in the Sidebar: Incommensurables.
A great many different proofs and extensions of the Pythagorean theorem have been invented. Taking extensions first, Euclid himself showed in a theorem praised in antiquity than any symmetrical regular figures drawn on the sides of a right triangle satisfy the Pythagorean relationship: the figure drawn on the hypotenuse has an area equal to the sum of the areas of the figures drawn on the legs. The semicircles that define Hippocrates of Chios’s lunes are examples of such an extension.
In the Nine Chapters on the Mathematical Procedures (or Nine Chapters), compiled in the 1st century CE in China, several problems are given, along with their solutions, that involve finding the length of one of the sides of a right triangle when given the other two sides. In the Commentary of Liu Hui, from the 3rd century, Liu Hui offered a proof of the Pythagorean theorem that called for cutting up the squares on the legs of the right triangle and rearranging them (“tangram style”) to correspond to the square on the hypotenuse. Although his original drawing does not survive, the next figure shows a possible reconstruction.
{IMAGE}
“tangram” proof of the Pythagorean theorem by Liu Hui
This is a reconstruction of the Chinese mathematician’s proof (based on his written instructions) that the sum of the squares on the sides of a right triangle equals the square on the hypotenuse. One begins with a2 and b2, the squares on the sides of the right triangle, and then cuts them into various shapes that can be rearranged to form c2, the square on the hypotenuse.
The Pythagorean theorem has fascinated people for nearly 4,000 years; there are now more than 300 different proofs, including ones by the Greek mathematician Pappus of Alexandria (flourished c. 320 CE), the Arab mathematician-physician Thābit ibn Qurrah (c. 836–901), the Italian artist-inventor Leonardo da Vinci (1452–1519), and even U.S. Pres. James Garfield (1831–81).