Module Theory — Direct Sums and Free Modules

⚡ Key Takeaways

Direct sums assemble modules into larger modules with canonical inclusions and projections; free modules are direct sums of copies of the ring, possessing a basis and a universal mapping property that makes them the prototype for all modules. Key result: every module is a quotient of a free module, and over a field every module is free (a vector space). Applies throughout commutative algebra, homological algebra, and representation theory. Foundations laid by Dedekind, Noether, and the structural school of the 1920s–1930s.

💡 The Core Insight

A free module is the most "unconstrained" module: it is built by stipulating a basis and imposing no relations whatsoever among the basis elements. This is captured precisely by the universal property — a homomorphism out of a free module is uniquely and freely determined by where it sends the basis, with no compatibility conditions to check. Every module arises as a free module modulo relations, so free modules and their kernels (relation modules) encode all of module theory.

Formal Statement

DefinitionModule

Let RR be a ring with 11. A left RR-module is an abelian group (M,+)(M,+) together with a scalar multiplication R×M→MR \times M \to M, (r,m)↦rm(r,m)\mapsto rm, satisfying for all r,s∈Rr,s\in R, m,n∈Mm,n\in M:

1
r(m+n)=rm+rn,(r+s)m=rm+sm,(rs)m=r(sm),1⋅m=m.\quad r(m+n)=rm+rn,\quad (r+s)m=rm+sm,\quad (rs)m=r(sm),\quad 1\cdot m=m.

Derivation hint: these are the vector-space axioms with the field replaced by RR; distributivity on both sides plus associativity of the action plus unitality.

DefinitionDirect Product and Direct Sum

Let {Mi}i∈I\{M_i\}_{i\in I} be a family of left RR-modules. The direct product is

2
∏i∈IMi={(mi)i∈I:mi∈Mi},\quad \prod_{i\in I} M_i = \big\{ (m_i)_{i\in I} : m_i\in M_i \big\},

Derivation hint: componentwise operations (mi)+(ni)=(mi+ni)(m_i)+(n_i)=(m_i+n_i) and r(mi)=(rmi)r(m_i)=(rm_i) make this an RR-module. The direct sum (external) is the submodule

3
⨁i∈IMi={(mi)i∈I:mi=0 for all but finitely many i}.\quad \bigoplus_{i\in I} M_i = \big\{ (m_i)_{i\in I} : m_i = 0 \text{ for all but finitely many } i \big\}.

Derivation hint: the finite-support condition is closed under addition and scalar multiplication, hence a submodule of the product; for finite II the two coincide.

DefinitionInternal Direct Sum

A module MM is the internal direct sum of submodules {Ni}i∈I\{N_i\}_{i\in I}, written M=⨁i∈INiM=\bigoplus_{i\in I} N_i, if every m∈Mm\in M has a unique expression m=∑inim=\sum_{i} n_i with ni∈Nin_i\in N_i and all but finitely many ni=0n_i=0. Equivalently:

4
M=∑i∈INiandNj∩∑i≠jNi=0  ∀j.\quad M = \sum_{i\in I} N_i \quad\text{and}\quad N_j \cap \sum_{i\neq j} N_i = 0 \ \ \forall j.

Derivation hint: the sum condition gives existence of the representation; the intersection condition forces uniqueness, since a nonzero overlap would produce two distinct decompositions of the same element.

DefinitionFree Module and Basis

A subset B={bi}i∈I⊆MB=\{b_i\}_{i\in I}\subseteq M is a basis if it is:

  • generating: every m∈Mm\in M equals ∑iribi\sum_i r_i b_i for some ri∈Rr_i\in R (finite support), and
  • linearly independent: ∑iribi=0  ⟹  ri=0\sum_i r_i b_i = 0 \implies r_i=0 for all ii.

A module is free if it admits a basis. Equivalently MM is free iff

5
M≅⨁i∈IR=R(I),\quad M \cong \bigoplus_{i\in I} R = R^{(I)},

