2079 9

BIT152 · 2079 · 5 marks

What is arithmetic modulo m? Use the definition of addition and multiplication in mathbbZm to find 7 +11 9 and 7 *11 9.

What is arithmetic modulo $m$? Use the definition of addition and multiplication in $\mathbb{Z}m$ to find $7 +{11} 9$ and $7 *_{11} 9$. [5]

Discrete StructureChapter 6: Number Theory and Modular ArithmeticArithmetic modulo mNumerical: modular arithmetic

Given

Given data:

  • Modulus: $m = 11$
  • Set: $\mathbb{Z}_{11} = {0, 1, 2, \ldots, 10}$
  • Compute $7 +_{11} 9$
  • Compute $7 *_{11} 9$

All required data present.


Solution

Arithmetic Modulo m

Arithmetic modulo m is arithmetic carried out on the finite set

$$\mathbb{Z}_m = {0, 1, 2, \ldots, m-1}$$

where every result of addition or multiplication is replaced by its remainder upon division by $m$. This keeps all results within the set $\mathbb{Z}_m$ (closure).

Addition in $\mathbb{Z}_m$: $$a +_m b = (a + b) \bmod m$$

Multiplication in $\mathbb{Z}_m$: $$a *_m b = (a \cdot b) \bmod m$$


Compute $7 +_{11} 9$

$$7 +_{11} 9 = (7 + 9) \bmod 11 = 16 \bmod 11$$

Since $16 = 1 \times 11 + 5$:

$$7 +_{11} 9 = 5$$


Compute $7 *_{11} 9$

$$7 *_{11} 9 = (7 \times 9) \bmod 11 = 63 \bmod 11$$

Since $63 = 5 \times 11 + 8$:

$$7 *_{11} 9 = 8$$


Summary

OperationOrdinary result$\bmod 11$Answer
$7 +_{11} 9$$16$$16 \bmod 11$$\mathbf{5}$
$7 *_{11} 9$$63$$63 \bmod 11$$\mathbf{8}$

Short on time? The 1, 5 and 10 mark versions of this answer, flashcards and practice sets come with a program pass.