markdown
二項演算と閉包性md f0b87eb
lecture/math/abstract-algebra/二項演算と閉包性-講義.n.md
Download PDF

二項演算にこうえんざんbinary operation閉包性へいほうせいclosure

date2026-06-06description[二項[演算/えんざん]/にこうえんざん]、[閉包性/へいほうせい]、[結合[法/ほう]則/けつごうほうそく]、[可換/かかん][性/せい]、[単位元/たんいげん]、[逆元/ぎゃくげん]を、群・環・体へ進むための[共通/きょうつう][語彙/ごい]として[説明/せつめい]する。prerequisites[集合/しゅうごう]の基[本/ほん]type講義content_typelecturestatusactiverelateddata/lecture/math/abstract-algebra/代数的構造とは何か-講義.n.md / data/lecture/math/abstract-algebra/半群・モノイド・群への入口-講義.n.md / data/exercise/math/abstract-algebra/代数的構造と二項演算-基本演習.n.md
mathabstract-algebraundergraduatelecture

抽象代数ちゅうしょうだいすう最初さいしょ確認かくにんすべき操作そうさは、ふたつのげんからひとつのげんつく操作そうさである。これを二項演算にこうえんざんbinary operationという。

集合しゅうごう S うえ二項演算にこうえんざんとは、写像しゃぞう

[PARSE ERROR: Undefined("Command(\"ast\")")]:S×SS

のことである。つまり、任意にんいa,bSたいして、結果けっか a[PARSE ERROR: Undefined("Command(\"ast\")")]bふたたSげんになる。

ここでいう写像しゃぞうは、入力にゅうりょくたいして出力しゅつりょくひとさだめる規則きそくである。S×SSげんふたならべたくみ集合しゅうごうあらわす。

この「結果けっかおな集合しゅうごうなかもどる」という条件じょうけん閉包性へいほうせいである。

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

[PARSE ERROR: Undefined("Command(\"ast\")")]:S×SS

That is, for any a,bS, the result a[PARSE ERROR: Undefined("Command(\"ast\")")]b is again an element of S.

Here a map means a rule that assigns one output to each input. The set S×S means the set of ordered pairs of elements of S.

The condition that "the result returns to the same set" is closure閉包性へいほうせい.

1何故なぜ閉包性へいほうせい必要ひつよう

閉包性へいほうせいがないと、演算えんざんかえせない。

たとえば自然数全体しぜんすうぜんたい Nざんかんがえると、

2-5=-3

自然数しぜんすうではない。したがってざんN うえ二項演算にこうえんざんではない。

一方いっぽう整数全体せいすうぜんたい Zざんかんがえると、任意にんい整数せいすう a,bたいして a-b整数せいすうである。したがってざんZ うえ二項演算にこうえんざんである。

1Why closure閉包性へいほうせい is necessary

Without closure閉包性へいほうせい, an operation cannot be repeated inside the same set.

For example, consider subtraction on the natural numbers N:

2-5=-3

The result is not a natural number. Therefore subtraction is not a binary operation二項演算にこうえんざん on N.

On the other hand, if subtraction is considered on the integers Z, then for any integers a,b, the result a-b is an integer. Thus subtraction is a binary operation二項演算にこうえんざん on Z.

2結合法則けつごうほうそく可換性かかんせい

結合法則けつごうほうそくassociative lawは、みっうえげん演算えんざんするときに括弧かっこ位置いち結果けっか影響えいきょうしないことをあらわす。

(a[PARSE ERROR: Undefined("Command(\"ast\")")]b)[PARSE ERROR: Undefined("Command(\"ast\")")]c=a[PARSE ERROR: Undefined("Command(\"ast\")")](b[PARSE ERROR: Undefined("Command(\"ast\")")]c)

結合法則けつごうほうそくがあると、a[PARSE ERROR: Undefined("Command(\"ast\")")]b[PARSE ERROR: Undefined("Command(\"ast\")")]cいても意味いみ曖昧あいまいにならない。

可換性かかんせいcommutativityは、順序じゅんじょえても結果けっかわらないことをあらわす。

a[PARSE ERROR: Undefined("Command(\"ast\")")]b=b[PARSE ERROR: Undefined("Command(\"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[PARSE ERROR: Undefined("Command(\"ast\")")]b)[PARSE ERROR: Undefined("Command(\"ast\")")]c=a[PARSE ERROR: Undefined("Command(\"ast\")")](b[PARSE ERROR: Undefined("Command(\"ast\")")]c)

When the associative law結合法則けつごうほうそく holds, writing a[PARSE ERROR: Undefined("Command(\"ast\")")]b[PARSE ERROR: Undefined("Command(\"ast\")")]c is not ambiguous.

