Proof of the Extended Euclidean Theorem
Theorem 1
For two integers , there always exists an integer solution for .
Description
This theorem is also known as the Linear Congruence Theorem as it implies that can be expressed as a linear equation involving and .
Although its appearance seems somewhat complex and it only discusses existence, it is surprisingly widely used. It might not provide a specific solution , but the fact that we can start from the relationship between and is a significant gain. It is incredibly useful especially when we don’t know what and are.
Proof
Elementary Proof
Strategy: As the name suggests, the Extended Euclidean Theorem repeats the Euclidean algorithm. Hence, it is also referred to as the Extended Euclidean Algorithm.
Euclidean algorithm: For , let’s define and that satisfy the recurrence relation . For that satisfies ,
According to the Euclidean algorithm, is In other words, it can be represented as a linear combination of and . Meanwhile, and substituting the above yields meaning can also be represented as a linear combination of and . Repeating this times, can be expressed for some as Since the Euclidean algorithm ensures , exists as a solution for .
■
Algebraic Proof
The ring of integers is a PID, hence a Bezout domain.
■
See Also
Generalization: Bezout Domain
As pointed out in the algebraic proof, if a domain is a Bezout domain, then the Extended Euclidean Theorem applies no matter where that domain is.
Silverman. (2012). A Friendly Introduction to Number Theory (4th Edition): p42. ↩︎