二項演算と閉包性
mathabstract-algebraundergraduatelecture
抽象代数で最初に確認すべき操作は、二つの元から一つの元を作る操作である。これを二項演算という。
集合 S 上の二項演算とは、写像
\ast:S\times S\to S
のことである。つまり、任意の a,b\in S に対して、結果 a\ast b が再び S の元になる。
ここでいう写像は、入力に対して出力を一つ定める規則である。S\times S は S の元を二つ並べた組の集合を表す。
この「結果が同じ集合の中に戻る」という条件が閉包性である。
binary operation and closure閉包性へいほうせい
The first operation to check in abstract algebra抽象代数ちゅうしょうだいすう is an operation that takes two elements and produces one element. This is called a binary operation二項演算にこうえんざん.
A binary operation二項演算にこうえんざん on a set S is a map
\ast:S\times S\to S
That is, for any a,b\in S, the result a\ast b is again an element of S.
Here a map means a rule that assigns one output to each input. The set S\times S means the set of ordered pairs of elements of S.
The condition that "the result returns to the same set" is closure閉包性へいほうせい.
1何故なぜ閉包性へいほうせいが必要ひつようか
閉包性へいほうせいがないと、演算えんざんを繰くり返かえせない。
たとえば自然数全体しぜんすうぜんたい \mathbb N で引ひき算ざんを考かんがえると、
2-5=-3
は自然数しぜんすうではない。したがって引ひき算ざんは \mathbb N 上うえの二項演算にこうえんざんではない。
一方いっぽう、整数全体せいすうぜんたい \mathbb Z で引ひき算ざんを考かんがえると、任意にんいの整数せいすう a,b に対たいして a-b は整数せいすうである。したがって引ひき算ざんは \mathbb Z 上うえの二項演算にこうえんざんである。
1Why closure閉包性へいほうせい is necessary
Without closure閉包性へいほうせい, an operation cannot be repeated inside the same set.
For example, consider subtraction on the natural numbers \mathbb N:
2-5=-3
The result is not a natural number. Therefore subtraction is not a binary operation二項演算にこうえんざん on \mathbb N.
On the other hand, if subtraction is considered on the integers \mathbb Z, then for any integers a,b, the result a-b is an integer. Thus subtraction is a binary operation二項演算にこうえんざん on \mathbb Z.
2結合法則けつごうほうそくと可換性かかんせい
結合法則けつごうほうそくassociative lawは、三みっつ以い上うえの元げんを演算えんざんするときに括弧かっこの位置いちが結果けっかに影響えいきょうしないことを表あらわす。
(a\ast b)\ast c=a\ast(b\ast c)
結合法則けつごうほうそくがあると、a\ast b\ast c と書かいても意味いみが曖昧あいまいにならない。
可換性かかんせいcommutativityは、順序じゅんじょを入いれ替かえても結果けっかが変かわらないことを表あらわす。
a\ast b=b\ast a
可換性かかんせいは常つねに仮定かていされるわけではない。行列積ぎょうれつせきや置換ちかんの合成ごうせいは一般いっぱんに可換かかんでない。
data/lecture/math/linear-algebra/行列の積の意味-講義.n.md
行列ぎょうれつと置換ちかんは非可換ひかかんな演算えんざんの例れいとして挙あげているだけで、このページの判定はんていには使つかわない。
2Associative law and commutativity
The associative law結合法則けつごうほうそく says that when three or more elements are operated on, the position of parentheses does not affect the result.
(a\ast b)\ast c=a\ast(b\ast c)
When the associative law結合法則けつごうほうそく holds, writing a\ast b\ast c is not ambiguous.
Commutativity可換性かかんせい says that changing the order順序じゅんじょ does not change the result.
a\ast b=b\ast a
Commutativity is not always assumed. Matrix multiplication and composition of permutations are generally not commutative.
data/lecture/math/linear-algebra/行列の積の意味-講義.n.md
Matrices and permutations are mentioned only as examples of noncommutative operations; they are not used in the tests on this page.
3単位元たんいげんと逆元ぎゃくげん
単位元たんいげんidentity elementとは、演算えんざんしても相手あいてを変かえない元げんである。
e\ast a=a\ast e=a
逆元ぎゃくげんinverse elementとは、演算えんざんによって単位元たんいげんへ戻もどす元げんである。
a\ast a^{-1}=a^{-1}\ast a=e
単位元たんいげんと逆元ぎゃくげんは、方程式ほうていしきを解とくために重要じゅうようである。もし a\ast x=b を解ときたいなら、左ひだりから a^{-1} を作用さようさせて x=a^{-1}\ast b としたくなる。この操作そうさができるためには、逆元ぎゃくげんが必要ひつようである。
3Identity element and inverse element逆元ぎゃくげん
An identity element単位元たんいげん is an element that leaves the other element unchanged when operated with it.
e\ast a=a\ast e=a
An inverse element逆元ぎゃくげん is an element that brings an element back to the identity element単位元たんいげん through the operation.
a\ast a^{-1}=a^{-1}\ast a=e
Identity elements and inverses are important for solving equations. If we want to solve a\ast x=b, we want to apply a^{-1} from the left and get x=a^{-1}\ast b. This operation requires the existence of an inverse.
4具体例ぐたいれい:演算表えんざんひょうで見みる
集合しゅうごう S=\{0,1,2\} に、3 で割わった余あまりの足たし算ざんを入いれる。
a\ast b\equiv a+b\pmod 3
このとき演算表えんざんひょうは次つぎのようになる。
| \ast | 0 | 1 | 2 |
| 0 | 0 | 1 | 2 |
| 1 | 1 | 2 | 0 |
| 2 | 2 | 0 | 1 |
全すべての結果けっかが S に入はいっているので閉包性へいほうせいがある。0 は単位元たんいげんであり、1 の逆元ぎゃくげんは 2、2 の逆元ぎゃくげんは 1 である。
4Concrete example: reading an operation table
Put addition modulo 3 on the set S=\{0,1,2\}.
a\ast b\equiv a+b\pmod 3
The operation table is as follows.
| \ast | 0 | 1 | 2 |
| 0 | 0 | 1 | 2 |
| 1 | 1 | 2 | 0 |
| 2 | 2 | 0 | 1 |
Every result lies in S, so closure閉包性へいほうせい holds. The element 0 is the identity element単位元たんいげん, the inverse of 1 is 2, and the inverse of 2 is 1.
6まとめ
二項演算にこうえんざんは、集合しゅうごうの二ふたつの元げんから同おなじ集合しゅうごうの元げんを作つくる写像しゃぞうである。閉包性へいほうせい、結合法則けつごうほうそく、可換性かかんせい、単位元たんいげん、逆元ぎゃくげんは、群ぐん・環かん・体たいを定義ていぎするための基本きほん語彙ごいである。
6Summary
A binary operation二項演算にこうえんざん is a map that takes two elements of a set and produces an element of the same set. Closure閉包性へいほうせい, the associative law結合法則けつごうほうそく, commutativity可換性かかんせい, an identity element単位元たんいげん, and inverse elements逆元ぎゃくげん are the basic vocabulary used to define groups群ぐん, rings環かん, and fields体たい.
7判定はんてい補足ほそく:演算えんざんの性質せいしつは別々べつべつに確認かくにんする
集合しゅうごう S と規則きそく \ast が与あたえられたとき、まず a,b\in S\Rightarrow a\ast b\in S を確認かくにんして、\ast:S\times S\to S が二項演算にこうえんざんbinary operationとして定さだまっているかを見みる。これは閉包性へいほうせいclosureだけの確認かくにんであり、結合法則けつごうほうそく、可換性かかんせい、単位元たんいげん、逆元ぎゃくげんはまだ保証ほしょうしない。
たとえば \mathbb Z 上じょうの引ひき算ざんsubtraction a\ast b=a-b は閉包性へいほうせいclosureを持もつが、
(5-3)-1=1,\qquad 5-(3-1)=3
なので結合法則けつごうほうそくを満みたさない。したがって、閉包性へいほうせいclosureがあることと群ぐんに近ちかい性質せいしつを持もつことは別問題べつもんだいである。
7Test supplement: check properties of an operation演算えんざん separately
Given a set S and a rule \ast, first check a,b\in S\Rightarrow a\ast b\in S to see whether \ast:S\times S\to S is a binary operation二項演算にこうえんざん. This checks only closure閉包性へいほうせい; it does not yet guarantee associativity, commutativity, an identity element単位元たんいげん, or inverse elements.
For example, subtraction a\ast b=a-b on \mathbb Z has closure, but
(5-3)-1=1,\qquad 5-(3-1)=3
so it does not satisfy associativity. Thus having closure and having group-like properties are separate questions.