-
Notifications
You must be signed in to change notification settings - Fork 0
/
chapter-0-preliminaries.tex
122 lines (107 loc) · 5.28 KB
/
chapter-0-preliminaries.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
\documentclass[./main.tex]{subfiles}
\begin{document}
We assume that the reader is already familiar with the basics of set theory and
how to write proofs. More concretely, the reader should have a good grasp on
functions and relations. We do request that the reader know about equivalence
relations. Therefore, we will not treat them in this book. (If there is
sufficient demand I will add these in)
In this book, the naturals start from zero. That is, $\bN = \set{0, 1, 2,
\dots}$. We denote the set of integers by $\bZ$, the set of real numbers by
$\bR$, the set of rational numbers by $\bQ$ and the set of complex numbers by
$\bC$.
We first begin with an axiom. This will help us with proving the division
algorithm (\cref{thm:division-alg}) and the fact that the GCD is a linear
combination (\cref{thm:gcd-is-linear-combination}).
\begin{axiom}[Well-ordering for naturals]
Let $S \subseteq \bN$ be a nonempty set of natural numbers. Then, $S$ has a smallest element.
\end{axiom}
\begin{theorem}[Division algorithm]
\label{thm:division-alg}
Let $n, m \in \bZ$ and $m > 0$. Then, there exists unique $q, r \in \bZ$,
where $0 \leq r < m$ such that $n = qm + r$.
\end{theorem}
\begin{proof}
Let
\[
S = \set{n - qm: q \in \bZ, n - qm \geq 0}.
\]
Then $S$ is nonempty as $n \in S$, so it has a smallest element $r$. Clearly
$r < m$, for if $r \geq m$ then it would not be the smallest. Then $n - r$
must divide $m$, so let $q$ be an integer such that $qm = n-r$. For
uniqueness, suppose $q', r'$, where $0 \leq r' < m$ satisfies $n = q' m + r'$.
Then, $qm + r = q'm + r'$, so $m(q-q') = r'-r$. Observe that $-m < r' - r <
m$, so $q - q' = 0$, and thus $r = r'$ as well.
\end{proof}
In the proof above, $q$ is called the \emph{quotient} and $r$ is called the
\emph{remainder}. If the remainder $r$ is zero, then $m$ is said to
\textbf{divide} $n$, and we write $m \mid n$.
We now give some motivation for what is going on in the proof above. The set $S$
may seem mysterious, but let us quickly try to understand why it is defined as
such. Let us suppose that we are dividing $n$ by $m$. Recall from elementary
school that when performing long division, we are interested in the largest
multiple of $m$, say $qm$ such that $n - qm$ is as small as possible. So $S$
should contain the minimum value of $n-qm$ possible. This would be the
remainder.
\begin{theorem}[GCD is a linear combination]
\label{thm:gcd-is-linear-combination}
Let $n, m \in \bZ$ be nonzero integers. Then, there exists integers $s, t
\in \bZ$ such that $\gcd(n, m) = ns + mt$. Additionally, $\gcd(n,m)$ is the
smallest positive integer of the form $ns + mt$.
\end{theorem}
\begin{proof}
Let
\[
S = \set{na + mb : a, b \in \bZ, na + mb > 0}.
\]
Then $S$ is nonempty, so it has a smallest element $d$, which is of the form
$ns + mt$. We claim $d = \gcd(n, m)$. First, we show $d$ divides both $n$
and $m$. By \cref{thm:division-alg}, $n = qd + r$, where $0 \leq r < d$. If
$r > 0$ then we have $r = n - qd = n - q(ns+mt) = n(1-qs) - m(qt)$. So $r
\in S$ but $r < d$, a contradiction. A similar argument holds for $m$, so
$d$ divides both $n$ and $m$. Let $d'$ divide both $n$ and $m$ too, we show
$d'$ divides $d$ to establish that $d$ is in fact the gcd. Let $n = d'h$,
and $m = d'k$. Then $d = (d'h)s + (d'k)t = d'(hs + kt)$ as desired.
\end{proof}
Once again we have constructed a rather mysterious looking set. However, such a
set $S$ is natural because we are trying to show that the gcd is the
\emph{smallest} positive integer that is a linear combination of $n, m$.
We say that 2 numbers $n, m$ are \textbf{coprime} if $\gcd(n, m) = 1$. One
corollary of this theorem is so important it is singled out.
\begin{corollary}[Bezout's lemma]
\label{cor:bezout-lemma}
If $\gcd(n, m) = 1$, then there exists integers $s, t \in \bZ$ such that $ns + mt = 1$.
\end{corollary}
And now a quick application of this corollary
\begin{lemma}[Euclid's Lemma]
\label{lemma:euclids-lemma}
Let $p$ be a prime and $p \mid ab$. Then $p \mid a$ or $p \mid b$.
\end{lemma}
\begin{proof}
Suppose $p$ does not divide $a$. Then, by \cref{cor:bezout-lemma}, there are
integers $s,t$ such that $as+pt = 1$, so $b = bas + bpt$. Then $p$ divides
the right side of the equation, so it divides the left side too.
\end{proof}
This theorem tells us that we can factorize natural numbers into a product of
primes in a unique way.
\begin{theorem}[Fundamental Theorem of Arithmetic]
\label{thm:fundamental-theorem-of-arthmetic}
Let $n \in \bN$ and $n > 1$. Then $n$ is prime, or is a unique product of
primes.
\end{theorem}
\begin{proof}
Exercise for the reader. Use \cref{lemma:euclids-lemma} and strong induction.
\end{proof}
All the results here are rather important especially in the study of finite
group theory. As we go deeper into the book, we will invoke them with no
explicit mention, so the reader is highly encouraged to keep these in mind.
\begin{exercise}[Fundamental Theorem of Arithmetic]
Prove \cref{thm:fundamental-theorem-of-arthmetic}
\end{exercise}
\begin{exercise}[Generalized Euclid's lemma]
Prove that if $p \mid a_1 \cdots a_n$ then $p \mid a_i$ for some
$a_i$.
\end{exercise}
\begin{exercise}
Prove that there are infinitely many primes.
\end{exercise}
\end{document}