Derivation hint: send bib_i to the standard generator eie_i (the tuple with 11 in slot ii); the basis property makes this a bijective homomorphism, i.e. an isomorphism.

TheoremUniversal Property of Free Modules

Let FF be free on basis B={bi}i∈IB=\{b_i\}_{i\in I} with inclusion ι:B↪F\iota: B\hookrightarrow F. For any RR-module NN and any set map f:B→Nf:B\to N, there exists a unique RR-homomorphism fˉ:F→N\bar f: F\to N with fˉ∘ι=f\bar f\circ\iota = f:

6
fˉ(∑iribi)=∑iri f(bi).\quad \bar f\Big(\sum_i r_i b_i\Big) = \sum_i r_i\, f(b_i).

Derivation hint: linear independence guarantees the formula is well-defined (each element has a unique coordinate expression); the generating property guarantees fˉ\bar f is defined everywhere; the formula is forced by RR-linearity, giving uniqueness.

TheoremEvery Module is a Quotient of a Free Module

For any RR-module MM there is a free module FF and a surjection π:F↠M\pi:F\twoheadrightarrow M. Hence

7
M≅F/K,K=ker⁡π,\quad M \cong F/K, \qquad K=\ker\pi,

Derivation hint: take F=R(M)F=R^{(M)} free on a generating set SS of MM (e.g. S=MS=M); the universal property extends the inclusion S↪MS\hookrightarrow M to π:F→M\pi:F\to M, which is surjective because SS generates. KK is the "module of relations."

Why It Holds / Derivation

ProofUniversal Property ⟹ Uniqueness of Free Objects

We show free modules are determined up to unique isomorphism by their universal property.

Step 1. Suppose F1F_1 (basis B1B_1, map ι1\iota_1) and F2F_2 (basis B2B_2, map ι2\iota_2) are both free on a set SS via bijections β1:S→B1\beta_1:S\to B_1, β2:S→B2\beta_2:S\to B_2.

Step 2. By the universal property of F1F_1 applied to the map ι2∘β2∘β1−1:B1→F2\iota_2\circ\beta_2\circ\beta_1^{-1}: B_1\to F_2, get a unique ϕ:F1→F2\phi:F_1\to F_2. Symmetrically get ψ:F2→F1\psi:F_2\to F_1.

Step 3. The composite ψ∘ϕ:F1→F1\psi\circ\phi:F_1\to F_1 fixes B1B_1 pointwise. But idF1\mathrm{id}_{F_1} also fixes B1B_1. By the uniqueness clause of the universal property, ψ∘ϕ=idF1\psi\circ\phi=\mathrm{id}_{F_1}.

Step 4. Symmetrically ϕ∘ψ=idF2\phi\circ\psi=\mathrm{id}_{F_2}. Hence ϕ\phi is an isomorphism, and it is the unique one respecting the bases. ■\blacksquare

∎
ProofDirect Sum Universal Property

The direct sum is the coproduct in R-ModR\text{-Mod}. Given inclusions λj:Mj→⨁iMi\lambda_j: M_j \to \bigoplus_i M_i and any family of homomorphisms gj:Mj→Ng_j: M_j \to N, there exists a unique g:⨁iMi→Ng:\bigoplus_i M_i\to N with g∘λj=gjg\circ\lambda_j=g_j:

8
g((mi)i)=∑igi(mi).\quad g\big((m_i)_{i}\big) = \sum_{i} g_i(m_i).

Derivation hint: the finite-support condition makes the sum finite hence well-defined; linearity is checked componentwise; uniqueness follows since the λj(Mj)\lambda_j(M_j) generate the direct sum.

Contrast. The direct product is the product (universal for maps into it via projections). For finite index sets they agree; for infinite sets the coproduct (sum) is strictly smaller. ■\blacksquare

∎
EN
Emmy Noether
1882–1935

