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

Algebra 8 | Integers Modulo m ⤳ Abelian Group [dark version]

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

Integers modulo m are equivalence classes where X ≡ Y (mod m) exactly when X − Y is a multiple of m.

Briefing

Integers modulo m form a finite, commutative group under addition, with exactly m elements—each element being an equivalence class of integers that differ by a multiple of m. The key move is to treat numbers like they “wrap around” the way hours on a clock do: for modulus 12, 13 behaves like 1 and 24 behaves like 0 because both differences are integer multiples of 12. Formally, two integers X and Y are equivalent (mod m) precisely when X − Y = Q·m for some integer Q. This equivalence relation partitions all integers into m distinct classes, typically written as Z/mZ or Z_ided_by_m, with representatives like [0], [1], …, [m−1].

Once those equivalence classes are set up, addition can be defined on the classes themselves: the sum of [K] and [L] is defined as [K + L]. The crucial technical requirement is that this operation is well defined—choosing different representatives from the same equivalence classes must not change the resulting class. That property holds because if K and K′ differ by a multiple of m, and L and L′ differ by a multiple of m, then (K + L) and (K′ + L′) also differ by a multiple of m, so they land in the same equivalence class. With addition in place, [0] acts as the identity element since [K] + [0] = [K]. Every class has an inverse: the inverse of [K] is [−K], because [K] + [−K] = [0].

These facts together guarantee a group structure: closure comes from the definition, the identity is [0], inverses exist for every element, and associativity follows from associativity of integer addition. Commutativity also carries over directly, making the group abelian. The group’s order is exactly m, matching the number of equivalence classes.

Concrete examples make the structure tangible. For m = 2, there are two classes: [0] (even integers) and [1] (odd integers). Adding them follows the parity rules: [1] + [1] = [2] = [0], so [1] is its own inverse and the addition table closes with only four outcomes. For m = 6, there are six classes [0] through [5]. The addition table reflects wrap-around modulo 6: for instance, 3 + 3 = 6 lands back at [0], and 4 + 4 = 8 lands at [2] because 8 ≡ 2 (mod 6). The inverse of [5] is [1] since 5 + 1 = 6 ≡ 0 (mod 6).

Although multiplication can also be defined on Z/mZ, it is not automatically guaranteed to produce a group under multiplication—whether it forms a group depends on additional conditions. That uncertainty is flagged as a topic for a later installment, but the additive story is complete: Z/mZ is always a finite abelian group of order m under addition modulo m.

Cornell Notes

Integers modulo m are built by grouping all integers into m equivalence classes, where X and Y are equivalent mod m exactly when X − Y is a multiple of m. The resulting set, written Z/mZ, contains the classes [0], [1], …, [m−1]. Addition is defined by [K] + [L] = [K + L], and it works because the operation is well defined: changing representatives within the same class doesn’t change the sum’s class. The identity element is [0], and each [K] has an inverse [−K], so every Z/mZ becomes a finite abelian group of order m. Examples include m = 2 (even/odd) and m = 6 (wrap-around addition mod 6).

How does the equivalence relation “mod m” turn infinitely many integers into only m elements?

Two integers X and Y fall into the same equivalence class mod m when their difference is a multiple of m: X − Y = Q·m for some integer Q. That means all integers that differ by 12 (when m = 12) behave the same under the clock-style wrap-around. Since every integer is congruent to exactly one of 0, 1, …, m−1 modulo m, there are exactly m distinct equivalence classes, represented by [0] through [m−1].

Why is addition on equivalence classes well defined?

Addition is defined by [K] + [L] = [K + L]. The well-defined requirement asks: if K and K′ represent the same class and L and L′ represent the same class, does [K + L] equal [K′ + L′]? If K′ = K + a·m and L′ = L + b·m, then K′ + L′ = (K + L) + (a + b)·m, so K′ + L′ is congruent to K + L mod m. Therefore the resulting equivalence class doesn’t depend on which representatives were chosen.

What guarantees that Z/mZ under addition is a group?

The group axioms come from the structure of integer addition. The identity is [0] because [K] + [0] = [K + 0] = [K]. Inverses exist because [K] + [−K] = [K − K] = [0]. Associativity and closure follow from how addition of representatives works and from the fact that equivalence classes are stable under adding multiples of m. Commutativity holds since integer addition is commutative, so [K] + [L] = [L] + [K].

How do the addition tables for m = 2 and m = 6 reflect “wrap-around”?

For m = 2, the classes are [0] (even integers) and [1] (odd integers). Adding [1] + [1] gives [2], and since 2 ≡ 0 (mod 2), the result is [0]. For m = 6, there are six classes [0]–[5]. Values exceeding 5 wrap back by subtracting multiples of 6: 3 + 3 = 6 lands at [0], and 4 + 4 = 8 lands at [2] because 8 ≡ 2 (mod 6).

Why doesn’t multiplication automatically make Z/mZ into a group?

Multiplication can be defined on equivalence classes, but forming a group under multiplication requires every non-identity element to have a multiplicative inverse within the set. For some moduli m, not every nonzero class has an inverse (for example, elements that share factors with m can fail to invert). The transcript flags this uncertainty as something to handle separately in a later discussion.

Review Questions

  1. Given m, how do you determine which equivalence class a specific integer belongs to?
  2. Explain why [K] + [L] = [K + L] is independent of the chosen representatives.
  3. For m = 6, what is the inverse of [5], and how does the addition table confirm it?

Key Points

  1. 1

    Integers modulo m are equivalence classes where X ≡ Y (mod m) exactly when X − Y is a multiple of m.

  2. 2

    There are exactly m distinct equivalence classes in Z/mZ, represented by [0] through [m−1].

  3. 3

    Addition on Z/mZ is defined by [K] + [L] = [K + L] and is well defined because adding multiples of m doesn’t change the class.

  4. 4

    The identity element for addition in Z/mZ is [0].

  5. 5

    Every element [K] has an additive inverse [−K], since [K] + [−K] = [0].

  6. 6

    Under addition, Z/mZ is always a finite abelian group with order m.

  7. 7

    Multiplication can be defined on Z/mZ, but it may fail to produce a group because inverses under multiplication are not guaranteed for all elements.

Highlights

Clock-style wrap-around becomes a formal equivalence relation: X and Y match mod m when their difference is Q·m.
Defining [K] + [L] = [K + L] works only because the result doesn’t depend on which representatives are chosen.
Z/mZ under addition is always a finite abelian group, with exactly m elements.
For m = 2, odd plus odd lands back on even: [1] + [1] = [0].
For m = 6, 3 + 3 wraps to 0 and 4 + 4 wraps to 2, showing the modulo behavior directly.

Topics