Skip to content

Appendix C. Abstract Algebra Review

Abstract algebra studies sets equipped with operations. In number theory, these structures organize arithmetic behavior.

C.1 Algebraic Structures

Abstract algebra studies sets equipped with operations. In number theory, these structures organize arithmetic behavior.

The integers Z\mathbb{Z} form a set with addition and multiplication. The residue classes modulo nn, written Z/nZ\mathbb{Z}/n\mathbb{Z}, form a finite arithmetic system. Rational numbers, real numbers, complex numbers, finite fields, number fields, rings of integers, ideals, and elliptic curves all carry algebraic structure.

The purpose of abstraction is to isolate the laws that make arithmetic work. Once these laws are stated clearly, the same argument can apply in many settings.

C.2 Binary Operations

A binary operation on a set SS is a rule that assigns to each ordered pair (a,b)S×S(a,b)\in S\times S an element of SS.

Examples:

a+b,ab a+b,\qquad ab

are binary operations on Z\mathbb{Z}.

Subtraction is also a binary operation on Z\mathbb{Z}, but division is not, because a/ba/b may fail to be an integer.

Closure is the requirement that the result remains inside the set. For instance, Z\mathbb{Z} is closed under addition and multiplication, while Z{0}\mathbb{Z}\setminus\{0\} is not closed under subtraction.

C.3 Groups

A group is a set GG with a binary operation satisfying four axioms.

Associativity:

(ab)c=a(bc) (a b)c=a(b c)

for all a,b,cGa,b,c\in G.

Identity element:

ea=ae=a e a=a e=a

for all aGa\in G.

Inverses:

aa1=a1a=e a a^{-1}=a^{-1}a=e

for every aGa\in G.

Closure:

abG ab\in G

for all a,bGa,b\in G.

If the operation also satisfies

ab=ba ab=ba

for all a,bGa,b\in G, then GG is abelian.

The integers Z\mathbb{Z} form an abelian group under addition. The nonzero rational numbers Q×\mathbb{Q}^{\times} form an abelian group under multiplication.

C.4 Subgroups

A subset HGH\subseteq G is a subgroup if it is itself a group under the operation inherited from GG.

A practical subgroup test is:

a,bH    ab1H. a,b\in H \implies ab^{-1}\in H.

For additive groups, this becomes:

a,bH    abH. a,b\in H \implies a-b\in H.

The subgroups of Z\mathbb{Z} are exactly

nZ={nk:kZ} n\mathbb{Z}=\{nk:k\in\mathbb{Z}\}

for integers n0n\ge0.

This fact is one of the algebraic roots of divisibility theory.

C.5 Cyclic Groups

A group GG is cyclic if there exists gGg\in G such that every element of GG is a power of gg. In additive notation, every element is a multiple of gg.

The group generated by gg is

g={gk:kZ}. \langle g\rangle=\{g^k:k\in\mathbb{Z}\}.

In additive notation:

g={kg:kZ}. \langle g\rangle=\{kg:k\in\mathbb{Z}\}.

The group Z\mathbb{Z} is cyclic, generated by 11. The group Z/nZ\mathbb{Z}/n\mathbb{Z} is cyclic, generated by the class of 11.

Cyclic groups are fundamental because many finite arithmetic systems contain cyclic subgroups.

C.6 Orders of Elements

The order of an element gGg\in G is the smallest positive integer mm such that

gm=e. g^m=e.

If no such mm exists, gg has infinite order.

In additive notation, the order of gg is the smallest positive integer mm such that

mg=0. mg=0.

For example, in Z/nZ\mathbb{Z}/n\mathbb{Z}, the class of aa has order

ngcd(a,n). \frac{n}{\gcd(a,n)}.

This formula is used repeatedly in modular arithmetic and finite group arguments.

C.7 Homomorphisms

A group homomorphism is a function

φ:GH \varphi:G\to H

such that

φ(ab)=φ(a)φ(b) \varphi(ab)=\varphi(a)\varphi(b)

for all a,bGa,b\in G.

Homomorphisms preserve algebraic structure. They send identities to identities and inverses to inverses.

The kernel of φ\varphi is

kerφ={gG:φ(g)=eH}. \ker \varphi=\{g\in G:\varphi(g)=e_H\}.

The image is

imφ={φ(g):gG}. \operatorname{im}\varphi=\{\varphi(g):g\in G\}.

Kernels measure which elements collapse to the identity. Images measure which elements are reached.

C.8 Rings

A ring is a set RR with two operations, addition and multiplication, satisfying these conditions:

The set RR is an abelian group under addition.

Multiplication is associative.

Multiplication distributes over addition:

a(b+c)=ab+ac, a(b+c)=ab+ac, (a+b)c=ac+bc. (a+b)c=ac+bc.

Many texts also require a multiplicative identity 11. In number theory, rings usually have such an identity.

Examples include

Z,Q,R,C,Z/nZ. \mathbb{Z},\quad \mathbb{Q},\quad \mathbb{R},\quad \mathbb{C},\quad \mathbb{Z}/n\mathbb{Z}.

Rings provide the natural setting for divisibility, congruences, ideals, and algebraic integers.

C.9 Integral Domains

A commutative ring with identity is an integral domain if

ab=0    a=0 or b=0. ab=0 \implies a=0 \text{ or } b=0.