Commutativity可換性かかんせい says that changing the order順序じゅんじょ does not change the result.

a[PARSE ERROR: Undefined("Command(\"ast\")")]b=b[PARSE ERROR: Undefined("Command(\"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[PARSE ERROR: Undefined("Command(\"ast\")")]a=a[PARSE ERROR: Undefined("Command(\"ast\")")]e=a

逆元ぎゃくげんinverse elementとは、演算えんざんによって単位元たんいげんもどげんである。

a[PARSE ERROR: Undefined("Command(\"ast\")")]a-1=a-1[PARSE ERROR: Undefined("Command(\"ast\")")]a=e

単位元たんいげん逆元ぎゃくげんは、方程式ほうていしきくために重要じゅうようである。もし a[PARSE ERROR: Undefined("Command(\"ast\")")]x=bきたいなら、ひだりから a-1作用さようさせて x=a-1[PARSE ERROR: Undefined("Command(\"ast\")")]b としたくなる。この操作そうさができるためには、逆元ぎゃくげん必要ひつようである。

3Identity element and inverse element逆元ぎゃくげん

An identity element単位元たんいげん is an element that leaves the other element unchanged when operated with it.

e[PARSE ERROR: Undefined("Command(\"ast\")")]a=a[PARSE ERROR: Undefined("Command(\"ast\")")]e=a

An inverse element逆元ぎゃくげん is an element that brings an element back to the identity element単位元たんいげん through the operation.

a[PARSE ERROR: Undefined("Command(\"ast\")")]a-1=a-1[PARSE ERROR: Undefined("Command(\"ast\")")]a=e

Identity elements and inverses are important for solving equations. If we want to solve a[PARSE ERROR: Undefined("Command(\"ast\")")]x=b, we want to apply a-1 from the left and get x=a-1[PARSE ERROR: Undefined("Command(\"ast\")")]b. This operation requires the existence of an inverse.

4具体例ぐたいれい演算表えんざんひょう

集合しゅうごう S={0,1,2} に、3 でったあまりのざんれる。

a[PARSE ERROR: Undefined("Command(\"ast\")")]ba+b[PARSE ERROR: Undefined("Command(\"pmod\")")]3

このとき演算表えんざんひょうつぎのようになる。

[PARSE ERROR: Undefined("Command(\"ast\")")]012
0012
1120
2201

すべての結果けっかSはいっているので閉包性へいほうせいがある。0 は単位元たんいげんであり、1 の逆元ぎゃくげんは 2、2 の逆元ぎゃくげんは 1 である。

4Concrete example: reading an operation table

Put addition modulo 3 on the set S={0,1,2}.

a[PARSE ERROR: Undefined("Command(\"ast\")")]ba+b[PARSE ERROR: Undefined("Command(\"pmod\")")]3

The operation table is as follows.

[PARSE ERROR: Undefined("Command(\"ast\")")]012
0012
1120
2201

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規則きそく [PARSE ERROR: Undefined("Command(\"ast\")")]あたえられたとき、まず a,bSa[PARSE ERROR: Undefined("Command(\"ast\")")]bS確認かくにんして、[PARSE ERROR: Undefined("Command(\"ast\")")]:S×SS二項演算にこうえんざんbinary operationとしてさだまっているかをる。これは閉包性へいほうせいclosureだけの確認かくにんであり、結合法則けつごうほうそく可換性かかんせい単位元たんいげん逆元ぎゃくげんはまだ保証ほしょうしない。

たとえば Z じょうざんsubtraction a[PARSE ERROR: Undefined("Command(\"ast\")")]b=a-b閉包性へいほうせいclosureつが、

(5-3)-1=1,5-(3-1)=3

なので結合法則けつごうほうそくたさない。したがって、閉包性へいほうせいclosureがあることとぐんちか性質せいしつつことは別問題べつもんだいである。

7Test supplement: check properties of an operation演算えんざん separately

Given a set S and a rule [PARSE ERROR: Undefined("Command(\"ast\")")], first check a,bSa[PARSE ERROR: Undefined("Command(\"ast\")")]bS to see whether [PARSE ERROR: Undefined("Command(\"ast\")")]:S×SS 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[PARSE ERROR: Undefined("Command(\"ast\")")]b=a-b on Z has closure, but

(5-3)-1=1,5-(3-1)=3

so it does not satisfy associativity. Thus having closure and having group-like properties are separate questions.

raw .n.md をコピー
loc をコピー (filepath:line ~ line)
copy share link
copy encoded share link
path をコピー
copy share link
copy encoded share link
copy share link
copy encoded share link
タブを全て閉じる