Pythagorean theorem
Geometry  

History  
Geometers  
by name


by period


In mathematics, the Pythagorean theorem, also known as Pythagoras's theorem, is a relation in Euclidean geometry among the three sides of a right triangle. It states that the square of the hypotenuse (the side opposite the right angle) is equal to the sum of the squares of the other two sides. The theorem can be written as an equation relating the lengths of the sides a, b and c, often called the "Pythagorean equation":^{[1]}
where c represents the length of the hypotenuse and a and b the lengths of the triangle's other two sides.
Although it is often argued that knowledge of the theorem predates him,^{[2]} the theorem is named after the ancient Greek mathematician Pythagoras (c. 570 – c. 495 BC) as it is he who, by tradition, is credited with its first recorded proof.^{[3]}^{[4]}^{[5]} There is some evidence that Babylonian mathematicians understood the formula, although little of it indicates an application within a mathematical framework.^{[6]}^{[7]} Mesopotamian, Indian and Chinese mathematicians all discovered the theorem independently and, in some cases, provided proofs for special cases.
The theorem has been given numerous proofs – possibly the most for any mathematical theorem. They are very diverse, including both geometric proofs and algebraic proofs, with some dating back thousands of years. The theorem can be generalized in various ways, including higherdimensional spaces, to spaces that are not Euclidean, to objects that are not right triangles, and indeed, to objects that are not triangles at all, but ndimensional solids. The Pythagorean theorem has attracted interest outside mathematics as a symbol of mathematical abstruseness, mystique, or intellectual power; popular references in literature, plays, musicals, songs, stamps and cartoons abound.
Contents
 1 Pythagorean proof
 2 Other forms of the theorem
 3 Other proofs of the theorem
 4 Converse
 5 Consequences and uses of the theorem
 6 Generalizations
 7 History
 8 In popular culture
 9 See also
 10 Notes
 11 References
 12 External links
Pythagorean proof
The Pythagorean Theorem was known long before Pythagoras, but he may well have been the first to prove it.^{[2]} In any event, the proof attributed to him is very simple, and is called a proof by rearrangement.
The two large squares shown in the figure each contain four identical triangles, and the only difference between the two large squares is that the triangles are arranged differently. Therefore, the white space within each of the two large squares must have equal area. Equating the area of the white space yields the Pythagorean Theorem, Q.E.D.^{[8]}
That Pythagoras originated this very simple proof is sometimes inferred from the writings of the later Greek philosopher and mathematician Proclus.^{[9]} Several other proofs of this theorem are described below, but this is known as the Pythagorean one.
Other forms of the theorem
As pointed out in the introduction, if c denotes the length of the hypotenuse and a and b denote the lengths of the other two sides, the Pythagorean theorem can be expressed as the Pythagorean equation:
If the length of both a and b are known, then c can be calculated as
If the length of the hypotenuse c and of one side (a or b) are known, then the length of the other side can be calculated as
or
The Pythagorean equation relates the sides of a right triangle in a simple way, so that if the lengths of any two sides are known the length of the third side can be found. Another corollary of the theorem is that in any right triangle, the hypotenuse is greater than any one of the other sides, but less than their sum.
A generalization of this theorem is the law of cosines, which allows the computation of the length of any side of any triangle, given the lengths of the other two sides and the angle between them. If the angle between the other sides is a right angle, the law of cosines reduces to the Pythagorean equation.
Other proofs of the theorem
This theorem may have more known proofs than any other (the law of quadratic reciprocity being another contender for that distinction); the book The Pythagorean Proposition contains 370 proofs.^{[10]}
Proof using similar triangles
This proof is based on the proportionality of the sides of two similar triangles, that is, upon the fact that the ratio of any two corresponding sides of similar triangles is the same regardless of the size of the triangles.
Let ABC represent a right triangle, with the right angle located at C, as shown on the figure. Draw the altitude from point C, and call H its intersection with the side AB. Point H divides the length of the hypotenuse c into parts d and e. The new triangle ACH is similar to triangle ABC, because they both have a right angle (by definition of the altitude), and they share the angle at A, meaning that the third angle will be the same in both triangles as well, marked as θ in the figure. By a similar reasoning, the triangle CBH is also similar to ABC. The proof of similarity of the triangles requires the triangle postulate: the sum of the angles in a triangle is two right angles, and is equivalent to the parallel postulate. Similarity of the triangles leads to the equality of ratios of corresponding sides:
The first result equates the cosines of the angles θ, whereas the second result equates their sines.
These ratios can be written as
Summing these two equalities results in
which, after simplification, expresses the Pythagorean theorem:
The role of this proof in history is the subject of much speculation. The underlying question is why Euclid did not use this proof, but invented another. One conjecture is that the proof by similar triangles involved a theory of proportions, a topic not discussed until later in the Elements, and that the theory of proportions needed further development at that time.^{[11]}^{[12]}
Euclid's proof
In outline, here is how the proof in Euclid's Elements proceeds. The large square is divided into a left and right rectangle. A triangle is constructed that has half the area of the left rectangle. Then another triangle is constructed that has half the area of the square on the leftmost side. These two triangles are shown to be congruent, proving this square has the same area as the left rectangle. This argument is followed by a similar version for the right rectangle and the remaining square. Putting the two rectangles together to reform the square on the hypotenuse, its area is the same as the sum of the area of the other two squares. The details follow.
Let A, B, C be the vertices of a right triangle, with a right angle at A. Drop a perpendicular from A to the side opposite the hypotenuse in the square on the hypotenuse. That line divides the square on the hypotenuse into two rectangles, each having the same area as one of the two squares on the legs.
For the formal proof, we require four elementary lemmata:
 If two triangles have two sides of the one equal to two sides of the other, each to each, and the angles included by those sides equal, then the triangles are congruent (sideangleside).
 The area of a triangle is half the area of any parallelogram on the same base and having the same altitude.
 The area of a rectangle is equal to the product of two adjacent sides.
 The area of a square is equal to the product of two of its sides (follows from 3).
Next, each top square is related to a triangle congruent with another triangle related in turn to one of two rectangles making up the lower square.^{[13]}
The proof is as follows:
 Let ACB be a rightangled triangle with right angle CAB.
 On each of the sides BC, AB, and CA, squares are drawn, CBDE, BAGF, and ACIH, in that order. The construction of squares requires the immediately preceding theorems in Euclid, and depends upon the parallel postulate.^{[14]}
 From A, draw a line parallel to BD and CE. It will perpendicularly intersect BC and DE at K and L, respectively.
 Join CF and AD, to form the triangles BCF and BDA.
 Angles CAB and BAG are both right angles; therefore C, A, and G are collinear. Similarly for B, A, and H.
 Angles CBD and FBA are both right angles; therefore angle ABD equals angle FBC, since both are the sum of a right angle and angle ABC.
 Since AB is equal to FB and BD is equal to BC, triangle ABD must be congruent to triangle FBC.
 Since AKL is a straight line, parallel to BD, then rectangle BDLK has twice the area of triangle ABD because they share the base BD and have the same altitude BK, i.e., a line normal to their common base, connecting the parallel lines BD and AL. (lemma 2)
 Since C is collinear with A and G, square BAGF must be twice in area to triangle FBC.
 Therefore, rectangle BDLK must have the same area as square BAGF = AB^{2}.
 Similarly, it can be shown that rectangle CKLE must have the same area as square ACIH = AC^{2}.
 Adding these two results, AB^{2} + AC^{2} = BD × BK + KL × KC
 Since BD = KL, BD × BK + KL × KC = BD(BK + KC) = BD × BC
 Therefore, AB^{2} + AC^{2} = BC^{2}, since CBDE is a square.
