Pythagorean Triples

Summary: Integer triples with ; Euler derives the general parametric formula as a byproduct of rationalizing .

Sources: chapter-2.0.4

Last updated: 2026-05-05


Definition

A Pythagorean triple is a set of three positive integers satisfying

Small examples: , , , .

Euler’s Derivation (§43–44)

Euler arrives at the general formula by solving: for which rational is a perfect square? Setting and writing , he finds

Substituting back:

which, after multiplying through by , gives

Taking , , with any integers () produces a Pythagorean triple. (source: chapter-2.0.4, §44)

Selected Triples from the Formula

21435
3212513
4181517
4324725
52202129

Two Corollaries (§44)

Because , the same formula also solves:

  • Sum of two squares is a square: , , .
  • Difference of two squares is a square: , , .

Iterated for Fermat’s

The same parametrization, applied twice, drives Euler’s infinite-descent proof in ch2.0.13-impossibility-biquadrate-sums. Starting from a hypothetical solution, treat as a Pythagorean triple, then re-parametrize the inner Pythagorean structure to produce a strictly smaller fourth-power equation . See fermats-last-theorem-n4.

Lagrange’s Chord-Method Generalization

The same parametric pattern Euler discovers for is, in Lagrange’s hands (Add. V Art. 57), the general chord-method parametrization for any rational quadratic. Given one rational point on the conic :

For with seed , this reduces to — equivalent (after rescaling) to Euler’s . See add5-rational-quadratic-surds for the general form.