Bézout's Identity — Definition, Formula & Examples
Bézout's Identity states that for any two integers and (not both zero), their greatest common divisor can be written as a linear combination for some integers and .
Let with . Then there exist integers such that . Moreover, is the smallest positive integer expressible in this form, and every integer of the form is a multiple of .
Key Formula
Where:
- = Integers, not both zero
- = Integer coefficients (Bézout coefficients)
- = Greatest common divisor of a and b
How It Works
To find the coefficients and , apply the Extended Euclidean Algorithm. First, run the standard Euclidean Algorithm to compute by repeated division. Then back-substitute each step to express the GCD as a combination of and . The coefficients and are not unique — if is one solution, then is also a solution for any integer , where .
Worked Example
Problem: Express gcd(48, 18) as a linear combination of 48 and 18.
Step 1: Apply the Euclidean Algorithm.
Step 2: The last nonzero remainder is the GCD.
Step 3: Back-substitute to express 6 as a combination of 48 and 18. From the second equation: 6 = 18 − 1·12. From the first equation: 12 = 48 − 2·18. Substitute:
Answer: , so the Bézout coefficients are and .
Why It Matters
Bézout's Identity is the foundation for proving that if a prime divides a product , then divides or divides — a key step toward the Fundamental Theorem of Arithmetic. It also underpins modular inverse computation, which is essential in RSA cryptography and solving linear congruences.
Common Mistakes
Mistake: Assuming the Bézout coefficients x and y are unique.
Correction: There are infinitely many pairs (x, y) satisfying the identity. The Extended Euclidean Algorithm finds one particular pair, and all others differ by multiples of b/d and a/d respectively.
