II. Linear congruences:
It is obvious that every integer is congruent (mod m) to exactly one of the numbers:
0, 1, 2, 3, 4, …, (m-1). ——- Note 1.
For, we can express the integer in the form , where
, and then, it is congruent to
. Obviously, there are other sets of numbers, besides the set in Note 1, which have the same property, e.g., any integer is congruent (mod 5) to exactly one of the numbers 0, 1, -1, 2, -2. Any such set of numbers is said to constitute a complete set of residues to the modulus m. Another way of expressing the definition is to say that a complete set of residues (mod m) is any set of m numbers, no two of which are congruent to one another.
A linear congruence, by analogy with a linear equation in elementary algebra, means a congruence of the form
—- Note 2.
It is an important fact that any such congruence is soluble for x, provided that a is relatively prime to m. The simplest way of proving this is to observe that if x runs through the numbers of a complete set of residues, then the corresponding values of ax also constitute a complete set of residues. For there are m of these numbers, and no two of them are congruent, since would involve
, by the cancellation of the factor a (permissible since a is relatively prime to m). Since the numbers ax form a complete set of residues, there will be exactly one of them congruent to the given number b.
As an example, consider the congruence ,
If we give x the values 0, 1, 2, …, 10 (a complete set of residues to the modulus 11), 3x takes the values 0, 3, 6, …30. These form another complete set of residues (mod 11), and in fact, they are congruent respectively to
0, 3, 6, 9, 1, 4, 7, 10, 2, 5, 8.
The value 5 occurs when , and so
is a solution of the congruence. Naturally, any number congruent to 9 (mod 11) will also satisfy the congruence; but, nevertheless, we say that the congruence has one solution, meaning that there is one solution in any complete set of residues. In other words, all solutions are mutually congruent. The same applies to the general congruence (Note 2); such a congruence (provided that a is relatively prime to m) is precisely equivalent to the congruence
, where
is one particular solution.
There is another way of looking at the linear congruence (in note 2). It is equivalent to the equation , or
. It can be proved that such a linear diophantine equation is soluble for x and y if a and m are relatively prime, and that fact provides another proof of the existence of a solution of linear congruence. But, the proof given above is simpler, and illustrates the advant4ages gained by using the congruence notation.
The fact that the congruence (in note 2) has a unique solution, in the sense explained above, suggests that one may use this solution as an interpretation for the fraction to the modulus m. When we do this, we obtain an arithmetic (mod m) in which addition, subtraction and multiplication are always possible, and division is also possible if the divisor is relatively prime to m. In this arithmetic there are only a finite number of essentially distinct numbers, namely m of them, since two numbers which are mutually congruent (mod m) are treated as the same. If we take the modulus m to be 11, as an illustration, a few examples of “arithmetic mod 11” are :
;
;
.
Any relation connecting integers or fractions in the ordinary sense remains true when interpreted in this arithmetic. For example, the relation
becomes (mod 11)
,
because the solution of is
, that of
is
, and that of
is
. Naturally the interpretation given to a fraction depends on the modulus, for instance
, but
. The only limitation on such calculations is that just mentioned, namely that the denominator of any fraction must be relatively prime to the modulus. If the modulus is a prime (as in the above examples with 11), the limitation takes the very simple form that the denominator must not be congruent to 0 (mod m), and this is exactly analogous to the limitation in ordinary arithmetic that the denominator must not be equal to 0. We will say more about this later.
Reference: The Higher Arithmetic, H. Davenport, 8th edition.
Shared for my students/readers who love to read expository articles….
Regards,
Nalin Pithwa.