0% found this document useful (0 votes)
19 views9 pages

Problem_Set_5

Uploaded by

louxiaoxiao42
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views9 pages

Problem_Set_5

Uploaded by

louxiaoxiao42
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 9

MATH-UA 120 Discrete Mathematics:

Problem Set 5
Jane Marple
Due Monday, October 28th, 2024

Assignment Instructions
• These are to be written up in LATEX and turned in on Gradescope.
• Click here to duplicate this .tex file in Overleaf .
• Write your solutions inside the solution environment.
• You are always encouraged to talk problems through with your peers and your instructor, but your
write up should be done independently.

• Problems are graded on correctness and fluency.


• Unless stated otherwise, all calculations require justification.
• Some tutorials on how to use LATEX can be found here. If you have any questions about LATEX
commands you can always ask your instructor for advice.

Statement on generative AI
In this and other mathematics courses, you are expected to construct clear and concise mathematical argu-
ments based on statements proven in our text and class notes. Large language models such as ChatGPT
are unable to produce this kind of solution. They also frequently generate circular logic and outright false
results.
You may use AI to summarise content, generate study plans, create problems, or do other study-related
activities. You may not ask a chatbot to solve your quiz or homework problems, or do any assessment-related
activities.
You may use AI tools to edit your grammar and punctuation, but remember that mathematical English
is not the same as academic English in other disciplines.

1
Problem 1
Prove the following statement by contrapositive: For all n ∈ N, if 2n < n!, then n > 3.

The proposition to be proved in the question is ∀n ∈ N2n < n! → n > 3. We prove the contrapositive
of the statement. ∀n ∈ Nn ≤ 3 → 2n ≥ n!. This is simple. If n = 0 then 20 = 1 ≥ 0! = 1. If n = 1,
then 21 = 2 ≥ 1! = 1. If n = 2, then 22 = 4 ≥ 2! = 2.If n = 3, then 23 = 8 ≥ 3! = 6. Therefore
∀n ∈ Nn ≤ 3 → 2n ≥ n!.

2
Problem 2

Prove the following statement by contrapositive: For all a, b ∈ Z, if a2 b2 − 2b is odd, then a and b are odd.

We prove the contrapositive of the statement, (a is even) ∨ (b is even) → a2 (b2 − 2b) is even.
There are 3 situations.
1. Suppose that a is even and b is odd. Then there exist an integer x such that a = 2x. Then

a2 (b2 − 2b) = 4x2 (b2 − 2b) = 2 · 2x2 (b2 − 2b).

Therefore a2 (b2 − 2b) is even.


2. Suppose that a is odd and b is even. Then there exist an integer x such that b = 2x. Then

a2 (b2 − 2b) = a2 (4x2 − 4x) = 2 · a2 (2x2 − 2x).

Therefore a2 (b2 − 2b) is even.


3. Suppose that a, b are both even. Then there exist two integers x such that a = 2x, b = 2y. Then

a2 (b2 − 2b) = 4x2 (4y 2 − 4y) = 2 · 2x2 (4y 2 − 2y).

Therefore a2 (b2 − 2b) is even.


It is true that (a is even) ∨ (b is even) , then a2 (b2 − 2b) is even.

3
Problem 3
Prove the following statement by contradiction: Let A, B and C be sets. If A ⊆ B and B ∩ C = ∅, then
A ∩ C = ∅.

To prove if A ⊆ B and B ∩ C = ∅, then A ∩ C = ∅ by contradiction. We assume A ⊆ B and B ∩ C = ∅


is true. and A ∩ C = ∅ is false. Then A ∩ C ̸= ∅, we also know A ⊆ B thus ∅ ̸= A ∩ C ⊆ B ∩ C. This is a
contradiction. Therefore while A ⊆ B and B ∩ C = ∅ is true, B ∩ C = ∅ must be true.

4
Problem 4
Prove the following statement by contradiction: Let x, y ∈ Z. Then x2 − 4y − 3 ̸= 0.

To prove this statement by contradiction, we assume that ∀x, y ∈ Z, x2 − 4y − 3 = 0. Thus x2 = 4y + 3,


