Canonical: https://knowlpedia.com/algebra-rings/commutative-semiring/

# Commutative semiring

A semiring whose multiplication is commutative.

A **commutative semiring** is a [semiring](https://knowlpedia.com/algebra-rings/semiring/) \(S\) in
which \(ab=ba\) for all \(a,b\in S\). Thus both addition and multiplication
are commutative, \(1\) is part of the structure, and \(0\) is multiplicatively
absorbing.

## Scope

Unless a page says otherwise, semirings in the tropical and hyperstructure
parts of this corpus are commutative and unital. This convention makes their
multiplicative monoids compatible with the [commutative hyperrings](https://knowlpedia.com/algebra-hyperstructures/hyperring/) and
hyperfields used there.

## Examples

Every [commutative ring](https://knowlpedia.com/algebra-rings/commutative-ring/) is a commutative
semiring. The natural numbers, the [Boolean semifield](https://knowlpedia.com/algebra-rings/boolean-semifield/), and the max-plus tropical
semifield are commutative semirings. A matrix semiring over a commutative
semiring is generally not commutative when the matrix size exceeds one.

## References

1. Jonathan S. Golan, *Semirings and their Applications*, Kluwer, 1999. [Publisher DOI record](https://doi.org/10.1007/978-94-015-9333-5). Relevant: Chapter 1.
