Cancellative commutative monoid Created 2026-10-06 Updated 2026-10-14
A commutative monoid is cancellative when implies . Cancellation makes the natural map into its Grothendieck group injective.
Category of commutative monoids Created 2026-10-05 Updated 2026-10-06
This category has commutative monoids and their homomorphisms. Pointwise addition makes each hom-set a commutative monoid, and composition is additive in both variables. Finite cartesian products are also coproducts, using the coordinate injections with zero in the other coordinates and summing images. Therefore it is a semi-additive category, but it is not an additive category. The reflexive pair from the submonoid of to , using the two projections and section , has an arrow from to and none from to in its represented graph. Thus a reflexive pair here need not yield a groupoid.
Commutative-monoid enrichment 2026-10-05
A commutative-monoid enrichment gives each hom-set a commutative monoid structure, with zero and addition, so that composition distributes over addition in both variables and annihilates zero. This is called a semi-additive structure in some conventions, including Cambridge Part III paper 119 of 2017. Other conventions reserve semi-additive category for categories with this enrichment and finite biproducts. A one-object category arising from a semiring has the enrichment without generally having those finite products.
Irreducible element of a commutative monoid 2026-10-14
A nonunit element of a commutative monoid is irreducible if each factorization has a unit factor. In a submonoid of the positive integers under multiplication, the only unit is one. Irreducibility is relative to the allowed factors: a composite integer can be irreducible in a smaller monoid even though it is not a prime number.
Monoid Created 2026-09-28 Updated 2026-10-14
A monoid is a semigroup with a two-sided identity element : for every element . Associativity handles the grouping of a nonempty sequence; the identity element also supplies the result for an empty sequence. This makes the same rules apply to combining zero, one, or many contributions. [ref].
The nonnegative integers with addition form a commutative monoid, with identity element zero. They do not form a group: a positive integer has no additive inverse in that set. All words over an alphabet with concatenation form a free monoid, whose identity element is the empty word. The full transformation monoid consists of all self-maps of a set, with function composition and the identity function.
These examples explain why monoids are useful: accumulation needs an operation and a starting value, but it need not be reversible. Adding counts, joining strings, and composing transformations all share the same grouping and identity laws. Requiring every element to have an inverse element gives a group, a stronger structure suitable for reversible operations.
Past exam of the mathematics course of the University of Cambridge 2011 ia Paper 4 5E b Solution Created 2026-09-24 Updated 2026-10-14
Yes. A concrete example of nonunique factorization in a congruence submonoid isThe four factors are distinct and each is congruent to one modulo ten. The primes can be checked by trial division by two and three. Their elementary prime decompositions areFor any one of these products , where are the indicated distinct primes, its positive divisors are . This divisor assertion does not require unique factorization: if and , then by the Euclid lemma proved in (a), so and is either one or . If , write and obtain , giving or .
None of is congruent to one modulo ten. Consequently no listed product has a proper nonunit divisor in . Thus each is an irreducible element of a commutative monoid, and the displayed equality proves the claim. Ordinary prime decompositions and irreducibility relative to the smaller commutative monoid are different notions.
Past exam of the mathematics course of the University of Cambridge 2012 iii Paper 25 7 a Solution Created 2026-10-03 Updated 2026-10-07
A semi-additive category has commutative-monoid enrichment: each hom-set is a commutative monoid, and composition in a category preserves addition and zero in each variable. In the finite-biproduct convention, which we use here, it also has finite products in a category and coproducts in a category. A preadditive category has abelian groups as its hom-sets, with composition additive in each variable; this definition alone does not require finite products in a category or a zero object.
Let with projections . Define by for and otherwise. Bilinearity givesso product uniqueness gives . For a family , set . Then . If has the same restrictions, . Thus the product in a category is also the coproduct in a category, with its canonical injections. Conversely, the analogous construction from a finite coproduct in a category gives projections and the same identities, proving that it is a product in a category.
For the empty family, a terminal object has a singleton endomorphism monoid, so . Every map equals its composite with , hence equals the zero map; this map exists by enrichment. Therefore is also an initial object, a zero object. The dual argument applies to an initial object. Consequently finite products in a category and coproducts in a category coincide canonically as biproducts, including the nullary case.
Past exam of the mathematics course of the University of Cambridge 2017 iii Paper 119 6 Solution Created 2026-10-03 Updated 2026-10-05
A pointed category has a zero object, both initial and terminal. Factoring through that object gives a zero morphism between any two objects. In this paper a semi-additive structure means commutative-monoid enrichment: every hom-set is a commutative monoid with additive zero, and composition distributes over addition in both variables. No existence of finite products in a category is included in this last definition. This convention matters for the final one-object example; under the stronger convention requiring finite biproducts, that example would not be a semi-additive category.
Let be the given canonical isomorphism. Transfer the coproduct injections across , so is also a coproduct in a category, with injectionsWrite for the morphism whose composites with are both . For , define the biproduct-induced addition of morphisms byThe zero is the existing zero morphism. We verify the laws from the universal properties, without assuming addition in advance.
All finite canonical maps from coproducts to products are isomorphisms, by induction from the binary ones and the zero object. Thus both and are ternary coproducts in a category. The two iterated fold maps to agree on each of the three injections, hence are equal. Applying this to gives associativity. The interchange swaps the two injections, so its composite with is , giving commutativity. Finally , so , and similarly .
Precomposition is additive because . For , the morphisms and agree on both injections, so they agree; consequently . Composition with a zero morphism is zero. This proves the commutative-monoid enrichment.
It is unique. In any such enrichment, the additive zero morphisms agree with the pointed ones, since each map to or from the zero object belongs to a singleton hom-set. The projections of from are respectively by bilinearity, soFor , composing on the left by and on the right by forces the displayed formula for . Thus the biproducts determine exactly one such enrichment.
For the last part, the underlying one-object category has endomorphism monoid , including , and identity . Its usual addition gives a commutative-monoid enrichment. Any permutation of the prime numbers extends, by unique prime factorization, to a multiplicative monoid automorphism , fixing . Transport addition byThis is a commutative monoid operation with zero , and multiplication distributes over it: applying reduces each distributive law to the ordinary one in . Thus each operation supplies a semi-additive structure on the same fixed composition law.
For each odd prime , take to interchange and , fixing every other prime. ThenDifferent choices of give different additions, and there are infinitely many prime numbers. Hence there are infinitely many distinct semi-additive structures, even though these transported structures are isomorphic as enriched categories. The underlying one-object category has no terminal object, because its endomorphism set is not a singleton, so it indeed has no finite products in a category.
Past exam of the mathematics course of the University of Cambridge 2018 iii Paper 119 6 iii Solution Created 2026-10-03 Updated 2026-10-05
In the category of complete join-semilattices, define addition of arrows pointwise byand let the zero arrow be the constant-bottom map. These form commutative monoids. Pointwise join of join-preserving maps again preserves all joins, including the empty join, and composition is additive in each variable. Thus the category has the required semi-additive enrichment.
For an arbitrary set-indexed family , the product poset , with coordinatewise joins, is the product in a category. Define by putting an element in coordinate and bottom in all others. Given join-preserving , defineThis preserves arbitrary joins by interchanging the two joins, and . It is unique because every tuple is . Therefore is also the coproduct in a category with these injections, and its canonical coproduct-to-product map is the identity. This proves the biproducts of complete join-semilattices property, even for arbitrary set-indexed families, and in particular makes this a semi-additive category with the hypotheses of part (ii).
The two-element chain has distinct identity and constant-bottom endomorphisms, so the category is not equivalent to . Its addition is idempotent rather than cancellative; for example itself supplies an absorbing endomorphism. Hence
Past exam of the mathematics course of the University of Cambridge 2018 iii Paper 119 6 i Solution Created 2026-10-03 Updated 2026-10-05
In a semi-additive category, hom-sets are commutative monoids and composition is additive in both variables. Write , , with injections and projections . The canonical has when and zero otherwise. DefineBilinearity givesThe universal properties of the product in a category and coproduct in a category imply and . For the empty family, is initial and terminal. Their endomorphisms are necessarily the identity and the zero morphism; the zero map therefore also gives inverse composites. Thus the comparison is an isomorphism for every finite family, giving a biproduct:
Past exam of the mathematics course of the University of Cambridge 2022 iii Paper 119 6 Solution 2026-09-28
A semi-additive category is a category whose hom-sets are commutative monoids and whose composition is additive in each variable, with finite products and coproducts.
Suppose first that is a binary product in a category, with projections . The zero morphisms and the product property define mapsbyThe two projections of equal those of , soFor and , the mapsatisfies and . If has the same restrictions, thenThus is also the binary coproduct. The dual argument starts from a coproduct and makes it a product. Hence binary products and coproducts coincide canonically as biproducts.
Let be a reflexive pair in an additive category, with . For every object , regard as an arrow from to between objects of . The identity at is .
If , define the composite byIts source and target areThe identities follow fromand associativity follows immediately by expanding both iterated composites and using the matching equations. The inverse of iswhose source is , whose target is , and whose two composites with are the appropriate identity arrows. These formulas are natural in , so the Yoneda lemma identifies them with structure morphisms in . The pair is therefore an internal groupoid, proving that every reflexive pair in an additive category is an internal groupoid.
This fails for semi-additive categories. In the category of commutative monoids, letunder coordinatewise addition. The two projections have the common splitting , so they form a reflexive pair. Its underlying reflexive graph is the usual order category on : there is an arrow exactly when . If it were an internal groupoid, the arrow would have an inverse , but . Therefore this reflexive pair is not an internal groupoid, and “additive” cannot be weakened to “semi-additive.”
The substitution , with , is a bijection onto and obeysThus the log-sum-exp function transfers nonnegative addition to the given set. It is closed, associative and commutative, with identity element . But a finite has , and adding a nonnegative number cannot give zero, so no finite has an inverse element. Therefore it is a commutative monoid but not a group.
Semiring Created 2026-10-05 Updated 2026-10-06
A semiring has a commutative monoid operation and a monoid operation , with multiplication distributing over addition on both sides and absorbing multiplication. Additive inverses are not required. The natural numbers with their usual addition and multiplication are a basic example. Regarding multiplication as composition yields a one-object category with commutative-monoid enrichment.