Bézout's Theorem — Definition, Formula & Examples
Bézout's Theorem (also called Bézout's Identity) is the guarantee that for any two integers and , you can always find integers and such that . The integers and are called Bézout coefficients, and they can be found using the Extended Euclidean Algorithm.
Let , not both zero, and let . Then there exist integers such that . Moreover, is the smallest positive integer expressible as an integer linear combination of and , and every integer linear combination is a multiple of .
Key Formula
Where:
- = Given integers (not both zero)
- = Bézout coefficients (integers guaranteed to exist)
- = Greatest common divisor of a and b
How It Works
To find the Bézout coefficients, apply the Extended Euclidean Algorithm: run the standard Euclidean Algorithm to compute , then back-substitute to express the gcd as a linear combination of and . The coefficients are not unique — if is one solution, then is also a solution for any integer . A key consequence is that has integer solutions if and only if divides .
Worked Example
Problem: Find integers x and y such that 36x + 15y = gcd(36, 15).
Step 1: Apply the Euclidean Algorithm to find gcd(36, 15).
Step 2: The last nonzero remainder is 3, so gcd(36, 15) = 3. Now back-substitute to express 3 as a combination of 36 and 15.
Step 3: Replace 6 with (36 − 2·15) from the first equation.
Step 4: Rewrite in the form 36x + 15y = 3.
Answer: x = −2, y = 5, since 36(−2) + 15(5) = −72 + 75 = 3 = gcd(36, 15).
Why It Matters
Bézout's Theorem is the foundation for proving that modular inverses exist: has an inverse modulo precisely when . This makes it essential in cryptography (RSA key generation), solving linear Diophantine equations, and proofs throughout number theory courses.
Common Mistakes
Mistake: Assuming that ax + by = c always has integer solutions for any integer c.
Correction: Integer solutions exist only when gcd(a, b) divides c. For example, 4x + 6y = 5 has no integer solutions because gcd(4, 6) = 2 does not divide 5.
