Bézout's identity
In number theory, Bézout's identity, named after Étienne Bézout, is a linear diophantine equation. It states that if a and b are integers with greatest common divisor d, then there exist integers x and y (called Bézout numbers or Bézout coefficients) such that
- ax + by = d.
Numbers x and y as above can be determined with the extended Euclidean algorithm, but they are not uniquely determined: for every a, b, x, y, and k. So, letting k range over the integers and setting , , we have .
For example, the greatest common divisor of 12 and 42 is 6, and we can write
- 12x + 42y = 6.
with some of the solutions being
- (-3)·12 + 1·42 = 6
and also
- 4·12 + (-1)·42 = 6.
Bézout's identity can also be extended to linear combinations of more than two numbers. For any numbers with greatest common divisor g there exist integers such that
The greatest common divisor of is in fact the smallest positive integer that can be written as a linear combination of .
Bézout's identity works not only in the ring of integers, but also in any other principal ideal domain (PID). That is, if R is a PID, and a and b are elements of R, and d is a greatest common divisor of a and b, then there are elements x and y in R such that ax + by = d. The reason: the ideal Ra+Rb is principal and indeed is equal to Rd. An integral domain in which Bézout's identity holds is called a Bézout domain.
To confirm: In some credible books, this identity has been attributed to French mathematician Claude Gaspard Bachet de Méziriac.
Proof
Suppose that and where and . Now take the numbers . It is easy to show that
- There doesn't exist any , so that
- There aren't any two numbers like so that
From these two we conclude that
Therefore, there exists an integer like so that So there exists an integer so that and by multiplying this equation by we have
External links
- Online calculator of Bézout's identity.