Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
73 changes: 65 additions & 8 deletions nodes/00D/00DRK90Z6K.md
Original file line number Diff line number Diff line change
@@ -1,32 +1,89 @@
---
tag: 00DRK90Z6K
kind: statement
role: proposition
role: lemma
name: Laws of exponents in a group
aliases: [power-laws-in-a-group]
msc: [20A05]
uses: [G5S1M9]
topics: [BAZT8JJ70S]
audience: ug1
about: [G5S1M9]
uses: [G5S1M9, 0ZNZH0EXFX, YJRBCWQV6B]
sources:
- url: https://en.wikipedia.org/wiki/Exponentiation
locator: In a group
- book: isbn:9781305657960
locator: Chapter 2
---

## Statement

Let $G$ be a [[group|G5S1M9]] with identity element $e$, and let $a \in G$.
For an integer $n$, define $a^n$ as follows: $a^0 = e$, $a^{n+1} = a^n a$ for $n \geq 0$, and $a^{-n} = (a^{-1})^n$ for $n > 0$.
Then $a^{m+n} = a^m a^n$ and $(a^m)^n = a^{mn}$ for all integers $m$ and $n$.
For an integer $n$, define the power $a^n$ as follows: $a^0 = e$, $a^{n+1} = a^n a$ for $n \geq 0$, and $a^{-n} = (a^{-1})^n$ for $n > 0$.
Then the following laws hold for all integers $m$ and $n$.

1. $a^m a^n = a^{m+n}$.
2. $(a^m)^n = a^{mn}$.
3. $(a^n)^{-1} = a^{-n}$, that is, the [[inverse|0ZNZH0EXFX]] of $a^n$ is $a^{-n}$.
4. If $b \in G$ and $ab = ba$, then $(ab)^n = a^n b^n$.

## Remarks

The law $(ab)^n = a^n b^n$ is true for all $n$ when $ab = ba$, but it can fail when $a$ and $b$ do not commute.
In additive notation the laws are $(m + n)a = ma + na$ and $n(ma) = (nm)a$.
The first law shows that $n \mapsto a^n$ is a group homomorphism from $(\mathbb{Z}, +)$ to $G$.
### Why each hypothesis is needed

Law 4 needs the hypothesis $ab = ba$.
In the [[symmetric group|0515A6D2Y1]] $S_3$, with composition from right to left, let $a = (1\,2)$ and $b = (1\,3)$.
Then $ab = (1\,3\,2)$, so $(ab)^2 = (1\,3\,2)(1\,3\,2) = (1\,2\,3)$.
But $a^2 = e$ and $b^2 = e$, so $a^2 b^2 = e \neq (ab)^2$.
For $n = -1$, law 4 would say $(ab)^{-1} = a^{-1} b^{-1}$, and this is also false in $S_3$, by [[uniqueness of identity and inverses|0D9NDGE9KP]].

### Consequences

1. Two powers of the same element commute: $a^m a^n = a^{m+n} = a^n a^m$.
2. The set $\{a^n : n \in \mathbb{Z}\}$ of all powers of $a$ is closed under products and inverses, by laws 1 and 3. It is the cyclic [[subgroup|0X1JXT47GA]] generated by $a$.
3. Law 1 says that the map $\mathbb{Z} \to G$, $n \mapsto a^n$, is a [[group homomorphism|0JYTG5K9Y4]] from $(\mathbb{Z}, +)$ to $G$.
4. In an [[abelian group|082GHNPJ53]], law 4 holds for all $a$ and $b$.
5. In additive notation the power $a^n$ is the multiple $na$, and the laws are $ma + na = (m + n)a$, $n(ma) = (nm)a$, $-(na) = (-n)a$ and $n(a + b) = na + nb$.

### Converse

For $n = 2$, the converse of law 4 holds: if $(ab)^2 = a^2 b^2$, then $ab = ba$.
Indeed, $abab = aabb$, and cancellation of $a$ on the left and $b$ on the right gives $ba = ab$, by the [[cancellation laws|0VSNX4P2Q0]].
So a group in which $(ab)^2 = a^2 b^2$ for all $a$ and $b$ is abelian.

### Generalizations

