markdown
同値関係と合同式 基本演習md da1f389
exercise/math/abstract-algebra/equivalence-relations-and-congruences.exercise.n.md

同値関係どうちかんけいequivalence relationと合同式ごうどうしきcongruence 基本きほん演習えんしゅう

date2026-07-14document_iddoc_1f84cca90b2513898fab509df369bb22description同値関係、同値類、剰余類、合同式、逆元条件を確認する基本演習。prerequisites[同値関係/どうちかんけい]と[剰余類/じょうよるい] / [合同式/ごうどうしき]と mod [演算/えんざん]type[問題/もんだい][演習/えんしゅう]content_typeexercisestatusactiverelateddata/lecture/math/abstract-algebra/equivalence-relations-and-cosets.lecture.n.md / data/lecture/math/abstract-algebra/congruences-and-modular-arithmetic.lecture.n.md
mathabstract-algebraexercise

equivalence relations同値関係どうちかんけい and congruences合同式ごうどうしき: basic exercises

2取とり組くむ順序じゅんじょ

「同値関係どうちかんけいと剰余類じょうよるい」の後あとは問題もんだい1と、後半こうはんの証明演習しょうめいえんしゅうの小問しょうもん1〜4に取とり組くめる。「合同式ごうどうしきと mod 演算えんざん」の後あとに問題もんだい2・3、最初さいしょの証明演習しょうめいえんしゅう、および後半こうはんの小問しょうもん5・6へ進すすむ。このページの prerequisites は全問題ぜんもんだいに取とり組くむための最終到達点さいしゅうとうたつてんを表あらわす。

2Suggested order

After “Equivalence relations and cosets,” complete Problem 1 and Parts 1–4 of the later proof exercise. After “Congruences and modular arithmetic,” continue with Problems 2–3, the first proof exercise, and Parts 5–6 of the later proof exercise. The page prerequisites describe what is needed to complete the whole page.

3関連かんれん演習えんしゅう

data/exercise/math/abstract-algebra/cosets-normal-subgroups-and-quotient-groups.exercise.n.md data/exercise/math/abstract-algebra/rings-ideals-and-quotient-rings.exercise.n.md

これらは後続こうぞくの商群しょうぐん・商環しょうかんの講義こうぎを学まなんだ後あとに取とり組くむ。

3Related exercises

data/exercise/math/abstract-algebra/cosets-normal-subgroups-and-quotient-groups.exercise.n.md data/exercise/math/abstract-algebra/rings-ideals-and-quotient-rings.exercise.n.md

Attempt these after the later lectures on quotient groups and quotient rings.

4問題もんだい1:剰余類じょうよるいresidue classを書かく

[2]5 を集合しゅうごうsetとして書かけ。

4Problem 1: write a residue class剰余類じょうよるい

Write [2]5 as a set.

4.1解答かいとう

[2]5={2+5k∣k∈Z}

である。

4.1Answer

[2]5={2+5k∣k∈Z}

4.2解説かいせつ

剰余類じょうよるいresidue classは一ひとつの整数せいすうintegerではなく、同おなじ余あまりremainderを持もつ整数全体せいすうぜんたいの集合しゅうごうsetである。

4.2Explanation

A residue class剰余類じょうよるい is not one integer. It is the set of all integers with the same remainder.

5問題もんだい2:合同式ごうどうしきcongruenceを判定はんていする

37≡12[PARSE ERROR: Undefined("Command(\"pmod\")")]5 は成立せいりつするか。

5Problem 2: decide a congruence合同式ごうどうしき

Does 37≡12[PARSE ERROR: Undefined("Command(\"pmod\")")]5 hold?

5.1解答かいとう

37-12=25 であり、5∣25 なので成立せいりつする。

5.1Answer

Since 37-12=25 and 5∣25, the congruence合同式ごうどうしき holds.

5.2解説かいせつ

合同式ごうどうしきcongruenceは余あまりremainderの比較ひかくとしても読よめるが、定義ていぎは n∣(a-b) である。

5.2Explanation

A congruence合同式ごうどうしき can be read as a comparison of remainders, but its definition定義ていぎ is n∣(a-b).

6問題もんだい3:逆元ぎゃくげんを求もとめる

Z/11Z で [4] の乗法逆元じょうほうぎゃくげんを求もとめよ。

6Problem 3: find an inverse

Find the multiplicative inverse of [4] in Z/11Z.

6.1解答かいとう

4·3=12≡1[PARSE ERROR: Undefined("Command(\"pmod\")")]11 なので、逆元ぎゃくげんは [3] である。

6.1Answer

Since 4·3=12≡1[PARSE ERROR: Undefined("Command(\"pmod\")")]11, the inverse is [3].

6.2解説かいせつ

逆元ぎゃくげんを探さがす前まえに、[PARSE ERROR: Undefined("Command(\"gcd\")")](4,11)=1 であるため逆元ぎゃくげんが存在そんざいすることが分わかる。ここでは実際じっさいに掛かけ算ざんで確認かくにんした。

