Math 360, Fall 2021, Assignment 8
From cartan.math.umb.edu
Mathematical proofs, like diamonds, are hard as well as clear, and will be touched with nothing but strict reasoning.
- - John Locke, Second Reply to the Bishop of Worcester
Carefully define the following terms, then give one example and one non-example of each:
- $\mathrm{gcd}(a,b)$.
- $\mathrm{lcm}(a,b)$.
- $|$ (the divisibility relation on $\mathbb{Z}$).
Carefully state the following theorems (you need not prove them):
- Classification of subgroups of cyclic groups ("Every subgroup of a cyclic group is...").
- Containment criterion for subgroups of $\mathbb{Z}$.
- Equality criterion for subgroups of $\mathbb{Z}$.
- Classification of subgroups of $\mathbb{Z}$ ("Every subgroup of $\mathbb{Z}$ has a unique...").
- Theorem concerning the properties of $\mathrm{gcd}(a,b)$.
- Theorem concerning the properties of $\mathrm{lcm}(a,b)$.
Solve the following problems:
- Section 6, problems 5, and 7.
- Compute $\mathrm{gcd}(6,9)$. Then compute $\mathrm{gcd}(-6,9)$. (Hint: think about the subgroups $\left\langle 6,9\right\rangle$ and $\left\langle -6,9\right\rangle$.)
- For any $a,b\in\mathbb{Z}$, prove that $\left\langle a,b\right\rangle=\left\langle -a,b\right\rangle$. (Hint: prove mutual containment. Bear in mind that $\left\langle a,b\right\rangle$ is the smallest subgroup containing $a$ and $b$, so it is contained in any other subgroup that contains $a$ and $b$.)
- Prove that for any $a,b\in\mathbb{Z}$, we have $\mathrm{gcd}(-a,b)=\mathrm{gcd}(a,b)$.
- Prove that for any $a,b\in\mathbb{Z}$, the set $S_{a,b}=\{xa+yb\,|\,x,y\in\mathbb{Z}\}$ is a subgroup of $\mathbb{Z}$.
- Prove that the subgroup $S_{a,b}$ above is in fact equal to $\left\langle a,b\right\rangle$. (Hint: prove mutual containment.)
- Prove that for any integers $a,b\in\mathbb{Z}$, there exist integers $x,y$ with $xa+yb=\mathrm{gcd}(a,b)$.
- (Optional) Read the Wikipedia article on the Extended Euclidean Algorithm, which is a very efficient computer algorithm that computes $\mathrm{gcd}(a,b)$ as well as the integers $x,y$ referenced above. This algorithm, which is lightning-fast even when the inputs $a,b$ are astronomically large, is foundational to many cryptographic and cryptanalytic techniques.
- (Optional) Implement the Extended Euclidean Algorithm in the programming language of your choice.
Questions:
Solutions:
Definitions:
- Suppose $a, b \in \mathbb Z$. the non-negative generator of $\left\langle a, b \right\rangle$ is denoted $gcd(alb)$.
- $\left\langle a \right\rangle \cap \left\langle b \right\rangle$ is a subgroup of $\mathbb Z$, so it has a unique non-negative generator. This is denoted $lcm(a,b)$.
- Divisibility in $\mathbb Z$: $a|b$ ("a divides b" or "b is a multiple of a") means that $\exists c \in \mathbb Z$ such that $b = ac$.
Theorems:
- Containment criterion for subgroups of $\mathbb Z$): In $(\mathbb Z, +), \left\langle a \right\rangle \subseteq \left\langle b \right\rangle \iff b|a$.
- Equality criterion: $(\left\langle a \right\rangle = \left\langle b \right\rangle \iff b|a \wedge a|b)$. In $\mathbb Z, (a|b \text{ and } b|a) \iff b=\pm a$.
- Any subgroup of $\mathbb Z$ has a unique non-negative generator.
- (1) $gcd(a,b)$ is in fact a common divisor of $a \text{ and } b$: $gcd(a,b) |a \text{ and } gcd(a,b) | b$. (2) If $d$ is any other common divisor of $a, b$, then $d|gcd(a,b)$.