Abstract algebra studies operations themselves. You already know many: adding integers, multiplying matrices, adding and multiplying mod n, composing functions. This course asks what all of them have in common, so that one proof can cover every example at once. The first step is to say exactly what an operation is.
Definition. A binary operation on a set $S$ is a function $\ast: S \times S \to S$. It takes an ordered pair $(a, b)$ of elements of $S$ (an element of the Cartesian product $S \times S$) and returns one element $a \ast b$ that is again in $S$. That last requirement is called closure: subtraction is a binary operation on $\mathbb{Z}$, but not on $\mathbb{N} = \{0, 1, 2, \dots\}$, because $1 - 2 \notin \mathbb{N}$.
For a small set we can list every answer in a Cayley table: the entry in row $a$ and column $b$ is $a \ast b$. The order matters, since $a \ast b$ and $b \ast a$ may differ.
Properties you can read off (or not)
- Commutative: $a \ast b = b \ast a$ for all $a, b$. In the table this means symmetry across the main diagonal.
- Identity: an element $e$ with $e \ast a = a = a \ast e$ for all $a$. Its row and its column copy the headings.
- Associative: $(a \ast b) \ast c = a \ast (b \ast c)$ for all $a, b, c$. This one is not visible in the table: for a set with $n$ elements there are $n^{3}$ triples to check.
Por qué funciona
Ejemplo resuelto: Reading a table, both ways
- Commutativity needs $x \ast y = y \ast x$ for every pair.
- Here $a \ast b = c$ but $b \ast a = a$.
- One failing pair is enough.
Respuesta: No: $a \ast b \ne b \ast a$.
Ejemplo resuelto: Testing associativity with a formula
- Notice $1 + (a \ast b) = 1 + a + b + ab = (1 + a)(1 + b)$.
- So $1 + ((a \ast b) \ast c) = (1 + a)(1 + b)(1 + c)$, and the same for $1 + (a \ast (b \ast c))$.
- Both groupings give the same number, because multiplication of integers is associative.
Respuesta: Yes, it is associative (and commutative).
Ejemplo resuelto: A commutative operation that is not associative
- $|a - b| = |b - a|$, so it is commutative.
- Try $1, 2, 3$: $(1 \ast 2) \ast 3 = 1 \ast 3 = 2$, but $1 \ast (2 \ast 3) = 1 \ast 1 = 0$.
Respuesta: Commutative but not associative.
Error común
Idea clave