but this is impossible for y < 0. Thus ∀x, y ∈ Z, x2 − 4y − 3 ̸= 0.

5
Problem 5
Prove the following statement by smallest counterexample: Let n ∈ N. If n ≥ 1, then 4 | (5n − 1).

Assume that the smallest integer for which this proposition does not hold is n = k (the proposition holds
for n = 1, so k must be greater than 1). Therefore, k − 1 would satisfy the proposition. Using the following
transformation:

5k − 1 = 5k − 5k−1 + 5k−1 − 1 = 5k−1 (5 − 1) + 5k−1 − 1 = 4 · 5k−1 + 5k−1 − 1

Because 4 | 5k−1 − 1, we can see that 4 | 5k − 1. This leads to a contradiction. Thus, the proposition we
wanted to prove is true.

6
Problem 6
The following is a “proof” of a false claim.
Claim (false). Let n ∈ N. Then

2n = 0. (1)

Proof. We prove the claim using proof by contradiction.


For the sake of contradiction, suppose there exists a natural number such that (1) does not hold. By the
Well-Ordering Principle, there exists a smallest x ∈ N such that 2x ̸= 0. Note that x ̸= 0. Then there exist
i, j ∈ N such that i, j < x and i + j = x. Since i, j < x we know 2i = 0 and 2j = 0. Observe

2x = 2 (i + j)
= 2i + 2j
= 0.

This contradicts the assumption that x is a counterexample to (1). Therefore, (1) holds for all n ∈ N.
Find the logic error in this proof. That is, find the the part of the proof that does not follow and allows
for the false contradiction. Do not say “the proof is wrong because the claim is false”.

He claims that for natural number x ̸= 0, there must exist two natural numbers i and j that are less
than x such that x = i + j. However, this statement is incorrect because, for x = 1, there do not exist such
integers. The smallest natural number for which the proposition does not hold is exactly x = 1.

7
Problem 7
 
2n
Let n ∈ N. Use induction to prove that < 22n−2 for all n ≥ 5.
n

First, verify the proposition for n = 5:


   
10 10! 2·5−2 10
= = 252, 2 = 256 → < 22·5−2 = 256.
5 5!5! 5

Secondly, assume that the proposition holds for n = k:


   
2n 2k
= < 22n−2 = 22k−2 .
n k

We will prove that it also holds for n = k + 1:


   
2n 2k + 2
= < 22n−2 = 22k .
n k+1

Transform the expression:


     
2k + 2 (2k + 2)! (2k + 2)(2k + 1) 2k 2k
= = <4· .
k+1 (k + 1)!(k + 1)! (k + 1)(k + 1) k k

Using the inequality for n = k, we get:


   
2k + 2 2k
<4· < 4 · 22k−2 = 22(k+1)−2 .
k+1 k
2n
 2n−2
Let A = {n ∈ N : n < 2 }. Then 5 ∈ A and k ∈ A → k + 1 ∈ A, thus A = {n ∈ N : n ≥ 5}.
2n 2n−2
Therefore, <2 for all n ≥ 5.
n

8
Problem 8

Let n ∈ Z. Use induction to prove that 3 | n3 + 2n .
Note: we want to prove the xlaim for all integers, not just natural numbers.

For n = 0, it is always true that 3 | (n3 + 2n) = 0.


Assume that for n = k, the statement holds:

3 | n3 + 2n = k 3 + 2k.

Then, from the following equations:

(k + 1)3 + 2(k + 1) = k 3 + 2k + 3(k 2 + k + 1)


(k − 1)3 + 2(k − 1) = k 3 + 2k + 3(−k 2 + k − 1),

it follows that:
3 | (k + 1)3 + 2(k + 1) and 3 | (k − 1)3 + 2(k − 1).
Let A = {n ∈ Z : 3 | (n3 + 2n)}, then 0 ∈ A and k ∈ A → k + 1 ∈ A,k ∈ A → k − 1 ∈ A thus A = Z.
Therefore, ∀n ∈ Z, 3 | (n3 + 2n).

You might also like