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+5kkZ}

である。

4.1Answer

[2]5={2+5kkZ}

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判定はんていする

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

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

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

5.1解答かいとう

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

5.1Answer

Since 37-12=25 and 525, 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=121[PARSE ERROR: Undefined("Command(\"pmod\")")]11 なので、逆元ぎゃくげん[3] である。

6.1Answer

Since 4·3=121[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とする。ab[PARSE ERROR: Undefined("Command(\"pmod\")")]ncd[PARSE ERROR: Undefined("Command(\"pmod\")")]n なら、a+cb+d[PARSE ERROR: Undefined("Command(\"pmod\")")]nacbd[PARSE ERROR: Undefined("Command(\"pmod\")")]n であることを証明しょうめいせよ。

7.1Problem

Let n be a positive integer. Prove that if ab[PARSE ERROR: Undefined("Command(\"pmod\")")]n and cd[PARSE ERROR: Undefined("Command(\"pmod\")")]n, then a+cb+d[PARSE ERROR: Undefined("Command(\"pmod\")")]n and acbd[PARSE ERROR: Undefined("Command(\"pmod\")")]n.

7.2解答かいとう

ab[PARSE ERROR: Undefined("Command(\"pmod\")")]nn(a-b)cd[PARSE ERROR: Undefined("Command(\"pmod\")")]nn(c-d) という意味いみである。

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

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

また、

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

であり、右辺うへんnれるふたつのこうである。したがって acbd[PARSE ERROR: Undefined("Command(\"pmod\")")]n である。

7.2Answer

The statement ab[PARSE ERROR: Undefined("Command(\"pmod\")")]n means n(a-b), and cd[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+cb+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 acbd[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たいして abn(a-b)さだめる。

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

  1. Prove that is reflexive, symmetric, and transitive.
  2. Prove that ab 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]=[ab].
  5. Prove that (Z/nZ,+) is a group, explicitly identifying closure, associativity, the identity, and inverses.
  6. Verify that 2·12·4[PARSE ERROR: Undefined("Command(\"pmod\")")]6 but 1[PARSE ERROR: Undefined("Command(\"not\")")]4[PARSE ERROR: Undefined("Command(\"pmod\")")]6. Then prove that cacb[PARSE ERROR: Undefined("Command(\"pmod\")")]n and [PARSE ERROR: Undefined("Command(\"gcd\")")](c,n)=1 imply ab[PARSE ERROR: Undefined("Command(\"pmod\")")]n.

8.1解答かいとう

  1. a-a=0 かつ n0 なので反射的はんしゃてきである。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. ab とする。x[a] なら xab なので x[b] である。ぎゃくx[b] なら、対称性たいしょうせいより ba であり、xba から x[a] である。よって [a]=[b] である。ぎゃく[a]=[b] なら、a[a]=[b] だから ab である。
  3. [0]=[n] だが、代表元だいひょうげんを 0 とえらべば F([0])=0nえらべば F([n])=n となる。おな剰余類じょうよるいからことなるあたいるので、この規則きそくは well-defined でない。
  4. n(a-a)n(b-b) である。(a+b)-(a+b)=(a-a)+(b-b)ab-ab=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. 28[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 n0. 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 ab. If x[a], then xab, so x[b]. Conversely, if x[b], symmetry gives ba, so xba and x[a]. Thus [a]=[b]. Conversely, if [a]=[b], then a[a]=[b], so ab.
  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-ab=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 28[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
タブを全て閉じる