This proof, which appears in Euclid's Elements as that of Proposition 47 in Book 1,^{[15]} demonstrates that the area of the square on the hypotenuse is the sum of the areas of the other two squares.^{[16]} This is quite distinct from the proof by similarity of triangles, which is conjectured to be the proof that Pythagoras used.^{[12]}^{[17]}
Proofs by dissection and rearrangement
We have already discussed the Pythagorean proof, which was a proof by rearrangement. The same idea is conveyed by the leftmost animation below, which consists of a large square, side a + b, containing four identical right triangles. The triangles are shown in two arrangements, the first of which leaves two squares a^{2} and b^{2} uncovered, the second of which leaves square c^{2} uncovered. The area encompassed by the outer square never changes, and the area of the four triangles is the same at the beginning and the end, so the black square areas must be equal, therefore a^{2} + b^{2} = c^{2}.
A second proof by rearrangement is given by the middle animation. A large square is formed with area c^{2}, from four identical right triangles with sides a, b and c, fitted around a small central square. Then two rectangles are formed with sides a and b by moving the triangles. Combining the smaller square with these rectangles produces two squares of areas a^{2} and b^{2}, which must have the same area as the initial large square.^{[18]}
The third, rightmost image also gives a proof. The upper two squares are divided as shown by the blue and green shading, into pieces that when rearranged can be made to fit in the lower square on the hypotenuse – or conversely the large square can be divided as shown into pieces that fill the other two. This way of cutting one figure into pieces and rearranging them to get another figure is called dissection. This shows the area of the large square equals that of the two smaller ones.^{[19]}
Einstein's proof by dissection without rearrangement
Albert Einstein gave a proof by dissection in which the pieces need not get moved.^{[20]} Instead of using a square on the hypotenuse and two squares on the legs, one can use any other shape that includes the hypotenuse, and two similar shapes that each include one of two legs instead of the hypotenuse. In Einstein's proof, the shape that includes the hypotenuse is the right triangle itself. The dissection consists of dropping a perpendicular from the vertex of the right angle of the triangle to the hypotenuse, thus splitting the whole triangle into two parts. Those two parts have the same shape as the original right triangle, and have the legs of the original triangle as their hypotenuses, and the sum of their areas is that of the original triangle. Because the ratio of the area of a right triangle to the square of its hypotenuse is the same for similar triangles, the relationship between the areas of the three triangles holds for the squares of the sides of the large triangle as well.
Algebraic proofs
The theorem can be proved algebraically using four copies of a right triangle with sides a, b and c, arranged inside a square with side c as in the top half of the diagram.^{[21]} The triangles are similar with area , while the small square has side b − a and area (b − a)^{2}. The area of the large square is therefore
But this is a square with side c and area c^{2}, so
A similar proof uses four copies of the same triangle arranged symmetrically around a square with side c, as shown in the lower part of the diagram.^{[22]} This results in a larger square, with side a + b and area (a + b)^{2}. The four triangles and the square side c must have the same area as the larger square,
giving
A related proof was published by future U.S. President James A. Garfield (then a U.S. Representative).^{[23]}^{[24]} Instead of a square it uses a trapezoid, which can be constructed from the square in the second of the above proofs by bisecting along a diagonal of the inner square, to give the trapezoid as shown in the diagram. The area of the trapezoid can be calculated to be half the area of the square, that is
The inner square is similarly halved, and there are only two triangles so the proof proceeds as above except for a factor of , which is removed by multiplying by two to give the result.
Proof using differentials
One can arrive at the Pythagorean theorem by studying how changes in a side produce a change in the hypotenuse and employing calculus.^{[25]}^{[26]}^{[27]}
The triangle ABC is a right triangle, as shown in the upper part of the diagram, with BC the hypotenuse. At the same time the triangle lengths are measured as shown, with the hypotenuse of length y, the side AC of length x and the side AB of length a, as seen in the lower diagram part.
If x is increased by a small amount dx by extending the side AC slightly to D, then y also increases by dy. These form two sides of a triangle, CDE, which (with E chosen so CE is perpendicular to the hypotenuse) is a right triangle approximately similar to ABC. Therefore, the ratios of their sides must be the same, that is:
This can be rewritten as follows:
This is a differential equation which is solved to give
And the constant can be deduced from x = 0, y = a to give the equation
This is more of an intuitive proof than a formal one: it can be made more rigorous if proper limits are used in place of dx and dy.
Converse
The converse of the theorem is also true:^{[28]}
For any three positive numbers a, b, and c such that a^{2} + b^{2} = c^{2}, there exists a triangle with sides a, b and c, and every such triangle has a right angle between the sides of lengths a and b.
An alternative statement is:
For any triangle with sides a, b, c, if a^{2} + b^{2} = c^{2}, then the angle between a and b measures 90°.
This converse also appears in Euclid's Elements (Book I, Proposition 48):^{[29]}
"If in a triangle the square on one of the sides equals the sum of the squares on the remaining two sides of the triangle, then the angle contained by the remaining two sides of the triangle is right."
It can be proven using the law of cosines or as follows:
Let ABC be a triangle with side lengths a, b, and c, with a^{2} + b^{2} = c^{2}. Construct a second triangle with sides of length a and b containing a right angle. By the Pythagorean theorem, it follows that the hypotenuse of this triangle has length c = √a^{2} + b^{2}, the same as the hypotenuse of the first triangle. Since both triangles' sides are the same lengths a, b and c, the triangles are congruent and must have the same angles. Therefore, the angle between the side of lengths a and b in the original triangle is a right angle.
The above proof of the converse makes use of the Pythagorean Theorem itself. The converse can also be proven without assuming the Pythagorean Theorem.^{[30]}^{[31]}
A corollary of the Pythagorean theorem's converse is a simple means of determining whether a triangle is right, obtuse, or acute, as follows. Let c be chosen to be the longest of the three sides and a + b > c (otherwise there is no triangle according to the triangle inequality). The following statements apply:^{[32]}
 If a^{2} + b^{2} = c^{2}, then the triangle is right.
 If a^{2} + b^{2} > c^{2}, then the triangle is acute.
 If a^{2} + b^{2} < c^{2}, then the triangle is obtuse.
Edsger Dijkstra has stated this proposition about acute, right, and obtuse triangles in this language:
 sgn(α + β − γ) = sgn(a^{2} + b^{2} − c^{2}),
where α is the angle opposite to side a, β is the angle opposite to side b, γ is the angle opposite to side c, and sgn is the sign function.^{[33]}
Consequences and uses of the theorem
Pythagorean triples
A Pythagorean triple has three positive integers a, b, and c, such that a^{2} + b^{2} = c^{2}. In other words, a Pythagorean triple represents the lengths of the sides of a right triangle where all three sides have integer lengths.^{[1]} Evidence from megalithic monuments in Northern Europe shows that such triples were known before the discovery of writing. Such a triple is commonly written (a, b, c). Some wellknown examples are (3, 4, 5) and (5, 12, 13).
A primitive Pythagorean triple is one in which a, b and c are coprime (the greatest common divisor of a, b and c is 1).
The following is a list of primitive Pythagorean triples with values less than 100:
 (3, 4, 5), (5, 12, 13), (7, 24, 25), (8, 15, 17), (9, 40, 41), (11, 60, 61), (12, 35, 37), (13, 84, 85), (16, 63, 65), (20, 21, 29), (28, 45, 53), (33, 56, 65), (36, 77, 85), (39, 80, 89), (48, 55, 73), (65, 72, 97)