Though "module" predates her, Emmy Noether transformed it from a computational device of Dedekind and Kronecker into the central organizing concept of abstract algebra. In her 1921 Idealtheorie in Ringbereichen and her Göttingen lectures, she recast ideals, groups, and linear systems uniformly as modules over rings, emphasizing homomorphisms and quotients over explicit elements. Her insistence that "we should study structures via their maps" is precisely the spirit of the universal property of free modules. The modern habit of writing M≅F/KM \cong F/K — presenting a module by generators and relations — is her conceptual legacy.

Building Intuition

🧠 Intuition

Think of a free module R(I)R^{(I)} as a bag of independent dials, one per index ii, each turnable by any scalar in RR, with no dial constraining any other. A homomorphism out of it is just a choice of "where each dial points" in the target — total freedom, hence the name. A non-free module is what you get when you glue dials together with relations: Z/6Z\mathbb{Z}/6\mathbb{Z} as a Z\mathbb{Z}-module is Z\mathbb{Z} (one dial) with the relation 6⋅1=06\cdot 1 = 0 welded in. No basis can survive, because the single generator 1ˉ\bar 1 satisfies 61ˉ=06\bar 1 = 0 with 6≠06\neq 0 — it is torsion, the opposite of independence. The direct sum is side-by-side assembly with no interaction: M⊕NM\oplus N lets you operate on the MM-part and NN-part completely independently. Over a field, every module decomposes this way down to one-dimensional pieces (a basis), which is why linear algebra is so clean. Over Z\mathbb{Z} or k[x]k[x], indecomposable torsion pieces like Z/pk\mathbb{Z}/p^k refuse to break apart, and the structure theory becomes rich.

Figure
External direct sum vs. direct product: finite-support vs. full tuples

```svg

Product ∏Mᵢ ⊇ Direct Sum ⊕Mᵢ ∏ Mᵢ : all tuples (m₁,m₂,m₃,…) ⊕ Mᵢ : finite support (a, 0, b, 0, 0, 0, …) (0, 0, 0, c, 0, 0, …) eᵢ = (0,…,1,…,0) basis (1, 1, 1, 1, …) ∈ ∏ but ∉ ⊕ For finite I they coincide; for infinite I the sum is a proper submodule.

```

Worked Examples

ExampleFree Resolution of Z/6Z\mathbb{Z}/6\mathbb{Z} over Z\mathbb{Z}

Given: M=Z/6ZM = \mathbb{Z}/6\mathbb{Z} as a Z\mathbb{Z}-module. Present it via free modules.

Step 1. Choose generator 1ˉ\bar 1. The free module F0=ZF_0 = \mathbb{Z} surjects via π(n)=nˉ\pi(n)=\bar n, so M≅Z/ker⁡πM\cong \mathbb{Z}/\ker\pi.

Step 2. Compute ker⁡π={n:nˉ=0}=6Z\ker\pi = \{ n : \bar n = 0 \} = 6\mathbb{Z}.

Step 3. 6Z6\mathbb{Z} is itself free of rank 1, generated by 66. So set F1=ZF_1=\mathbb{Z}, with map d:F1→F0d: F_1\to F_0 given by multiplication by 66.

Step 4. Assemble the free resolution:

0→Z→ ⋅6 Z→ π Z/6Z→0.0 \to \mathbb{Z} \xrightarrow{\ \cdot 6\ } \mathbb{Z} \xrightarrow{\ \pi\ } \mathbb{Z}/6\mathbb{Z} \to 0.
 Z/6Z≅coker⁡(⋅6:Z→Z),projective dimension 1 \boxed{\ \mathbb{Z}/6\mathbb{Z} \cong \operatorname{coker}(\cdot 6:\mathbb{Z}\to\mathbb{Z}),\quad \text{projective dimension } 1\ }

This module is not free (it is finite, but Zn\mathbb{Z}^n is infinite for n≥1n\geq 1 and 00 has no nonzero torsion).

