markdown
有限体の入口md 9773466
lecture/math/abstract-algebra/introduction-to-finite-fields.lecture.n.md
Download PDF

有限体ゆうげんたいfinite fieldの入口いりぐち

date2026-07-14document_iddoc_4ba76442b4a30f83614746b7f98f40a0description有限体を有限個の元を持つ体として導入し、位数が素数冪になる理由と4元体の具体的構成を証明する。prerequisites体の基[本/ほん] / イデアルと[[商/しょう]環/しょうかん] / [合[同/どう][式/しき]/ごうどうしき]とmod[演算/えんざん]の基[本/ほん] / [整域/せいいき]・[[零/れい]因子/れいいんし]・[[多項[式/しき]/たこうしき]環/たこうしきかん] / ベクトル[空間/くうかん]と基[底/てい]type講義content_typelecturestatusactiverelateddata/lecture/math/abstract-algebra/field-basics.lecture.n.md / data/lecture/math/abstract-algebra/ideals-and-quotient-rings.lecture.n.md / data/lecture/math/abstract-algebra/congruences-and-modular-arithmetic.lecture.n.md / data/lecture/math/abstract-algebra/integral-domains-zero-divisors-and-polynomial-rings.lecture.n.md / data/lecture/math/linear-algebra/vector-spaces-and-bases.lecture.n.md / data/lecture/math/number-theory/number-theory-portal.lecture.n.md / data/exercise/math/abstract-algebra/integral-domains-fields-and-finite-fields.exercise.n.md
mathabstract-algebrafield-theoryfinite-fieldlecture

有限体ゆうげんたいは、有限個ゆうげんこの元げんしか持もたない体たいである。有限ゆうげんなのに割わり算ざんができるという点てんが重要じゅうようであり、符号理論ふごうりろんや暗号あんごうに現あらわれる。

最初さいしょの例れいは、素数そすう p に対たいする

Fp=Z/pZ

である。

Entrance to finite fields有限体ゆうげんたい

A finite field有限体ゆうげんたい is a field体たい with only finitely many elements. The important point is that division is possible even though the set is finite. Such fields体たい appear in coding theory and cryptography.

The first example is

Fp=Z/pZ

for a prime number p.

1なぜ素数そすうが必要ひつようか

Z/nZ が体たいになるには、0 でない剰余類じょうよるいが全すべて逆元ぎゃくげんを持もつ必要ひつようがある。

[a] が逆元ぎゃくげんを持もつ条件じょうけんは

[PARSE ERROR: Undefined("Command(\"gcd\")")](a,n)=1

である。

もし n=p が素数そすうなら、[a]≠[0] であることは p∤a を意味いみする。したがって [PARSE ERROR: Undefined("Command(\"gcd\")")](a,p)=1 であり、逆元ぎゃくげんが存在そんざいする。

一方いっぽう、n が合成数ごうせいすうで n=ab、1<a,b<n と書かけるなら、

[a][b]=[0]

だが [a] も [b] も 0 ではない。零因子れいいんしがあるので体たいではない。

1Why prime numbers are necessary

For Z/nZ to be a field体たい, every nonzero residue class must have an inverse.

The condition for [a] to have an inverse is

[PARSE ERROR: Undefined("Command(\"gcd\")")](a,n)=1

If n=p is prime, then [a]≠[0] means p∤a. Therefore [PARSE ERROR: Undefined("Command(\"gcd\")")](a,p)=1, so an inverse exists.

On the other hand, if n is composite and n=ab with 1<a,b<n, then

[a][b]=[0]

while neither [a] nor [b] is 0. Since zero divisors零因子れいいんし exist, the structure is not a field体たい.

2具体例ぐたいれい:F_5

F5={[0],[1],[2],[3],[4]} である。

[2] の逆元ぎゃくげんは [3] である。なぜなら

[2][3]=[6]=[1]

だからである。

このように、有限体ゆうげんたいでは有限個ゆうげんこの表ひょうを使つかって足たし算ざんと掛かけ算ざんを完全かんぜんに記述きじゅつできる。

2Concrete example: F_5

F5={[0],[1],[2],[3],[4]}.

The inverse of [2] is [3] because

[2][3]=[6]=[1]

In this way, in a finite field有限体ゆうげんたい, addition and multiplication can be completely described by finite tables.

3定理ていり:有限体ゆうげんたいの位数いすうは素数冪そすうべき

