I am going trough the “Category Theory” book by Steve Awodey.
In the “1.7 Free categories” chapter the author introduces the following algebraic definition of free monoid:
A monoid $M$ is freely generated by a subset $A$ of $M$, if the following conditions hold:
(no-junk) Every element $m \in M$ can be written as a product of elements of $A$ $$m = a_1 \cdot_M a_2 \dotsm a_n \,, \quad a_i\in A \,.$$
(no-noise) No “nontrivial” relations hold in $M$, that is, if $a_1 \dotsm a_j = a'_1 \dotsm a'_k$, then this is required by the axioms for monoids.
Then the author introduces the notion of Universal Mapping Property (UMP) as a way to encode the conditions above in terms of category theory:
Let $M(A)$ be a monoid on a set $A$. There is a function $i \colon A \rightarrow |M(A)|$ (where $|M(A)|$ is the underlying set of the monoid $M(A)$), and given any monoid $N$ and any function $f \colon A \rightarrow |N|$ (where $|N|$ is the underlying set of the monoid $N$), there is a unique monoid homomorphism $\bar{f} \colon M(A) \rightarrow N$ such that $|\bar{f}| \circ i = f$ where $|\bar{f}| \colon |M(A)| \rightarrow |N|$.
The author then says that
the existence part of the UMP captures the vague notion of “no-noise” (because any equation that holds between algebraic combinations of the generators must also hold anywhere they can be mapped to, then thus everywhere);
the uniqueness part makes precise the “no-junk” idea (because any extra elements non-combined from the generators would be free to be mapped to different values).
None of the conclusion above seem to be clear to me, could anyone please explain it?
Monoid homomorphism $\bar f$ preserves structure so, in particular, if there are any equalities between products in one monoid $M$, like $a \cdot_M b = c \cdot_M b$, they are automatically transported to the other one, $N$: $\bar f(a) \cdot_N \bar f(b) = \bar f(c) \cdot_N \bar f(b)$. Some equalities, like the unit and associativity laws are satisfied in any monoid. But suppose that there is an additional equality (the "noise"), for instance $2 \cdot 6 = 4 \cdot 3$ in the monoid of natural numbers $(\mathbb{N}, \cdot)$. Such an equality restricts the type of monoids to which $(\mathbb{N}, \cdot)$ can be mapped. They all have to satisfy this additional equality. So the existence of a monoid homomorphism from the free monoid to any monoid with the same generators means that the former has no noise equalities.
Junk is defined as any element that is not generated from the generator set $A$. Let's say, you add $i$ to $\mathbb N$. You can now pick the target monoid to have even more junk, say $j$ and $k$. You can map $i$ to $j$, or you can map $i$ to $k$. Two different mappings that still satisfy the commuting conditions (which you have omitted in your post).