ExampleFree vs. Non-Free Ideals over a Number Ring

Given: R=Z[−5]R = \mathbb{Z}[\sqrt{-5}], and the ideal I=(2, 1+−5)I = (2,\ 1+\sqrt{-5}). Is II free as an RR-module?

Step 1. II requires 2 generators and cannot be generated by 1 (it is not principal — a classical fact since Z[−5]\mathbb{Z}[\sqrt{-5}] has class number 2).

Step 2. If II were free, being a rank-1 ideal it would have to be free of rank 1, i.e. principal I=(a)I=(a) — contradiction. A free module of rank ≥2\geq 2 inside RR (rank 1 as RR-module) is impossible since any two elements of RR are RR-linearly dependent: for x,y∈Rx,y\in R, y⋅x−x⋅y=0y\cdot x - x\cdot y = 0 is a nontrivial relation.

Step 3. Hence II is non-free but projective (it is a direct summand of R2R^2 — invertible ideals are projective).

 I=(2,1+−5) is projective of rank 1 but NOT free over Z[−5] \boxed{\ I=(2,1+\sqrt{-5}) \text{ is projective of rank } 1 \text{ but NOT free over } \mathbb{Z}[\sqrt{-5}]\ }

This is the prototypical example separating "projective" from "free."

Common Misconceptions

⚠️ Common mistake

"Every linearly independent set extends to a basis" / "every generating set contains a basis." Both fail badly outside vector spaces. Over Z\mathbb{Z}, the set {2}⊆Z\{2\}\subseteq\mathbb{Z} is linearly independent but does not extend to a basis ({2}\{2\} is not generating, and adding any bb gives the relation b⋅2−2⋅b=0b\cdot 2 - 2\cdot b=0). The generating set {2,3}\{2,3\} of Z\mathbb{Z} contains no basis: {2}\{2\} and {3}\{3\} each fail to generate. Bases over general rings are rigid: free modules have them, but you cannot freely manufacture or trim them.

⚠️ Common mistake

"Submodules of free modules are free." False in general. The submodule {(a,b)∈R2:a+b∈I}\{(a,b)\in R^2 : a+b\in I\} over a non-PID, or simply the ideal II in the previous example, shows this. The implication holds precisely when RR is a PID (submodules of free modules are free — even over non-finitely-generated free modules, by a theorem requiring the axiom of choice / well-ordering), and more generally over principal ideal domains and, for the analogous "projective ⟹ free" question, over local rings (Kaplansky) and polynomial rings over fields (Quillen–Suslin).

CounterexampleFailure of Invariant Basis Number

There exist rings RR with Rm≅RnR^m\cong R^n as RR-modules for m≠nm\neq n. Let VV be an infinite-dimensional kk-vector space and R=End⁡k(V)R=\operatorname{End}_k(V). Then V≅V⊕VV\cong V\oplus V (since ∞=∞+∞\infty=\infty+\infty), which translates to

9
R≅R2as left R-modules,\quad R \cong R^2 \quad\text{as left } R\text{-modules},

Derivation hint: R=Hom⁡(V,V)R=\operatorname{Hom}(V,V); decomposing V≅V⊕VV\cong V\oplus V on the source gives Hom⁡(V,V)≅Hom⁡(V,V)2\operatorname{Hom}(V,V)\cong\operatorname{Hom}(V,V)^2, so a free module of rank 1 is isomorphic to one of rank 2. Thus rank is not well-defined over such rings. Rings where it is well-defined are said to satisfy invariant basis number (IBN) — all commutative rings (≠0), all Noetherian rings, and all division rings do.

Connections

connection

