CURIUM
How can you make 6 from groups of 12 and 42?

Bachet-Bézout theorem

How can you make 6 from groups of 12 and 42?

By subtracting three groups of 12 from one group of 42: 42 − 3 × 12 = 6. The Bachet-Bézout theorem guarantees this is possible whenever you target the GCD: 6 is the greatest common divisor of 12 and 42, so there exist two integers x and y such that 12x + 42y = 6, here x = −3 and y = 1.

MathsNumber theory

The three levels

Beginner

How can you make 6 from groups of 12 and 42?

By subtracting three groups of 12 from one group of 42: 42 − 3 × 12 = 6. The Bachet-Bézout theorem guarantees this is possible whenever you target the GCD: 6 is the greatest common divisor of 12 and 42, so there exist two integers x and y such that 12x + 42y = 6, here x = −3 and y = 1.

Intermediate

How many integer pairs satisfy 12x + 42y = 6?

Infinitely many. Starting from the solution (−3, 1), all pairs (−3 − 7k, 1 + 2k), for any integer k, work: 7 is the quotient 42/6 and 2 is the quotient 12/6. Thus (4, −1) and (−10, 3) are also solutions. Proofs provide only one, via the extended Euclidean algorithm for instance, but it generates infinitely many others.

Expert

What did Bézout prove in the theorem named after him?

Its generalisation to polynomials, in the 18th century. For integers, the first known proof is by Claude-Gaspard Bachet de Méziriac, in the second edition of his Problèmes plaisans et délectables, published in 1624, using the Euclidean algorithm. Bourbaki later stated it over any principal ring, under the single name Bézout's theorem.