core24 min studyLesson 141 in Mathematics

Rings, units, and zero divisors

Determine which familiar arithmetic operations survive in a ring, and distinguish invertibility from cancellation.

On this page

What you’ll understand

  • State the conventions for a commutative ring with identity.
  • Distinguish units, nonunits, and nonzero zero divisors.
  • Explain exactly when cancellation is justified.

The instruction to divide both sides by a number hides an assumption: that the number has an inverse in the system being used. Two has an inverse among rational numbers but not among integers. Two behaves differently again modulo six, where multiplying it by three gives zero. Ring theory makes these differences explicit. We will use commutative rings with an identity throughout this module, and require identity-preserving ring homomorphisms when maps appear.

Two operations with different obligations

A ring has an abelian group under addition: sums associate and commute, there is an additive zero, and every element has an additive inverse. Multiplication associates, has an identity called one, and distributes over addition on both sides. Our commutative convention also requires multiplication to commute. The integers, rational numbers, real numbers, complex numbers, and polynomials over any of these are examples. Matrix rings satisfy the more general ring axioms but usually fail commutativity, so they fall outside this module's standing convention.

These axioms explain several identities rather than assuming them separately. Distributing a product over zero plus zero gives the same product twice, and additive cancellation then forces a product with zero to be zero. Similarly, multiplying by an additive negative produces the negative of the product. A ring can therefore support subtraction perfectly well while lacking division. The zero ring has one equal to zero; we allow it as a ring but exclude it from fields and integral domains.

a(b+c)=ab+ac,a0=0,a(−b)=−(ab)a(b+c)=ab+ac,\qquad a0=0,\qquad a(-b)=-(ab)
These identities hold in every ring under the stated axioms; division has not been assumed.↔ Scroll wide equations horizontally.

Invertibility belongs to the chosen ring

A unit is an element with a multiplicative inverse inside the ring. The integer units are one and negative one: their integer products can equal one. Every nonzero rational number is a unit in the rationals. Thus being a unit describes an element together with its ambient ring. A nonzero integer such as two becomes a unit after passing to a larger ring, but it was not already invertible in the smaller one.

A nonzero element is a zero divisor if it annihilates some other nonzero element. In the residue ring modulo six, the classes of two and three are zero divisors because their product is the zero class. A unit cannot be a nonzero zero divisor: multiply an alleged zero product by its inverse. However, a nonunit need not be a zero divisor. Two in the integers is a basic counterexample, and prevents us from confusing failure of division with failure of cancellation.

u∈R×  ⟺  (∃v∈R) uv=1,[2]6[3]6=[0]6u\in R^\times\iff (\exists v\in R)\ uv=1,\qquad [2]_6[3]_6=[0]_6
R× denotes the units. The second identity exhibits two nonzero zero divisors in the ring of residues modulo six.↔ Scroll wide equations horizontally.

Cancellation needs a reason

Suppose a times b equals a times c. Subtracting the two products gives a times the difference equal to zero. If a is nonzero and not a zero divisor, the difference must be zero, so cancellation works. In the integers every nonzero factor is cancellable even though most factors are not units. Cancellation is therefore weaker than the ability to divide within the ring. Both deserve their own justification in a proof.

Modulo six, two times one and two times four are both two, yet one and four are different classes. Canceling two here would manufacture a false conclusion. When working in an unfamiliar algebra, first ask whether it has zero divisors and whether the specific coefficient is a unit. These questions become essential in polynomial equations, quotient constructions, and linear systems with modular coefficients, where procedures copied from real arithmetic can otherwise fail silently.

Classify the elements modulo eight

Find all units and all nonzero zero divisors in the ring of integers modulo eight.

  1. An odd residue has greatest common divisor one with eight, so a Bézout identity gives its inverse modulo eight. Direct multiplication shows that each of 1, 3, 5, and 7 squares to 1 modulo eight, hence each is its own inverse.

  2. The nonzero even residues are 2, 4, and 6. Multiplication by the nonzero residue 4 sends 2 and 6 to zero; multiplication by 2 sends 4 to zero. Each is therefore a nonzero zero divisor.

  3. There are no remaining nonzero classes. Zero is neither a unit nor a nonzero zero divisor under our convention. This finite example happens to place every nonzero nonunit among the zero divisors, a conclusion that does not hold for arbitrary infinite rings.

The result

The units are 1, 3, 5, and 7; the nonzero zero divisors are 2, 4, and 6.

Explore the model

Interactive lab

Interactive lab · function

Contrast real multiplication with modular multiplication

The lab evaluates y=ax2y=ax^2 over the real numbers. Choose nonzero a and predict whether any nonzero x can produce zero; then test the prediction with the position control. Compare that real-arithmetic conclusion with the modular-eight products above. The lab does not implement modular arithmetic or classify ring elements.

Contrast real multiplication with modular multiplicationThis lab uses only y = ax². Playback traces the curve within the fixed integration interval from 0 to x; it does not estimate numerical error or change the chosen point. Current readings: y at chosen x: 0.608; Tangent slope · 2ax: 1.35; Signed area · ax³/3: 0.182. All parameters are adjustable with the labeled controls below.−2.4−1.201.22.4−9−4.504.59xy(x, ax²)
y = ax²TangentSigned integral
y at chosen x
0.608
Tangent slope · 2ax
1.35
Signed area · ax³/3
0.182
t = 0 s

This lab uses only y = ax². Playback traces the curve within the fixed integration interval from 0 to x; it does not estimate numerical error or change the chosen point. Parameter changes pause playback and recompute the model at the current elapsed time. Reset restores both parameters and returns time to zero. Playback starts paused. Adjust either parameter, then choose Play or Step.

Look forA zero-product rule is a property of the coefficient system, not a universal permission to cancel.

Check your understanding

Which statement correctly describes 2 in the integer ring?

Try it yourself

Explain why the class of 4 modulo nine is invertible, and why the class of 3 is not cancellable.

Take a moment to make a prediction or work it out on paper. Open a hint when you need one.

Give me a hint

Find a small product congruent to one, then find a nonzero class annihilated by three.

Compare with the solution

The product 4 × 7 = 28 is congruent to 1 modulo nine, so 7 is the inverse of 4. The product 3 × 3 = 9 is zero modulo nine while the class of 3 is nonzero. Consequently 3 × 0 = 3 × 3, and canceling the shared factor 3 would incorrectly identify zero with three.

Take it with you

  • A ring supports addition, subtraction, and multiplication without promising division.
  • Units have inverses inside the specified ring; nonunits and zero divisors are different concepts.
  • Cancel a nonzero factor only after ruling out a relevant zero divisor.

Read further

Original sources and deeper explanations to follow at your own pace.

Optional progress, saved in this browser when available. Revisit any lesson at any time.

Lesson not marked complete.