In a [[monoid|0N6R902FG1]], the powers $a^n$ are defined for $n \geq 0$, and laws 1, 2 and 4 hold for $m, n \geq 0$ with the same proof.
In a [[semigroup|0XMEM406JM]], they hold for $m, n \geq 1$.
Law 4 for [[commuting elements|YJRBCWQV6B]] is the reason that the binomial theorem holds for commuting elements of a ring.

## Explanations

### L1 human

The powers of an element of a group follow the rules that you know for the powers of a nonzero number.
The power $a^3$ means $a a a$, and $a^0$ is the identity.
A negative power means a power of the inverse, so $a^{-2} = a^{-1} a^{-1}$.
For example, $a^3 a^{-1} = a a a a^{-1} = a^2$.
For example, $a^3 a^{-1} = a a a a^{-1} = a a = a^2$.
One rule needs care: $(ab)^2 = abab$, and this is $aabb$ only when $ab = ba$.

### L2 human

The typical use is to compute a high power or a negative power with less work.
Let $a = (1\,2\,3)$ in $S_3$.

1. We have $a^2 = (1\,3\,2)$ and $a^3 = e$.
2. By law 1, $a^{10} = a^{9} a$, and by law 2, $a^9 = (a^3)^3 = e^3 = e$. So $a^{10} = a$.
3. By law 3, $a^{-5} = (a^5)^{-1}$. By law 1, $a^5 = a^3 a^2 = a^2$.
4. Since $a^2 a = a^3 = e$, the inverse of $a^2$ is $a$. So $a^{-5} = a$.
5. Check with law 1: $a^{-5} a^5 = a^0 = e$, and indeed $a \cdot a^2 = e$.

A trap is to use law 4 without checking that $a$ and $b$ commute.
A second trap is to apply the rules for real numbers that use addition, such as $(a + b)^2 = a^2 + 2ab + b^2$: a group has only one operation.

### L3 human

When $G$ is abelian, laws 1, 2 and 4 make $G$ a module over the ring $\mathbb{Z}$, with $n \cdot a = a^n$.
For a general group, law 1 says that each element $a$ gives a unique homomorphism $\mathbb{Z} \to G$ with $1 \mapsto a$, so $\mathbb{Z}$ is the [[free group|0KTW26C80J]] on one generator.
The kernel of this homomorphism is $k\mathbb{Z}$, where $k$ is the [[order of the element|0WE2NHZJ7B]] $a$, or $k = 0$ when this order is infinite.
Law 4 fails for general groups, and the failure is measured by the commutator $aba^{-1}b^{-1}$, which later sub-areas study.
22 changes: 22 additions & 0 deletions nodes/04E/04E4V9G5FR.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,39 @@ tag: 04E4V9G5FR
kind: definition
name: Commutativity
msc: [08A02]
topics: [BAZT8JJ70S]
audience: school
defines: 099E72KTF8
uses: [0580ZJSA3Q]
formal:
- system: lean4
library: mathlib
decl: Std.Commutative
match: exact
sources:
- url: https://en.wikipedia.org/wiki/Commutative_property
locator: Definition
- book: isbn:9780471433347
locator: Section 1.1
---

## Definition

Let $S$ be a set and let $\ast$ be a [[binary operation|0M418FE7BB]] on $S$.
The operation $\ast$ is commutative when $a \ast b = b \ast a$ for all $a, b \in S$.

## Notation

The symbol $+$ is used by convention only for commutative operations.
In Mathlib, the class `Std.Commutative op` states that the function `op` satisfies `op a b = op b a` for all `a` and `b`.

## Remarks

Addition and multiplication of real numbers are commutative.
Subtraction is not commutative: $1 - 2 \neq 2 - 1$.
Multiplication of $2 \times 2$ real matrices is associative but not commutative.
A [[group|G5S1M9]] with a commutative operation is an [[abelian group|082GHNPJ53]].
The concept page [[commutativity|099E72KTF8]] gives more examples, the non-examples and the first properties.

## Explanations

Expand All @@ -28,3 +44,9 @@ Multiplication of $2 \times 2$ real matrices is associative but not commutative.
Commutativity says that the order of the two inputs does not matter.
For example, $3 \times 5$ and $5 \times 3$ are both $15$.
Many operations do not have this property, for example subtraction and the composition of rotations in space.

### L2 human

