1 Preliminaries
Theorem 1
Proof
Aassume by contradiction that \[ \sqrt{2} \in \mathbb{Q}\,. \tag{1.1}\]
Therefore, there exists \(m,n \in \mathbb{N}\), \(n \neq 0\), such that \[ \frac{m}{n} = \sqrt{2} \,. \]
Withouth loss of generality, we can assume that \(m\) and \(n\) have no common factors.
Square the equation to get \[ \frac{m^2}{n^2} = 2 \quad \implies \quad m^2 = 2 n^2 \,. \tag{1.2}\] Therefore the integer \(m^2\) is an even number.
Since \(m^2\) is an even number, it follows that also \(m\) is an even number. Then there exists \(p \in \mathbb{N}\) such that \[ m = 2p \,. \tag{1.3}\]
Substitute (1.3) in (1.2) to get \[ m^2 = 2n^2 \, \implies \, (2p)^2 = 2n^2 \, \implies \, 4 p^2 = 2 n^2 \] Dividing both terms by \(2\), we obtain \[ n^2 = 2p^2\,. \tag{1.4}\]
We now make a series of observations:
- Equation (1.4) says that \(n^2\) is even.
- The same argument in Step 4 guarantees that also \(n\) is even.
- Therefore \(n\) and \(m\) are both even, meaning they have \(2\) as common factor.
- But Step 2 says that \(n\) and \(m\) have no common factors. Contradiction
Our reasoning has run into a contradiction, stemming from assumption (1.1). Therefore (1.1) is FALSE, and so \[ \sqrt{2} \notin \mathbb{Q}\, \] ending the proof.
1.1 Set Theory
Definition 2
Proposition 3
Definition 4
Let \(\Omega\) be a set, and \(A_n \subseteq \Omega\) a family of subsets, where \(n \in \mathbb{N}\).
The infinte union of the \(A_n\) is the set \[ \bigcup_{n \in \mathbb{N}} A_n := \{ x \in \Omega \, \colon \, x \in A_n \,\, \text{ for at least one } \,\, n \in \mathbb{N}\} \,. \]
The infinte intersection of the \(A_n\) is the set \[ \bigcap_{n \in \mathbb{N}} A_n := \{ x \in \Omega \, \colon \, x \in A_n \,\, \text{ for all } \,\, n \in \mathbb{N}\} \,. \]
Example 5
Question. Define \(\Omega:=\mathbb{N}\) and a family \(A_n\) by \[ A_n = \{ n, n+1, n+2, n+3, \ldots \} \,, \quad n \in \mathbb{N}\,. \]
Prove that \[ \bigcup_{n \in \mathbb{N}} A_n = \mathbb{N}\,. \tag{1.5}\]
Prove that \[ \bigcap_{n \in \mathbb{N}} A_n = \emptyset \,. \tag{1.6}\]
Solution.
Assume that \(m \in \cup_n A_n\). Then \(m \in A_n\) for at least one \(n \in \mathbb{N}\). Since \(A_n \subseteq \mathbb{N}\), we conclude that \(m \in \mathbb{N}\). This shows \[ \bigcup_{n \in \mathbb{N}} A_n \subseteq \mathbb{N}\,. \] Conversely, suppose that \(m \in \mathbb{N}\). By definition \(m \in A_m\). Hence there exists at least one index \(n\), \(n=m\) in this case, such that \(m \in A_n\). Then by definition \(m \in \cup_{n \in \mathbb{N}} A_n\), showing that \[ \mathbb{N}\subseteq \bigcup_{n \in \mathbb{N}} A_n \,. \] This proves (1.5).
Suppose that (1.6) is false, i.e., \[ \bigcap_{n \in \mathbb{N}} A_n \neq \emptyset \,. \] This means there exists some \(m \in \mathbb{N}\) such that \(m \in \cap_{n \in \mathbb{N}} A_n\). Hence, by definition, \(m \in A_n\) for all \(n \in \mathbb{N}\). However \(m \notin A_{m+1}\), yielding a contradiction. Thus (1.6) holds.
Definition 6
Example 7
Question. Suppose \(A, B \subseteq \Omega\). Prove that \[ A \subseteq B \iff B^c \subseteq A^c \,. \]
Solution. Let us prove the above claim:
First implication \(\implies\):
Suppose that \(A \subseteq B\). We need to show that \(B^c \subseteq A^c\). Hence, assume \(x \in B^c\). By definition this means that \(x \notin B\). Now notice that we cannot have that \(x \in A\). Indeed, assume \(x \in A\). By assumption we have \(A \subseteq B\), hence \(x \in B\). But we had assumed \(x \in B\), contradiction. Therefore it must be that \(x \notin A\). Thus \(B^c \subseteq A^c\).Second implication \(\impliedby\): Note that, for any set, \[ (A^c)^c = A \,. \] Hence, by the first implication, \[ B^c \subseteq A^c \, \implies \, (A^c)^c \subseteq (B^c)^c \, \implies \, A \subseteq B \,. \]
Proposition 8: De Morgan’s Laws
Definition 9
Example 10
Solution. \(\mathcal{P}(\Omega)\) has \(2^3 = 8\), and \[\begin{align} \mathcal{P}(\Omega) = \{ \emptyset, & \, \{x\} , \, \{y\} , \, \{z\} , \{x,y\} \\ & \{x,z\}, \, \{y,z\} , \, \{x,y,z\} \} \,. \end{align}\]
Definition 11
1.2 Relations
Definition 12
Definition 13: Equivalence relation
Reflexive: For each \(x \in A\) one has \[ (x,x) \in R \,, \]
Symmetric: We have \[ (x,y) \in R \implies (y,x) \in R \]
Transitive: We have \[ (x,y) \in R \,, \,\, (y,z) \in R \implies (x,z) \in R \]
If \((x,y) \in R\) we write \[ x \sim y \] and we say that \(x\) and \(y\) are equivalent.
Definition 14: Equivalence classes
Proposition 15
Let \(\sim\) be an equivalence relation on \(A\). Then
For each \(x \in A\) we have \[ [x] \neq \emptyset \]
For all \(x,y \in A\) it holds \[ x \sim y \quad \iff \quad [x] = [y] \,. \]
Example 16: Equality is an equivalence relation
Question. The equality defines a binary relation on \(\mathbb{Q}\times \mathbb{Q}\), via \[ R:=\{ (x,y) \in \mathbb{Q}\times \mathbb{Q}\, \colon \, x=y \} \,. \]
- Prove that \(R\) is an equivalence relation.
- Prove that \([x] = \{x\}\) and compute \(\mathbb{Q}/ R\).
Solution.
We need to check that \(R\) satisfies the 3 properties of an equivalence relation:
Reflexive: It holds, since \(x=x\) for all \(x \in \mathbb{Q}\),
Symmetric: Again \(x = y\) if and only if \(y = x\),
Transitive: If \(x = y\) and \(y = z\) then \(x = z\).
Therefore, \(R\) is an equivalence relation.
The class of equivalence of \(x \in \mathbb{Q}\) is given by \[ [x] = \{ x \}\,, \] that is, this relation is quite trivial, given that each element of \(\mathbb{Q}\) can only be related to itself. The quotient space is then \[ \mathbb{Q}/ R = \{ [x] \, \colon \,x \in \mathbb{Q}\} = \{ \{ x\} \, \colon \,x \in \mathbb{Q}\} \,. \]
Example 17
Question. Let \(R\) be the binary relation on the set \(\mathbb{Q}\) of rational numbers defined by \[ x \sim y \iff x-y \in \mathbb{Z}\,. \]
- Prove that \(R\) is an equivalence relation on \(\mathbb{Q}\).
- Compute \([x]\) for each \(x \in \mathbb{Q}\).
- Compute \(\mathbb{Q}/R\).
Solution.
We have:
Reflexive: Let \(x \in \mathbb{Q}\). Then \(x-x = 0\) and \(0 \in \mathbb{Z}\). Thus \(x \sim x\).
Symmetric: If \(x \sim y\) then \(x-y \in \mathbb{Z}\). But then also
\[ -(x-y) = y - x \in \mathbb{Z} \] and so \(y \sim x\).Transitive: Suppose \(x \sim y\) and \(y \sim z\). Then \[ x - y \in \mathbb{Z}\, \text{ and } \, y - z \in \mathbb{Z}\,. \] Thus, we have \[ x-z = (x-y) + (y-z) \in \mathbb{Z} \] showing that \(x \sim z\).
Thus, we have shown that \(R\) is an equivalence relation on \(\mathbb{Q}\).
Note that \[ x \sim y \quad \iff \quad \exists \, n \in \mathbb{Z}\, \text{ s.t. } \, y = x + n \,. \] Therefore the equivalence classes with respect to \(\sim\) are \[ [x] = \{ x + n \ \colon \ n \in \mathbb{Z}\} \,. \] Each equivalence class has exactly one element in \([0,1) \cap \mathbb{Q}\), meaning that: \[ \forall x \in \mathbb{Q}\,, \,\, \exists! \, q \in \mathbb{Q}\, \text{ s.t. } \, 0 \leq q < 1 \, \text{ and } \, q \in [x]\,. \tag{1.7}\] Indeed: take \(x \in \mathbb{Q}\) arbitrary. Then \(x \in [n,n+1)\) for some \(n \in \mathbb{Z}\). Setting \(q:=x-n\) we obtain that \[ x = q + n \,, \qquad q \in [0,1) \,, \] proving (1.7). In particular (1.7) implies that for each \(x \in \mathbb{Q}\) there exists \(q \in [0,1) \cap \mathbb{Q}\) such that \[ [x] = [q] \,. \]
From Point 2 we conclude that \[ \mathbb{Q}/ R = \{ [x] \, \colon \,x \in \mathbb{Q}\} = \{ q \in \mathbb{Q}\, \colon \,0 \leq q <1 \} \,. \]
Definition 18: Partial order
A binary relation \(R\) on \(A\) is called a partial order if it satisfies the following properties:
Reflexive: For each \(x \in A\) one has \[ (x,x) \in R \,, \]
Antisymmetric: We have \[ (x,y) \in R \, \text{ and } \, (y,x) \in R \implies x = y \]
Transitive: We have \[ (x,y) \in R \,, \,\, (y,z) \in R \implies (x,z) \in R \]
Definition 19: Total order
A binary relation \(R\) on \(A\) is called a total order relation if it satisfies the following properties:
- Partial order: \(R\) is a partial order on \(A\).
- Total: For each \(x,y \in A\) we have \[ (x, y) \in R \,\, \mbox{ or } \,\, (y,x) \in R \,. \]
Example 20: Set inclusion is a partial order but not total order
Question. Let \(\Omega\) be a non-empty set and consider its power set \[ \mathcal{P}(\Omega) = \{ A \, \colon \,A \subseteq \Omega \}\,. \] The inclusion defines binary relation on \(\mathcal{P}(\Omega) \times \mathcal{P}(\Omega)\), via \[ R:=\{ (A,B) \in \mathcal{P}(\Omega) \times \mathcal{P}(\Omega) \, \colon \, A \subseteq B \} \,. \]
- Prove that \(R\) is an order relation.
- Prove that \(R\) is not a total order.
Solution.
- Check that \(R\) is a partial order relation on \(\mathcal{P}(\Omega)\):
- Reflexive: It holds, since \(A \subseteq A\) for all \(A \in \mathcal{P}(\Omega)\).
- Antisymmetric: If \(A \subseteq B\) and \(B \subseteq A\), then \(A=B\).
- Transitive: If \(A \subseteq B\) and \(B \subseteq C\), then, by definition of inclusion, \(A \subseteq C\).
- In general, \(R\) is not a total order. For example consider \[ \Omega = \{x, y\}\,. \] Thus \[ \mathcal{P}(\Omega) = \{ \emptyset , \, \{x\} , \, \{y\} , \, \{x,y\} \}\,. \] If we pick \(A=\{x\}\) and \(B=\{y\}\) then \(A \cap B = \emptyset\), meaning that \[ A \not\subseteq B \,, \quad B \not\subseteq A \,. \] This shows \(R\) is not a total order.
Example 21: Inequality is a total order
Solution. We need to check that:
Reflexive: It holds, since \(x \leq x\) for all \(x \in \mathbb{Q}\),
Antisymmetric: If \(x \leq y\) and \(y \leq x\) then \(x = y\).
Transitive: If \(x \leq y\) and \(y \leq z\) then \(x \leq z\).
Finally, we halso have that \(R\) is a total order on \(\mathbb{Q}\), since for all \(x,y \in \mathbb{Q}\) we have \[ x \leq y \,\, \text{ or } \,\, y \leq x \,. \]
1.3 Induction
Definition 22: Principle of Inducion
- \(\alpha(1)\) is true, and
- Whenever \(\alpha(n)\) is true, then \(\alpha(n+1)\) is true.
Then \(\alpha(n)\) is true for all \(n \in \mathbb{N}\).
Example 23: Formula for summing first \(n\) natural numbers
Solution. Define \[ S(n) = 1 + 2 + \ldots + n \,. \] This way the formula at (1.8) is equivalent to \[ S(n) = \frac{n(n+1)}{2} \,, \quad \forall \, n \in \mathbb{N}\,. \]
- It is immediate to check that (1.8) holds for \(n=1\).
- Suppose (1.8) holds for \(n = k\). Then \[\begin{align} S(k+1) & = 1 + \ldots + k + (k+1) \\ & = S(k) + (k+1) \\ & = \frac{k(k+1)}{2} + (k+1) \\ & = \frac{ k(k+1) + 2(k+1) }{2} \\ & = \frac{(k+1)(k+2)}{2} \end{align}\] where in the first equality we used that (1.8) holds for \(n=k\). We have proven that \[ S(k+1) = \frac{(k+1)(k+2)}{2}\,. \] The RHS in the above expression is exactly the RHS of (1.8) computed at \(n = k+1\). Therefore, we have shown that formula (1.8) holds for \(n = k+1\).
By the Principle of Induction, we conclude that (1.8) holds for all \(n \in \mathbb{N}\).
Example 24: Bernoulli’s inequality
Solution. Let \(x \in \mathbb{R}, x>-1\). We prove the statement by induction:
Base case: (1.9) holds with equality when \(n=1\).
Induction hypothesis: Let \(k \in \mathbb{N}\) and suppose that (1.9) holds for \(n=k\), i.e., \[ (1+x)^{k} \geq 1+k x \,. \] Then \[\begin{align*} (1+x)^{k+1} & = (1+x)^{k}(1+x) \\ & \geq(1+k x)(1+x) \\ & =1+k x+x+k x^{2} \\ & \geq 1+(k+1) x \,, \end{align*}\] where we used that \(kx^2 \geq 0\). Then (1.9) holds for \(n=k+1\).
By induction we conclude (1.9).
1.4 Absolute value
Definition 25: Absolute value
Proposition 26
For all \(x \in \mathbb{R}\) they hold:
- \(|x| \geq 0\).
- \(|x| = 0\) if and only if \(x = 0\).
- \(|x| = |-x|\).