Sign in

Libre University uses your GitHub account. Signing in is only needed to sit a final test, so the score is kept on your profile.

Contrapositive and contradiction

1.[1p]

A proof by contrapositive that "if n2 is even then n is even" should begin with which line?

Correct

The answer is: Let n be an integer that is not even, so n is odd.

The answer is: Let n be an integer that is not even, so n is odd.

The answer is: Let n be an integer that is not even, so n is odd.

2.[1p]

To prove P⇒Q by contradiction, you assume both P and ¬Q.

Correct

The answer is: True

3.[2p]

Put the lines of the proof that 2 is irrational in order.

  1. Then 4c2=2b2, so b2=2c2 and b2 is even.

  2. So b is even, and a and b are both even, contradicting the choice of a and b.

  3. Since a2 is even, a is even, so a=2c for some integer c.

  4. Hence 2 is irrational.

  5. Squaring and multiplying by b2 gives a2=2b2, so a2 is even.

  6. Suppose, for contradiction, that 2=ab for integers a and b with b≠0, not both even.

Show the answer

a, b, c, d, e, f

4.[2p]

The same argument, run with 4 in place of 2, would "prove" 4 irrational. Where does it break?

Correct

The answer is: It needs "if 4∣a2 then 4∣a", which is false: 4∣36 but 4 does not divide 6

The answer is: It needs "if 4∣a2 then 4∣a", which is false: 4∣36 but 4 does not divide 6

The answer is: It needs "if 4∣a2 then 4∣a", which is false: 4∣36 but 4 does not divide 6

5.[1p]

2×3×5×7×11×13+1 is prime.

The answer is: False

Correct

6.[3p]

Which of these are true of Euclid's proof that there are infinitely many primes?

Select all that apply

Correct

The answer is: It shows that p1p2⋯pk+1 has a prime divisor not among p1,…,pk, It uses the fact that a number dividing two integers divides their difference, It relies on every integer greater than 1 having a prime divisor

Correct
Correct

The answer is: It shows that p1p2⋯pk+1 has a prime divisor not among p1,…,pk, It uses the fact that a number dividing two integers divides their difference, It relies on every integer greater than 1 having a prime divisor

7.[3p]

Match each statement to what a proof of it by contradiction assumes.

  • 3 is irrational

  • There are infinitely many primes

  • If n2 is even then n is even

  • For every n there is a prime greater than n

  • Some n has no prime greater than it

  • n2 is even and n is odd

  • There are only finitely many primes

  • 3=ab for some integers a and b with b≠0

Show the answer

3 is irrational: 3=ab for some integers a and b with b≠0 There are infinitely many primes: There are only finitely many primes If n2 is even then n is even: n2 is even and n is odd For every n there is a prime greater than n: Some n has no prime greater than it

8.[2p]

"Suppose, for contradiction, that the sum of odd integers a and b is odd. Write a=2k+1 and b=2m+1. Then a+b=2(k+m+1), which is even, a contradiction." What is this really?

Correct

The answer is: A direct proof wrapped in an assumption it never uses

The answer is: A direct proof wrapped in an assumption it never uses

The answer is: A direct proof wrapped in an assumption it never uses

9.[2p]

When a statement can be proved either by contrapositive or by contradiction, why does the lesson prefer the contrapositive?

Correct

The answer is: Its target is fixed in advance, so a mistake usually shows as a failure to arrive

The answer is: Its target is fixed in advance, so a mistake usually shows as a failure to arrive

The answer is: Its target is fixed in advance, so a mistake usually shows as a failure to arrive

10.[2p]

Euclid's lemma says that if a prime p divides ab, then p divides a or b. Which of these show that it fails when p is replaced by a composite number?

Select all that apply

Correct
Correct

The answer is: 6∣4×9, but 6 divides neither 4 nor 9, 4∣2×6, but 4 divides neither 2 nor 6

The answer is: 6∣4×9, but 6 divides neither 4 nor 9, 4∣2×6, but 4 divides neither 2 nor 6

11.[2p]

The proof that there are infinitely many primes of the form 4k+3 lists them all as p1,…,pk and considers which number?

Correct

The answer is: 4p1p2⋯pk−1

The answer is: 4p1p2⋯pk−1

The answer is: 4p1p2⋯pk−1

12.[2p]

A proof by contradiction of "for every integer n, n2+n is even" should begin by assuming what?

Correct

The answer is: There is an integer n with n2+n odd

The answer is: There is an integer n with n2+n odd

The answer is: There is an integer n with n2+n odd

13.[1p]

A hundred people are in a room. By the generalised pigeonhole principle, at least how many of them must have been born in the same month?

CorrectNot quite: 9

14.[2p]

Why can Euclid's argument not be copied directly to prove that there are infinitely many primes of the form 4k+1?

Correct

The answer is: A product of two numbers of the form 4k+3 has the form 4k+1, so a number of the form 4k+1 need not have a prime divisor of that form

The answer is: A product of two numbers of the form 4k+3 has the form 4k+1, so a number of the form 4k+1 need not have a prime divisor of that form

The answer is: A product of two numbers of the form 4k+3 has the form 4k+1, so a number of the form 4k+1 need not have a prime divisor of that form