Detailed Video Solution - Weekly Quiz 2
Annotated Notes - Weekly Quiz 2 Solutions
$\text{S1}:$ Suppose $a, b \in \mathbb{Z}$. If $a^2\left(b^2-2 b\right)$ is odd, then both $a$ and $b$ are odd.
(Suggestion: Try contrapositive proof.)
Proof. (Contrapositive) Suppose it is not the case that $a$ and $b$ are odd. Then, by DeMorgan's Law, $a$ is even or $b$ is even. Let us look at these cases separately.
Case 1. Suppose $a$ is even. Then $a=2 c$ for some integer $c$.
Thus $a^2\left(b^2-2 b\right)=(2 c)^2\left(b^2-2 b\right)=2\left(2 c^2\left(b^2-2 b\right)\right)$, which is even.
Case 2. Suppose $b$ is even. Then $b=2 c$ for some integer $c$.
Thus $a^2\left(b^2-2 b\right)=a^2\left((2 c)^2-2(2 c)\right)=2\left(a^2\left(2 c^2-2 c\right)\right)$, which is even.
Thus in either case $a^2\left(b^2-2 b\right)$ is even, so it is not odd.
(NOTE: A third case where both $a$ and $b$ are even is not necessary.
In that case $a$ is even, a scenario addressed in Case 1.)
$\text{S2}:$ Suppose $a, b \in \mathbb{Z}$. If $25 \nmid a b$, then $5 \nmid a$ or $5 \nmid b$.
Proof. (Contrapositive) Suppose it is not the case that $5 \nmid a$ or $5 \nmid b$. Then (using DeMorgan's Law), we have $5 \mid a$ and $5 \mid b$.
By definition of divisibility, this gives $a=5 k$ and $b=5 \ell$ for some $k, \ell \in \mathbb{Z}$.
Then $a b=(5 k)(5 \ell)=25 k \ell$, that is, $a b=25 c$ for $c=k \ell \in \mathbb{Z}$.
Therefore $25 \mid a b$, by definition of divisibility.
Thus it is not the case that $25 \nmid a b$.