$A = \{n ∈ Z\mid∃r ∈ Z n = 8r − 3\}$
$B = \{m ∈ Z\mid∃s ∈ Z m = 4s + 1\}$
(a) Is $A ⊆ B$ ?
(b) Is $B ⊆ A$ ?
I don't know how to begin this question, or finish it. I know that I either have to give a proof if the answer is yes, or a counterexample if the answer is no.
Let's consider part a) first. Suppose that $x \in A$. Then, there exists an $r \in \mathbb{Z}$ such that:
$$x = 8r-3$$
We need to show that either $x \in B$ or $x \notin B$. Let us rewrite the expression for $x$ above as follows:
$$x = 8r-3 = 8r-4+1 = 4(2r-1)+1$$
Define $s = 2r-1$. Since it is the case that $s \in \mathbb{Z}$, it follows that $x \in B$. The reason for that is simple: if $x \in B$, then we must find an $s \in \mathbb{Z}$ so that $x = 4s+1$. If we are able to do that, then we're gucci.
In this case, we were guaranteed the existence of $r \in \mathbb{Z}$ because we started off assuming that $x \in A$. So, we used the existence of $r$ to prove the existence of $s$. That's the crux of the reasoning used.
This proves that $A \subset B$.
Can you do part b) on your own?