有限体ゆうげんたい K の元げんの個数こすう、すなわち位数いすうは、必かならず

pm

の形かたちになる。ここで p は素数そすうで、m[PARSE ERROR: Undefined("Command(\"ge\")")]1 である。

証明しょうめいする。K は有限ゆうげんなので、0,1,1+1,1+1+1,… のうち二ふたつは等ひとしい。その二ふたつの差さを取とれば、n·1=0 となる正せいの整数せいすう n が存在そんざいする。そのような最小さいしょうの n を K の標数ひょうすうcharacteristicという。

n が n=ab、1<a,b<n と合成数ごうせいすうに分解ぶんかいできるとすると、

(a·1)(b·1)=(ab)·1=n·1=0

である。n の最小性さいしょうせいより a·1≠0、b·1≠0 なので、これは体たいに零因子れいいんしがないことに矛盾むじゅんする。したがって n は素数そすう p である。

ι:Fp→K を ι([r])=r·1 で定さだめる。r≡s[PARSE ERROR: Undefined("Command(\"pmod\")")]p なら (r-s)·1 は p·1=0 の整数倍せいすうばいなので、この写像しゃぞうは代表元だいひょうげんによらない。また、ι([r])=0、すなわち r·1=0 とする。整数せいすうの除法じょほうにより r=qp+t、0[PARSE ERROR: Undefined("Command(\"le\")")]t<p と書かける。このとき

0=r·1=q(p·1)+t·1=t·1

である。p は n·1=0 となる最小さいしょうの正せいの整数せいすうなので、0[PARSE ERROR: Undefined("Command(\"le\")")]t<p から t=0 でなければならない。したがって p∣r、[r]=[0] であり、ι は単射たんしゃである。さらに

ι([r]+[s])=(r+s)·1=r·1+s·1,ι([r][s])=(rs)·1=(r·1)(s·1)

かつ ι([1])=1 なので、ι は加法かほう・乗法じょうほう・単位元たんいげんを保たもつ。さらに、[r]≠[0] なら

ι([r])ι([r]-1)=ι([1])=1

であり、ι([r])≠0 は単射性たんしゃせいから従したがう。したがって像ぞうは、加法かほう・減法げんぽう・乗法じょうほうと、0 でない元げんの乗法逆元じょうほうぎゃくげんに閉とじた K の部分体ぶぶんたいである。この部分体ぶぶんたいを Fp と同一視どういつしできる。

ベクトルの加法かほうには K の加法かほうを使つかう。K は体たいなので、この加法かほうについて可換群かかんぐんをなす。さらに λ∈Fp、x∈K に対たいして、スカラー倍ばいを

λx:=ι(λ)x

と定さだめる。部分体ぶぶんたいを Fp と同一視どういつしした後あとも、ここでは埋うめ込こみを明示めいじするため ι を書かいている。ι が加法かほう・乗法じょうほう・単位元たんいげんを保たもち、K が体たいであることから、λ,μ∈Fp、x,y∈K に対たいして

(λ+μ)x=λx+μx,λ(x+y)=λx+λy,
(λμ)x=λ(μx),1x=x

が従したがう。したがって K は Fp 上じょうのベクトル空間くうかんである。K 全体ぜんたいは有限ゆうげんな生成集合せいせいしゅうごうなので、そこから不要ふような元げんを除のぞけば有限基底ゆうげんきていを取とれる。その次元じげんを m とする。1≠0 なので、この基底きていは空からではなく m[PARSE ERROR: Undefined("Command(\"ge\")")]1 である。

各かく元げんは m 個この基底きていの線型結合せんけいけつごうとして一意いちいに表あらわされ、各係数かくけいすうには p 通とおりの選えらび方かたがある。したがって

|K|=pm

である。

data/lecture/math/linear-algebra/vector-spaces-and-bases.lecture.n.md

3Theorem: the order of a finite field is a prime power

The number of elements, or order位数いすう, of a finite field K is always of the form

pm

where p is prime and m[PARSE ERROR: Undefined("Command(\"ge\")")]1.

Proof. Since K is finite, two terms in the sequence 0,1,1+1,1+1+1,… are equal. Subtracting them gives a positive integer n such that n·1=0. The least such n is called the characteristic標数ひょうすう of K.

If n=ab with 1<a,b<n, then

(a·1)(b·1)=(ab)·1=n·1=0.

By the minimality of n, both a·1 and b·1 are nonzero, contradicting the fact that a field has no zero divisors. Thus n is a prime p.

