Pythagorean theorem

From testwiki
Jump to navigation Jump to search

Template:Short description Template:Pp-move-indef Template:Pp-semi-indef Template:Infobox mathematical statement Template:General geometry

In mathematics, the Pythagorean theorem or Pythagoras' theorem is a fundamental relation in Euclidean geometry between the three sides of a right triangle. It states that the area of the square whose side is the hypotenuse (the side opposite the right angle) is equal to the sum of the areas of the squares on the other two sides.

The theorem can be written as an equation relating the lengths of the sides Template:Mvar, Template:Mvar and the hypotenuse Template:Mvar, sometimes called the Pythagorean equation:[1]

a2+b2=c2.

The theorem is named for the Greek philosopher Pythagoras, born around 570 BC. The theorem has been proved numerous times by many different methods – possibly the most for any mathematical theorem. The proofs are diverse, including both geometric proofs and algebraic proofs, with some dating back thousands of years.

When Euclidean space is represented by a Cartesian coordinate system in analytic geometry, Euclidean distance satisfies the Pythagorean relation: the squared distance between two points equals the sum of squares of the difference in each coordinate between the points.

The theorem can be generalized in various ways: to higher-dimensional spaces, to spaces that are not Euclidean, to objects that are not right triangles, and to objects that are not triangles at all but [[N-dimensional|Template:Mvar-dimensional]] solids.

Proofs using constructed squares

Rearrangement proof of the Pythagorean theorem.
(The area of the white space remains constant throughout the translation rearrangement of the triangles. At all moments in time, the area is always Template:Math. And likewise, at all moments in time, the area is always Template:Math.)

Rearrangement proofs

In one rearrangement proof, two squares are used whose sides have a measure of a+b and which contain four right triangles whose sides are Template:Mvar, Template:Mvar and Template:Mvar, with the hypotenuse being Template:Mvar. In the square on the right side, the triangles are placed such that the corners of the square correspond to the corners of the right angle in the triangles, forming a square in the center whose sides are length Template:Mvar. Each outer square has an area of (a+b)2 as well as 2ab+c2, with 2ab representing the total area of the four triangles. Within the big square on the left side, the four triangles are moved to form two similar rectangles with sides of length Template:Mvar and Template:Mvar. These rectangles in their new position have now delineated two new squares, one having side length Template:Mvar is formed in the bottom-left corner, and another square of side length Template:Mvar formed in the top-right corner. In this new position, this left side now has a square of area (a+b)2 as well as 2ab+a2+b2. Since both squares have the area of (a+b)2 it follows that the other measure of the square area also equal each other such that 2ab+c2 = 2ab+a2+b2. With the area of the four triangles removed from both side of the equation what remains is a2+b2=c2. [2]

In another proof rectangles in the second box can also be placed such that both have one corner that correspond to consecutive corners of the square. In this way they also form two boxes, this time in consecutive corners, with areas a2 and b2which will again lead to a second square of with the area 2ab+a2+b2.

English mathematician Sir Thomas Heath gives this proof in his commentary on Proposition I.47 in Euclid's Elements, and mentions the proposals of German mathematicians Carl Anton Bretschneider and Hermann Hankel that Pythagoras may have known this proof. Heath himself favors a different proposal for a Pythagorean proof, but acknowledges from the outset of his discussion "that the Greek literature which we possess belonging to the first five centuries after Pythagoras contains no statement specifying this or any other particular great geometric discovery to him."[3] Recent scholarship has cast increasing doubt on any sort of role for Pythagoras as a creator of mathematics, although debate about this continues.[4]

Algebraic proofs

Diagram of the two algebraic proofs

The theorem can be proved algebraically using four copies of the same triangle arranged symmetrically around a square with side Template:Mvar, as shown in the lower part of the diagram.[5] This results in a larger square, with side Template:Math and area Template:Math. The four triangles and the square side Template:Mvar must have the same area as the larger square,

(b+a)2=c2+4ab2=c2+2ab,

giving

c2=(b+a)22ab=b2+2ab+a22ab=a2+b2.

A similar proof uses four copies of a right triangle with sides Template:Mvar, Template:Mvar and Template:Mvar, arranged inside a square with side Template:Mvar as in the top half of the diagram.[6] The triangles are similar with area 12ab, while the small square has side Template:Math and area Template:Math. The area of the large square is therefore

(ba)2+4ab2=(ba)2+2ab=b22ab+a2+2ab=a2+b2.

But this is a square with side Template:Mvar and area Template:Math, so

c2=a2+b2.

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.[7]

Proof using similar triangles

Template:Hatnote

Proof using similar triangles

This proof is based on the proportionality of the sides of three 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 Template:Mvar, as shown on the figure. Draw the altitude from point Template:Mvar, and call Template:Mvar its intersection with the side AB. Point Template:Mvar divides the length of the hypotenuse Template:Mvar into parts Template:Mvar and Template:Mvar. 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 Template:Mvar, meaning that the third angle will be the same in both triangles as well, marked as Template:Mvar 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:

