Math 2.0

definition

Modular multiplicative inverse

Definition

Let nn be a positive integer and let aa be an integer. A modular multiplicative inverse of aa modulo nn is an integer xx such that ax≡1(modn)a x \equiv 1 \pmod n.

Remarks

An inverse of aa modulo nn exists if and only if gcd⁡(a,n)=1\gcd(a, n) = 1. See existence of inverses modulo n. If xx is an inverse of aa, then the inverses of aa are exactly the integers y≡x(modn)y \equiv x \pmod n. So the inverse is unique as a residue class, and we write it as a−1 mod na^{-1} \bmod n. In the ring of integers modulo n, the class x‾\overline{x} is the inverse of a‾\overline{a}. For example, 3−1≡5(mod7)3^{-1} \equiv 5 \pmod 7, because 3⋅5=15≡1(mod7)3 \cdot 5 = 15 \equiv 1 \pmod 7.

Explanations

L1 human

Modulo nn, the inverse of aa plays the part of the fraction 1/a1/a. To solve 3x≡4(mod7)3 x \equiv 4 \pmod 7, multiply both sides by 55, the inverse of 33. You get x≡20≡6(mod7)x \equiv 20 \equiv 6 \pmod 7.

What this node needs for W2
  • edge instance_of in: one example (0 of 1)
  • edge not_instance_of in: one non-example that fails one clause (0 of 1)

The writing levels say how complete the text of a node is. They do not measure its truth.

What this needs

To read this node, read these 3 nodes in this order. The foundations come first, and the list ends with this node.

Each node uses the nodes above it. The colour of the bar on a box shows the evidence level, and the box also gives it as text. The list below has the same nodes.
  • no evidence level
  1. Divisibility definition
  2. Congruence modulo n definition
  3. Modular multiplicative inverse definition

What depends on this

3 nodes use this node, directly or through other nodes.

Sources

  1. Web https://en.wikipedia.org/wiki/Modular_multiplicative_inverse, lead section