equivalence relations and congruences 合同式 ごうどうしき : basic exercises
1Corresponding lectures
data/lecture/math/abstract-algebra/equivalence-relations-and-cosets.lecture.n.md data/lecture/math/abstract-algebra/congruences-and-modular-arithmetic.lecture.n.md2Suggested 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.
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.mdAttempt these after the later lectures on quotient groups and quotient rings.
4Problem 1: write a residue class 剰余類 じょうよるい
Write as a set.
4.1Answer
4.2Explanation
A
5Problem 2: decide a congruence 合同式 ごうどうしき
Does hold?
5.1Answer
Since and , the
5.2Explanation
A
6Problem 3: find an inverse
Find the multiplicative inverse of in .
6.1Answer
Since , the inverse is .
6.2Explanation
Before searching for an inverse, we know it exists because . Here we verified it directly by multiplication.
7Proof exercise: congruence 合同式 ごうどうしき is preserved by addition and multiplication
7.1Problem
Let be a positive integer. Prove that if and , then and .
7.2Answer
The statement means , and means .
Therefore , so .
Also,
The right-hand side is a sum of two terms divisible by . Hence .
7.3Explanation
The proof does not divide by . It uses the fact that 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 and define a relation on the integers by .
- Prove that is reflexive, symmetric, and transitive.
- Prove that if and only if .
- Use two representatives to show that the rule does not define a map from to .
- Prove that and imply both and .
- Prove that is a group, explicitly identifying closure, associativity, the identity, and inverses.
- Verify that but . Then prove that and imply .
8.1Answer
- The relation is reflexive because and . It is symmetric because and imply . It is transitive because divisibility of both and , together with , implies .
- Suppose . If , then , so . Conversely, if , symmetry gives , so and . Thus . Conversely, if , then , so .
- We have , but choosing representative 0 gives , while choosing representative gives . The same residue class would have two different values, so the rule is not well-defined.
- We have and . Both and are multiples of , proving the two required class equalities.
- Closure follows from . Associativity follows from . The identity is , and the inverse of is . Hence this is a group.
- Since , the first congruence holds, but 6 does not divide . If , then has an inverse. Multiplying by gives .