BCAB=BHBC and ACAB=AHAC.

The first result equates the cosines of the angles Template:Mvar, whereas the second result equates their sines.

These ratios can be written as

BC2=AB×BH and AC2=AB×AH.

Summing these two equalities results in

BC2+AC2=AB×BH+AB×AH=AB(AH+BH)=AB2,

which, after simplification, demonstrates the Pythagorean theorem:

BC2+AC2=AB2.

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.[8]

Einstein's proof by dissection without rearrangement

Right triangle on the hypotenuse dissected into two similar right triangles on the legs, according to Einstein's proof.

Albert Einstein gave a proof by dissection in which the pieces do not need to be moved.[9] 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 (see Similar figures on the three sides). 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.

Euclid's proof

Proof in Euclid's Elements

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 left-most 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 Template:Mvar, Template:Mvar, Template:Mvar be the vertices of a right triangle, with a right angle at Template:Mvar. Drop a perpendicular from Template:Mvar 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:

  1. 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 (side-angle-side).
  2. The area of a triangle is half the area of any parallelogram on the same base and having the same altitude.
  3. The area of a rectangle is equal to the product of two adjacent sides.
  4. 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.[10] Template:Clear

Illustration including the new lines
Showing the two congruent triangles of half the area of rectangle BDLK and square BAGF

The proof is as follows:

  1. Let ACB be a right-angled triangle with right angle CAB.
  2. 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.[11]
  3. From A, draw a line parallel to BD and CE. It will perpendicularly intersect BC and DE at K and L, respectively.
  4. Join CF and AD, to form the triangles BCF and BDA.
  5. Angles CAB and BAG are both right angles; therefore C, A, and G are collinear.
  6. 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.
  7. Since AB is equal to FB, BD is equal to BC and angle ABD equals angle FBC, triangle ABD must be congruent to triangle FBC.
  8. Since A-K-L 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)
  9. Since C is collinear with A and G, and this line is parallel to FB, then square BAGF must be twice in area to triangle FBC.
  10. Therefore, rectangle BDLK must have the same area as square BAGF = AB2.
  11. By applying steps 3 to 10 to the other side of the figure, it can be similarly shown that rectangle CKLE must have the same area as square ACIH = AC2.
  12. Adding these two results, AB2 + AC2 = BD × BK + KL × KC
  13. Since BD = KL, BD × BK + KL × KC = BD(BK + KC) = BD × BC
  14. Therefore, AB2 + AC2 = BC2, since CBDE is a square.

This proof, which appears in Euclid's Elements as that of Proposition 47 in Book 1, demonstrates that the area of the square on the hypotenuse is the sum of the areas of the other two squares.[12][13] This is quite distinct from the proof by similarity of triangles, which is conjectured to be the proof that Pythagoras used.[14][15]

Proofs by dissection and rearrangement

Another by rearrangement is given by the middle animation. A large square is formed with area Template:Math, from four identical right triangles with sides Template:Mvar, Template:Mvar and Template:Mvar, fitted around a small central square. Then two rectangles are formed with sides Template:Mvar and Template:Mvar by moving the triangles. Combining the smaller square with these rectangles produces two squares of areas Template:Math and Template:Math, which must have the same area as the initial large square.[16]

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.[17]

Animation showing proof by rearrangement of four identical right triangles
Animation showing another proof by rearrangement
Proof using an elaborate rearrangement

Proof by area-preserving shearing

Visual proof of the Pythagorean theorem by area-preserving shearing

As shown in the accompanying animation, area-preserving shear mappings and translations can transform the squares on the sides adjacent to the right-angle onto the square on the hypotenuse, together covering it exactly.[18] Each shear leaves the base and height unchanged, thus leaving the area unchanged too. The translations also leave the area unchanged, as they do not alter the shapes at all. Each square is first sheared into a parallelogram, and then into a rectangle which can be translated onto one section of the square on the hypotenuse.

Other algebraic proofs

A related proof was published by future U.S. President James A. Garfield (then a U.S. Representative).[19][20][21] 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

12(b+a)2.

The inner square is similarly halved, and there are only two triangles so the proof proceeds as above except for a factor of 12, 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.[22][23][24]

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 Template:Mvar, the side AC of length Template:Mvar and the side AB of length Template:Mvar, as seen in the lower diagram part.

Diagram for differential proof

