Skip to main content
Logo image

Section 3.1 Integer Equivalence Classes and Symmetries

Let us now investigate some mathematical structures that can be viewed as sets with single operations.

Subsection The Integers mod n

The integers mod n have become indispensable in the theory and applications of algebra. In mathematics they are used in cryptography, coding theory, and the detection of errors in identification codes.
We have already seen that two integers a and b are equivalent mod n if n divides ab. The integers mod n also partition Z into n different equivalence classes; we will denote the set of these equivalence classes by Zn. Consider the integers modulo 12 and the corresponding partition of the integers:
[0]={,12,0,12,24,},[1]={,11,1,13,25,},[11]={,1,11,23,35,}.
When no confusion can arise, we will use 0,1,,11 to indicate the equivalence classes [0],[1],,[11] respectively. We can do arithmetic on Zn. For two integers a and b, define addition modulo n to be (a+b)(modn); that is, the remainder when a+b is divided by n. Similarly, multiplication modulo n is defined as (ab)(modn), the remainder when ab is divided by n.

Example 3.1.

The following examples illustrate integer arithmetic modulo n:
7+41(mod5)731(mod5)3+50(mod8)357(mod8)3+47(mod12)340(mod12).
In particular, notice that it is possible that the product of two nonzero numbers modulo n can be equivalent to 0 modulo n.

Example 3.2.

Most, but not all, of the usual laws of arithmetic hold for addition and multiplication in Zn. For instance, it is not necessarily true that there is a multiplicative inverse. Consider the multiplication table for Z8 in Figure 3.3. Notice that 2, 4, and 6 do not have multiplicative inverses; that is, for n=2, 4, or 6, there is no integer k such that kn1(mod8).
01234567000000000101234567202460246303614725404040404505274163606420642707654321
Figure 3.3. Multiplication table for Z8

Proof.

We will prove (1) and (6) and leave the remaining properties to be proven in the exercises.
(1) Addition and multiplication are commutative modulo n since the remainder of a+b divided by n is the same as the remainder of b+a divided by n.
(6) Suppose that gcd(a,n)=1. Then there exist integers r and s such that ar+ns=1. Since ns=1ar, it must be the case that ar1(modn). Letting b be the equivalence class of r, ab1(modn).
Conversely, suppose that there exists an integer b such that ab1(modn). Then n divides ab1, so there is an integer k such that abnk=1. Let d=gcd(a,n). Since d divides abnk, d must also divide 1; hence, d=1.

Subsection Symmetries

The four symmetries ot a rectangle: (1) sending rectangle ABCD to rectangle ABCD, (2) sending rectangle ABCD to rectangle CDAB, (3) sending rectangle ABCD to rectangle BADC, and (4) sending rectangle ABCD to rectangle DCBA.
Figure 3.5. Rigid motions of a rectangle
A symmetry of a geometric figure is a rearrangement of the figure preserving the arrangement of its sides and vertices as well as its distances and angles. A map from the plane to itself preserving the symmetry of an object is called a rigid motion. For example, if we look at the rectangle in Figure 3.5, it is easy to see that a rotation of 180 or 360 returns a rectangle in the plane with the same orientation as the original rectangle and the same relationship among the vertices. A reflection of the rectangle across either the vertical axis or the horizontal axis can also be seen to be a symmetry. However, a 90 rotation in either direction cannot be a symmetry unless the rectangle is a square.
The six symmetries of a triangle: (1) triangle ABC to triangle ABC, (2) ABC to CAB, (3) ABC to BCA, (4) ABC to ACB, (5) ABC to CBA, and (6) ABC to BAC
Figure 3.6. Symmetries of a triangle
Let us find the symmetries of the equilateral triangle ABC. To find a symmetry of ABC, we must first examine the permutations of the vertices A, B, and C and then ask if a permutation extends to a symmetry of the triangle. Recall that a permutation of a set S is a one-to-one and onto map π:SS. The three vertices have 3!=6 permutations, so the triangle has at most six symmetries. To see that there are six permutations, observe there are three different possibilities for the first vertex, and two for the second, and the remaining vertex is determined by the placement of the first two. So we have 321=3!=6 different arrangements. To denote the permutation of the vertices of an equilateral triangle that sends A to B, B to C, and C to A, we write the array
(ABCBCA).
Notice that this particular permutation corresponds to the rigid motion of rotating the triangle by 120 in a clockwise direction. In fact, every permutation gives rise to a symmetry of the triangle. All of these symmetries are shown in Figure 3.6.
A natural question to ask is what happens if one motion of the triangle ABC is followed by another. Which symmetry is μ1ρ1; that is, what happens when we do the permutation ρ1 and then the permutation μ1? Remember that we are composing functions here. Although we usually multiply left to right, we compose functions right to left. We have
(μ1ρ1)(A)=μ1(ρ1(A))=μ1(B)=C(μ1ρ1)(B)=μ1(ρ1(B))=μ1(C)=B(μ1ρ1)(C)=μ1(ρ1(C))=μ1(A)=A.
This is the same symmetry as μ2. Suppose we do these motions in the opposite order, ρ1 then μ1. It is easy to determine that this is the same as the symmetry μ3; hence, ρ1μ1μ1ρ1. A multiplication table for the symmetries of an equilateral triangle ABC is given in Figure 3.7.
Notice that in the multiplication table for the symmetries of an equilateral triangle, for every motion of the triangle α there is another motion β such that αβ=id; that is, for every motion there is another motion that takes the triangle back to its original orientation.
idρ1ρ2μ1μ2μ3ididρ1ρ2μ1μ2μ3ρ1ρ1ρ2idμ3μ1μ2ρ2ρ2idρ1μ2μ3μ1μ1μ1μ2μ3idρ1ρ2μ2μ2μ3μ1ρ2idρ1μ3μ3μ1μ2ρ1ρ2id
Figure 3.7. Symmetries of an equilateral triangle