Appendix A Definitions for this Workbook
These definitions are typically introduced in introductory courses on proofs, discrete math, and number theory. They are useful for completing the proof exercises in this workbook and valuable for any aspiring mathematician to remember. However, memorizing these definitions is not as important for your success in real analysis as is knowing how to use definitions in proofs (both direct and indirect proofs). So, you may want to focus more on applying these definitions than on memorizing them!
Definition A.14. Rational Numbers.
The set of rational numbers consists of the ratios of integers, whose denominator is nonzero:
Note that Definition A.14 defines the rational numbers as a set. Their algebra would require us to specify that two fractions represent the same rational number exactly when their cross-ratios are equal (they have the same “lowest terms”):
Definition A.15. Parity, Even, Odd.
Let \(n\in \mathbb{Z}\) be an integer. We say that the parity of \(n\) is either even or odd depending on whether:
Mostly, Definition A.15 is helpful for comparing two integers. For example, to say that “\(x\) and \(y\) have the same parity” is a short way to say “\(x\) and \(y\) are either both even or both odd”.
Definition A.16. Congruence Modulo \(p\).
Let \(m,n\in\mathbb{Z}\) be two integers, and \(p\in\mathbb{N}\) be a natural number. We say that \(m\) and \(n\) are congruent modulo \(p\) (or “mod \(p\)” for short) if their difference is a multiple of \(p\text{:}\)
This generalizes the notion of parity: in particular, two integers have the same parity if and only if they are congruent modulo 2. (Can you prove this assertion?)
Definition A.17. Divisibility.
Let \(n,p\in\mathbb{Z}\) be two integers. We say that \(n\) divides \(p\) (or, equivalently, that \(p\) is a multiple of \(n\)) if:
When this is true, we use the notation \(n \mid p\text{.}\)
The preceding two definitions are also related: two integers \(m,n\) are congruent modulo \(p\) if, and only if, \(p \mid (m-n)\text{.}\)
Definition A.18. Factorial.
For all natural numbers \(n\) we define \(n\) factorial to be
by multiplying all natural numbers from 1 up to \(n\text{.}\)
Theorem A.19. De Morgan's Laws.
Given two logical statements \(P,Q\text{,}\) the following are equivalent:
-
The negation of conjunction is the disjunction of negations:
\begin{equation*} \lnot\bigl( P\wedge Q\bigr) = (\lnot P)\vee (\lnot Q) \qquad \text{"not-(P and Q)" is "(not-P) or (not-Q)"} \end{equation*} -
The negation of disjunction is the conjunction of negations:
\begin{equation*} \lnot\bigl( P\vee Q\bigr) = (\lnot P)\wedge (\lnot Q) \qquad \text{"not-(P or Q)" is "(not-P) and (not-Q)"} \end{equation*}
Corollary A.20. De Morgan's Laws for Sets.
Given two sets \(A,B\text{,}\) the following equalities hold:
-
The complement of a union is the intersection of complements:
\begin{equation*} \bigl(A\cup B\bigr)^c = A^c \cap B^c \end{equation*} -
The complement of an intersection is the union of complements:
\begin{equation*} \bigl(A\cap B\bigr)^c = A^c \cup B^c \end{equation*}