6.2Explanation

Before searching for an inverse, we know it exists because [PARSE ERROR: Undefined("Command(\"gcd\")")](4,11)=1. Here we verified it directly by multiplication.

7証明しょうめい演習えんしゅう:合同式ごうどうしきcongruenceが加法かほうと乗法じょうほうで保存ほぞんされること

7Proof exercise: congruence合同式ごうどうしき is preserved by addition and multiplication

7.1問題もんだい

n を正せいの整数せいすうintegerとする。a≡b[PARSE ERROR: Undefined("Command(\"pmod\")")]n、c≡d[PARSE ERROR: Undefined("Command(\"pmod\")")]n なら、a+c≡b+d[PARSE ERROR: Undefined("Command(\"pmod\")")]n、ac≡bd[PARSE ERROR: Undefined("Command(\"pmod\")")]n であることを証明しょうめいせよ。

7.1Problem

Let n be a positive integer. Prove that if a≡b[PARSE ERROR: Undefined("Command(\"pmod\")")]n and c≡d[PARSE ERROR: Undefined("Command(\"pmod\")")]n, then a+c≡b+d[PARSE ERROR: Undefined("Command(\"pmod\")")]n and ac≡bd[PARSE ERROR: Undefined("Command(\"pmod\")")]n.

7.2解答かいとう

a≡b[PARSE ERROR: Undefined("Command(\"pmod\")")]n は n∣(a-b)、c≡d[PARSE ERROR: Undefined("Command(\"pmod\")")]n は n∣(c-d) という意味いみである。

(a+c)-(b+d)=(a-b)+(c-d)

なので n∣((a+c)-(b+d)) である。よって a+c≡b+d[PARSE ERROR: Undefined("Command(\"pmod\")")]n である。

また、

ac-bd=c(a-b)+b(c-d)

であり、右辺うへんは n で割わり切きれる二ふたつの項こうの和わである。したがって ac≡bd[PARSE ERROR: Undefined("Command(\"pmod\")")]n である。

7.2Answer

The statement a≡b[PARSE ERROR: Undefined("Command(\"pmod\")")]n means n∣(a-b), and c≡d[PARSE ERROR: Undefined("Command(\"pmod\")")]n means n∣(c-d).

(a+c)-(b+d)=(a-b)+(c-d)

Therefore n∣((a+c)-(b+d)), so a+c≡b+d[PARSE ERROR: Undefined("Command(\"pmod\")")]n.

Also,

ac-bd=c(a-b)+b(c-d)

The right-hand side is a sum of two terms divisible by n. Hence ac≡bd[PARSE ERROR: Undefined("Command(\"pmod\")")]n.

7.3解説かいせつ

ここでは n による除算じょざんではなく、n が差さを割わり切きることを使つかっている。この保存性ほぞんせいが、代表元だいひょうげんを変かえても剰余類じょうよるいの和わと積せきが変かわらないこと、すなわち well-definedness を保証ほしょうする。

7.3Explanation

The proof does not divide by n. It uses the fact that n divides the relevant differences. This preservation is exactly what guarantees that changing representatives does not change the sum or product of residue classes, that is, their well-definedness.

8証明しょうめい演習えんしゅう:同値関係どうちかんけいから well-definedness まで

n[PARSE ERROR: Undefined("Command(\"ge\")")]2 を固定こていし、整数せいすう a,b に対たいして a∼b⟺n∣(a-b) と定さだめる。

  1. ∼ が反射性はんしゃせい・対称性たいしょうせい・推移性すいいせいを満みたすことを示しめせ。
  2. a∼b と [a]=[b] が同値どうちであることを示しめせ。
  3. F([a])=a という規則きそくが Z/nZ から Z への写像しゃぞうを定さだめないことを、二ふたつの代表元だいひょうげんを使つかって示しめせ。
  4. [a]=[a′]、[b]=[b′] なら [a+b]=[a′+b′] かつ [ab]=[a′b′] であることを示しめせ。
  5. (Z/nZ,+) が群ぐんであることを、閉包性へいほうせい、結合法則けつごうほうそく、単位元たんいげん、逆元ぎゃくげんを明示めいじして示しめせ。
  6. 2·1≡2·4[PARSE ERROR: Undefined("Command(\"pmod\")")]6 だが 1[PARSE ERROR: Undefined("Command(\"not\")")]≡4[PARSE ERROR: Undefined("Command(\"pmod\")")]6 であることを確認かくにんせよ。また、ca≡cb[PARSE ERROR: Undefined("Command(\"pmod\")")]n かつ [PARSE ERROR: Undefined("Command(\"gcd\")")](c,n)=1 なら a≡b[PARSE ERROR: Undefined("Command(\"pmod\")")]n であることを示しめせ。

8Proof exercise: from an equivalence relation to well-definedness

