Bézout's Identity connects divisibility, greatest common divisors, and integer linear combinations. This cheat sheet helps students find integers that solve equations of the form . The Extended Euclidean Algorithm gives a reliable way to compute both the greatest common divisor and the needed coefficients.
These tools are especially important in number theory, modular arithmetic, and cryptography.
The core idea is that for any integers and , not both zero, there exist integers and such that . The Euclidean Algorithm finds by repeated division with remainders. The extended version works backward through those divisions to express the gcd as a linear combination of the original numbers.
If , Bézout's Identity also gives the modular inverse of modulo .
Key Facts
- Bézout's Identity states that for integers and , not both zero, there exist integers and such that .
- The Euclidean Algorithm uses repeated division: , where , then replaces with .
- The last nonzero remainder in the Euclidean Algorithm is .
- The Extended Euclidean Algorithm rewrites remainders backward until is expressed as .
- If , then and are relatively prime and there exist integers and such that .
- A linear Diophantine equation has integer solutions exactly when divides .
- If , then multiplying by gives one solution to when .
- If , then is a modular inverse of modulo , so .
Vocabulary
- Greatest common divisor
- The greatest common divisor is the largest positive integer that divides both and .
- Bézout coefficients
- Bézout coefficients are integers and that satisfy .
- Euclidean Algorithm
- The Euclidean Algorithm is a repeated division process used to find efficiently.
- Extended Euclidean Algorithm
- The Extended Euclidean Algorithm finds both and integers and such that .
- Relatively prime
- Two integers and are relatively prime when .
- Modular inverse
- A modular inverse of modulo is a number such that .
Common Mistakes to Avoid
- Stopping before the last nonzero remainder is a mistake because is the last nonzero remainder, not the final remainder .
- Using quotient signs incorrectly during back substitution is wrong because each equation must be rearranged exactly, such as .
- Assuming Bézout coefficients are unique is wrong because if one pair works, infinitely many related pairs can also work.
- Claiming every equation has integer solutions is wrong because solutions exist only when .
- Forgetting to reduce a negative modular inverse is a mistake because an answer like should often be written as .
Practice Questions
- 1 Use the Extended Euclidean Algorithm to find integers and such that .
- 2 Find the modular inverse of modulo using Bézout's Identity.
- 3 Determine whether the equation has integer solutions, and if it does, find one solution.
- 4 Explain why has a modular inverse modulo exactly when .