Rings
Tom Judson · GFDL · Abstract Algebra: Theory and Applications, Ch. 6
A ring is a set with two operations: addition (which forms an abelian group) and multiplication (which is associative and distributes over addition). Rings generalize the integers. Ideals are to rings what normal subgroups are to groups.
Two operations
A ring (R, +, *) satisfies: (1) (R, +) is an abelian group with identity 0; (2) multiplication is associative: a*(b*c) = (a*b)*c; (3) distributive laws: a*(b+c) = a*b + a*c and (a+b)*c = a*c + b*c. Multiplication need not be commutative, and multiplicative inverses may not exist.
Ideals
An ideal I of a ring R is a subring that absorbs multiplication: for any r in R and a in I, both r*a and a*r are in I. Ideals let you build quotient rings R/I, just as normal subgroups let you build quotient groups.
Ring homomorphisms
A ring homomorphism f: R → S preserves both operations: f(a+b) = f(a)+f(b) and f(a*b) = f(a)*f(b). The kernel is an ideal, not just a subgroup.
Notation reference
| Math | Scheme | Python | Meaning |
|---|---|---|---|
| (R, +, ·) | (add a b) (mul a b) | add(a,b), mul(a,b) | Ring with two operations |
| I &lhd; R | ideal test | ideal test | I is an ideal of R |
| R/I | quotient ring | quotient ring | Quotient ring |
| a(b+c)=ab+ac | verified above | verified above | Distributive law |
Neighbors
Algebra track
- ← Ch.5 Cosets and Lagrange's Theorem — ideals generalize normal subgroups
- Ch.7 Integral Domains and Fields — rings with extra properties
Category theory connections
- Milewski Ch.6 — types form a semiring under sum and product types (coproduct and product)
Translation notes
Judson treats rings in Ch. 16 and ideals in Ch. 16-17. We compress this because the definition is straightforward: a ring is an abelian group with a second associative operation that distributes. The integers are the motivating example. Commutative rings with identity (the common case in algebra) are assumed throughout. The connection to Milewski's sum/product types is informal: types under (+, *) satisfy distributivity but lack additive inverses, making them a semiring rather than a ring.