To check that an operation is commutative, take two arbitrary elements $a$ and $b$ and show that $a \ast b = b \ast a$.
To show that an operation is not commutative, one pair with $a \ast b \neq b \ast a$ is enough.
A trap is to test only pairs that commute by chance, such as a pair $a, a$ or a pair that contains an identity element.
88 changes: 78 additions & 10 deletions nodes/04E/04EAFVFTF7.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@ tag: 04EAFVFTF7
kind: object
name: Circle group
msc: [22A05]
topics: [BAZT8JJ70S]
audience: ug1
instance_of: [082GHNPJ53]
uses: [071DDFVG4J]
uses: [071DDFVG4J, 09FTAET5Z4, 0FFXKTKKQC, 0FTH2E9TAS, 07GJV36896, 0CXXJNG5B6, 0CGYNDCWRR, 0DBWXQRXQJ]
sources:
- url: https://en.wikipedia.org/wiki/Circle_group
locator: lead section
Expand All @@ -17,20 +19,86 @@ same_as:

## Description

The circle group is the set $\mathbb{T} = \{z \in \mathbb{C} : |z| = 1\}$ of the complex numbers of absolute value $1$, with complex multiplication.
It is an [[abelian group|082GHNPJ53]] with identity element $1$, and the inverse of $z$ is its complex conjugate $\bar{z} = 1/z$.
Each element of $\mathbb{T}$ is $e^{i\theta}$ for a real number $\theta$, and $e^{i\theta} e^{i\varphi} = e^{i(\theta + \varphi)}$.
The circle group is the set $\mathbb{T} = \{z \in \mathbb{C} : |z| = 1\}$ of the [[complex numbers|09FTAET5Z4]] of [[absolute value|0FFXKTKKQC]] $1$, with complex multiplication.
In the complex plane, $\mathbb{T}$ is the circle of radius $1$ about $0$.
We check that $\mathbb{T}$ is an [[abelian group|082GHNPJ53]].

1. Closure. For $z, w \in \mathbb{T}$, $|zw| = |z| \, |w| = 1 \cdot 1 = 1$. So $zw \in \mathbb{T}$.
2. Associativity. Multiplication of complex numbers is associative, so it is associative on the subset $\mathbb{T}$.
3. Identity. $|1| = 1$, so $1 \in \mathbb{T}$, and $1 \cdot z = z \cdot 1 = z$.
4. Inverses. For $z \in \mathbb{T}$, the [[complex conjugate|0FTH2E9TAS]] satisfies $z \bar{z} = |z|^2 = 1$. Also $|\bar{z}| = |z| = 1$. So $z^{-1} = \bar{z}$ is in $\mathbb{T}$.
5. Commutativity. Multiplication of complex numbers is commutative, so $zw = wz$.

