Docsity

Proof by Contradiction: Techniques and Examples, Lecture notes of Discrete Mathematics

Partial preview of the text

Download Proof by Contradiction: Techniques and Examples and more Lecture notes Discrete Mathematics in PDF only on Docsity!

  1. Proof by Contradic- tion 6.1Proving Statementswith Con- tradiction 6.2Proving ConditionalStatements by Contra-diction 6.3Combining

Proof by Contradiction

Outline:

Proposition: P is true.

Proof : Suppose ∼ P.

  1. Proof by Contradic- tion 6.1Proving Statementswith Con- tradiction 6.2Proving ConditionalStatements by Contra-diction 6.3Combining

Proof by Contradiction

Outline:

Proposition: P is true.

Proof : Suppose ∼ P. .. . We conclude that something ridiculous happens. For example, 3 is both even and odd.

  1. Proof by Contradic- tion 6.1Proving Statementswith Con- tradiction 6.2Proving ConditionalStatements by Contra-diction 6.3Combining

A First Example: Proof by Contradiction

Proposition: There are no natural number solutions to the equation x^2 − y 2 = 1.

  1. Proof by Contradic- tion 6.1Proving Statementswith Con- tradiction 6.2Proving ConditionalStatements by Contra-diction 6.3Combining

A First Example: Proof by Contradiction

Proposition: There are no natural number solutions to the equation x^2 − y 2 = 1.

Proof : Suppose x, y ∈ N and x^2 − y 2 = 1. Then (x + y )(x − y ) = 1, so x − y and x + y are divisors of 1. Then (x − y ) = (x + y ) = ±1. So, 0 = (x + y ) − (x − y ) = 2y. Therefore y = 0, contradicting that it is positive.

  1. Proof by Contradic- tion 6.1Proving Statementswith Con- tradiction 6.2Proving ConditionalStatements by Contra-diction 6.3Combining

Rational Numbers

Proposition: There is no smallest positive rational number.

Proof : Suppose q is the smallest positive number. Then 0 < q 2 < q and q ∈ Q. This contradicts the assumption that q is the smallest positive rational number.

  1. Proof by Contradic- tion 6.1Proving Statementswith Con- tradiction 6.2Proving ConditionalStatements by Contra-diction 6.3Combining

The square root of two is irrational.

For p, q ∈ Z, q 6 = 0, we say the fraction

p q

is reduced if gcd(p, q) = 1 and q > 0.

  1. Proof by Contradic- tion 6.1Proving Statementswith Con- tradiction 6.2Proving ConditionalStatements by Contra-diction 6.3Combining

The square root of two is irrational.

For p, q ∈ Z, q 6 = 0, we say the fraction

p q

is reduced if gcd(p, q) = 1 and q > 0.

For any integer a, a^2 is even if and only if a is even.

Proposition:

2 6 ∈ Q.

  1. Proof by Contradic- tion 6.1Proving Statementswith Con- tradiction 6.2Proving ConditionalStatements by Contra-diction 6.3Combining

The square root of two is irrational.

For p, q ∈ Z, q 6 = 0, we say the fraction

p q

is reduced if gcd(p, q) = 1 and q > 0.

For any integer a, a^2 is even if and only if a is even.

Proposition:

2 6 ∈ Q.

Proof : Suppose

2 ∈ Q.

  1. Proof by Contradic- tion 6.1Proving Statementswith Con- tradiction 6.2Proving ConditionalStatements by Contra-diction 6.3Combining

Proving Conditional Statements by Contradiction

Outline:

Proposition: P =⇒ Q

Proof : Suppose P∧ ∼ Q.

  1. Proof by Contradic- tion 6.1Proving Statementswith Con- tradiction 6.2Proving ConditionalStatements by Contra-diction 6.3Combining

Proving Conditional Statements by Contradiction

Outline:

Proposition: P =⇒ Q

Proof : Suppose P∧ ∼ Q. .. . We conclude that something ridiculous happens.

  1. Proof by Contradic- tion 6.1Proving Statementswith Con- tradiction 6.2Proving ConditionalStatements by Contra-diction 6.3Combining Techniques

Proving Conditional Statements by Contradiction

Outline:

Proposition: P =⇒ Q

Proof : Suppose P∧ ∼ Q. .. . We conclude that something ridiculous happens. Therefore, ∼ P ∨ Q. That is, P =⇒ Q.

Lemma: Given integers a and b, with a > 1, if a|b then a 6 | (b + 1).

  1. Proof by Contradic- tion 6.1Proving Statementswith Con- tradiction 6.2Proving ConditionalStatements by Contra-diction 6.3Combining Techniques

Proving Conditional Statements by Contradiction

Outline:

Proposition: P =⇒ Q

Proof : Suppose P∧ ∼ Q. .. . We conclude that something ridiculous happens. Therefore, ∼ P ∨ Q. That is, P =⇒ Q.

Lemma: Given integers a and b, with a > 1, if a|b then a 6 | (b + 1).

Proof : Suppose a|b and a|(b + 1). Then there exist integers x and y such that ax = b and ay = b + 1. Then y = b+1 a = ax a+1 = x + (^1) a. Since a > 1, (^1) a is not an integer, so y is not an integer. This contradicts the assumption that y is an integer.

  1. Proof by Contradic- tion 6.1Proving Statementswith Con- tradiction 6.2Proving ConditionalStatements by Contra-diction 6.3Combining

How Many Primes Are There?

Lemma: Given integers a and b, with a > 1, if a|b then a 6 | (b + 1).

Theorem: Given any finite set P whose elements are prime numbers, there exists a prime number that is not in P.

Proof : Let P be a finite set whose elements are prime numbers. If P = ∅, then 3 is a prime not in P, so suppose P = {p 1 , · · · , pn} and n ≥ 1. Let n := p 1 ·... · pn + 1. Since n > 1, it has at least one prime factor p that is greater than one. By the Lemma, no element of P divides n, so p 6 ∈ P.

  1. Proof by Contradic- tion 6.1Proving Statementswith Con- tradiction 6.2Proving ConditionalStatements by Contra-diction 6.3Combining Techniques

How Many Primes Are There?

Lemma: Given integers a and b, with a > 1, if a|b then a 6 | (b + 1).

Theorem: Given any finite set P whose elements are prime numbers, there exists a prime number that is not in P.

Proof : Let P be a finite set whose elements are prime numbers. If P = ∅, then 3 is a prime not in P, so suppose P = {p 1 , · · · , pn} and n ≥ 1. Let n := p 1 ·... · pn + 1. Since n > 1, it has at least one prime factor p that is greater than one. By the Lemma, no element of P divides n, so p 6 ∈ P.

Example: P = { 2 , 3 , 5 , 7 , 11 , 13 }; p = 30031 = 59 × 509; 59 and 509 are not in P.