Statement

The Pythagorean theorem states that in every right triangle, the square of the hypotenuse is equal to the sum of the squares of the two legs:

\[a^{2} + b^{2} = c^{2}\]

In this relation $c$ denotes the hypotenuse, while $a$ and $b$ denote the two legs. The theorem applies exclusively to right triangles, that is, triangles containing exactly one angle of $90^{\circ}$.

From the identity $a^{2} + b^{2} = c^{2}$ one can isolate each side in turn, obtaining the hypotenuse as a function of the two legs and each leg as a function of the hypotenuse and the other leg:

\[c & = \sqrt{a^{2} + b^{2}} \\ a & = \sqrt{c^{2} - b^{2}} \\ b & = \sqrt{c^{2} - a^{2}}\]

The square roots are taken with the positive sign because $a$, $b$ and $c$ represent lengths.The converse of the theorem also holds. If in a triangle with sides $a$, $b$ and $c$ the relation

\[a^{2} + b^{2} = c^{2}\]

is satisfied, then the triangle is right-angled, and the right angle is the one opposite the side $c$.

Applications

The Pythagorean theorem can be applied whenever a figure admits a decomposition that isolates a right triangle. This makes it possible to determine the length of sides, diagonals or other segments belonging to the original figure. A first illustration is provided by the square shown below:

Drawing the diagonal $\overset{―}{D B}$ partitions the square into two congruent right triangles, each having the diagonal as hypotenuse and two sides of the square as legs. The Pythagorean theorem applied to either of them gives:

\[(\overset{―}{D B})^{2} & = (\overset{―}{A B})^{2} + (\overset{―}{A D})^{2} \\ \overset{―}{D B} & = \sqrt{(\overset{―}{A B})^{2} + (\overset{―}{A D})^{2}}\]

The same principle extends to isosceles and equilateral triangles, which can be split into two right triangles by drawing the height from the apex to the base.

Denoting by $H$ the foot of the height drawn from $C$ to the base $A B$, the right triangle $C H B$ has hypotenuse $\overset{―}{C B}$ and legs $\overset{―}{C H}$ and $\overset{―}{H B}$. Applying the theorem and its inverse forms yields:

\[\overset{―}{C B} & = \sqrt{(\overset{―}{C H})^{2} + (\overset{―}{H B})^{2}} \\ \overset{―}{C H} & = \sqrt{(\overset{―}{C B})^{2} - (\overset{―}{H B})^{2}} \\ \overset{―}{H B} & = \sqrt{(\overset{―}{C B})^{2} - (\overset{―}{C H})^{2}}\]

The same principle extends to any figure that can be partitioned into right triangles, such as rectangles, rhombi or portions of trapezoids.

Pythagorean triples

A Pythagorean triple is a set of three positive integers $( a , b , c )$ satisfying the relation:

\[a^{2} + b^{2} = c^{2}\]

The smallest examples are the following:

\[& ( 3 , 4 , 5 ) \\ & ( 5 , 12 , 13 ) \\ & ( 7 , 24 , 25 ) \\ & ( 8 , 15 , 17 )\]

A Pythagorean triple whose three entries are pairwise coprime is called a primitive triple. Every non-primitive triple is obtained by multiplying a primitive one by a positive integer, so that $( 6 , 8 , 10 )$ and $( 9 , 12 , 15 )$ are both non-primitive triples derived from $( 3 , 4 , 5 )$. All primitive triples are therefore Pythagorean, but the converse does not hold.

Pythagorean identity on the unit circle

On the unit circle, the sine and cosine of an angle $\theta$ admit a direct geometric interpretation. Dropping a perpendicular from the point on the circle identified by $\theta$ to the horizontal axis produces a right triangle whose hypotenuse is the radius, whose horizontal leg has length $cos ⁡ \theta$ and whose vertical leg has length $sin ⁡ \theta$.

Applying the Pythagorean theorem to this triangle, with legs of length $sin ⁡ \theta$ and $cos ⁡ \theta$ and hypotenuse of length $1$, yields the fundamental trigonometric identity:

\[sin^{2} ⁡ \theta + cos^{2} ⁡ \theta = 1\]

The identity therefore holds for every real $\theta$ and is simply the Pythagorean theorem expressed in trigonometric form. The law of cosines generalises this relation to arbitrary triangles, reducing to the Pythagorean theorem when the angle between the two known sides is right, while the law of sines expresses a different link between sides and opposite angles and is used to solve triangles in which a side-angle pair is known.

Modulus of a complex number

A complex number can be written in the algebraic form:

\[z = a + b i\]
The real part $a$ and the imaginary part $b$ identify the point of coordinates $( a , b )$ in the complex plane. The modulus $ z $ is defined as the distance from the origin to this point, and since that distance is the hypotenuse of the right triangle with legs $a$ and $b$, the Pythagorean theorem gives:
\[| z | = \sqrt{a^{2} + b^{2}}\]

The modulus of a complex number is therefore a direct geometric application of the Pythagorean theorem in the Cartesian plane.

This construction holds for every complex number $z = a + b i$. Its modulus is always the distance from the origin to the point $( a , b )$, computed through the Pythagorean theorem applied to the right triangle with legs $a$ and $b$.

non-euclidean casesvector interpretationhigher dimensionseuclidean normcomplex modulussin² + cos² = 1unit circle identityfigure partitionpythagorean triplesdistance computationgeometric decompositiontriangle heightsquare diagonallength interpretationeuclidean contextconverse theorema² + b² = c²legs and hypotenuseright triangleextensionsapplicationsstatement