So $\mathbb{T}$ is an abelian group, and it is a [[subgroup|0X1JXT47GA]] of the group $\mathbb{C} \setminus \{0\}$ under multiplication.
By [[Euler's formula|04R3CY41VJ]], each $z \in \mathbb{T}$ is $e^{i\theta} = \cos \theta + i \sin \theta$ for a real number $\theta$, an [[argument|070PFSYJJR]] of $z$.
Then $e^{i\theta} e^{i\varphi} = e^{i(\theta + \varphi)}$, so multiplication in $\mathbb{T}$ adds the angles.

## Remarks

The map $t \mapsto e^{2\pi i t}$ is a surjective homomorphism from $(\mathbb{R}, +)$ to $\mathbb{T}$ with kernel $\mathbb{Z}$, thus $\mathbb{T}$ is isomorphic to the quotient $\mathbb{R}/\mathbb{Z}$.
The circle group is also isomorphic to the group $\mathrm{SO}(2)$ of rotations of the plane about the origin.
For each positive integer $n$, the [[group of $n$th roots of unity|0WX11EA3F3]] is a finite subgroup of $\mathbb{T}$.
### The isomorphism with R/Z

Let $p \colon (\mathbb{R}, +) \to \mathbb{T}$ be the map $p(t) = e^{2\pi i t}$, given by the [[complex exponential|07GJV36896]].

1. Homomorphism. $p(s + t) = e^{2\pi i s + 2\pi i t} = e^{2\pi i s} e^{2\pi i t} = p(s) p(t)$.
2. Onto. Each $z \in \mathbb{T}$ is $e^{i\theta}$ for a real $\theta$. Then $z = p(\theta / 2\pi)$.
3. Kernel. $p(t) = 1$ means $\cos 2\pi t = 1$ and $\sin 2\pi t = 0$. This holds exactly when $t \in \mathbb{Z}$.
4. Isomorphism. By the [[first isomorphism theorem|0CXXJNG5B6]], the map $t + \mathbb{Z} \mapsto e^{2\pi i t}$ is an isomorphism from the [[quotient group|0KYX2N69J0]] $\mathbb{R}/\mathbb{Z}$ to $\mathbb{T}$.

Thus $\mathbb{T}$ is the real line with each $t$ identified with $t + 1$, as in the [[circle as a quotient of the real line|0WH1GVBJNH]].

### The isomorphism with SO(2)

Let $\rho \colon \mathbb{T} \to \mathrm{SO}(2)$ send $z = a + bi$ to the matrix $\rho(z) = \begin{pmatrix} a & -b \\ b & a \end{pmatrix}$.
Here [[$\mathrm{SO}(2)$|0CGYNDCWRR]] is the group of real $2 \times 2$ matrices $M$ with $M^{\mathsf{T}} M = I$ and $\det M = 1$.

1. Values in $\mathrm{SO}(2)$. The columns $(a, b)$ and $(-b, a)$ have length $\sqrt{a^2 + b^2} = 1$ and dot product $-ab + ba = 0$. Also $\det \rho(z) = a^2 + b^2 = 1$.
2. Homomorphism. For $w = c + di$, we have $zw = (ac - bd) + (ad + bc)i$.
3. The matrix product is $\begin{pmatrix} a & -b \\ b & a \end{pmatrix} \begin{pmatrix} c & -d \\ d & c \end{pmatrix} = \begin{pmatrix} ac - bd & -(ad + bc) \\ ad + bc & ac - bd \end{pmatrix}$. This is $\rho(zw)$.
4. Injective. The first column of $\rho(z)$ is $(a, b)$, so $\rho(z)$ determines $z$.
5. Onto. Let $M \in \mathrm{SO}(2)$ have the first column $(a, b)$. This column has length $1$, so $a^2 + b^2 = 1$.
6. The second column has length $1$ and is perpendicular to $(a, b)$, so it is $(-b, a)$ or $(b, -a)$.
7. The second choice gives $\det M = -a^2 - b^2 = -1$. So the second column is $(-b, a)$, and $M = \rho(a + bi)$.

So $\rho$ is an isomorphism.
The matrix $\rho(e^{i\theta})$ is the [[rotation matrix|0B9QNFGTHM]] by the angle $\theta$.

### The torsion subgroup

An element $z \in \mathbb{T}$ has finite order exactly when $z^n = 1$ for some $n \geq 1$, that is, when $z$ is in the [[group of $n$th roots of unity|0WX11EA3F3]] $\mu_n$ for some $n$.
So the [[torsion subgroup|0DBWXQRXQJ]] of $\mathbb{T}$ is the union $\bigcup_{n \geq 1} \mu_n$.
Under the isomorphism with $\mathbb{R}/\mathbb{Z}$, $e^{2\pi i t}$ has finite order exactly when $nt \in \mathbb{Z}$ for some $n \geq 1$, that is, when $t$ is rational.
So the torsion subgroup corresponds to $\mathbb{Q}/\mathbb{Z}$.
For example, $e^{2\pi i \sqrt{2}}$ has infinite order, because $\sqrt{2}$ is irrational.

### A non-example

The circle $\{z \in \mathbb{C} : |z| = 2\}$ is not a group under multiplication: closure fails, because $|2 \cdot 2| = 4$.

## Explanations

### L1 human

The circle group is the unit circle in the complex plane, where the product of two points is their complex product.
If you write the points as angles, the product adds the angles.
Thus the circle group is the group of rotations of a circle.
The circle group is the circle of radius $1$ in the complex plane.
The product of two points of the circle is again a point of the circle.
If we describe each point by its angle, the product adds the two angles.
So the circle group is the group of all turns of a wheel about its centre.

### L2 human

We compute with the point $z = \frac{3}{5} + \frac{4}{5} i$.

1. $|z|^2 = \frac{9}{25} + \frac{16}{25} = 1$, so $z \in \mathbb{T}$.
2. The inverse is $\bar{z} = \frac{3}{5} - \frac{4}{5} i$. Check: $z \bar{z} = \frac{9}{25} + \frac{16}{25} = 1$.
3. The square is $z^2 = \frac{9 - 16}{25} + \frac{24}{25} i = -\frac{7}{25} + \frac{24}{25} i$, and $|z^2|^2 = \frac{49 + 576}{625} = 1$.
4. The matrix of $z$ is $\rho(z) = \begin{pmatrix} 3/5 & -4/5 \\ 4/5 & 3/5 \end{pmatrix}$, a rotation of the plane.

The typical use of $\mathbb{T}$ is to measure angles as a group, where adding $2\pi$ to an angle changes nothing.
A trap is to take the inverse $1/z$ for a general complex number $z$ to be $\bar{z}$: this holds only when $|z| = 1$.

### L3 human

The circle group is a compact [[Lie group|7JBRGCVJRB]] of dimension $1$, and each compact connected abelian Lie group is a product of copies of $\mathbb{T}$, a [[torus|03NM7DZXXC]].
The continuous homomorphisms $\mathbb{T} \to \mathbb{T}$ are the maps $z \mapsto z^n$ for $n \in \mathbb{Z}$.
So the [[Pontryagin dual|FMW57WNPDB]] of $\mathbb{T}$ is $\mathbb{Z}$, and the dual of $\mathbb{Z}$ is $\mathbb{T}$.
This duality is the base of [[Fourier series|G12KXDHPPS]]: a function on $\mathbb{T}$ is written as a sum of the characters $z \mapsto z^n$.
As an abstract group, without topology, $\mathbb{T}$ is divisible, and it is isomorphic to $(\mathbb{Q}/\mathbb{Z}) \oplus \mathbb{Q}^{(\mathfrak{c})}$, but this uses the axiom of choice.
42 changes: 36 additions & 6 deletions nodes/058/0580ZJSA3Q.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,42 @@ tag: 0580ZJSA3Q
kind: definition
name: Binary operation
msc: [08A02]
topics: [BAZT8JJ70S]
audience: school
defines: 0M418FE7BB
uses: [0BSJ7RQ9BW, 0EPAT51DXQ, 09CEDJYBKP]
formal:
- system: lean4
library: mathlib
decl: Mul
match: exact
sources:
- url: https://en.wikipedia.org/wiki/Binary_operation
locator: lead section
- book: isbn:9780471433347
locator: Section 1.1
inventory: [XBG0DXBAPN]
---

## Definition

Let $S$ be a set.
A binary operation on $S$ is a map $\ast \colon S \times S \to S$.
For $a, b \in S$, the notation for the image of the pair $(a, b)$ is $a \ast b$.
Let $S$ be a [[set|0BSJ7RQ9BW]].
A binary operation on $S$ is a [[function|0EPAT51DXQ]] $\ast \colon S \times S \to S$ from the [[Cartesian product|09CEDJYBKP]] $S \times S$ to $S$.
For $a, b \in S$, the image of the pair $(a, b)$ is written $a \ast b$.

## Notation

The symbols $a \ast b$, $a \cdot b$ and $ab$ are common for a general binary operation.
The symbol $a + b$ is used by convention only when the operation is [[commutative|099E72KTF8]].
In Mathlib, the class `Mul` gives a type a binary operation written $a * b$.

## Remarks

Addition, subtraction and multiplication are binary operations on the set $\mathbb{Z}$ of integers.
Subtraction is not a binary operation on the set $\mathbb{N}$ of natural numbers, because $1 - 2$ is not in $\mathbb{N}$.
The condition that $a \ast b$ is in $S$ for all $a, b \in S$ is often called closure.
Addition, subtraction and multiplication are binary operations on the set $\mathbb{Z}$ of [[integers|0C4JS9RF5M]].
Subtraction is not a binary operation on the set $\mathbb{N} = \{0, 1, 2, \ldots\}$ of [[natural numbers|0MWKJ44V5A]], because $1 - 2$ is not in $\mathbb{N}$.
The condition that $a \ast b$ is in $S$ for all $a, b \in S$ is called closure.
The definition asks for a value at every pair, so a rule such as division on $\mathbb{Q}$, with no value at the pairs $(a, 0)$, is not a binary operation on $\mathbb{Q}$.
The concept page [[binary operation|0M418FE7BB]] gives the examples, the non-examples and the first properties.

## Explanations

Expand All @@ -29,3 +47,15 @@ The condition that $a \ast b$ is in $S$ for all $a, b \in S$ is often called clo
A binary operation is a rule that takes two elements of a set, in order, and gives one element of the same set.
For example, addition takes $2$ and $3$ and gives $5$.
The order can matter: $2 - 3$ and $3 - 2$ are different.

### L2 human

To check that a rule is a binary operation on a set $S$, we check two things.

1. The rule gives a value for each ordered pair $(a, b)$ with $a, b \in S$.
2. Each value is an element of $S$.

For example, multiplication on the set $\{1, -1\}$ is a binary operation.
The four products are $1 \cdot 1 = 1$, $1 \cdot (-1) = -1$, $(-1) \cdot 1 = -1$ and $(-1) \cdot (-1) = 1$, and each of them is in $\{1, -1\}$.
Addition on the same set is not a binary operation, because $1 + 1 = 2$.
A trap is to forget that a binary operation can take the same element two times, as in the pair $(1, 1)$.
39 changes: 34 additions & 5 deletions nodes/071/071DDFVG4J.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,20 @@ tag: 071DDFVG4J
kind: definition
name: Abelian group
msc: [20Kxx]
topics: [BAZT8JJ70S]
audience: ug1
defines: 082GHNPJ53
uses: [G5S1M9, 04E4V9G5FR]
formal:
- system: lean4
library: mathlib
decl: CommGroup
match: exact
sources:
- url: https://en.wikipedia.org/wiki/Abelian_group
locator: Definition
- book: isbn:9780471433347
locator: Section 1.1
inventory: [EEC7QXJMXQ]
---

Expand All @@ -16,16 +25,36 @@ inventory: [EEC7QXJMXQ]
An abelian group is a [[group|G5S1M9]] $(G, \ast)$ whose operation is [[commutative|099E72KTF8]].
Thus $a \ast b = b \ast a$ for all $a, b \in G$.

## Notation

The operation of an abelian group is often written $a + b$.
Then the identity element is written $0$, the inverse of $a$ is written $-a$, and $a + (-b)$ is written $a - b$.
For an integer $n$, the [[power|00DRK90Z6K]] $a^n$ becomes the multiple $na$.
In Mathlib, `CommGroup` is the multiplicative form and `AddCommGroup` is the additive form.

## Remarks

The integers, the rationals and the real numbers with addition are abelian groups.
The operation of an abelian group is often written $+$, with identity $0$ and inverse $-a$.
The group of invertible $2 \times 2$ real matrices under multiplication is not abelian.
The integers, the rational numbers and the real numbers under addition are abelian groups.
The group $\mathrm{GL}_2(\mathbb{R})$ of invertible $2 \times 2$ real matrices under multiplication is not abelian.
To show that a group is abelian, we must check $ab = ba$ for all pairs $a, b$.
To show that a group is not abelian, one pair with $ab \neq ba$ is enough.
The concept page [[abelian group|082GHNPJ53]] gives more examples, the non-examples and the first properties.

## Explanations

### L1 human

In an abelian group, the order of two elements in a product does not matter.
Addition of numbers is the model: $a + b = b + a$.
The name honours Niels Henrik Abel.
Addition of numbers is the model: $2 + 3$ and $3 + 2$ are both $5$.
The name honours the Norwegian mathematician Niels Henrik Abel.

### L2 human

We check the definition on the group $\{1, -1\}$ under multiplication of numbers.

1. It is a group: $1$ is the identity, and $(-1)(-1) = 1$, so each element is its own inverse.
2. The products of the two different elements are $1 \cdot (-1) = -1$ and $(-1) \cdot 1 = -1$. They are equal.
3. A pair $(a, a)$ always gives $aa = aa$, so only the pairs of different elements need a check.

So the group is abelian.
A trap is to check only the pairs $(a, a)$: they never fail, so they prove nothing.
Loading
Loading