Event of interest:
Midterm exam date set: Monday, 5/5 in class.
A2 due Friday
Week 2 Feedback themes:
Definition: Given integers \(a\) and \(b\) and \(n \in \mathbb{Z}\), we say that \(a\) and \(b\) are congruent modulo \(\mathbf{n}\) if \(n \mid (a - b)\). We write this as \(a \equiv b \pmod{n}\). If \(a\) and \(b\) are not congruent modulo \(n\), then we write \(a \not\equiv b \pmod{n}\).
Do Exercises Part A
We have seen: \[ P \Rightarrow Q \equiv \neg Q \Rightarrow \neg P \]
A possible way to build intuition for this is using a statement like:
“All humans are mammals”
which we can rephrase as
“If you are human, then you are a mammal”
If that’s the case, then the following statement rings true to our intuition:
“If you are not a mammal, then you are not human.”
The fact that \(P \Rightarrow Q\) and its contrapositive are logically equivalent means that showing \(\neg P \Rightarrow \neg Q\) is just as good as showing \(P \Rightarrow Q\). So we can prove \(P \Rightarrow Q\) as follows:
Proposition: Suppose \(x, y \in \mathbb{Z}\). If \(5 \nmid xy\), then \(5 \nmid x\) and \(5 \nmid y\).
See whiteboard notes for proof.
Definition: An integer \(n\) is even if \(n = 2a\) for some integer \(a \in \mathbb{Z}\).
Definition: An integer \(n\) is odd if \(n = 2a + 1\) for some integer \(a \in \mathbb{Z}\).
Definition: Suppose \(a\) and \(b\) are integers. We say that \(a\) divides \(b\), written \(a | b\), if \(b = ac\) for some \(c \in \mathbb{Z}\). In this case we also say that \(a\) is a divisor of \(b\), and that \(b\) is a multiple of \(a\).
Definition: Two integers have the same parity if they are both even or they are both odd. Otherwise they have opposite parity.
Definition: Given integers \(a\) and \(b\) and \(n \in \mathbb{Z}\), we say that \(a\) and \(b\) are congruent modulo \(\mathbf{n}\) if \(n \mid (a - b)\). We write this as \(a \equiv b \pmod{n}\). If \(a\) and \(b\) are not congruent modulo \(n\), then we write \(a \not\equiv b \pmod{n}\).