Docsity

Elementary Number Theory and Proofs: Indirect Argument and Contrapositive, Slides of Discrete Mathematics

Partial preview of the text

Download Elementary Number Theory and Proofs: Indirect Argument and Contrapositive and more Slides Discrete Mathematics in PDF only on Docsity!

Chapter 3

Elementary Number Theory and

Methods of Proof

Indirect Argument

Proofs

• Direct Proof

– start with hypothesis of a statement and make

one deduction after another until the conclusion

is reached.

• Indirect Proof (argument by contradiction)

– show that a given statement is not true leads to

the contradiction.

Example

  • Use proof by contradiction to show that there is no

greatest integer.

  • Starting point: Suppose not. Suppose that there is a

greatest integer, N. N≥n for all integers.

  • To Show: This supposition leads logically to a contradiction.
  • Proof:
    • Suppose not. Suppose that there is a greatest integer N.
    • N ≥ n for every integer n. Let M = N + 1. M is an integer under the addition property of integers.
    • Thus M > N. N is not the greatest integer; therefore a contradiction.
  • Theorem 3.6.

Sum of Rational and Irrational

• Theorem 3.6.

  • The sum of any rational number and any irrational

number is irrational

  • Proof:
    • Suppose not. Suppose there is a rational number r and irrational number s such that r + s is rational.
    • r = a/b (definition rational)
    • r + s = c/d, for integers a,b,c,d with b≠0 and d≠
    • a/b + s = c/d, s = c/d – a/b
    • s = (bc – ad)/bd (integer)
    • hence, s is quotient of integers and therefore, rational
    • If s is rational it contradicts supposition that it is irrational

Argument by Contrapositive

• Argument by contrapositive is based on the

equivalence of the statement and

contrapositive.

• If the contrapositive is true then the

statement is true.

Example

• If the square of an integer is even, then the

integer is even.

  • Prove that for all integers n, if n 2 is even then n is

even.

  • Contrapositive: ∀integers n, n is not even then n 2 is

not even.

  • Proof:
    • Suppose n is any odd integer. n = 2k + 1
    • n^2 = (2k + 1)^2 = 4k^2 + 4k + 1 = 2(2k 2 + 2k) + 1
    • n^2 = 2r + 1 (by definition n 2 is odd)
    • hence, the contrapositive is true therefore the statement must be true—”if n is even then n^2 is even”