If Template:Mvar is increased by a small amount dx by extending the side AC slightly to Template:Mvar, then Template:Mvar also increases by dy. These form two sides of a triangle, CDE, which (with Template:Mvar 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:

dydx=xy.

This can be rewritten as ydy=xdx , which is a differential equation that can be solved by direct integration:

ydy=xdx,

giving

y2=x2+C.

The constant can be deduced from Template:Math, Template:Math to give the equation

y2=x2+a2.

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:[25]

Given a triangle with sides of length Template:Mvar, Template:Mvar, and Template:Mvar, if Template:Math then the angle between sides Template:Mvar and Template:Mvar is a right angle.

For any three positive real numbers Template:Mvar, Template:Mvar, and Template:Mvar such that Template:Math, there exists a triangle with sides Template:Mvar, Template:Mvar and Template:Mvar as a consequence of the converse of the triangle inequality.

This converse appears in Euclid's Elements (Book I, Proposition 48): "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."[26]

It can be proved using the law of cosines or as follows:

Let ABC be a triangle with side lengths Template:Mvar, Template:Mvar, and Template:Mvar, with Template:Math Construct a second triangle with sides of length Template:Mvar and Template:Mvar containing a right angle. By the Pythagorean theorem, it follows that the hypotenuse of this triangle has length Template:Math, the same as the hypotenuse of the first triangle. Since both triangles' sides are the same lengths Template:Mvar, Template:Mvar and Template:Mvar, the triangles are congruent and must have the same angles. Therefore, the angle between the side of lengths Template:Mvar and Template:Mvar 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 proved without assuming the Pythagorean theorem.[27][28]

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 Template:Mvar be chosen to be the longest of the three sides and Template:Math (otherwise there is no triangle according to the triangle inequality). The following statements apply:[29]

Edsger W. Dijkstra has stated this proposition about acute, right, and obtuse triangles in this language:

Template:Math

where Template:Mvar is the angle opposite to side Template:Mvar, Template:Mvar is the angle opposite to side Template:Mvar, Template:Mvar is the angle opposite to side Template:Mvar, and sgn is the sign function.[30]

Consequences and uses of the theorem

Pythagorean triples

Template:Main Template:See also

A Pythagorean triple has three positive integers Template:Mvar, Template:Mvar, and Template:Mvar, such that Template:Math In other words, a Pythagorean triple represents the lengths of the sides of a right triangle where all three sides have integer lengths.[1] Such a triple is commonly written Template:Math Some well-known examples are Template:Math and Template:Math

A primitive Pythagorean triple is one in which Template:Mvar, Template:Mvar and Template:Mvar are coprime (the greatest common divisor of Template:Mvar, Template:Mvar and Template:Mvar 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)

There are many formulas for generating Pythagorean triples. Of these, Euclid's formula is the most well-known: given arbitrary positive integers Template:Mvar and Template:Mvar, the formula states that the integers

a=m2n2,b=2mn,c=m2+n2

forms a Pythagorean triple.

Inverse Pythagorean theorem

Given a right triangle with sides a,b,c and altitude d (a line from the right angle and perpendicular to the hypotenuse c). The Pythagorean theorem has,

a2+b2=c2

while the inverse Pythagorean theorem relates the two legs a,b to the altitude d,[31]

1a2+1b2=1d2

The equation can be transformed to,

1(xz)2+1(yz)2=1(xy)2

where x2+y2=z2 for any non-zero real x,y,z. If the a,b,d are to be integers, the smallest solution a>b>d is then

1202+1152=1122

using the smallest Pythagorean triple 3,4,5. The reciprocal Pythagorean theorem is a special case of the optic equation

1p+1q=1r

where the denominators are squares and also for a heptagonal triangle whose sides p,q,r are square numbers.

Incommensurable lengths

The spiral of Theodorus: A construction for line segments with lengths whose ratios are the square root of a positive integer

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' 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.[32] Each triangle has a side (labeled "1") that is the chosen unit for measurement. In each right triangle, Pythagoras' 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 Template:Radical, Template:Radical, Template:Radical . 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.[33] 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.[34] A careful discussion of Hippasus's contributions is found in Fritz.[35]

Complex numbers

The absolute value of a complex number Template:Mvar is the distance Template:Mvar from Template:Mvar to the origin.

For any complex number

z=x+iy,

the absolute value or modulus is given by

r=|z|=x2+y2.

So the three quantities, Template:Mvar, Template:Mvar and Template:Mvar are related by the Pythagorean equation,

r2=x2+y2.

Note that Template:Mvar is defined to be a positive number or zero but Template:Mvar and Template:Mvar can be negative as well as positive. Geometrically Template:Mvar is the distance of the Template:Mvar from zero or the origin Template:Mvar in the complex plane.

This can be generalised to find the distance between two points, Template:Math and Template:Math say. The required distance is given by

|z1z2|=(x1x2)2+(y1y2)2,

so again they are related by a version of the Pythagorean equation,

|z1z2|2=(x1x2)2+(y1y2)2.

Euclidean distance

Template:Main The distance formula in Cartesian coordinates is derived from the Pythagorean theorem.[36] If Template:Math and Template:Math are points in the plane, then the distance between them, also called the Euclidean distance, is given by

(x1x2)2+(y1y2)2.

More generally, in [[Euclidean space|Euclidean Template:Mvar-space]], the Euclidean distance between two points, A=(a1,a2,,an) and B=(b1,b2,,bn), is defined, by generalization of the Pythagorean theorem, as:

(a1b1)2+(a2b2)2++(anbn)2=i=1n(aibi)2.

If instead of Euclidean distance, the square of this value (the squared Euclidean distance, or SED) is used, the resulting equation avoids square roots and is simply a sum of the SED of the coordinates:

(a1b1)2+(a2b2)2++(anbn)2=i=1n(aibi)2.

The squared form is a smooth, convex function of both points, and is widely used in optimization theory and statistics, forming the basis of least squares.

Euclidean distance in other coordinate systems

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 straight-line 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' theorem with the equations relating the curvilinear coordinates to Cartesian coordinates. For example, the polar coordinates Template:Math can be introduced as:

x=rcosθ, y=rsinθ.

Then two points with locations Template:Math and Template:Math are separated by a distance Template:Mvar:

s2=(x1x2)2+(y1y2)2=(r1cosθ1r2cosθ2)2+(r1sinθ1r2sinθ2)2.

Performing the squares and combining terms, the Pythagorean formula for distance in Cartesian coordinates produces the separation in polar coordinates as:

s2=r12+r222r1r2(cosθ1cosθ2+sinθ1sinθ2)=r12+r222r1r2cos(θ1θ2)=r12+r222r1r2cosΔθ,

using the trigonometric product-to-sum formulas. This formula is the law of cosines, sometimes called the generalized Pythagorean theorem.[37] From this result, for the case where the radii to the two locations are at right angles, the enclosed angle Template:Math and the form corresponding to Pythagoras' theorem is regained: s2=r12+r22. 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

Template:Main

Similar right triangles showing sine and cosine of angle θ

In a right triangle with sides Template:Mvar, Template:Mvar and hypotenuse Template:Mvar, trigonometry determines the sine and cosine of the angle Template:Mvar between side Template:Mvar and the hypotenuse as:

sinθ=bc,cosθ=ac.

From that it follows:

cos2θ+sin2θ=a2+b2c2=1,

where the last step applies Pythagoras' theorem. This relation between sine and cosine is sometimes called the fundamental Pythagorean trigonometric identity.[38] 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 Template:Math and adjacent side of size Template:Math in units of the hypotenuse.

Relation to the cross product

The area of a parallelogram as a cross product; vectors Template:Math and Template:Math identify a plane and Template:Math is normal to this plane.

The Pythagorean theorem relates the cross product and dot product in a similar way:[39]

𝐚×𝐛2+(𝐚𝐛)2=𝐚2𝐛2.

This can be seen from the definitions of the cross product and dot product, as

𝐚×𝐛=ab𝐧sinθ𝐚𝐛=abcosθ,

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

𝐚×𝐛2=𝐚2𝐛2(𝐚𝐛)2.

This can be considered as a condition on the cross product and so part of its definition, for example in seven dimensions.[40][41]

As an axiom

Template:Main

If the first four of the Euclidean geometry axioms are assumed to be true then the Pythagorean theorem is equivalent to the fifth. That is, Euclid's fifth postulate implies the Pythagorean theorem and vice-versa.

Generalizations

Similar figures on the three sides

The Pythagorean theorem generalizes beyond the areas of squares on the three sides to any similar figures. This was known by Hippocrates of Chios in the 5th century BC,[42] and was included by Euclid in his Elements:[43]

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).[44] 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).[44]

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 Template:Mvar, Template:Mvar and Template:Mvar are erected on sides with corresponding lengths Template:Mvar, Template:Mvar and Template:Mvar then:

