Example. [006Q]
- February 18, 2026
Let A = \{ 2x+3 \mid x \in \Z \} and B = \{ x \mid x \in \Z , \mathrm {Odd}(x) \}. Prove that A = B.
Proof.
- February 18, 2026
By definition, A = B if A \subseteq B and B \subseteq A. We will prove each separately.
Subproof. http://ozark.hendrix.edu/~yorgey/forest/006Q/ ›
- February 18, 2026
We will first show A \subseteq B. By definition, this means \forall {y}: {A}.\; y \in B. So let a \in A be an arbitrary element of A. We must show a \in B as well.
Subproof. http://ozark.hendrix.edu/~yorgey/forest/006Q/ ›
- February 18, 2026
By definition of A, if a \in A there must exist some x \in \Z such that a = 2x+3. We can rewrite this as a = 2(x+1) + 1, thus showing that a is odd, and hence a \in B.
Subproof. http://ozark.hendrix.edu/~yorgey/forest/006Q/ ›
- February 18, 2026
Next we must show B \subseteq A, which means \forall {y}: {B}.\; y \in A. So let b \in B be an arbitrary element of B, and we will show b \in A.
Subproof. http://ozark.hendrix.edu/~yorgey/forest/006Q/ ›
- February 18, 2026
By definition of B, since b \in B we must have b \in \Z and \mathrm {Odd}(b), that is, b = 2k+1 for some k \in \Z .
But b = 2k+1 = 2k - 2 + 3 = 2(k-1) + 3. Since k is an integer, so is k-1; hence b \in A by definition, since it is three more than twice an integer.