0% found this document useful (0 votes)
17 views4 pages

DM Handout

The document contains 9 questions proving various statements about integers using direct proofs, proofs by contradiction, and proofs by contraposition. The questions cover topics such as the sum and product of even/odd integers, and proving statements about integers using logical equivalences.

Uploaded by

aboodbas31
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)
17 views4 pages

DM Handout

The document contains 9 questions proving various statements about integers using direct proofs, proofs by contradiction, and proofs by contraposition. The questions cover topics such as the sum and product of even/odd integers, and proving statements about integers using logical equivalences.

Uploaded by

aboodbas31
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/ 4

Hashemite University

Prince Al-Hussein bin Abdullah II Faculty for


Information Technology
Department of Information Technology

Year: 2022\2023 Discrete Mathematics Semester: (2)


2010042101
Week 4 Handout (4)

Introduction to Proofs

Q1) Use a direct proof to show that the sum of two even integers is even.

Q2) Show that the additive inverse, or negative, of an even number is an even
number using a direct proof.

Q3) Use a direct proof to show that the product of two odd numbers is odd.

Q4) Prove by contradiction that if x, y, and z are integers and x + y + z is odd, then
at least one of x, y, and z is odd.

Q5) Prove by contraposition that if m and n are integers and mn is even, then m is
even or n is even.

Q6) Prove by contraposition that if n is an integer and 3n + 2 is even, then n is


even.

Q7) Prove by contradiction that if n is an integer and 3n + 2 is even, then n is even.

Q8) Prove the proposition P(1), where P(n) is the proposition “If n is a positive
integer, then n2 ≥ n.” What kind of proof did you use?

Q9) Prove that if n is a positive integer, then n is even if and only if 7n + 4 is even.

1 pg.
Solutions

Q1)

 We must show that whenever we have two even integers, their sum is even.
 Suppose that a and b are two even integers.
 Then there exist integers s and t such that a = 2s and b = 2t
 Adding, we obtain
 a + b = 2s + 2t = 2(s + t)
 Since this represents a + b as 2 times the integer s + t
 We conclude that a + b is even, as desired.

Q2)

 We must show that whenever we have an even integer, its negative is even.
 Suppose that a is an even integer.
 Then there exists an integer s such that a = 2s.
 Its additive inverse is -2s, which by rules of arithmetic and algebra = 2(-s)
 Since this is 2 times the integer -s, it is even, as desired.

Q3)

 An odd number is one of the form 2n + 1, where n is an integer.


 We are given two odd numbers, say 2a + 1 and 2b + 1.
 Their product is (2a + 1)(2b + 1) = 4ab + 2a + 2b + 1 = 2(2ab + a + b) + 1.
 This last expression shows that the product is odd, since it is of the form
2n + 1, with n = 2ab + a + b.

Q4)

 Assume to the contrary that x, y and z are all even.


 Then there exist integers a, b, and c such that x = 2a, y = 2b, and z = 2c.
 Then x + y + z = 2a + 2b + 2c = 2(a + b + c) is even by definition.
 This contradicts the hypothesis that x + y + z is odd.
 Therefore the assumption was wrong, and at least one of x, y, and z is odd.

2 pg.
Q5)

 We give a proof by contraposition.


 If it is not true that m is even or n is even, then m and n are both odd.
 An odd number is one of the form 2n + 1, where n is an integer.
 We are given two odd numbers, say 2a + 1 and 2b + 1.
 Their product is (2a + 1)(2b + 1) = 4ab + 2a + 2b + 1 = 2(2ab + a + b) + 1.
 This last expression shows that the product is odd, since it is of the form
2n + 1, with n = 2ab + a + b.
 This tells us that mn is odd, and our proof is complete.

Q6)

 P= 3n + 2 is even
 q= n is even
 We must prove the contrapositive: ¬q  ¬ p
 If n is odd, then 3n + 2 is odd.
 Assume that n is odd.
 Then we can write n = 2k + 1 for some integer k
 Then 3n + 2 = 3(2k + 1) + 2 = 6k + 5 = 2(3k + 2) + 1.
 Thus 3n + 2 is two times some integer plus 1,
 so it is odd.
 This means pq

Q7)

 Suppose that 3n + 2 is even and that n is odd.


 Since 3n + 2 is even, so is 3n.
 If we subtract an odd number from an even number, we get an odd number,
so 3n- n = 2n is odd.
 But this is obviously not true.
 Therefore our supposition was wrong,
 The proof by contradiction is complete.

3 pg.
Q8)

 We need to prove the proposition


 “If 1 is a positive integer, then 12 >= 1."
 The conclusion is the true statement 1 >= 1.
 Therefore, the conditional statement is true.
 This is an example of a trivial proof, since we merely showed that the
conclusion was true.

Q9)

 We need to prove two things, since this is an “if and only if" statement.
 First let us prove directly that if n is even then 7n + 4 is even.
 Since n is even, it can be written as 2k for some integer k.
 Then 7n + 4 = 14k + 4 = 2(7k + 2).
 This is 2 times an integer, so it is even, as desired.
 Next we give a proof by contraposition that if 7n + 4 is even then n is even.
 So suppose that n is not even, i.e., that n is odd.
 Then n can be written as 2k +1 for some integer k .
 Thus 7n+4 = 14k +11 = 2(7k +5)+1.
 This is 1 more than 2 times an integer, so it is odd.
 That completes the proof by contraposition.

4 pg.

You might also like