Math 2.0

Group theory and generalizations Definition

Free monoid

Builds on MonoidSetFunction

Definition

Let AA be a set, called the alphabet. A word over AA is a finite sequence a1a2⋯ana_1 a_2 \cdots a_n with n≥0n \ge 0 and each ai∈Aa_i \in A; the word with n=0n = 0 is the empty word ε\varepsilon. The free monoid on AA is the set A∗A^* of all words over AA with the operation of concatenation, (a1⋯an)(b1⋯bm)=a1⋯anb1⋯bm,(a_1 \cdots a_n)(b_1 \cdots b_m) = a_1 \cdots a_n b_1 \cdots b_m, and with identity element ε\varepsilon.

Remarks

Concatenation is associative and ε\varepsilon is a two-sided identity, so A∗A^* is a monoid. Universal property: for every monoid MM and every map f ⁣:A→Mf \colon A \to M, there is exactly one monoid homomorphism fˉ ⁣:A∗→M\bar f \colon A^* \to M with fˉ(a)=f(a)\bar f(a) = f(a) for a∈Aa \in A, namely fˉ(a1⋯an)=f(a1)⋯f(an)\bar f(a_1 \cdots a_n) = f(a_1) \cdots f(a_n). A monoid is called free if it is isomorphic to some A∗A^*. The free semigroup A+A^+ is A∗A^* without the empty word.

Example: for A={a}A = \set{a}, the map an↦na^n \mapsto n is an isomorphism from A∗A^* onto the monoid (ℕ,+)(\N, +) with 0∈ℕ0 \in \N.

Non-example: the monoid (ℤ,+)(\Z, +) is not free. In a free monoid, uv=εuv = \varepsilon forces u=v=εu = v = \varepsilon, because lengths add; but in ℤ\Z, 1+(−1)=01 + (-1) = 0 with 1≠01 \ne 0.

Reading path

To understand this page from the ground up, read these 15 pages in order. The foundations come first.

Show the path as a graph
Each page uses the pages above it. The colour of the bar on a box shows how strong the evidence is, and the box also gives it as text. The list has the same pages.
  • no evidence level
  1. Element definition
  2. Monoid concept
  3. Proposition concept
  4. Set definition
  5. Implication definition
  6. Predicate definition
  7. Ordered pair definition
  8. Existential quantifier definition
  9. Universal quantifier definition
  10. Cartesian product definition
  11. Subset definition
  12. Uniqueness quantifier definition
  13. Binary relation definition
  14. Function definition
  15. Free monoid definition

Further reading

  1. Web https://en.wikipedia.org/wiki/Free_monoid
About this page
Tag27ZPTJP9PP
URIm2://27ZPTJP9PP
Kinddefinition
WritingW0 stub
MSC20M05
DefinesFree monoid
UsesMonoid, Set, Function
Changed2 November 2026

Markdown · JSON · Edit on GitHub

What this page needs for W1

  • a source with a locator (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

No page links to this page yet.