Math220 Sol4
Math220 Sol4
Solution:
Result. Let n ∈ N. If |n − 1| + |n + 1| ≤ 1, then |n2 − 1| ≤ 4.
Proof. Suppose that n ∈ N. Then n ≥ 1, so that |n + 1| > 1. Since |n − 1| is
always nonnegative for n ∈ N, it follows that |n − 1| + |n + 1| > 1 as well. The
hypothesis of the result is false for all n ∈ N, and therefore the result is true.
This was an example of a vacuous proof.
Solution:
Result. If x is an odd integer, then 9x + 5 is even.
Proof. Suppose that x ∈ Z is odd. Then there exists k ∈ Z so that x = 2k + 1.
Then 9(2k + 1) + 5 = 18k + 14 = 2(9k + 7). As 9k + 7 is an integer, we have shown
that 9x + 5 is even.
n2 + n − 6 2n3 + 3n2 + n
3.14. Let S = {1, 5, 9}. Prove that if n ∈ S and is odd, then is
2 6
even.
Solution:
n2 + n − 6 2n3 + 3n2 + n
Result. Let S = {1, 5, 9}. If n ∈ S and is odd, then is
2 6
even.
n2 + n − 6
Proof. For n = 1, 5, and 9, the quantity evaluates to −2, 12, and 42,
2
respectively, all of which are even. As the hypothesis is false for all n ∈ S, the
result is true.
Solution:
Result. Let x ∈ Z. Then 5x − 11 is even if and only if x is odd.
Proof. We prove the “if” direction first, using its contrapositive. If x is even, then
there exists k ∈ Z so that x = 2k. Then
As 5k − 6 is an integer, 5x − 11 is odd.
Mathematics 220 Solutions to Homework 4
Next we prove the “only if” direction, using a direct proof. Suppose that x is odd.
Then there exists k ∈ Z such that x = 2k + 1. Then
As 5k − 3 is an integer, 5x − 11 is even.
3.22. Let S = {2, 3, 4} and let n ∈ S. Use a proof by contrapositive to prove that if
n2 (n − 1)2 /4 is even, then n2 (n + 1)2 /4 is even.
n2 (n − 1)2
Solution: Result. Let S = {2, 3, 4}, and let n ∈ S. If is even, then
4
n2 (n + 1)2
is even.
4
n2 (n + 1)2 n2 (n − 1)2
The contrapositive of the statement is: If is odd, then is odd.
4 4
Proof. We argue using the contrapositive. For n = 3 and 4, the quantity
n2 (n + 1)2
evaluates to 36 and 100, respectively. These are both even numbers,
4
and so the contrapositive holds vacuously.
n2 (n + 1)2
For the remaining case, n = 2, the quantity evaluates to 9, which is
4
n2 (n − 1)2
odd; and so, to verify the contrapositive, we must check the parity of
4
n2 (n − 1)2
for n = 2. The quantity evaluates to 1 in this case, which is also odd.
4
This verifies the result.
3.26.
n2 − 3n + 9 = 4k 2 − 6k + 9
= 2(2k 2 − 3k + 4) + 1
Page 2
Mathematics 220 Solutions to Homework 4
Question. Prove the implication: if m, n ∈ Z are odd then m2 + 3n2 is even. What is the converse
of the implication? Is the converse true or false? Justify your answer.
4.2.
4.10.
Solution: Assume 2|(n4 −3). Then n4 −3 = 2k for some integer k. Then n4 = 2k+3
is odd. By Theorem 3.12, then n2 is odd, and then by Theorem 3.12 again n is odd.
So n = 2a + 1 for some integer a. Then n2 + 3 = 4k 2 + 4k + 1 + 3 = 4(k 2 + k + 1).
This implies 4|(n2 + 3) as k 2 + k + 1 is an integer.
Assume 4|(n2 + 3). So n2 + 3 = 4b for some integer b. So n2 = 4b − 3. Then
n4 − 3 = (4b − 3)2 − 3 = 16b2 − 24b + 6 = 2(8b2 − 12b + 3) is even as 8b2 − 12b + 3
is an integer. So 2|(n4 − 3).
4.18.
4.22.
Page 3
Mathematics 220 Solutions to Homework 4
4.42.
4.48.
4.56.
Solution: ∀x ∈ A, x ∈ A ∪ B. Since A ∩ B = ∅, x 6∈ B. So x ∈ (A ∪ B) − B. We
conclude: A ⊆ (A ∪ B) − B. On the other hand, ∀x ∈ (A ∪ B) − B, x ∈ A ∪ B
and x 6∈ B implies x ∈ A. Then (A ∪ B) − B ⊆ A. Thus, we have shown:
A = (A ∪ B) − B.
Page 4