Equivalently, it has no zero divisors.

The integers Z\mathbb{Z} form an integral domain. The ring Z/nZ\mathbb{Z}/n\mathbb{Z} is an integral domain exactly when nn is prime.

For example, in Z/6Z\mathbb{Z}/6\mathbb{Z},

230(mod6), 2\cdot3\equiv0\pmod6,

even though neither 22 nor 33 is congruent to 00 modulo 66. Thus Z/6Z\mathbb{Z}/6\mathbb{Z} has zero divisors.

C.10 Fields

A field is a commutative ring in which every nonzero element has a multiplicative inverse.

Examples:

Q,R,C. \mathbb{Q},\quad \mathbb{R},\quad \mathbb{C}.

The finite ring Z/pZ\mathbb{Z}/p\mathbb{Z} is a field exactly when pp is prime.

Fields are central in modern number theory. They support linear algebra, polynomial factorization, Galois theory, local analysis, and arithmetic geometry.

C.11 Units

A unit in a ring RR is an element uRu\in R with a multiplicative inverse in RR. That is, there exists vRv\in R such that

uv=vu=1. uv=vu=1.

The units of Z\mathbb{Z} are

±1. \pm1.

The units of Z/nZ\mathbb{Z}/n\mathbb{Z} are the residue classes aa satisfying

gcd(a,n)=1. \gcd(a,n)=1.

They form a group under multiplication, written

(Z/nZ)×. (\mathbb{Z}/n\mathbb{Z})^{\times}.

This group is the main object behind Euler’s theorem and many cryptographic constructions.

C.12 Ideals

An ideal II of a commutative ring RR is an additive subgroup satisfying

rxI r x\in I

for all rRr\in R and xIx\in I.

Ideals generalize divisibility. In Z\mathbb{Z}, every ideal has the form

nZ. n\mathbb{Z}.

The ideal nZn\mathbb{Z} consists of all multiples of nn.

In rings of algebraic integers, ideals restore unique factorization when elements themselves may fail to factor uniquely.

C.13 Principal Ideals

An ideal generated by a single element aRa\in R is called principal and is written

(a)={ra:rR}. (a)=\{ra:r\in R\}.

In Z\mathbb{Z},

(a)=aZ. (a)=a\mathbb{Z}.

A ring in which every ideal is principal is called a principal ideal domain, or PID.

The ring Z\mathbb{Z} is a PID. This fact underlies the Euclidean algorithm, greatest common divisors, and Bézout identities.

C.14 Quotient Rings

If II is an ideal of RR, the quotient ring R/IR/I is the set of cosets

a+I={a+x:xI}. a+I=\{a+x:x\in I\}.

Addition and multiplication are defined by

(a+I)+(b+I)=(a+b)+I, (a+I)+(b+I)=(a+b)+I, (a+I)(b+I)=ab+I. (a+I)(b+I)=ab+I.

The familiar ring of residues modulo nn is

Z/nZ. \mathbb{Z}/n\mathbb{Z}.

It is the quotient of Z\mathbb{Z} by the ideal nZn\mathbb{Z}.

C.15 Polynomial Rings

Given a ring RR, the polynomial ring R[x]R[x] consists of expressions

a0+a1x++anxn a_0+a_1x+\cdots+a_nx^n

with coefficients aiRa_i\in R.

Polynomial rings connect algebra and arithmetic. They appear in field extensions, minimal polynomials, algebraic integers, finite fields, and elliptic curves.

If FF is a field, then F[x]F[x] has a Euclidean algorithm similar to the one in Z\mathbb{Z}. This makes polynomial arithmetic over fields especially well behaved.

C.16 Irreducible and Prime Elements

In an integral domain, a nonzero nonunit element rr is irreducible if

r=ab r=ab

implies that aa or bb is a unit.

A nonzero nonunit element pp is prime if

pab    pa or pb. p\mid ab \implies p\mid a \text{ or } p\mid b.

Every prime element is irreducible. In many familiar rings, such as Z\mathbb{Z}, every irreducible element is prime. In more general rings this can fail.

This distinction is one reason algebraic number theory uses ideals.

C.17 Field Extensions

A field extension is an inclusion of fields

KL. K\subseteq L.

We then view LL as a vector space over KK. Its dimension is called the degree of the extension and is written

[L:K]. [L:K].

For example,

QQ(2) \mathbb{Q}\subseteq\mathbb{Q}(\sqrt{2})

has degree 22, since every element has the form

a+b2 a+b\sqrt{2}

with a,bQa,b\in\mathbb{Q}.

Field extensions are the language of algebraic numbers and Galois theory.

C.18 Summary of Core Structures

StructureOperationsMain ConditionNumber-Theoretic Role
GroupOne operationInverses existSymmetry, units, residue classes
RingAddition and multiplicationDistributive lawsDivisibility, congruences, ideals
Integral domainRingNo zero divisorsFactorization theory
FieldRingNonzero elements invertibleExtensions, finite fields, algebraic methods
IdealAdditive subgroupClosed under multiplication by ring elementsQuotients and generalized divisibility
ModuleAddition and scalar multiplicationLinear structure over a ringLattices, class groups, Galois modules

Abstract algebra supplies the structural language of modern number theory. Classical arithmetic begins with integers. Modern arithmetic studies the algebraic systems that integers generate.