Incommensurable lengths
One of the consequences of the Pythagorean theorem is that line segments whose lengths are incommensurable (so the ratio of which is not a rational number) can be constructed using a 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.^{[34]} 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 not a perfect square, it is a realization of a length incommensurable with the unit, such as √2, √3, √5 . For more detail, see Quadratic irrational.
Incommensurable lengths conflicted with the Pythagorean school's concept of numbers as only whole numbers. The Pythagorean school dealt with proportions by comparison of integer multiples of a common subunit.^{[35]} According to one legend, Hippasus of Metapontum (ca. 470 B.C.) was drowned at sea for making known the existence of the irrational or incommensurable.^{[36]}^{[37]}
Complex numbers
For any complex number
the absolute value or modulus is given by
So the three quantities, r, x and y are related by the Pythagorean equation,
Note that r is defined to be a positive number or zero but x and y can be negative as well as positive. Geometrically r is the distance of the z from zero or the origin O in the complex plane.
This can be generalised to find the distance between two points, z_{1} and z_{2} say. The required distance is given by
so again they are related by a version of the Pythagorean equation,
Euclidean distance in various coordinate systems
The distance formula in Cartesian coordinates is derived from the Pythagorean theorem.^{[38]} If (x_{1}, y_{1}) and (x_{2}, y_{2}) are points in the plane, then the distance between them, also called the Euclidean distance, is given by
More generally, in Euclidean nspace, the Euclidean distance between two points, and , is defined, by generalization of the Pythagorean theorem, as:
If Cartesian coordinates are not used, for example, if polar coordinates are used in two dimensions or, in more general terms, if curvilinear coordinates are used, the formulas expressing the Euclidean distance are more complicated than the Pythagorean theorem, but can be derived from it. A typical example where the straightline distance between two points is converted to curvilinear coordinates can be found in the applications of Legendre polynomials in physics. The formulas can be discovered by using Pythagoras's theorem with the equations relating the curvilinear coordinates to Cartesian coordinates. For example, the polar coordinates (r, θ) can be introduced as:
Then two points with locations (r_{1}, θ_{1}) and (r_{2}, θ_{2}) are separated by a distance s:
Performing the squares and combining terms, the Pythagorean formula for distance in Cartesian coordinates produces the separation in polar coordinates as:
using the trigonometric producttosum formulas. This formula is the law of cosines, sometimes called the Generalized Pythagorean Theorem.^{[39]} From this result, for the case where the radii to the two locations are at right angles, the enclosed angle Δθ = π/2, and the form corresponding to Pythagoras's theorem is regained: The Pythagorean theorem, valid for right triangles, therefore is a special case of the more general law of cosines, valid for arbitrary triangles.
Pythagorean trigonometric identity
In a right triangle with sides a, b and hypotenuse c, trigonometry determines the sine and cosine of the angle θ between side a and the hypotenuse as:
From that it follows:
where the last step applies Pythagoras's theorem. This relation between sine and cosine is sometimes called the fundamental Pythagorean trigonometric identity.^{[40]} In similar triangles, the ratios of the sides are the same regardless of the size of the triangles, and depend upon the angles. Consequently, in the figure, the triangle with hypotenuse of unit size has opposite side of size sin θ and adjacent side of size cos θ in units of the hypotenuse.
Relation to the cross product
The Pythagorean theorem relates the cross product and dot product in a similar way:^{[41]}
This can be seen from the definitions of the cross product and dot product, as
with n a unit vector normal to both a and b. The relationship follows from these definitions and the Pythagorean trigonometric identity.
This can also be used to define the cross product. By rearranging the following equation is obtained
This can be considered as a condition on the cross product and so part of its definition, for example in seven dimensions.^{[42]}^{[43]}
Generalizations
Similar figures on the three sides
A generalization of the Pythagorean theorem extending beyond the areas of squares on the three sides to similar figures was known by Hippocrates of Chios in the 5th century BC,^{[44]} and was included by Euclid in his Elements:^{[45]}
If one erects similar figures (see Euclidean geometry) with corresponding sides on the sides of a right triangle, then the sum of the areas of the ones on the two smaller sides equals the area of the one on the larger side.
This extension assumes that the sides of the original triangle are the corresponding sides of the three congruent figures (so the common ratios of sides between the similar figures are a:b:c).^{[46]} While Euclid's proof only applied to convex polygons, the theorem also applies to concave polygons and even to similar figures that have curved boundaries (but still with part of a figure's boundary being the side of the original triangle).^{[46]}
The basic idea behind this generalization is that the area of a plane figure is proportional to the square of any linear dimension, and in particular is proportional to the square of the length of any side. Thus, if similar figures with areas A, B and C are erected on sides with corresponding lengths a, b and c then:
But, by the Pythagorean theorem, a^{2} + b^{2} = c^{2}, so A + B = C.
Conversely, if we can prove that A + B = C for three similar figures without using the Pythagorean theorem, then we can work backwards to construct a proof of the theorem. For example, the starting center triangle can be replicated and used as a triangle C on its hypotenuse, and two similar right triangles (A and B ) constructed on the other two sides, formed by dividing the central triangle by its altitude. The sum of the areas of the two smaller triangles therefore is that of the third, thus A + B = C and reversing the above logic leads to the Pythagorean theorem a^{2} + b^{2} = c^{2}.
Law of cosines
The Pythagorean theorem is a special case of the more general theorem relating the lengths of sides in any triangle, the law of cosines:^{[47]}
where θ is the angle between sides a and b.
When θ is 90 degrees (π/2 radians), then cosθ = 0, and the formula reduces to the usual Pythagorean theorem.
Arbitrary triangle
At any selected angle of a general triangle of sides a, b, c, inscribe an isosceles triangle such that the equal angles at its base θ are the same as the selected angle. Suppose the selected angle θ is opposite the side labeled c. Inscribing the isosceles triangle forms triangle ABD with angle θ opposite side a and with side r along c. A second triangle is formed with angle θ opposite side b and a side with length s along c, as shown in the figure. Thābit ibn Qurra stated that the sides of the three triangles were related as:^{[49]}^{[50]}
As the angle θ approaches π/2, the base of the isosceles triangle narrows, and lengths r and s overlap less and less. When θ = π/2, ADB becomes a right triangle, r + s = c, and the original Pythagorean theorem is regained.
One proof observes that triangle ABC has the same angles as triangle ABD, but in opposite order. (The two triangles share the angle at vertex B, both contain the angle θ, and so also have the same third angle by the triangle postulate.) Consequently, ABC is similar to the reflection of ABD, the triangle DBA in the lower panel. Taking the ratio of sides opposite and adjacent to θ,
Likewise, for the reflection of the other triangle,
Clearing fractions and adding these two relations:
the required result.
The theorem remains valid if the angle is obtuse so the lengths r and s are nonoverlapping.
General triangles using parallelograms
Pappus's area theorem is a further generalization, that applies to triangles that are not right triangles, using parallelograms on the 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 A.D.^{[51]}^{[52]}
The lower figure shows the elements of the proof. Focus on the left side of the figure. The left green parallelogram has the same area as the left, blue portion of the bottom parallelogram because both have the same base b and height h. However, the left green parallelogram also has the same area as the left green parallelogram of the upper figure, because they have the same base (the upper left side of the triangle) and the same height normal to that side of the triangle. Repeating the argument for the right side of the figure, the bottom parallelogram has the same area as the sum of the two green parallelograms.
Solid geometry
In terms of solid geometry, Pythagoras's theorem can be applied to three dimensions as follows. Consider a rectangular solid as shown in the figure. The length of diagonal BD is found from Pythagoras's theorem as:
where these three sides form a right triangle. Using horizontal diagonal BD and the vertical edge AB, the length of diagonal AD then is found by a second application of Pythagoras's theorem as:
or, doing it all in one step:
This result is the threedimensional expression for the magnitude of a vector v (the diagonal AD) in terms of its orthogonal components {v_{k}} (the three mutually perpendicular sides):
This onestep formulation may be viewed as a generalization of Pythagoras's theorem to higher dimensions. However, this result is really just the repeated application of the original Pythagoras's theorem to a succession of right triangles in a sequence of orthogonal planes.
A substantial generalization of the Pythagorean theorem to three dimensions is de Gua's theorem, named for Jean Paul de Gua de Malves: If a tetrahedron has a right angle corner (like a corner of a cube), then the square of the area of the face opposite the right angle corner is the sum of the squares of the areas of the other three faces. This result can be generalized as in the "ndimensional Pythagorean theorem":^{[53]}
Let be orthogonal vectors in ℝ^{n}. Consider the ndimensional simplex S with vertices . (Think of the (n − 1)dimensional simplex with vertices not including the origin as the "hypotenuse" of S and the remaining (n − 1)dimensional faces of S as its "legs".) Then the square of the volume of the hypotenuse of S is the sum of the squares of the volumes of the n legs.
This statement is illustrated in three dimensions by the tetrahedron in the figure. The "hypotenuse" is the base of the tetrahedron at the back of the figure, and the "legs" are the three sides emanating from the vertex in the foreground. As the depth of the base from the vertex increases, the area of the "legs" increases, while that of the base is fixed. The theorem suggests that when this depth is at the value creating a right vertex, the generalization of Pythagoras's theorem applies. In a different wording:^{[54]}
Given an nrectangular ndimensional simplex, the square of the (n − 1)content of the facet opposing the right vertex will equal the sum of the squares of the (n − 1)contents of the remaining facets.
Inner product spaces
The Pythagorean theorem can be generalized to inner product spaces,^{[55]} which are generalizations of the familiar 2dimensional and 3dimensional Euclidean spaces. For example, a function may be considered as a vector with infinitely many components in an inner product space, as in functional analysis.^{[56]}
In an inner product space, the concept of perpendicularity is replaced by the concept of orthogonality: two vectors v and w are orthogonal if their inner product is zero. The inner product is a generalization of the dot product of vectors. The dot product is called the standard inner product or the Euclidean inner product. However, other inner products are possible.^{[57]}
The concept of length is replaced by the concept of the norm v of a vector v, defined as:^{[58]}
In an innerproduct space, the Pythagorean theorem states that for any two orthogonal vectors v and w we have
Here the vectors v and w are akin to the sides of a right triangle with hypotenuse given by the vector sum v + w. This form of the Pythagorean theorem is a consequence of the properties of the inner product:
where the inner products of the cross terms are zero, because of orthogonality.
A further generalization of the Pythagorean theorem in an inner product space to nonorthogonal vectors is the parallelogram law :^{[58]}
which says that twice the sum of the squares of the lengths of the sides of a parallelogram is the sum of the squares of the lengths of the diagonals. Any norm that satisfies this equality is ipso facto a norm corresponding to an inner product.^{[58]}
The Pythagorean identity can be extended to sums of more than two orthogonal vectors. If v_{1}, v_{2}, ..., v_{n} are pairwiseorthogonal vectors in an innerproduct space, then application of the Pythagorean theorem to successive pairs of these vectors (as described for 3dimensions in the section on solid geometry) results in the equation^{[59]}
Sets of mdimensional objects in ndimensional space
The broadest generalization of the Pythagorean theorem, introduced by Donald R. Conant and William A. Beyer, applies to a wide range of objects and sets of objects in any number of dimensions. Specifically, the square of the measure of an mdimensional set of objects in one or more parallel mdimensional flats in ndimensional Euclidean space is equal to the sum of the squares of the measures of the orthogonal projections of the object(s) onto all mdimensional coordinate subspaces.^{[60]}
In mathematical terms:
where:
 is a measure in mdimensions (a length in one dimension, an area in two dimensions, a volume in three dimensions, etc.).
 is a set of one or more nonoverlapping mdimensional objects in one or more parallel mdimensional flats in ndimensional Euclidean space.
 is the total measure (sum) of the set of mdimensional objects.
 represents an mdimensional projection of the original set onto an orthogonal coordinate subspace.
 is the measure of the mdimensional set projection onto mdimensional coordinate subspace . Because object projections can overlap on a coordinate subspace, the measure of each object projection in the set must be calculated individually, then measures of all projections added together to provide the total measure for the set of projections on the given coordinate subspace.
 is the number of orthogonal, mdimensional coordinate subspaces in ndimensional space (R^{n}) onto which the mdimensional objects are projected (m ≤ n):

 For example, for a set of one or more twodimensional parallel objects in threedimensional space, m = 2 and n = 3. Therefore, the coordinate subspace calculation for this scenario is: x = 3!/2!(32)! = 3*2*1/2*1*1 = 6/2 = 3
 Thus, three coordinate planes (xyplane, xzplane, and yzplane) are required to capture the necessary projections for calculating the area of the set. If the set contained onedimensional parallel line segments instead, three coordinate axes (x, y, and z), rather than planes, would be needed to capture the projections for calculating the length of the set.
