Fields Example

A field is a commutative system in which addition and multiplication behave like familiar arithmetic, and every nonzero element has a multiplicative inverse. The integers modulo a prime p form the finite field 𝔽ₚ. This example works in 𝔽₅, finds the inverse of 3, and solves 3x = 1 modulo 5 by multiplying both sides by that inverse.

Solve 3x = 1 in the finite field 𝔽₅

The elements are {0,1,2,3,4}, and all arithmetic is reduced modulo 5. Find 3⁻¹ and use it to solve the equation.

F5={0,1,2,3,4},3x≡1(mod5)\mathbb F_5=\{0,1,2,3,4\},\qquad3x\equiv1\pmod5
Key facts used in this example
Field elements0, 1, 2, 3, 4
Nonzero inverses1⁻¹=1, 2⁻¹=3, 3⁻¹=2, 4⁻¹=4
Equation3x ≡ 1 (mod 5)
Solutionx ≡ 2 (mod 5)

Step-by-step solution

  1. 1

    Identify the field

    Because 5 is prime, every nonzero residue modulo 5 has a multiplicative inverse, so ℤ₅ is a field.

    F5=Z/5Z\mathbb F_5=\mathbb Z/5\mathbb Z
  2. 2

    Find the inverse of 3

    Look for a residue whose product with 3 leaves remainder 1. Since 3 · 2 = 6 and 6 mod 5 = 1, the inverse is 2.

    3⋅2=6≡1(mod5)⟹3−1=23\cdot2=6\equiv1\pmod5\quad\Longrightarrow\quad3^{-1}=2
  3. 3

    Multiply the equation by 3⁻¹

    Multiplying both sides by 2 isolates x. Field arithmetic allows this because 3 is nonzero and invertible.

    2⋅3x≡2⋅1(mod5)2\cdot3x\equiv2\cdot1\pmod5
  4. 4

    Reduce the result

    The left side is 6x, and 6 is congruent to 1 modulo 5. Therefore x is congruent to 2.

    6x≡2(mod5)⟹x≡2(mod5)6x\equiv2\pmod5\quad\Longrightarrow\quad x\equiv2\pmod5

ANSWER

x = 2 in 𝔽₅

The equation has the unique solution represented by the residue 2. In the field, 3 · 2 = 1, so the original equation is satisfied.

x=2(mod5)\boxed{x=2\pmod5}

Substitute into the original equation

A solution must make the left side equal to 1 in the field, not merely as an ordinary integer.

3(2)=6≡1(mod5)3(2)=6\equiv1\pmod5