Define ι:Fp→K by ι([r])=r·1. If r≡s[PARSE ERROR: Undefined("Command(\"pmod\")")]p, then (r-s)·1 is an integer multiple of p·1=0, so the map is independent of representatives. Suppose ι([r])=0, so r·1=0. By integer division, write r=qp+t with 0[PARSE ERROR: Undefined("Command(\"le\")")]t<p. Then

0=r·1=q(p·1)+t·1=t·1.

Because p is the least positive integer n satisfying n·1=0, the inequality 0[PARSE ERROR: Undefined("Command(\"le\")")]t<p forces t=0. Hence p∣r and [r]=[0], so ι is injective. Moreover,

ι([r]+[s])=(r+s)·1=r·1+s·1,ι([r][s])=(rs)·1=(r·1)(s·1),

and ι([1])=1. Thus ι preserves addition, multiplication, and the identity. Moreover, if [r]≠[0], then

ι([r])ι([r]-1)=ι([1])=1,

and injectivity gives ι([r])≠0. Hence the image is a subfield of K: it is closed under addition, subtraction, multiplication, and multiplicative inverses of nonzero elements. We identify this subfield with Fp.

Use the addition of K as vector addition. Since K is a field, it is an abelian group under this addition. For λ∈Fp and x∈K, define scalar multiplication by

λx:=ι(λ)x.

Even after identifying the subfield with Fp, we keep ι in this formula to display the embedding explicitly. Because ι preserves addition, multiplication, and the identity, the field laws in K give, for λ,μ∈Fp and x,y∈K,

(λ+μ)x=λx+μx,λ(x+y)=λx+λy,
(λμ)x=λ(μx),1x=x.

Thus K is a vector space over Fp. Since the finite set K spans itself, removing redundant elements produces a finite basis; let its size be m. Since 1≠0, the basis is nonempty and m[PARSE ERROR: Undefined("Command(\"ge\")")]1.

Every element has a unique expression as a linear combination of the m basis elements, and each coefficient has p choices. Therefore

|K|=pm.
data/lecture/math/linear-algebra/vector-spaces-and-bases.lecture.n.md

4何なにを変かえて何なにを保存ほぞんするか

体たいのうち元げんの個数こすうが有限ゆうげんなものに対象たいしょうを絞しぼったのが有限体ゆうげんたいである。加法かほう、乗法じょうほう、0 以外いがいでの割わり算ざんという体たいの公理こうりはすべて保たもたれる。有限性ゆうげんせいにより、計算けいさん機きで扱あつかいやすく、暗号あんごうや誤あやまり訂正ていせいに応用おうようできる。

4What changes and what is preserved

A finite field is a field restricted by the additional requirement that its set of elements be finite. All field axioms—addition, multiplication, and division by nonzero elements—remain in force. Finiteness makes these fields easy to handle computationally and useful in cryptography and error correction.

5証明しょうめい補足ほそく:有限整域ゆうげんせいいきは体たいである

有限ゆうげんな整域せいいき R は体たいfield である。

証明しょうめいする。a∈R、a≠0 を取とる。R が体たいであることを示しめすには、a の乗法逆元じょうほうぎゃくげんが存在そんざいすることを示しめればよい。
写像しゃぞう

μa:R→R,x↦ax

を考かんがえる。μa(x)=μa(y) とすると ax=ay である。a≠0 で、R は整域せいいきなので消去法則しょうきょほうそくより x=y である。したがって μa は単射たんしゃである。

R は有限集合ゆうげんしゅうごうなので、R から R への単射たんしゃは全射ぜんしゃである。よって 1∈R に対たいして、ある x∈R が存在そんざいして ax=1 である。これは x が a の逆元ぎゃくげんであることを意味いみする。

有限性ゆうげんせいを使つかったのは、単射たんしゃから全射ぜんしゃを導みちびく箇所かしょである。有限集合ゆうげんしゅうごうでは、単射たんしゃなら像ぞうの元げん数すうが入力にゅうりょくの元げん数すうと同おなじになり、目標もくひょうの集合しゅうごうも同おなじ大おおきさなので全すべての元げんに届とどく。無限むげんではこの推論すいろんは一般いっぱんには成立せいりつしない。

5Proof supplement: every finite integral domain整域せいいき is a field体たい

A finite integral domain整域せいいき R is a field体たい.

Proof. Take a∈R with a≠0. To show that R is a field体たい, it is enough to show that a has a multiplicative inverse. Consider the map

