markdown
binary operation and closuremd d1cf62a
lecture/math/abstract-algebra/binary-operations-and-closure.lecture.n.md
Download PDF

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

date2026-07-14document_iddoc_d880ab6a7d6c67f0e8c73039b8a9c338description二項演算、閉包性、結合法則、可換性、単位元、逆元を、群・環・体へ進むための共通語彙として説明する。prerequisites[集合/しゅうごう]の基[本/ほん]type講義content_typelecturestatusactiverelateddata/lecture/math/abstract-algebra/introduction-to-algebraic-structures.lecture.n.md / data/lecture/math/abstract-algebra/semigroups-monoids-and-groups.lecture.n.md / data/exercise/math/abstract-algebra/algebraic-structures-and-binary-operations.exercise.n.md
mathabstract-algebraundergraduatelecture

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 uniquely determined and 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閉包性へいほうせい. Thus closure is already built into the definition once we write [PARSE ERROR: Undefined("Command(\"ast\")")]:S×SS. In practice, we often begin with a rule, such as addition or subtraction, that is meaningful on a larger domain and then test whether applying it to elements of S always produces an element of S.

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.

2Associative law and commutativity

The associative law結合法則けつごうほうそく says that for every a,b,cS, the position of parentheses does not affect the result when three or more elements are combined.

(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 for every a,bS, 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/meaning-of-matrix-multiplication.lecture.n.md

Matrices 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 identity element単位元たんいげん is an element eS that leaves every aS unchanged on both sides.

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

Let e be an identity element. An inverse element逆元ぎゃくげん of aS is an element a-1S that brings a back to the identity in either order.

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

A two-sided identity, if it exists, is unique. Indeed, if both e and f are two-sided identities, then e=e[PARSE ERROR: Undefined("Command(\"ast\")")]f=f.

Identity elements and inverses are important for solving equations. To derive x=a-1[PARSE ERROR: Undefined("Command(\"ast\")")]b from a[PARSE ERROR: Undefined("Command(\"ast\")")]x=b by operating with a-1 on the left and reassociating, assume associativity and an identity in addition to the inverse. Then

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

Thus applying a-1 on the left of both sides gives x=a-1[PARSE ERROR: Undefined("Command(\"ast\")")]b. Conversely, substituting this value gives a[PARSE ERROR: Undefined("Command(\"ast\")")](a-1[PARSE ERROR: Undefined("Command(\"ast\")")]b)=(a[PARSE ERROR: Undefined("Command(\"ast\")")]a-1)[PARSE ERROR: Undefined("Command(\"ast\")")]b=e[PARSE ERROR: Undefined("Command(\"ast\")")]b=b, 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 u and v are both two-sided inverses of a, then

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

The use of associativity in this argument is essential.

4Concrete example: reading an operation table

Put addition modulo 3 on the set S={0,1,2}: define a[PARSE ERROR: Undefined("Command(\"ast\")")]b to be the remainder of a+b upon division by 3.

The operation table is as follows, with the left operand indexing the row and the right operand indexing the column.

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

Every result lies in S, 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 (a[PARSE ERROR: Undefined("Command(\"ast\")")]b)[PARSE ERROR: Undefined("Command(\"ast\")")]c and a[PARSE ERROR: Undefined("Command(\"ast\")")](b[PARSE ERROR: Undefined("Command(\"ast\")")]c) are the remainder of a+b+c upon division by 3, so they are equal and the operation is associative. Thus this example is a groupぐん, as defined in the next lecture.

6Test 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.

7Summary

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たい.

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
タブを全て閉じる