Let , and write , with positive integers . If an integer divided both and , then would divide both and , contradicting the maximality of their greatest common divisor . Thus . Equivalently, Bézout's identity for can be divided by to express as an integer combination of .
Let , , and . The preceding part gives . The integer congruence on the left is equivalent toBy Euclid's lemma, coprimality of and makes this equivalent to . The reverse implication is also immediate by multiplying a divisibility relation by . ThereforeThis is cancellation of a common factor in a congruence. The printed equality sign in the right-hand expression is interpreted as equality of residue classes, hence the displayed integer congruence. Ordinary equality of the integers would be false: the following example has .
Take . These are four distinct positive integers and . Their products are and , whose difference is , so . Here the correct reduced modulus is , and indeed . The example illustrates why cancelling a noninvertible factor may change the modulus in modular arithmetic.
Articles by others on the same topic
There are currently no matching articles.