μa:R→R,x↦ax

If μa(x)=μa(y), then ax=ay. Since a≠0 and R is an integral domain整域せいいき, cancellation gives x=y. Therefore μa is injective単射たんしゃ.

Because R is a finite set, every injective単射たんしゃ map from R to R is surjective全射ぜんしゃ. Hence for 1∈R, there exists x∈R such that ax=1. This means that x is the inverse of a.

Finiteness is used exactly at the step where injective単射たんしゃ implies surjective全射ぜんしゃ. For a finite set, injectivity means the image has as many elements as the domain, and the target has the same size as the domain, so every target element is reached. For infinite sets, that inference is not valid in general.

6例れい:4 個この元げんを持もつ有限体ゆうげんたい

Z/4Z は体たいではないが、4 個この元げんを持もつ有限体ゆうげんたいは存在そんざいする。F2[x] で

f(x)=x2+x+1

を考かんがえる。f(0)=1、f(1)=1+1+1=1 なので、f は F2 上じょうで根こんを持もたない。二次多項式にじたこうしきが定数ていすうでない多項式たこうしきの積せきに分解ぶんかいできるなら、一次式いちじしきを因子いんしに持もち、その根こんが存在そんざいする。したがって f は既約きやくirreducibleである。ここで既約きやくとは、定数ていすうでない二ふたつの多項式たこうしきの積せきに分解ぶんかいできないことをいう。

f の多項式倍たこうしきばい全体ぜんたい

(f)={f(x)q(x)∣q(x)∈F2[x]}

を f が生成せいせいするイデアルという。実際じっさい、0=f·0 であり、fq,fr∈(f) なら

fq-fr=f(q-r)∈(f)

である。また、任意にんいの s∈F2[x] に対たいして s(fq)=f(sq)∈(f) である。したがって (f) は差さと環かんの元げんによる積せきに閉とじ、確たしかにイデアルである。g と h の差さが (f) に属ぞくするときに同おなじ元げんとみなす商環しょうかんを

F4=F2[x]/(x2+x+1)

と定義ていぎする。この記号きごうが表あらわすとおり 4 元げんの体たいになることは、以下いかで直接ちょくせつ確たしかめる。α=[x] と書かくと、関係式かんけいしき

α2+α+1=0

と、標数ひょうすう 2 での -1=1、-α=α から

α2=α+1

が成立せいりつする。任意にんいの類るいが一次以下いちじいかの多項式たこうしきで表あらわせることを、指数しすうについての帰納法きのうほうで確たしかめる。n=0,1 では α0=1、α1=α である。n[PARSE ERROR: Undefined("Command(\"ge\")")]2 なら、商環しょうかんの中なかで

αn=αn-2α2=αn-1+αn-2

であり、右辺うへんの二ふたつの指数しすうはどちらも n より小ちいさい。したがって強つよい帰納法きのうほうにより、各単項式かくたんこうしき xn の類るいは

αn=c0+c1α(c0,c1∈F2)

と表あらわせる。有限個ゆうげんこの単項式たんこうしきを足たし合あわせた任意にんいの多項式たこうしきも同おなじ形かたちへ簡約かんやくできる。したがって各元かくげんは

0,1,α,α+1

のいずれかである。これらは互たがいに異ことなる。差さを取とっても 0 でない一次以下いちじいかの多項式たこうしきになる。一方いっぽう、0 でない q∈F2[x] について [PARSE ERROR: Undefined("Command(\"deg\")")](fq)=2+[PARSE ERROR: Undefined("Command(\"deg\")")]q[PARSE ERROR: Undefined("Command(\"ge\")")]2 なので、その差さが f の倍数ばいすうになることはない。したがって、この商環しょうかんはちょうど 4 個この元げんを持もつ。

初はじめに f の既約性きやくせいを確たしかめた理由りゆうも、ここで分わかる。もし f=gh と定数ていすうでない多項式たこうしきの積せきに分解ぶんかいできれば、f は二次にじなので g,h はともに一次いちじである。直前ちょくぜんの次数じすうの議論ぎろんより [g],[h] は 0 ではないが、商環しょうかんでは

[g][h]=[f]=0

