Nepedia
Back to Discover
Independent Reader
🔢

Monoid

math Maturity 5-7 Next article →

Math uses rules to join things together. A monoid is a special set of things with a rule. This rule lets you combine two items into one.

Magma to group2
Magma to group2

To be a monoid, the rule must follow two laws. First, it must be associative. This means the way you group things does not change the result. If you join three things, the order of grouping does not matter. Second, there must be an identity element. This is a special item that changes nothing. In addition, zero is the identity. Adding zero keeps a number the same.

Monoids appear in many places. Natural numbers with addition form a monoid. The set of all strings of letters is also a monoid. In strings, an empty string is the identity. Joining a word with an empty string does not change it.

Some monoids are commutative. This means the order of the items does not matter. For example, three plus two is the same as two plus three. If every item in a monoid has an inverse, it becomes a group.

Exponentiation as monoid homomorphism svg
Exponentiation as monoid homomorphism svg
175 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

🖼️ Images & Media (2)
File:Magma to group2.svg
Magma to group2.svg
File:Exponentiation as monoid homomorphism svg.svg
Exponentiation as monoid homomorphism svg.svg
More to explore

What is Nepedia?

A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.