# How to naturally encounter the properties of identity, commutativity, associativity, and distributivity (to define rings)?

In elementary school, I remember learning about the basic algebraic properties of the integers like identities, commutativity, associativity, and distributivity, and not really thinking much about them (I mean, as a kid I thought they were obvious and not worth dedicating a month to, haha). Now that I'm starting abstract algebra, these four things pop up again, but this time around, these laws seem far more mysterious, perhaps because they are being used as some sort of "basis" for generating a "valid" algebraic structure, instead of just random facts about numbers.

My question is this; I would expect there to be lots of formulas regarding elementary arithmetic, but somehow these four ideas generate everything. How could one trying to isolate algebraic properties of $$\mathbb Z$$ come up with this exact "basis"? Is there some kind of logical/algorithmic method we could use to systematically discover these laws and be sure that they encompass everything we care about when it comes to elementary arithmetic?

An idea I had was that if someone could tell a story about building arithmetic from the Peano axioms, like here: https://www.math.wustl.edu/~kumar/courses/310-2011/Peano.pdf, sort of like: ok we defined the operator $$+$$ that takes in two things from $$\mathbb N$$ and spits out one thing in $$\mathbb N$$ recursively by saying $$n+1 = \sigma(n)$$ and $$n+\sigma(m)=\sigma(n+m)$$. Now an example: we already defined "$$1$$", and let's define $$2$$ as $$2 = \sigma(1)$$. Then $$1+1=\sigma(1)=2$$. Nice! How about $$2+1$$? Well, $$2+1 = \sigma(2)$$ which we'll call $$3$$. But what if I asked about $$1+2$$? Then the 1st rule won't help, but we can write $$1+2=1+\sigma(1)=\sigma(1+1)=\sigma(2)=3$$. Yay! But this was annoying because we know intuitively that switching the things around on the $$+$$ operator doesn't change anything, so let's prove this property (which we'll call commutativity).

However, I can't seem to shoehorn associativity or distributivity in a convincing manner, so perhaps this is the wrong approach.

Another idea I had was like starting again from the Peano axioms and then saying like "ok, we rigorously defined numbers and addition and multiplication and induction. Let's do the age old Gauss integer sum problem from the Peano axiom framework!". This problem immediately forces us to define addition for $$n$$ numbers (associativity), and then the end result involves $$n(n+1)$$ so distributivity comes up naturally. However, this is kind of awkward (like it's awkward to shoehorn in Gauss's sum problem randomly in the middle discussing foundational arithmetic--at least it feels slightly unnatural in my eyes), so I don't know. Phrased another way, my complaints for this idea is that there arise two questions: "why should we consider this Gauss problem" and "why should this problem be all that is needed to develop every property we care about in arithmetic"?

Criticisms and ideas are welcome!

• I think it should depend on what you mean by "every property we care about in arithmetic." It's a classical incompleteness theorem that no recursively enumerable set of axioms describing a theory capable of describing (some basic properties of) N will be consistent and complete; there will be truths inaccessible by your theory. In that sense, a "full description" of any Platonically conceived N is forever beyond the reach of formalism, as we understand it. Jul 7 '20 at 16:02

This isn't exactly what you are looking for, but it's pretty close: the book "Surreal Numbers" by Donald Knuth builds up the theory of surreal numbers by telling a fictional story of two people discovering and building the correct axioms. You should check it out. It's a neat read, and if I remember correctly it actually has exercises too.

From the Back Cover

The book's primary aim, Knuth explains in a postscript, is not so much to teach Conway's theory as "to teach how one might go about developing such a theory." He continues: "Therefore, as the two characters in this book gradually explore and build up Conway's number system, I have recorded their false starts and frustrations as well as their good ideas. I wanted to give a reasonably faithful portrayal of the important principles, techniques, joys, passions, and philosophy of mathematics, so I wrote the story as I was actually doing the research myself."...

Part of the answer is that mathematicians stumbled upon structures that had an "addition" and a "multiplication" that behaved (more or less) like integers do (rationals, reals, complex numbers, the residue rings, matrices, polynomials, power series, rational functions, ...). So it made sense to just assume a set and operations with those properties (and nothing else) as axioms (i.e., as given, not to be questioned) and see what can be deduced from them. Bonus is that anything you prove for abstract rings automatically applies to each of the above.

I think associativity is the most natural property to encounter. This is because transformations are associative. For transformations $$f,g,h$$ with compatible domains and ranges, $$(f\circ g)\circ h=f\circ(g\circ h)$$. Transformations are not necessarily commutative.

In your question, I sense you want to focus on motivating the foundational properties of the ring $$(\mathbb{Z},+,\cdot)$$. To see why we should postulate associativity, we only need to think about the situation of an iterated function $$f:X\to X$$. Evidently, modeling the notion of iterated functions leads one to the structure $$(\mathbb{Z},+)$$, which is associative and commutative.

The "naturalness" of the distributive property will of course depend on how we introduce multiplication to our additive structure above. Typically this is done by modeling the idea of "repeated addition" beginning with $$2\cdot x=x+x$$ From this point of view, multiplication is a mere notational convenience that builds on our ability to count. The distributive property of multiplication over addition is a consequence of the commutativity and associativity of our additive structure.

• I would say that transformations are not necessarily commutative. Of course, some are, such as rotations in 2D.
– J W
Aug 24 '20 at 15:00
• @JW good point. I edited to add the word "necessarily." Aug 24 '20 at 15:16

This is not a direct response to your question.

One of the hot topics in algebraic geometry today is known as Tropical geometry. The addition and multiplication of polynomials is replaced with $$\begin{eqnarray} x \oplus y & = &\min\{x,y\} \\ x \otimes y & = & x + y \end{eqnarray}$$ in the so-called tropical semiring. Maybe you could use this to make these abstract properties newly relevant? Image from Mittag-Leffler

• What does the image depict?
– J W
Aug 23 '20 at 6:25
• @JW: Good question! The points should be labeled $1,𝑥,𝑥^2$ along the horizontal, $1,𝑦,𝑦^2$ along the vertical, and $𝑥𝑦$ the diagonal point. The straight segments represent a tropical conic. The green region is an amoeba whose limit is the tropical curve. It would be useful to have someone more knowledgeable in tropical geometry than I am verify this interpretation. Aug 23 '20 at 17:56