となり、零因子れいいんしが生しょうじて体たいにはならない。既約性きやくせいはこの障害しょうがいを排除はいじょしている。ただし、ここでは「F2[x] を既約多項式きやくたこうしきが生成せいせいするイデアルで割わった商しょうは体たいになる」という一般定理いっぱんていりを使つかわない。この具体例ぐたいれいが体たいであることは、次つぎにすべての 0 でない元げんの逆元ぎゃくげんを直接ちょくせつ求もとめて確たしかめる。

さらに、0 でない元げんの逆元ぎゃくげんは

1-1=1,α-1=α+1,(α+1)-1=α

である。実際じっさい、α(α+1)=α2+α=1 である。よって全すべての 0 でない元げんが逆元ぎゃくげんを持もち、この商環しょうかんは確たしかに体たいである。

6Example: a finite field有限体ゆうげんたい with 4 elements

The ring Z/4Z is not a field, but a finite field with 4 elements does exist. In F2[x], consider

f(x)=x2+x+1.

Since f(0)=1 and f(1)=1+1+1=1, the polynomial has no root over F2. If a quadratic factors into two nonconstant polynomials, it has a linear factor and hence a root. Thus f is irreducible既約きやく, meaning that it cannot be factored into two nonconstant polynomials.

The set of all polynomial multiples of f,

(f)={f(x)q(x)∣q(x)∈F2[x]},

is the ideal generated by f. Indeed, 0=f·0, and if fq,fr∈(f), then

fq-fr=f(q-r)∈(f).

Moreover, for every s∈F2[x], we have s(fq)=f(sq)∈(f). Thus (f) is closed under differences and under multiplication by arbitrary ring elements, so it is indeed an ideal. Form the quotient ring in which g and h represent the same element exactly when g-h∈(f), and define

F4=F2[x]/(x2+x+1).

We verify directly below that this quotient is, as the notation suggests, a field with four elements. Write α=[x]. From

α2+α+1=0

and the identities -1=1 and -α=α in characteristic 2, we get

α2=α+1.

We verify by induction on the exponent that every class has a representative of degree at most 1. For n=0,1, we have α0=1 and α1=α. If n[PARSE ERROR: Undefined("Command(\"ge\")")]2, then in the quotient ring

αn=αn-2α2=αn-1+αn-2,

and both exponents on the right are smaller than n. Strong induction therefore gives

αn=c0+c1α(c0,c1∈F2)

for the class of every monomial xn. Adding the finitely many monomials of any polynomial gives a representative of the same form. Thus every element is one of

0,1,α,α+1.

They are distinct: the difference of any two is a nonzero polynomial of degree at most 1. On the other hand, if 0≠q∈F2[x], then [PARSE ERROR: Undefined("Command(\"deg\")")](fq)=2+[PARSE ERROR: Undefined("Command(\"deg\")")]q[PARSE ERROR: Undefined("Command(\"ge\")")]2, so such a difference cannot be a multiple of f. Therefore this quotient ring has exactly four elements.

The reason for checking that f is irreducible is now visible. If f=gh were a product of nonconstant polynomials, then, because f is quadratic, both g and h would be linear. By the preceding degree argument, their classes would be nonzero, but in the quotient

[g][h]=[f]=0,

producing zero divisors and preventing the quotient from being a field. Irreducibility rules out this obstruction. We do not use here the general theorem that the quotient of F2[x] by an ideal generated by an irreducible polynomial is a field; for this particular quotient, we verify the field property directly by finding the inverse of every nonzero element.

The inverses of the nonzero elements are

1-1=1,α-1=α+1,(α+1)-1=α.

Indeed, α(α+1)=α2+α=1. Hence every nonzero element has an inverse, so this quotient ring is a field.

8まとめ

有限体ゆうげんたいは、有限個ゆうげんこの元げんを持もつ体たいである。Z/pZ は素数そすう p のとき有限体ゆうげんたいになるが、合成数ごうせいすう法ほうでは零因子れいいんしが生しょうじるため体たいにならない。有限体ゆうげんたいの標数ひょうすうは素数そすう p であり、Fp 上じょうの有限次元ゆうげんじげんベクトル空間くうかんとして見みることで、その位数いすうは pm になる。4 元げんの体たい F4 は、Z/4Z ではなく F2[x]/(x2+x+1) として構成こうせいできる。

8Summary

A finite field is a field with finitely many elements. The ring Z/pZ is a finite field when p is prime, whereas composite moduli have zero divisors. A finite field has prime characteristic p and is a finite-dimensional vector space over Fp, so its order is pm. The four-element field F4 is not Z/4Z; it can be constructed as F2[x]/(x2+x+1).

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