Fix n[PARSE ERROR: Undefined("Command(\"ge\")")]2 and define a relation on the integers by a∼b⟺n∣(a-b).

  1. Prove that ∼ is reflexive, symmetric, and transitive.
  2. Prove that a∼b if and only if [a]=[b].
  3. Use two representatives to show that the rule F([a])=a does not define a map from Z/nZ to Z.
  4. Prove that [a]=[a′] and [b]=[b′] imply both [a+b]=[a′+b′] and [ab]=[a′b′].
  5. Prove that (Z/nZ,+) is a group, explicitly identifying closure, associativity, the identity, and inverses.
  6. Verify that 2·1≡2·4[PARSE ERROR: Undefined("Command(\"pmod\")")]6 but 1[PARSE ERROR: Undefined("Command(\"not\")")]≡4[PARSE ERROR: Undefined("Command(\"pmod\")")]6. Then prove that ca≡cb[PARSE ERROR: Undefined("Command(\"pmod\")")]n and [PARSE ERROR: Undefined("Command(\"gcd\")")](c,n)=1 imply a≡b[PARSE ERROR: Undefined("Command(\"pmod\")")]n.

8.1解答かいとう

  1. a-a=0 かつ n∣0 なので反射的はんしゃてきである。n∣(a-b) なら b-a=-(a-b) より n∣(b-a) なので対称的たいしょうてきである。n∣(a-b) かつ n∣(b-c) なら a-c=(a-b)+(b-c) より n∣(a-c) なので推移的すいいてきである。
  2. a∼b とする。x∈[a] なら x∼a∼b なので x∈[b] である。逆ぎゃくに x∈[b] なら、対称性たいしょうせいより b∼a であり、x∼b∼a から x∈[a] である。よって [a]=[b] である。逆ぎゃくに [a]=[b] なら、a∈[a]=[b] だから a∼b である。
  3. [0]=[n] だが、代表元だいひょうげんを 0 と選えらべば F([0])=0、n と選えらべば F([n])=n となる。同おなじ剰余類じょうよるいから異ことなる値あたいが出でるので、この規則きそくは well-defined でない。
  4. n∣(a-a′)、n∣(b-b′) である。(a+b)-(a′+b′)=(a-a′)+(b-b′) と ab-a′b′=a(b-b′)+b′(a-a′) はともに n の倍数ばいすうなので、求もとめる二ふたつの類るいの等式とうしきを得える。
  5. 閉包性へいほうせいは [a]+[b]=[a+b]∈Z/nZ から従したがう。結合法則けつごうほうそくは ([a]+[b])+[c]=[(a+b)+c]=[a+(b+c)]=[a]+([b]+[c]) である。[0] が単位元たんいげんで、[a] の逆元ぎゃくげんは [-a] である。したがって群ぐんである。
  6. 2≡8[PARSE ERROR: Undefined("Command(\"pmod\")")]6 なので最初さいしょの合同式ごうどうしきは成立せいりつするが、6 は 1-4=-3 を割わらない。[PARSE ERROR: Undefined("Command(\"gcd\")")](c,n)=1 なら [c] は逆元ぎゃくげんを持もつので、[c][a]=[c][b] の両辺りょうへんに [c]-1 を掛かけて [a]=[b] を得える。

8.1Answer

  1. The relation is reflexive because a-a=0 and n∣0. It is symmetric because n∣(a-b) and b-a=-(a-b) imply n∣(b-a). It is transitive because divisibility of both a-b and b-c, together with a-c=(a-b)+(b-c), implies n∣(a-c).
  2. Suppose a∼b. If x∈[a], then x∼a∼b, so x∈[b]. Conversely, if x∈[b], symmetry gives b∼a, so x∼b∼a and x∈[a]. Thus [a]=[b]. Conversely, if [a]=[b], then a∈[a]=[b], so a∼b.
  3. We have [0]=[n], but choosing representative 0 gives F([0])=0, while choosing representative n gives F([n])=n. The same residue class would have two different values, so the rule is not well-defined.
  4. We have n∣(a-a′) and n∣(b-b′). Both (a+b)-(a′+b′)=(a-a′)+(b-b′) and ab-a′b′=a(b-b′)+b′(a-a′) are multiples of n, proving the two required class equalities.
  5. Closure follows from [a]+[b]=[a+b]∈Z/nZ. Associativity follows from ([a]+[b])+[c]=[(a+b)+c]=[a+(b+c)]=[a]+([b]+[c]). The identity is [0], and the inverse of [a] is [-a]. Hence this is a group.
  6. Since 2≡8[PARSE ERROR: Undefined("Command(\"pmod\")")]6, the first congruence holds, but 6 does not divide 1-4=-3. If [PARSE ERROR: Undefined("Command(\"gcd\")")](c,n)=1, then [c] has an inverse. Multiplying [c][a]=[c][b] by [c]-1 gives [a]=[b].
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
タブを全て閉じる