markdown
equivalence relations and congruences: basic exercisesmd da1f389
exercise/math/abstract-algebra/equivalence-relations-and-congruences.exercise.n.md

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

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

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.

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

Write [2]5 as a set.

4.1Answer

[2]5={2+5kkZ}

4.2Explanation

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

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

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

5.1Answer

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

5.2Explanation

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

6Problem 3: find an inverse

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

6.1Answer

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

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.

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

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

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