Aa2=Bb2=Cc2,
A+B=a2c2C+b2c2C.

But, by the Pythagorean theorem, Template:Math, so Template:Math.

Conversely, if we can prove that Template:Math 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 Template:Mvar on its hypotenuse, and two similar right triangles (Template:Mvar and Template:Mvar ) 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 Template:Math and reversing the above logic leads to the Pythagorean theorem Template:Math. (See also Einstein's proof by dissection without rearrangement)

Generalization for similar triangles,
green area Template:Math area C
Pythagoras' theorem using similar right triangles
Generalization for regular pentagons

Law of cosines

Template:Main

The separation Template:Mvar of two points Template:Math and Template:Math in polar coordinates is given by the law of cosines. Interior angle Δθ = θ1−θ2.

The Pythagorean theorem is a special case of the more general theorem relating the lengths of sides in any triangle, the law of cosines, which states that a2+b22abcosθ=c2 where θ is the angle between sides a and b.[45]

When θ is π2 radians or 90°, then cosθ=0, and the formula reduces to the usual Pythagorean theorem.

Arbitrary triangle

Generalization of Pythagoras' theorem by Tâbit ibn Qorra.[46] Lower panel: reflection of triangle CAD (top) to form triangle DAC, similar to triangle ABC (top).

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 Template:Mvar. Inscribing the isosceles triangle forms triangle CAD with angle θ opposite side Template:Mvar and with side Template:Mvar along Template:Mvar. A second triangle is formed with angle θ opposite side Template:Mvar and a side with length Template:Mvar along Template:Mvar, as shown in the figure. Thābit ibn Qurra stated that the sides of the three triangles were related as:[47][48]

a2+b2=c(r+s) .

As the angle θ approaches Template:Pi/2, the base of the isosceles triangle narrows, and lengths Template:Mvar and Template:Mvar overlap less and less. When Template:Math, ADB becomes a right triangle, Template:Math, and the original Pythagorean theorem is regained.

One proof observes that triangle ABC has the same angles as triangle CAD, but in opposite order. (The two triangles share the angle at vertex A, both contain the angle θ, and so also have the same third angle by the triangle postulate.) Consequently, ABC is similar to the reflection of CAD, the triangle DAC in the lower panel. Taking the ratio of sides opposite and adjacent to θ,

cb=br .

Likewise, for the reflection of the other triangle,

ca=as .

Clearing fractions and adding these two relations:

cs+cr=a2+b2 ,

the required result.

The theorem remains valid if the angle θ is obtuse so the lengths Template:Mvar and Template:Mvar are non-overlapping.

General triangles using parallelograms

Generalization for arbitrary triangles,
green Template:Math area
Construction for proof of parallelogram generalization

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' theorem, and was considered a generalization by Pappus of Alexandria in 4 AD[49][50]

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 Template:Mvar and height Template:Mvar. 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

Pythagoras' theorem in three dimensions relates the diagonal AD to the three sides.
A tetrahedron with outward facing right-angle corner

In terms of solid geometry, Pythagoras' theorem can be applied to three dimensions as follows. Consider the cuboid shown in the figure. The length of face diagonal AC is found from Pythagoras' theorem as:

AC2=AB2+BC2,

where these three sides form a right triangle. Using diagonal AC and the horizontal edge CD, the length of body diagonal AD then is found by a second application of Pythagoras' theorem as:

AD2=AC2+CD2,

or, doing it all in one step:

AD2=AB2+BC2+CD2.

This result is the three-dimensional expression for the magnitude of a vector v (the diagonal AD) in terms of its orthogonal components Template:Math (the three mutually perpendicular sides):

𝐯2=k=13𝐯k2.

This one-step formulation may be viewed as a generalization of Pythagoras' theorem to higher dimensions. However, this result is really just the repeated application of the original Pythagoras' 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 "Template:Mvar-dimensional Pythagorean theorem":[51]

Template:Blockquote

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' theorem applies. In a different wording:[52] Template:Blockquote

Inner product spaces

Vectors involved in the parallelogram law

The Pythagorean theorem can be generalized to inner product spaces,[53] which are generalizations of the familiar 2-dimensional and 3-dimensional 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.[54]

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.[55]

The concept of length is replaced by the concept of the normv‖ of a vector v, defined as:[56]

𝐯𝐯,𝐯.

In an inner-product space, the Pythagorean theorem states that for any two orthogonal vectors v and w we have

𝐯+𝐰2=𝐯2+𝐰2.

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:

𝐯+𝐰2=𝐯+𝐰, 𝐯+𝐰=𝐯, 𝐯+𝐰, 𝐰+𝐯, 𝐰+𝐰, 𝐯=𝐯2+𝐰2,

where 𝐯, 𝐰=𝐰, 𝐯=0 because of orthogonality.

A further generalization of the Pythagorean theorem in an inner product space to non-orthogonal vectors is the parallelogram law:[56]

2𝐯2+2𝐰2=𝐯+𝐰2+𝐯𝐰2 ,

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.[56]

Template:Anchor The Pythagorean identity can be extended to sums of more than two orthogonal vectors. If v1, v2, ..., vTemplate:Mvar are pairwise-orthogonal vectors in an inner-product space, then application of the Pythagorean theorem to successive pairs of these vectors (as described for 3-dimensions in the section on solid geometry) results in the equation[57]

k=1n𝐯k2=k=1n𝐯k2

Sets of m-dimensional objects in n-dimensional space

Another generalization of the Pythagorean theorem applies to Lebesgue-measurable sets of objects in any number of dimensions. Specifically, the square of the measure of an Template:Mvar-dimensional set of objects in one or more parallel Template:Mvar-dimensional flats in Template:Mvar-dimensional Euclidean space is equal to the sum of the squares of the measures of the orthogonal projections of the object(s) onto all Template:Mvar-dimensional coordinate subspaces.[58]

In mathematical terms:

μms2=i=1xμ𝟐mpi

where:

  • μm is a measure in Template:Mvar-dimensions (a length in one dimension, an area in two dimensions, a volume in three dimensions, etc.).
  • s is a set of one or more non-overlapping Template:Mvar-dimensional objects in one or more parallel Template:Mvar-dimensional flats in Template:Mvar-dimensional Euclidean space.
  • μms is the total measure (sum) of the set of Template:Mvar-dimensional objects.
  • p represents an Template:Mvar-dimensional projection of the original set onto an orthogonal coordinate subspace.
  • μmpi is the measure of the Template:Mvar-dimensional set projection onto Template:Mvar-dimensional coordinate subspace i. 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.
  • x is the number of orthogonal, Template:Mvar-dimensional coordinate subspaces in Template:Mvar-dimensional space (Template:Math) onto which the Template:Mvar-dimensional objects are projected Template:Math: x=(nm)=n!m!(nm)!

Non-Euclidean geometry

The Pythagorean theorem is derived from the axioms of Euclidean geometry, and in fact, were the Pythagorean theorem to fail for some right triangle, then the plane in which this triangle is contained cannot be Euclidean. More precisely, the Pythagorean theorem implies, and is implied by, Euclid's Parallel (Fifth) Postulate.[59][60] Thus, right triangles in a non-Euclidean geometry[61] do not satisfy the Pythagorean theorem. For example, in spherical geometry, all three sides of the right triangle (say Template:Mvar, Template:Mvar, and Template:Mvar) bounding an octant of the unit sphere have length equal to Template:Pi/2, and all its angles are right angles, which violates the Pythagorean theorem because a2+b2=2c2>c2.

Here two cases of non-Euclidean geometry are considered—spherical geometry and hyperbolic plane geometry; in each case, as in the Euclidean case for non-right 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 Template:Math. The sides are then related as follows: the sum of the areas of the circles with diameters Template:Mvar and Template:Mvar equals the area of the circle with diameter Template:Mvar.[62]

Spherical geometry

Spherical triangle

For any right triangle on a sphere of radius Template:Math (for example, if Template:Math in the figure is a right angle), with sides Template:Math the relation between the sides takes the form:[63]

coscR=cosaRcosbR.

This equation can be derived as a special case of the spherical law of cosines that applies to all spherical triangles:

coscR=cosaRcosbR+sinaRsinbRcosγ.

For infinitesimal triangles on the sphere (or equivalently, for finite spherical triangles on a sphere of infinite radius), the spherical relation between the sides of a right triangle reduces to the Euclidean form of the Pythagorean theorem. To see how, assume we have a spherical triangle of fixed side lengths Template:Math and Template:Mvar on a sphere with expanding radius Template:Math. As Template:Math approaches infinity the quantities Template:Math and Template:Math tend to zero and the spherical Pythagorean identity reduces to 1=1, so we must look at its asymptotic expansion.

The Maclaurin series for the cosine function can be written as cosx=112x2+O(x4) with the remainder term in big O notation. Letting x=c/R be a side of the triangle, and treating the expression as an asymptotic expansion in terms of Template:Mvar for a fixed Template:Mvar,

coscR=1c22R2+O(R4)

and likewise for Template:Math and Template:Math. Substituting the asymptotic expansion for each of the cosines into the spherical relation for a right triangle yields

1c22R2+O(R4)=(1a22R2+O(R4))(1b22R2+O(R4))=1a22R2b22R2+O(R4).

Subtracting 1 and then negating each side,

c22R2=a22R2+b22R2+O(R4).

Multiplying through by Template:Math the asymptotic expansion for Template:Mvar in terms of fixed Template:Math and variable Template:Mvar is

c2=a2+b2+O(R2).

The Euclidean Pythagorean relationship c2=a2+b2 is recovered in the limit, as the remainder vanishes when the radius Template:Mvar approaches infinity.

For practical computation in spherical trigonometry with small right triangles, cosines can be replaced with sines using the double-angle identity cos2θ=12sin2θ to avoid loss of significance. Then the spherical Pythagorean theorem can alternately be written as

sin2c2R=sin2a2R+sin2b2R2sin2a2Rsin2b2R.

Hyperbolic geometry

Hyperbolic triangle

In a hyperbolic space with uniform Gaussian curvature Template:Math, for a right triangle with legs Template:Mvar, Template:Mvar, and hypotenuse Template:Mvar, the relation between the sides takes the form:[64]

coshcR=coshaRcoshbR

where cosh is the hyperbolic cosine. This formula is a special form of the hyperbolic law of cosines that applies to all hyperbolic triangles:[65]

coshcR=coshaR coshbRsinhaR sinhbR cosγ ,

with γ the angle at the vertex opposite the side Template:Mvar.

By using the Maclaurin series for the hyperbolic cosine, Template:Math, it can be shown that as a hyperbolic triangle becomes very small (that is, as Template:Mvar, Template:Mvar, and Template:Mvar all approach zero), the hyperbolic relation for a right triangle approaches the form of Pythagoras' theorem.

For small right triangles Template:Math, the hyperbolic cosines can be eliminated to avoid loss of significance, giving

sinh2c2R=sinh2a2R+sinh2b2R+2sinh2a2Rsinh2b2R.

Very small triangles

For any uniform curvature Template:Mvar (positive, zero, or negative), in very small right triangles (|K|a2, |K|b2 << 1) with hypotenuse Template:Mvar, it can be shown that

c2=a2+b2K3a2b2K245a2b2(a2+b2)2K3945a2b2(a2b2)2+O(K4c10).

Differential geometry

Distance between infinitesimally separated points in Cartesian coordinates (top) and polar coordinates (bottom), as given by Pythagoras' theorem

The Pythagorean theorem applies to infinitesimal triangles seen in differential geometry. In three dimensional space, the distance between two infinitesimally separated points satisfies

ds2=dx2+dy2+dz2,

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:[66]

ds2=i,jngijdxidxj

which is called the metric tensor. (Sometimes, by abuse of language, the same term is applied to the set of coefficients Template:Math.) 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:

ds2=dr2+r2dθ2 .

History

The Plimpton 322 tablet records Pythagorean triples from Babylonian times.[67]

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. Historians of Mesopotamian mathematics have concluded that the Pythagorean rule was in widespread use during the Old Babylonian period (20th to 16th centuries BC), over a thousand years before Pythagoras was born.[68][69][70][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.

Written Template:C. 1800Template:NbspBC, the Egyptian Middle Kingdom 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 near Larsa also Template:C. 1800Template:NbspBC, contains many entries closely related to Pythagorean triples.[72]

In India, the Baudhayana Shulba Sutra, the dates of which are given variously as between the 8th and 5th century BC,[73] contains a list of Pythagorean triples and a statement of the Pythagorean theorem, both in the special case of the isosceles right triangle and in the general case, as does the Apastamba Shulba Sutra (Template:Circa).Template:Efn

Byzantine Neoplatonic philosopher and mathematician Proclus, writing in the fifth century AD, states two arithmetic rules, "one of them attributed to Plato, the other to Pythagoras",[74] for generating special Pythagorean triples. The rule attributed to Pythagoras (Template:Circa) starts from an odd number and produces a triple with leg and hypotenuse differing by one unit; the rule attributed to Plato (428/427 or 424/423 – 348/347 BC) starts from an even number and produces a triple with leg and hypotenuse differing by two units. 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.[75] 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.[76][77] Classicist Kurt von Fritz wrote, "Whether this formula is rightly attributed to Pythagoras personally ... one can safely assume that it belongs to the very oldest period of Pythagorean mathematics."[35] Around 300 BC, in Euclid's Elements, the oldest extant axiomatic proof of the theorem is presented.[78]

Geometric proof of the Pythagorean theorem from the Zhoubi Suanjing

With contents known much earlier, but in surviving texts dating from roughly the 1st century BC, the Chinese text Zhoubi Suanjing (周髀算经), (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" (勾股定理).[79][80] During the Han Dynasty (202 BC to 220 AD), Pythagorean triples appear in The Nine Chapters on the Mathematical Art,[81] together with a mention of right triangles.[82] Some believe the theorem arose first in China in the 11th century BC,[83] where it is alternatively known as the "Shang Gao theorem" (商高定理),[84] named after the Duke of Zhou's astronomer and mathematician, whose reasoning composed most of what was in the Zhoubi Suanjing.[85] Template:Clear

See also

Template:Portal Template:Div col

Template:Div col end

Notes and references

Notes

Template:Notelist

References

Template:Reflist

Works cited

Template:Refbegin

Template:Refend

Template:Commons category

Template:Authority control Template:Good article

  1. 1.0 1.1 Template:Cite book
  2. Benson, Donald. The Moment of Proof : Mathematical Epiphanies, pp. 172–173 (Oxford University Press, 1999).
  3. Template:Harvtxt, pp. 351–352
  4. Template:Cite encyclopedia, "It should now be clear that decisions about sources are crucial in addressing the question of whether Pythagoras was a mathematician and scientist. The view of Pythagoras's cosmos sketched in the first five paragraphs of this section, according to which he was neither a mathematician nor a scientist, remains the consensus."
  5. Template:Cite web
  6. Template:Cite web
  7. Template:Harv
  8. Template:Harv
  9. Template:Cite book
  10. See for example Pythagorean theorem by shear mapping Template:Webarchive, Saint Louis University website Java applet
  11. Template:Cite book
  12. Template:Cite web
  13. Template:Cite web See also a web page version using Java applets by David E. Joyce, Clark University.
  14. Template:Cite book This proof first appeared after a computer program was set to check Euclidean proofs.
  15. The proof by Pythagoras probably was not a general one, as the theory of proportions was developed only two centuries after Pythagoras; see Template:Harv
  16. Template:Cite web
  17. Template:Harv
  18. Template:Cite book
  19. Published in a weekly mathematics column: Template:Cite journal as noted in Template:Cite book and in A calendar of mathematical dates: April 1, 1876 Template:Webarchive by V. Frederick Rickey
  20. Template:Cite web
  21. Maor, Eli, The Pythagorean Theorem, Princeton University Press, 2007: pp. 106-107.
  22. Template:Cite journal
  23. Template:Cite web
  24. Template:Cite journal
  25. Template:Cite book
  26. Euclid's Elements, Book I, Proposition 48 From D.E. Joyce's web page at Clark University
  27. Casey, Stephen, "The converse of the theorem of Pythagoras", Mathematical Gazette 92, July 2008, 309–313.
  28. Mitchell, Douglas W., "Feedback on 92.47", Mathematical Gazette 93, March 2009, 156.
  29. Template:Cite book
  30. Template:Cite web
  31. Alexander Bogomolny, Pythagorean Theorem for the Reciprocals,https://www.cut-the-knot.org/pythagoras/PTForReciprocals.shtml
  32. Template:Cite book
  33. Template:Cite book
  34. Template:Harv; Hippasus was on a voyage at the time, and his fellows cast him overboard. See Template:Cite journal
  35. 35.0 35.1 Template:Cite journal
  36. Template:Cite book
  37. Template:Cite book, Exercises, page 116
  38. Template:Cite book
  39. Template:Cite journal
  40. Template:Cite book
  41. Template:Cite book
  42. Heath, T. L., A History of Greek Mathematics, Oxford University Press, 1921; reprinted by Dover, 1981.
  43. Euclid's Elements: Book VI, Proposition VI 31: "In right-angled 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."
  44. 44.0 44.1 Putz, John F. and Sipka, Timothy A. "On generalizing the Pythagorean theorem", The College Mathematics Journal 34 (4), September 2003, pp. 291–295.
  45. Template:Cite book
  46. Template:Cite book
  47. Template:Cite journal
  48. Template:Cite book
  49. For the details of such a construction, see Template:Cite book
  50. Claudi Alsina, Roger B. Nelsen: Charming Proofs: A Journey Into Elegant Mathematics. MAA, 2010, Template:Isbn, pp. 77–78 (Template:Google books)
  51. Template:Cite book
  52. For an extended discussion of this generalization, see, for example, Willie W. Wong Template:Webarchive 2002, A generalized n-dimensional Pythagorean theorem.
  53. Template:Cite book
  54. Template:Cite book
  55. Template:Cite book
  56. 56.0 56.1 56.2 Template:Cite book
  57. Template:Cite book
  58. Template:Cite journal
  59. Template:Cite book
  60. Template:Cite book
  61. Template:Cite book
  62. Template:Cite journal
  63. Template:Cite book
  64. Template:Cite book
  65. Template:Cite book
  66. Template:Cite book
  67. Template:Harvnb.
  68. Template:Harvnb: p. 36 "In other words it was known during the whole duration of Babylonian mathematics that the sum of the squares on the lengths of the sides of a right triangle equals the square of the length of the hypotenuse."
  69. Template:Cite journal: p. 306 "Although Plimpton 322 is a unique text of its kind, there are several other known texts testifying that the Pythagorean theorem was well known to the mathematicians of the Old Babylonian period."
  70. Template:Cite conference, p. 406, "To judge from this evidence alone it is therefore likely that the Pythagorean rule was discovered within the lay surveyors’ environment, possibly as a spin-off from the problem treated in Db2-146, somewhere between 2300 and 1825 BC." (Db2-146 is an Old Babylonian clay tablet from Eshnunna concerning the computation of the sides of a rectangle given its area and diagonal.)
  71. Template:Cite book: p. 109 "Many Old Babylonian mathematical practitioners … knew that the square on the diagonal of a right triangle had the same area as the sum of the squares on the length and width: that relationship is used in the worked solutions to word problems on cut-and-paste ‘algebra’ on seven different tablets, from Ešnuna, Sippar, Susa, and an unknown location in southern Babylonia."
  72. Template:Cite journal
  73. Template:Cite book
  74. Template:Cite book
  75. Template:Cite web
  76. Template:Harv: "Though this is the proposition universally associated by tradition with the name of Pythagoras, no really trustworthy evidence exists that it was actually discovered by him. The comparatively late writers who attribute it to him add the story that he sacrificed an ox to celebrate his discovery."
  77. An extensive discussion of the historical evidence is provided in Template:Harv page=351
  78. Template:Cite book
  79. Template:Cite book
  80. A rather extensive discussion of the origins of the various texts in the Zhou Bi is provided by Template:Cite book
  81. 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. Template:Cite book See particularly §3: Nine chapters on the mathematical art, pp. 71 ff.
  82. Template:Cite book
  83. In particular, Li Jimin; see Template:Cite book
  84. Template:Cite book
  85. Template:Cite book