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.
| Field elements | 0, 1, 2, 3, 4 |
|---|---|
| Nonzero inverses | 1⁻¹=1, 2⁻¹=3, 3⁻¹=2, 4⁻¹=4 |
| Equation | 3x ≡ 1 (mod 5) |
| Solution | x ≡ 2 (mod 5) |
Step-by-step solution
- 1
Identify the field
Because 5 is prime, every nonzero residue modulo 5 has a multiplicative inverse, so ℤ₅ is a field.
- 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
Multiply the equation by 3⁻¹
Multiplying both sides by 2 isolates x. Field arithmetic allows this because 3 is nonzero and invertible.
- 4
Reduce the result
The left side is 6x, and 6 is congruent to 1 modulo 5. Therefore x is congruent to 2.
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.
Substitute into the original equation
A solution must make the left side equal to 1 in the field, not merely as an ordinary integer.