 ## Online Encylopedia and Dictionary Research Site Online Encyclopedia Search    Online Encyclopedia Browse # Pythagorean theorem

In mathematics, the Pythagorean theorem or Pythagoras's theorem, is a relation in Euclidean geometry between the three sides of a right triangle. The theorem is named after and commonly attributed to the 6th century BC Greek philosopher and mathematician Pythagoras, although the facts of the theorem were known by Indian, Greek, Chinese and Babylonian mathematicians well before he lived.

 Contents

## The theorem

The Pythagorean theorem states:

The sum of the areas of the squares on the legs of a right triangle is equal to the area of the square on the hypotenuse.

A right triangle is a triangle with one right angle; the legs are the two sides that make up the right angle, and the hypotenuse is the third side opposite the right angle. In the picture below, a and b are the legs of a right triangle, and c is the hypotenuse: Pythagoras perceived the theorem in this geometric fashion, as a statement about areas of squares:

The sum of the areas of the blue and red squares is equal to the area of the purple square.

Using algebra, one can reformulate the theorem into its modern expression by noting that the area of a square is the square (second power) of the length of its side:

Given a right triangle with legs of lengths a and b and hypotenuse of length c, then a2 + b2 = c2.

## A visual proof

Perhaps this theorem has a greater variety of different known proofs than any other (the law of quadratic reciprocity may also be a contender for that distinction).

This illustration depicts one of them. In the right half of the picture, four copies of this triangle surround a large square. The pink diagonal square in the center is the square on the hypotenuse. Move the four triangles within the large square so that they are arranged as in the left half of the picture. Then the pink area not included within the four triangles makes up the squares on the legs. Consequently the sum of the areas of the squares on the legs equals the area of the square on the hypotenuse. Q.E.D.

NB: This proof is very simple, but it is not elementary, in the sense that it does not depend solely upon the most basic axioms and theorems of Euclidean geometry. In particular, while it is easy to give a formula for area of triangles and squares, it is not as easy to prove that the area of a square is the sum of areas of its pieces. In fact, proving the necessary properties is harder than proving the Pythagorean theorem itself. For this reason, axiomatic introductions to geometry usually employ another proof based on the similarity of triangles (see proof 6 in the external link).

There are many different proofs of the Pythagorean theorem; one was developed by United States President James Garfield. One of the proofs is based on Euler's formula in complex analysis. (See also the external links below for a sampling of the many different proofs of the Pythagorean theorem.)

## The converse

The converse of the Pythagorean theorem is also true:

For any three positive numbers a, b, and c such that a2 + b2 = c2, 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.

This converse also appears in Euclid's Elements. This can be proven using the law of cosines which is a generalization of the Pythagorean theorem applying to all (Euclidean) triangles, not just right-angled ones.

## Generalizations

If one erects similar figures (see Euclidean geometry) on the sides of a right triangle, then the sum of the areas of the two smaller ones equals the area of the larger one.
• The Pythagorean theorem stated in Cartesian coordinates is the formula for the distance between points in the plane -- if (x0, y0) and (x1, y1) are points in the plane, then the distance between them is given by $\sqrt{(x_1-x_0)^2 + (y_1-y_0)^2}.$ $\|\mathbf{v}+\mathbf{w}\|^2 = \|\mathbf{v}\|^2 + \|\mathbf{w}\|^2 + 2\,\mbox{Re}\,\langle\mathbf{v},\mathbf{w}\rangle$
In particular, ||v + w||2 = ||v||2 + ||w||2 if v and w are orthogonal, and these two statements are equivalent in any real inner product space. $\left\|\,\sum_{k=1}^{n}\mathbf{v}_k\,\right\|^2 = \sum_{k=1}^{n} \|\mathbf{v}_k\|^2$
The generalisation of this result to infinite-dimensional inner product spaces is known as Parseval's identity.
• The Pythagorean theorem also generalises to higher-dimensional simplexes. If a tetrahedron has a right angle corner (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 is called de Gua's theorem.
sgn(α + β - γ) = sgn(a2 + b2 - c2)
where α is the angle opposite to side a, β is the angle opposite to side b and γ is the angle opposite to side c.
This formula holds in all triangles, not just the right triangles. If γ is a right angle (γ equals π/2 radians or 90°), then sgn(α + β - γ) = 0 since the sum of the angles of a triangle is π radians (or 180°). Thus, a2 + b2 - c2 = 0.
In a triangle with three acute angles, α + β > γ holds. Therefore, a2 + b2 > c2 holds.

## The Pythagorean theorem in non-Euclidean geometry

The Pythagorean theorem is derived from the axioms of Euclidean geometry, and in fact, the Euclidean form of the Pythagorean theorem given above does not hold in non-Euclidean geometry. For example, in spherical geometry, all three sides of the right triangle bounding an octant of the unit sphere have length equal to π/2; this violates the Euclidean Pythagorean theorem because (π/2)2 + (π/2)2 ≠ (π/2)2.

This means that in non-Euclidean geometry, the Pythagorean theorem must necessarily take a different form from the Euclidean theorem. There are two cases to consider -- spherical geometry and hyperbolic plane geometry; in each case, as in the Euclidean case, the result follows from the appropriate law of cosines:

• For any right triangle on a sphere of radius R, the Pythagorean theorem takes the form $\cos \left(\frac{c}{R}\right)=\cos \left(\frac{a}{R}\right)\,\cos \left(\frac{b}{R}\right).$
By using the Maclaurin series for the cosine function, it can be shown that as the radius R approaches infinity, the spherical form of the Pythagorean theorem approaches the Euclidean form. $\cosh c=\cosh a\,\cosh b$
where cosh is the hyperbolic cosine. By using the Maclaurin series for this function, it can be shown that as a hyperbolic triangle becomes very small (i.e., as a, b, and c all approach zero), the hyperbolic form of the Pythagorean theorem approaches the Euclidean form.