Get AI summaries of any video or article — Sign up free
Algebra 8 | Integers Modulo m ⤳ Abelian Group thumbnail

Algebra 8 | Integers Modulo m ⤳ Abelian Group

5 min read

Based on The Bright Side of Mathematics's video on YouTube. If you like this content, support the original creators by watching, liking and subscribing to their content.

TL;DR

Two integers X and Y are equivalent modulo m exactly when X − Y is divisible by m.

Briefing

Integers modulo m form a finite, commutative group under addition, with exactly m elements—each element is an equivalence class of integers that differ by a multiple of m. The construction starts with the clock-style rule: two integers X and Y are treated as the same whenever X − Y is divisible by m. That relation partitions all integers into m distinct “boxes,” typically written as Z/mZ (or equivalently Z_M), whose elements are denoted by brackets like [0], [1], …, [m−1]. Even though each equivalence class contains infinitely many integers (including negative ones), the quotient set has only m different classes, matching the idea of m positions on a clock.

Once those boxes are defined, addition is performed by adding representatives and then taking the resulting equivalence class. Concretely, if K and L represent two classes, their sum in Z/mZ is defined as the class of K + L. A key technical point is that this operation is well defined: choosing a different representative from the same equivalence class does not change the resulting class. With that in place, the group structure follows. The class [0] acts as the identity element because adding any class to [0] leaves it unchanged. Every class has an inverse: the inverse of [K] is [−K], since adding K and −K lands in a multiple of m, i.e., the zero class. Because addition of integers is commutative, the induced addition on Z/mZ is also commutative, so the structure is an abelian group.

The transcript then grounds the abstract definition with small moduli. For m = 2, there are two equivalence classes: [0] (all even integers) and [1] (all odd integers). The addition table reflects “parity arithmetic”: 1 + 1 becomes 2, which is equivalent to 0 modulo 2, so [1] added to itself returns the identity. For m = 6, there are six classes [0] through [5]. The addition table is built by reducing sums back into the correct class modulo 6. Along the diagonal, adding an element to itself repeatedly increases by 2, and whenever a sum hits 6 it wraps around to 0; similarly, 8 wraps to 2, and so on. The inverse behavior is visible directly: the inverse of [5] is [1] because 5 + 1 = 6, a multiple of 6, which corresponds to [0].

Finally, the discussion notes a natural next step: multiplication can also be defined on Z/mZ, but whether it produces a group under multiplication is not automatic and requires additional conditions—left for a later lesson. In short, modular addition reliably yields a finite abelian group of order m, while modular multiplication raises subtler questions.

Cornell Notes

Integers modulo m are built by grouping all integers that differ by a multiple of m into equivalence classes. There are exactly m distinct classes, usually written as Z/mZ with representatives [0] through [m−1]. Addition is defined by adding representatives and then reducing modulo m; this operation is well defined because different representatives of the same class always lead to the same result class. The class [0] serves as the identity, and each class [K] has an inverse [−K], making Z/mZ a finite abelian group of order m. Examples with m = 2 and m = 6 show how the addition tables work and how inverses appear as “wrap-around” sums to a multiple of m.

How does the equivalence relation for integers modulo m work, and why does it produce only m distinct elements?

Two integers X and Y are equivalent modulo m exactly when X − Y is a multiple of m, meaning X − Y = q·m for some integer q. This partitions all integers into equivalence classes. Although each class contains infinitely many integers (e.g., [2] includes 2, 14, 26, 38, and also negative representatives like −10, −22, …), there are only m different classes because every integer reduces to one of the remainders 0, 1, …, m−1.

Why is addition on Z/mZ well defined even though different representatives can represent the same class?

Addition is defined by taking representatives: [K] + [L] := [K + L]. The well-definedness issue is that K and L might be replaced by other integers in the same equivalence classes. If K′ is equivalent to K and L′ is equivalent to L, then K′ + L′ differs from K + L by a multiple of m, so [K′ + L′] = [K + L]. That guarantees the result depends only on the classes, not the chosen representatives.

What are the identity element and inverses in the abelian group Z/mZ?

The identity element is [0], because adding any class [K] to [0] gives [K + 0] = [K]. The inverse of [K] is [−K], since K + (−K) = 0, which is certainly a multiple of m, so [K] + [−K] = [0]. In the m = 6 example, [5] + [1] = [6] = [0], so [1] is the inverse of [5].

How does the addition table for m = 2 reflect modular arithmetic?

For m = 2, there are two classes: [0] (even integers) and [1] (odd integers). The table has four outcomes. The crucial wrap-around is 1 + 1 = 2, and 2 ≡ 0 (mod 2), so [1] + [1] = [0]. This also means [1] is its own inverse.

What patterns appear in the m = 6 addition table, and how do wrap-arounds determine results?

Sums are reduced modulo 6. Along the diagonal, adding an element to itself increases by steps consistent with 2K, and whenever a sum hits 6 it wraps to 0. For instance, 3 + 3 = 6 corresponds to [0], and 4 + 4 = 8 corresponds to [2] because 8 − 6 = 2. The table’s symmetry about the diagonal comes from commutativity: [a] + [b] = [b] + [a].

Review Questions

  1. For a given modulus m, how many equivalence classes are in Z/mZ, and what are their standard representatives?
  2. Explain why the definition [K] + [L] := [K + L] does not depend on which representatives K and L are chosen from.
  3. In Z/mZ, what is the inverse of the class [K], and how can you verify it using modular arithmetic?

Key Points

  1. 1

    Two integers X and Y are equivalent modulo m exactly when X − Y is divisible by m.

  2. 2

    The quotient set Z/mZ consists of exactly m equivalence classes, represented by [0], [1], …, [m−1].

  3. 3

    Addition on Z/mZ is defined by adding representatives and then taking the resulting equivalence class.

  4. 4

    Modular addition is well defined: changing representatives within the same class does not change the sum class.

  5. 5

    The identity element in Z/mZ is [0], and the inverse of [K] is [−K].

  6. 6

    With these properties, Z/mZ under addition forms a finite abelian group of order m.

  7. 7

    Multiplication can be defined on Z/mZ, but whether it forms a group requires extra conditions beyond addition.

Highlights

Equivalence classes modulo m turn infinitely many integers into exactly m distinct “boxes,” matching clock arithmetic.
The group law works because addition is well defined: representative changes only shift sums by multiples of m.
Inverses are immediate: [K] + [−K] always lands in [0].
For m = 6, 5 and 1 are inverses since 5 + 1 = 6 ≡ 0 (mod 6).

Topics