Applied to sets containing a single object
This generalized formula can be applied in the simplest case to a single onedimensional object, a line segment, in twodimensional space. The animation illustrates this case with a line segment shown in blue and its projections onto the x and y axes shown in green. The lengths of the projections squared and added together are equal to the length of the original line segment squared. This produces the familiar Pythagorean theorem formula:
where c is the length of the original line segment, a is the length of the segment projected onto the xaxis, and b is the length of the segment projected onto the yaxis. In the animation, a^{2} = 27, b^{2} = 9, and c^{2} = 36. Bringing the line segment together with its coordinate projections forms the traditional right triangle.
Similarly, for any twodimensional object in threedimensional space, the formula can be stated as:
where D is the area of a specified twodimensional object, A is the area of the object's projection onto the xycoordinate plane, B is the area of the object's projection onto the xzcoordinate plane, and C is the area of the object's projection onto the yzcoordinate plane.
The animation showing a blue threebythree square object in three dimensions of space illustrates this application of the generalization to an object of more than one dimension. As the orientation of the object changes, the proportions of the green coordinate plane projections adjust accordingly, so the squares of the areas of the projections always add up to the same value: the square of the area of the original object. In this case, the sum of the squares of the projection areas always add up to 81.
Applied to sets containing multiple objects
The generalization applies equally to sets of multiple objects, as long as they are in the same plane or parallel planes. The measures of the objects in such a set can be added together and essentially treated as a single object. The multiple linesegment animation illustrates the generalization applied to a set of three onedimensional objects in three dimensions of space. In this case, two sequential line segments exist in parallel to a third line segment. Because lines are onedimensional, the coordinate subspaces onto which they are projected must also be onedimensional. Thus, projections appear on the coordinate axes rather than on the coordinate planes. The lengths of the projected line segments on a given axis are summed, then squared, then added to the total lengths squared on the other axes. The result is the squared sum of the lengths of the original line segments. For the sake of simplicity, when projections are single points of zero length, they are not shown, since they do not affect the calculations.
The generalization applies to flat objects of any shape, regular or irregular. The multiobject animation illustrates the use of the generalization on a set of several different objects in different planes – in this case, a triangle and a circle on one plane, and a flat cat on a parallel plane (shown in blue). Projections of the set are shown in green on the coordinate plane subspaces. Objects shown initially upright in the yzplane are subsequently tilted in parallel. Again, regardless of set orientation, the result remains the same. On each coordinate plane subspace, the areas of object projections are calculated individually (to avoid miscalculations due to projection overlap), then added together to produce the total projection area of the set on that plane. The projection set area is then squared for each coordinate plane. The sum of all projection set areas squared is always equal to the original set area squared.
Applied in any number of dimensions
This generalization holds regardless of the number of dimensions involved. The volume squared for a threedimensional object or set can be calculated by summing the squares of the volumes of the associated threedimensional projections onto threedimensional subspaces. Any number of dimensions is valid for the set as long as one uses the same number of dimensions for the coordinate subspaces and projections.
It is the builtin symmetry of the Cartesian coordinate system where coordinates are orthogonal vectors of unit length in flat Euclidean space that allows this generalization to apply so broadly.
NonEuclidean geometry
The Pythagorean theorem is derived from the axioms of Euclidean geometry, and in fact, the Pythagorean theorem given above does not hold in a nonEuclidean geometry.^{[61]} (The Pythagorean theorem has been shown, in fact, to be equivalent to Euclid's Parallel (Fifth) Postulate.^{[62]}^{[63]}) In other words, in nonEuclidean geometry, the relation between the sides of a triangle must necessarily take a nonPythagorean form. For example, in spherical geometry, all three sides of the right triangle (say a, b, and c) bounding an octant of the unit sphere have length equal to π/2, and all its angles are right angles, which violates the Pythagorean theorem because a^{2} + b^{2} ≠ c^{2}.
Here two cases of nonEuclidean geometry are considered—spherical geometry and hyperbolic plane geometry; in each case, as in the Euclidean case for nonright triangles, the result replacing the Pythagorean theorem follows from the appropriate law of cosines.
However, the Pythagorean theorem remains true in hyperbolic geometry and elliptic geometry if the condition that the triangle be right is replaced with the condition that two of the angles sum to the third, say A+B = C. The sides are then related as follows: the sum of the areas of the circles with diameters a and b equals the area of the circle with diameter c.^{[64]}
Spherical geometry
For any right triangle on a sphere of radius R (for example, if γ in the figure is a right angle), with sides a, b, c, the relation between the sides takes the form:^{[65]}
This equation can be derived as a special case of the spherical law of cosines that applies to all spherical triangles:
By expressing the Maclaurin series for the cosine function as an asymptotic expansion with the remainder term in big O notation,
it can be shown that as the radius R approaches infinity and the arguments a/R, b/R, and c/R tend to zero, the spherical relation between the sides of a right triangle approaches the Euclidean form of the Pythagorean theorem. Substituting the asymptotic expansion for each of the cosines into the spherical relation for a right triangle yields
The constants a^{4}, b^{4}, and c^{4} have been absorbed into the big O remainder terms since they are independent of the radius R. This asymptotic relationship can be further simplified by multiplying out the bracketed quantities, cancelling the ones, multiplying through by −2, and collecting all the error terms together:
After multiplying through by R^{2}, the Euclidean Pythagorean relationship c^{2} = a^{2} + b^{2} is recovered in the limit as the radius R approaches infinity (since the remainder term tends to zero):
Hyperbolic geometry
For a right triangle in hyperbolic geometry with sides a, b, c and with side c opposite a right angle, the relation between the sides takes the form:^{[66]}
where cosh is the hyperbolic cosine. This formula is a special form of the hyperbolic law of cosines that applies to all hyperbolic triangles:^{[67]}
with γ the angle at the vertex opposite the side c.
By using the Maclaurin series for the hyperbolic cosine, cosh x ≈ 1 + x^{2}/2, it can be shown that as a hyperbolic triangle becomes very small (that is, as a, b, and c all approach zero), the hyperbolic relation for a right triangle approaches the form of Pythagoras's theorem.
Differential geometry
On an infinitesimal level, in three dimensional space, Pythagoras's theorem describes the distance between two infinitesimally separated points as:
with ds the element of distance and (dx, dy, dz) the components of the vector separating the two points. Such a space is called a Euclidean space. However, in Riemannian geometry, a generalization of this expression useful for general coordinates (not just Cartesian) and general spaces (not just Euclidean) takes the form:^{[68]}
which is called the metric tensor. (Sometimes, by abuse of language, the same term is applied to the set of coefficients g_{ij}.) It may be a function of position, and often describes curved space. A simple example is Euclidean (flat) space expressed in curvilinear coordinates. For example, in polar coordinates:
History
There is debate whether the Pythagorean theorem was discovered once, or many times in many places, and the date of first discovery is uncertain, as is the date of the first proof. According to Joran Friberg, a historian of mathematics, evidence indicates that the Pythagorean Theorem was wellknown to the mathematicians of the First Babylonian Dynasty (20th to 16th centuries BC), which would have been over a thousand years before Pythagoras was born.^{[69]} Other sources, such as a book by Leon Lederman and Dick Teresi, mention that Pythagoras discovered the theorem,^{[70]} although Teresi subsequently stated that the Babylonians developed the theorem "at least fifteen hundred years before Pythagoras was born."^{[71]} The history of the theorem can be divided into four parts: knowledge of Pythagorean triples, knowledge of the relationship among the sides of a right triangle, knowledge of the relationships among adjacent angles, and proofs of the theorem within some deductive system.
Bartel Leendert van der Waerden (1903–1996) conjectured that Pythagorean triples were discovered algebraically by the Babylonians.^{[72]} Written between 2000 and 1786 BC, the Middle Kingdom Egyptian Berlin Papyrus 6619 includes a problem whose solution is the Pythagorean triple 6:8:10, but the problem does not mention a triangle. The Mesopotamian tablet Plimpton 322, written between 1790 and 1750 BC during the reign of Hammurabi the Great, contains many entries closely related to Pythagorean triples.
In India, the Baudhayana Sulba Sutra, the dates of which are given variously as between the 8th and 2nd century BC,^{[citation needed]} contains a list of Pythagorean triples discovered algebraically, a statement of the Pythagorean theorem, and a geometrical proof of the Pythagorean theorem for an isosceles right triangle. The Apastamba Sulba Sutra (c. 600 BC) contains a numerical proof of the general Pythagorean theorem, using an area computation. Van der Waerden believed that "it was certainly based on earlier traditions". Boyer (1991) thinks the elements found in the Śulbasũtram may be of Mesopotamian derivation.^{[73]}
With contents known much earlier, but in surviving texts dating from roughly the 1st century BC, the Chinese text Zhou Bi Suan Jing (周髀算经), (The Arithmetical Classic of the Gnomon and the Circular Paths of Heaven) gives a reasoning for the Pythagorean theorem for the (3, 4, 5) triangle—in China it is called the "Gougu Theorem" (勾股定理).^{[74]}^{[75]} During the Han Dynasty (202 BC to 220 AD), Pythagorean triples appear in The Nine Chapters on the Mathematical Art,^{[76]} together with a mention of right triangles.^{[77]} Some believe the theorem arose first in China,^{[78]} where it is alternatively known as the "Shang Gao Theorem" (商高定理),^{[79]} named after the Duke of Zhou's astronomer and mathematician, whose reasoning composed most of what was in the Zhou Bi Suan Jing.^{[80]}
Pythagoras, whose dates are commonly given as 569–475 BC, used algebraic methods to construct Pythagorean triples, according to Proclus's commentary on Euclid. Proclus, however, wrote between 410 and 485 AD. According to Thomas L. Heath (1861–1940), no specific attribution of the theorem to Pythagoras exists in the surviving Greek literature from the five centuries after Pythagoras lived.^{[81]} However, when authors such as Plutarch and Cicero attributed the theorem to Pythagoras, they did so in a way which suggests that the attribution was widely known and undoubted.^{[4]}^{[82]} "Whether this formula is rightly attributed to Pythagoras personally, [...] one can safely assume that it belongs to the very oldest period of Pythagorean mathematics."^{[37]}
Around 400 BC, according to Proclus, Plato gave a method for finding Pythagorean triples that combined algebra and geometry. Around 300 BC, in Euclid's Elements, the oldest extant axiomatic proof of the theorem is presented.^{[83]}
In popular culture
The Pythagorean theorem has arisen in popular culture in a variety of ways.
 Hans Christian Andersen wrote in 1831 a poem about the Pythagorean theorem: Formens Evige Magie (Et poetisk Spilfægteri).^{[84]}
 A verse of the MajorGeneral's Song in the Gilbert and Sullivan comic opera The Pirates of Penzance, "About binomial theorem I'm teeming with a lot o' news, With many cheerful facts about the square of the hypotenuse", makes an oblique reference to the theorem.^{[85]}
 The Scarecrow in the film The Wizard of Oz makes a more specific reference to the theorem. Upon receiving his diploma from the Wizard, he immediately exhibits his "knowledge" by reciting a mangled and incorrect version of the theorem: "The sum of the square roots of any two sides of an isosceles triangle is equal to the square root of the remaining side. Oh, joy! Oh, rapture! I've got a brain!"^{[86]}^{[87]}
 In 2000, Uganda released a coin with the shape of an isosceles right triangle. The coin's tail has an image of Pythagoras and the equation α^{2} + β^{2} = γ^{2}, accompanied with the mention "PYTHAGORAS MILLENNIUM".^{[88]}^{[89]}
 Greece, Japan, San Marino, Sierra Leone, and Suriname have issued postage stamps depicting Pythagoras and the Pythagorean theorem.^{[90]}
 In Neal Stephenson's speculative fiction Anathem, the Pythagorean theorem is referred to as 'the Adrakhonic theorem'. A geometric proof of the theorem is displayed on the side of an alien ship to demonstrate the aliens' understanding of mathematics.
See also
 British flag theorem
 Dulcarnon
 Fermat's Last Theorem
 Linear algebra
 List of triangle topics
 L^{p} space
 Nonhypotenuse number
 Parallelogram law
 Ptolemy's theorem
 Pythagorean expectation
 Pythagorean tiling
 Rational trigonometry in Pythagoras's theorem
Notes
 ↑ ^{1.0} ^{1.1} Judith D. Sally, Paul Sally (2007). "Chapter 3: Pythagorean triples". Roots to research: a vertical development of mathematical problems. American Mathematical Society Bookstore. p. 63. ISBN 0821844032.<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>
 ↑ ^{2.0} ^{2.1} Posamentier, Alfred. The Pythagorean Theorem: The Story of Its Power and Beauty, p. 23 (Prometheus Books 2010).
 ↑ George Johnston Allman (1889). Greek Geometry from Thales to Euclid (Reprinted by Kessinger Publishing LLC 2005 ed.). Hodges, Figgis, & Co. p. 26. ISBN 143260662X.
The discovery of the law of three squares, commonly called the "theorem of Pythagoras" is attributed to him by – amongst others – Vitruvius, Diogenes Laertius, Proclus, and Plutarch ...
<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>  ↑ ^{4.0} ^{4.1} (Heath 1921, Vol I, p. 144)
 ↑ According to Heath 1921, Vol I, p. 147, Vitruvius says that Pythagoras first discovered the triangle (3,4,5); the fact that the latter is rightangled led to the theorem.
 ↑ ^{6.0} ^{6.1} Otto Neugebauer (1969). The exact sciences in antiquity (Republication of 1957 Brown University Press 2nd ed.). Courier Dover Publications. p. 36. ISBN 0486223329.<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>. For a different view, see Dick Teresi (2003). Lost Discoveries: The Ancient Roots of Modern Science. Simon and Schuster. p. 52. ISBN 074324379X.<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>, where the speculation is made that the first column of tablet 322 in the Plimpton collection supports a Babylonian knowledge of some elements of trigonometry. That notion is pretty much laid to rest, however, by Eleanor Robson (2002). "Words and Pictures: New Light on Plimpton 322". The American Mathematical Monthly. Mathematical Association of America. 109 (2): 105–120. doi:10.2307/2695324. JSTOR 2695324.CS1 maint: ref=harv (link)<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles> (pdf file). The generally accepted view today is that the Babylonians had no awareness of trigonometric functions. See also Abdulrahman A. Abdulaziz (2010). "The Plimpton 322 Tablet and the Babylonian Method of Generating Pythagorean Triples". arXiv:1004.0025 [math.HO].CS1 maint: ref=harv (link)<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles> §2, page 7.
 ↑ Mario Livio (2003). The golden ratio: the story of phi, the world's most astonishing number. Random House, Inc. p. 25. ISBN 0767908163.<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>
 ↑ Benson, Donald. The Moment of Proof : Mathematical Epiphanies, pp. 172–173 (Oxford University Press, 1999).
 ↑ Maor, Eli. The Pythagorean Theorem: A 4,000year History, p. 61 (Princeton University Press, 2007).
 ↑ (Loomis 1968)
 ↑ (Maor 2007, p. 39) page 39
 ↑ ^{12.0} ^{12.1} Stephen W. Hawking (2005). God created the integers: the mathematical breakthroughs that changed history. Philadelphia: Running Press Book Publishers. p. 12. ISBN 0762419229.<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles> This proof first appeared after a computer program was set to check Euclidean proofs.
 ↑ See for example Pythagorean theorem by shear mapping, Saint Louis University website Java applet
 ↑ Jan Gullberg (1997). Mathematics: from the birth of numbers. W. W. Norton & Company. p. 435. ISBN 039304002X.<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>
 ↑ Elements 1.47 by Euclid. Retrieved 19 December 2006.
 ↑ Euclid's Elements, Book I, Proposition 47: web page version using Java applets from Euclid's Elements by Prof. David E. Joyce, Clark University
 ↑ The proof by Pythagoras probably was not a general one, as the theory of proportions was developed only two centuries after Pythagoras; see (Maor 2007, p. 25) page 25
 ↑ Alexander Bogomolny. "Pythagorean Theorem, proof number 10". Cut the Knot. Retrieved 27 February 2010.<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>
 ↑ (Loomis 1968, Geometric proof 22 and Figure 123, page= 113)
 ↑ Schroeder, Manfred Robert (2012). Fractals, Chaos, Power Laws: Minutes from an Infinite Paradise. Courier Corporation. pp. 3–4. ISBN 0486134784.CS1 maint: ref=harv (link)<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>
 ↑ Alexander Bogomolny. "Cuttheknot.org: Pythagorean theorem and its many proofs, Proof #3". Cut the Knot. Retrieved 4 November 2010.<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>
 ↑ Alexander Bogomolny. "Cuttheknot.org: Pythagorean theorem and its many proofs, Proof #4". Cut the Knot. Retrieved 4 November 2010.<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>
 ↑ Published in a weekly mathematics column: James A Garfield (1876). The New England Journal of Education. 3: 161. Missing or empty
title=
(help)CS1 maint: ref=harv (link)<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles> as noted in William Dunham (1997). The mathematical universe: An alphabetical journey through the great proofs, problems, and personalities. Wiley. p. 96. ISBN 0471176613.<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles> and in A calendar of mathematical dates: April 1, 1876 by V. Frederick Rickey  ↑ Prof. David Lantz' animation from his web site of animated proofs
 ↑ Mike Staring (1996). "The Pythagorean proposition: A proof by means of calculus". Mathematics Magazine. Mathematical Association of America. 69 (1): 45–46. doi:10.2307/2691395. JSTOR 2691395.CS1 maint: ref=harv (link)<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>
 ↑ Bogomolny, Alexander. "Pythagorean Theorem". Interactive Mathematics Miscellany and Puzzles. Alexander Bogomolny. Retrieved 20100509. External link in
work=
(help)<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>  ↑ Bruce C. Berndt (1988). "Ramanujan—100 years old (fashioned) or 100 years new (fangled)?". The Mathematical Intelligencer. 10 (3): 24. doi:10.1007/BF03026638.CS1 maint: ref=harv (link)<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>
 ↑ Judith D. Sally, Paul J. Sally Jr. (20071221). "Theorem 2.4 (Converse of the Pythagorean Theorem).". Roots to Research. American Mathematical Society. pp. 54–55. ISBN 0821844032.<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>
 ↑ Euclid's Elements, Book I, Proposition 48 From D.E. Joyce's web page at Clark University
 ↑ Casey, Stephen, "The converse of the theorem of Pythagoras", Mathematical Gazette 92, July 2008, 309–313.
 ↑ Mitchell, Douglas W., "Feedback on 92.47", Mathematical Gazette 93, March 2009, 156.
 ↑ Ernest Julius Wilczynski, Herbert Ellsworth Slaught (1914). "Theorem 1 and Theorem 2". Plane trigonometry and applications. Allyn and Bacon. p. 85.<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>
 ↑ "Dijkstra's generalization" (PDF).<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>
 ↑ Law, Henry (1853). "Corollary 5 of Proposition XLVII (Pythagoras's Theorem)". The Elements of Euclid: with many additional propositions, and explanatory notes, to which is prefixed an introductory essay on logic. John Weale. p. 49.<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>
 ↑ Shaughan Lavine (1994). Understanding the infinite. Harvard University Press. p. 13. ISBN 0674920961.<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>
 ↑ (Heath 1921, Vol I, pp. 65); Hippasus was on a voyage at the time, and his fellows cast him overboard. See James R. Choike (1980). "The pentagram and the discovery of an irrational number". The College Mathematics Journal. 11: 312–316.CS1 maint: ref=harv (link)<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>
 ↑ ^{37.0} ^{37.1} A careful discussion of Hippasus's contributions is found in Kurt Von Fritz (Apr 1945). "The Discovery of Incommensurability by Hippasus of Metapontum". Annals of Mathematics. Second Series. Annals of Mathematics. 46 (2): 242–264. doi:10.2307/1969021. JSTOR 1969021.CS1 maint: ref=harv (link)<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>
 ↑ Jon Orwant, Jarkko Hietaniemi, John Macdonald (1999). "Euclidean distance". Mastering algorithms with Perl. O'Reilly Media, Inc. p. 426. ISBN 1565923987.CS1 maint: multiple names: authors list (link)<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>
 ↑ Wentworth, George (2009). Plane Trigonometry and Tables. BiblioBazaar, LLC. p. 116. ISBN 1103079980.<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>, Exercises, page 116
 ↑ Lawrence S. Leff (2005). PreCalculus the Easy Way (7th ed.). Barron's Educational Series. p. 296. ISBN 0764128922.<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>
 ↑ WS Massey (Dec 1983). "Cross products of vectors in higherdimensional Euclidean spaces". The American Mathematical Monthly. Mathematical Association of America. 90 (10): 697–701. doi:10.2307/2323537. JSTOR 2323537.CS1 maint: ref=harv (link)<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>
 ↑ Pertti Lounesto (2001). "§7.4 Cross product of two vectors". Clifford algebras and spinors (2nd ed.). Cambridge University Press. p. 96. ISBN 0521005515.<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>
 ↑ Francis Begnaud Hildebrand (1992). Methods of applied mathematics (Reprint of PrenticeHall 1965 2nd ed.). Courier Dover Publications. p. 24. ISBN 0486670023.<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>
 ↑ Heath, T. L., A History of Greek Mathematics, Oxford University Press, 1921; reprinted by Dover, 1981.
 ↑ Euclid's Elements: Book VI, Proposition VI 31: "In rightangled triangles the figure on the side subtending the right angle is equal to the similar and similarly described figures on the sides containing the right angle."
 ↑ ^{46.0} ^{46.1} Putz, John F. and Sipka, Timothy A. "On generalizing the Pythagorean theorem", The College Mathematics Journal 34 (4), September 2003, pp. 291–295.
 ↑ Lawrence S. Leff (20050501). cited work. Barron's Educational Series. p. 326. ISBN 0764128922.<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>
 ↑ Howard Whitley Eves (1983). "§4.8:...generalization of Pythagorean theorem". Great moments in mathematics (before 1650). Mathematical Association of America. p. 41. ISBN 0883853108.<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>
 ↑ Aydin Sayili (Mar 1960). "Thâbit ibn Qurra's Generalization of the Pythagorean Theorem". Isis. 51 (1): 35–37. doi:10.1086/348837. JSTOR 227603.CS1 maint: ref=harv (link)<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>
 ↑ Judith D. Sally, Paul Sally (20071221). "Exercise 2.10 (ii)". Roots to Research: A Vertical Development of Mathematical Problems. p. 62. ISBN 0821844032.<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>
 ↑ For the details of such a construction, see George Jennings (1997). "Figure 1.32: The generalized Pythagorean theorem". Modern geometry with applications: with 150 figures (3rd ed.). Springer. p. 23. ISBN 038794222X.<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>
 ↑ Claudi Alsina, Roger B. Nelsen: Charming Proofs: A Journey Into Elegant Mathematics. MAA, 2010, ISBN 9780883853481, pp. 77–78 (excerpt, p. 77, at Google Books)
 ↑ Rajendra Bhatia (1997). Matrix analysis. Springer. p. 21. ISBN 0387948465.<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>
 ↑ For an extended discussion of this generalization, see, for example, Willie W. Wong 2002, A generalized ndimensional Pythagorean theorem.
 ↑ Ferdinand van der Heijden, Dick de Ridder (2004). Classification, parameter estimation, and state estimation. Wiley. p. 357. ISBN 0470090138.<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>
 ↑ Qun Lin, Jiafu Lin (2006). Finite element methods: accuracy and improvement. Elsevier. p. 23. ISBN 7030166566.<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>
 ↑ Howard Anton, Chris Rorres (2010). Elementary Linear Algebra: Applications Version (10th ed.). Wiley. p. 336. ISBN 0470432055.<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>
 ↑ ^{58.0} ^{58.1} ^{58.2} Karen Saxe (2002). "Theorem 1.2". Beginning functional analysis. Springer. p. 7. ISBN 0387952241.<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>
 ↑ Douglas, Ronald G. (1998). Banach Algebra Techniques in Operator Theory, 2nd edition. New York, New York: SpringerVerlag New York, Inc. pp. 60–1. ISBN 9780387983776.<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>
 ↑ Donald R Conant and William A Beyer (Mar 1974). "Generalized Pythagorean Theorem". The American Mathematical Monthly. Mathematical Association of America. 81 (3): 262–265. doi:10.2307/2319528. JSTOR 2319528.CS1 maint: ref=harv (link)<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>
 ↑ Stephen W. Hawking (2005). cited work. p. 4. ISBN 0762419229.<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>
 ↑ Eric W. Weisstein (2003). CRC concise encyclopedia of mathematics (2nd ed.). p. 2147. ISBN 1584883472.
The parallel postulate is equivalent to the Equidistance postulate, Playfair axiom, Proclus axiom, the Triangle postulate and the Pythagorean theorem.
<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>  ↑ Alexander R. Pruss (2006). The principle of sufficient reason: a reassessment. Cambridge University Press. p. 11. ISBN 052185959X.
We could include...the parallel postulate and derive the Pythagorean theorem. Or we could instead make the Pythagorean theorem among the other axioms and derive the parallel postulate.
<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>  ↑ Victor Pambuccian (December 2010). "Maria Teresa Calapso's Hyperbolic Pythagorean Theorem". The Mathematical Intelligencer. 32 (4): 2. doi:10.1007/s0028301091690.<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>
 ↑ Barrett O'Neill (2006). "Exercise 4". Elementary differential geometry (2nd ed.). Academic Press. p. 441. ISBN 0120887355.<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>
 ↑ Saul Stahl (1993). "Theorem 8.3". The Poincaré halfplane: a gateway to modern geometry. Jones & Bartlett Learning. p. 122. ISBN 086720298X.<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>
 ↑ Jane Gilman (1995). "Hyperbolic triangles". Twogenerator discrete subgroups of PSL(2,R). American Mathematical Society Bookstore. ISBN 0821803611.<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>
 ↑ Tai L. Chow (2000). Mathematical methods for physicists: a concise introduction. Cambridge University Press. p. 52. ISBN 0521655447.<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>
 ↑ Friberg, Joran. "Methods and Traditions of Babylonian Mathematics", Historia Mathematica, Vol. 8, pp. 277, 306 (1991).
 ↑ Lederman, Leon and Teresi, Dick. The God Particle: If the Universe Is the Answer, What Is the Question?, p. 80 (Houghton Mifflin Harcourt 2006).
 ↑ Teresi, Dick. Lost Discoveries: The Ancient Roots of Modern Science—from the Babylonians to the Maya, p. 8 (Simon and Schuster 2010).
 ↑ (van_der_Waerden 1983, p. 5) See also Frank Swetz, T. I. Kao (1977). Was Pythagoras Chinese?: An examination of right triangle theory in ancient China. Penn State Press. p. 12. ISBN 0271012382.<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>
 ↑ Carl Benjamin Boyer (1968). "China and India". A history of mathematics. Wiley. p. 229.
we find rules for the construction of right angles by means of triples of cords the lengths of which form Pythagorean triages, such as 3, 4, and 5, or 5, 12, and 13, or 8, 15, and 17, or 12, 35, and 37. However all of these triads are easily derived from the old Babylonian rule; hence, Mesopotamian influence in the Sulvasũtras is not unlikely. Aspastamba knew that the square on the diagonal of a rectangle is equal to the sum of the squares on the two adjacent sides, but this form of the Pythagorean theorem also may have been derived from Mesopotamia. [...] So conjectural are the origin and period of the Sulvasũtras that we cannot tell whether or not the rules are related to early Egyptian surveying or to the later Greek problem of altar doubling. They are variously dated within an interval of almost a thousand years stretching from the eighth century B.C. to the second century of our era.
<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>; See also Carl B. Boyer, Uta C. Merzbach (2010). A History of Mathematics (3rd ed.). Wiley. ISBN 0470525487.<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>  ↑ Robert P. Crease (2008). The great equations: breakthroughs in science from Pythagoras to Heisenberg. W W Norton & Co. p. 25. ISBN 039306204X.<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>
 ↑ A rather extensive discussion of the origins of the various texts in the Zhou Bi is provided by Christopher Cullen (2007). Astronomy and Mathematics in Ancient China: The 'Zhou Bi Suan Jing'. Cambridge University Press. pp. 139 f. ISBN 0521035376.<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>
 ↑ This work is a compilation of 246 problems, some of which survived the book burning of 213 BC, and was put in final form before 100 AD. It was extensively commented upon by Liu Hui in 263 AD. Philip D Straffin, Jr. (2004). "Liu Hui and the first golden age of Chinese mathematics". In Marlow Anderson, Victor J. Katz, Robin J. Wilson (ed.). Sherlock Holmes in Babylon: and other tales of mathematical history. Mathematical Association of America. pp. 69 ff. ISBN 0883855461.CS1 maint: multiple names: editors list (link)<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles> See particularly §3: Nine chapters on the mathematical art, pps. 71 ff.
 ↑ Kangshen Shen, John N. Crossley, Anthony WahCheung Lun (1999). The nine chapters on the mathematical art: companion and commentary. Oxford University Press. p. 488. ISBN 0198539363.CS1 maint: multiple names: authors list (link)<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>
 ↑ In particular, Li Jimin; see Centaurus, Volume 39. Copenhagen: Munksgaard. 1997. pp. 193 & 205.<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>
 ↑ Chen, ChengYih (1996). "§3.3.4 Chén Zǐ's formula and the ChóngChã method; Figure 40". Early Chinese work in natural science: a reexamination of the physics of motion, acoustics, astronomy and scientific thoughts. Hong Kong University Press. p. 142. ISBN 962209385X.<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>
 ↑ Wentsün Wu (2008). "The Gougu theorem". Selected works of Wentsün Wu. World Scientific. p. 158. ISBN 9812791078.<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>
 ↑ (Euclid 1956, p. 351) page 351
 ↑ An extensive discussion of the historical evidence is provided in (Euclid 1956, p. 351) page=351
 ↑ Asger Aaboe (1997). Episodes from the early history of mathematics. Mathematical Association of America. p. 51. ISBN 0883856131.
...it is not until Euclid that we find a logical sequence of general theorems with proper proofs.
<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>  ↑ H.C. Andersen: Formens evige Magie (1831), visithcandersen.dk
 ↑ Maor (2007), p. 47.
 ↑ "The Scarecrow's Formula". Internet Movie Data Base. Retrieved 20100512.<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>
 ↑ Singh, Simon (2013). The Simpsons and Their Mathematical Secrets. New York: Bloomsbury. ISBN 9781620402771.<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>
 ↑ "Uganda 2000 Shillings". Numismatic Guaranty Corporation. Retrieved 20140613.<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>
 ↑ "Le Saviezvous?".<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>^{[dead link]}
 ↑ Miller, Jeff (20070803). "Images of Mathematicians on Postage Stamps". Retrieved 20100718.<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>
References
 Bell, John L. (1999). The Art of the Intelligible: An Elementary Survey of Mathematics in its Conceptual Development. Kluwer. ISBN 0792359720.CS1 maint: ref=harv (link)<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>
 Euclid (1956). Translated by Johan Ludvig Heiberg with an introduction and commentary by Sir Thomas L. Heath (ed.). The Elements (3 vols.). Vol. 1 (Books I and II) (Reprint of 1908 ed.). Dover. ISBN 0486600882.CS1 maint: ref=harv (link)<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles> Online text at Euclid
 Heath, Sir Thomas (1921). "The 'Theorem of Pythagoras'". A History of Greek Mathematics (2 Vols.) (Dover Publications, Inc. (1981) ed.). Clarendon Press, Oxford. p. 144 ff. ISBN 0486240738.CS1 maint: ref=harv (link)<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>
 Libeskind, Shlomo (2008). Euclidean and transformational geometry: a deductive inquiry. Jones & Bartlett Learning. ISBN 0763743666.CS1 maint: ref=harv (link)<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles> This highschool geometry text covers many of the topics in this WP article.
 Loomis, Elisha Scott (1968). The Pythagorean proposition (2nd ed.). The National Council of Teachers of Mathematics. ISBN 9780873530361.CS1 maint: ref=harv (link)<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles> For full text of 2nd edition of 1940, see Elisha Scott Loomis. "The Pythagorean proposition: its demonstrations analyzed and classified, and bibliography of sources for data of the four kinds of proofs" (PDF). Education Resources Information Center. Institute of Education Sciences (IES) of the U.S. Department of Education. Retrieved 20100504.<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles> Originally published in 1940 and reprinted in 1968 by National Council of Teachers of Mathematics, isbn=0873530365.
 Maor, Eli (2007). The Pythagorean Theorem: A 4,000Year History. Princeton, New Jersey: Princeton University Press. ISBN 9780691125268.CS1 maint: ref=harv (link)<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>
 Stillwell, John (1989). Mathematics and Its History. SpringerVerlag. ISBN 0387969810.CS1 maint: ref=harv (link)<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles> Also ISBN 3540969810.
 Swetz, Frank; Kao, T. I. (1977). Was Pythagoras Chinese?: An Examination of Right Triangle Theory in Ancient China. Pennsylvania State University Press. ISBN 0271012382.CS1 maint: ref=harv (link)<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>
 van der Waerden, Bartel Leendert (1983). Geometry and Algebra in Ancient Civilizations. Springer. ISBN 3540121595.CS1 maint: ref=harv (link)<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>
External links
Wikimedia Commons has media related to [[commons:Script error: The function "getCommonsLink" does not exist.Script error: The function "getCommonsLink" does not exist.]]. 
 Euclid, David E. Joyce, ed. (1997) [c. 300 BC]. Elements. Retrieved 20060830.CS1 maint: multiple names: authors list (link) CS1 maint: extra text: authors list (link)<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles> In HTML with Javabased interactive figures.
 Hazewinkel, Michiel, ed. (2001), "Pythagorean theorem", Encyclopedia of Mathematics, Springer, ISBN 9781556080104<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>
 History topic: Pythagoras's theorem in Babylonian mathematics
 Interactive links:
 Interactive proof in Java of The Pythagorean Theorem
 Another interactive proof in Java of The Pythagorean Theorem
 Pythagorean theorem with interactive animation
 Animated, NonAlgebraic, and UserPaced Pythagorean Theorem
 Pythagorean theorem water demo @YouTube
 Pythagorean Theorem (more than 70 proofs from cuttheknot)
 Weisstein, Eric W., "Pythagorean theorem", MathWorld.
 CS1 maint: ref=harv
 Pages with citations lacking titles
 CS1 errors: external links
 CS1 maint: multiple names: authors list
 CS1 maint: multiple names: editors list
 Articles with dead external links from June 2014
 Wikipedia pages with incorrect protection templates
 Articles with unsourced statements from March 2015
 CS1: long volume value
 Commons category link from Wikidata
 CS1 maint: extra text: authors list
 Good articles
 Area
 Angle
 Articles containing proofs
 Equations
 Pythagoras
 Euclidean plane geometry
 History of geometry
 Theorems in plane geometry
 Triangles
 Proof without words