Free modules sit at the base of an importance hierarchy: free ⟹ projective ⟹ flat ⟹ torsion-free (the last over domains). See Projective Modules, where freeness is relaxed to "direct summand of a free module," and Flat Modules, characterized by exactness of −⊗M-\otimes M. The presentation M≅F/KM\cong F/K launches Homological Algebra via Free Resolutions and the derived functors Tor⁡\operatorname{Tor} and Ext⁡\operatorname{Ext}. Over a field, every module is free, recovering Vector Spaces and Linear Algebra; over a PID, the Structure Theorem for Finitely Generated Modules over a PID classifies all such modules as Rn⊕⨁R/(di)R^n \oplus \bigoplus R/(d_i), the cornerstone of Jordan and Rational Canonical Forms. The direct sum is the coproduct in R-ModR\text{-Mod}, dual to the product, linking to Universal Properties and Adjoint Functors and the Tensor–Hom Adjunction.

Real-World Applications

🔬 Where this appears

Historical Development

⏳ History
- 1871. Richard Dedekind introduces modules (German Modul) as additive subgroups of C\mathbb{C} closed under multiplication by an order — the seed of module theory, in his supplements to Dirichlet's Vorlesungen über Zahlentheorie.
- 1890s. Dedekind and Heinrich Weber develop ideal theory; ideals as modules over rings of integers, including the recognition that ideals need not be principal (non-free).
- 1921. Emmy Noether, Idealtheorie in Ringbereichen, establishes the ascending chain condition and the abstract module-theoretic framework; the rise of the homomorphism-and-quotient viewpoint.
- 1927–1932. Noether's Göttingen school (van der Waerden's Moderne Algebra, 1930–31) codifies modules, direct sums, and free modules as standard tools; the universal property viewpoint matures.
- 1937. Hans Hasse, Wolfgang Krull, and others extend module structure theory over Dedekind domains; finitely generated modules over PIDs fully classified.
- 1945–1956. Eilenberg–Mac Lane and Cartan–Eilenberg (Homological Algebra, 1956) make free and projective resolutions central, defining Ext⁡\operatorname{Ext} and Tor⁡\operatorname{Tor}.
- 1955. Jean-Pierre Serre poses whether finitely generated projective modules over k[x1,…,xn]k[x_1,\dots,x_n] are free (Serre's conjecture).
- 1958. Irving Kaplansky proves projective modules over local rings are free, and that every projective module is a direct sum of countably generated ones.
- 1976. Daniel Quillen and Andrei Suslin independently resolve Serre's conjecture: finitely generated projectives over a polynomial ring over a field are free (the Quillen–Suslin theorem).

Subtleties & Limits

open-problem

Where freeness becomes hard. Several deep questions surround the boundary of freeness:

  • The rank/IBN landscape. Classifying which rings satisfy IBN, the stronger stably free ⟹ free property, and the Hermite and Bass cancellation properties is intricate; counterexamples (e.g. tangent bundle of S2S^2 giving a stably free non-free module over R[x,y,z]/(x2+y2+z2−1)\mathbb{R}[x,y,z]/(x^2+y^2+z^2-1)) reveal genuine geometry.
  • Generalizations of Quillen–Suslin. The Bass–Quillen conjecture — that finitely generated projective modules over R[x1,…,xn]R[x_1,\dots,x_n] are extended from RR for regular RR — remains open in general dimension.
  • Infinitely generated projectives. Bass's question on whether "big" projective modules over Noetherian rings are free or determined by simple invariants leads to subtle set-theoretic dependence; Whitehead's problem (is every Whitehead Z\mathbb{Z}-module free?) was shown by Shelah to be independent of ZFC.
  • Trace ideals and non-free generation. Characterizing modules with few generators, or the minimal number of generators of an ideal (Forster–Swan bound), remains an active arena between commutative algebra and algebraic geometry.

See Also

Projective Modules · Flat Modules · Tensor Products of Modules · Free Resolutions · Structure Theorem for Finitely Generated Modules over a PID · Noetherian and Artinian Modules · Quillen–Suslin Theorem · Universal Properties and Adjoint Functors · Homological Algebra