binary operation and closure 閉包性 へいほうせい
The first operation to check in
A
That is, for any , the result is uniquely determined and is again an element of .
Here a map means a rule that assigns one output to each input. The set means the set of ordered pairs of elements of .
The condition that "the result returns to the same set" is
1Why closure 閉包性 へいほうせい is necessary
Without
For example, consider subtraction on the natural numbers :
The result is not a natural number. Therefore subtraction is not a
On the other hand, if subtraction is considered on the integers , then for any integers , the result is an integer. Thus subtraction is a
2Associative law and commutativity
The
When the
Commutativity is not always assumed. Matrix multiplication and composition of permutations are generally not commutative.
data/lecture/math/linear-algebra/meaning-of-matrix-multiplication.lecture.n.mdMatrices and permutations are mentioned only as examples of noncommutative operations; they are not used in the tests on this page.
3Identity element and inverse element 逆元 ぎゃくげん
An
Let be an identity element. An
A two-sided identity, if it exists, is unique. Indeed, if both and are two-sided identities, then .
Identity elements and inverses are important for solving equations. To derive from by operating with on the left and reassociating, assume associativity and an identity in addition to the inverse. Then
Thus applying on the left of both sides gives . Conversely, substituting this value gives , so it really is a solution.
Moreover, when associativity and a two-sided identity hold, a two-sided inverse of an element is unique if it exists. If and are both two-sided inverses of , then
The use of associativity in this argument is essential.
4Concrete example: reading an operation table
Put addition modulo 3 on the set : define to be the remainder of upon division by 3.
The operation table is as follows, with the left operand indexing the row and the right operand indexing the column.
| 0 | 1 | 2 | |
|---|---|---|---|
| 0 | 0 | 1 | 2 |
| 1 | 1 | 2 | 0 |
| 2 | 2 | 0 | 1 |
Every result lies in , so closure holds. The element 0 is the identity; the inverse of 0 is 0, the inverse of 1 is 2, and the inverse of 2 is 1. Both and are the remainder of upon division by 3, so they are equal and the operation is associative. Thus this example is a
5Exercise link
data/exercise/math/abstract-algebra/algebraic-structures-and-binary-operations.exercise.n.md6Test supplement: check properties of an operation 演算 えんざん separately
Given a set and a rule , first check to see whether is a
For example, subtraction on has closure, but
so it does not satisfy associativity. Thus having closure and having group-like properties are separate questions.
7Summary
A