Docsity

Proof, Lecture Notes - Computer Science, Study notes of Discrete Structures and Graph Theory

Partial preview of the text

Download Proof, Lecture Notes - Computer Science and more Study notes Discrete Structures and Graph Theory in PDF only on Docsity!

Proofs

Zeph Grunschlag

Agenda

Proofs: General Techniques

Direct Proof

Indirect Proof

Proof by Contradiction

Proofs

Example

PROVE:  k Z k 1(mod 3)  k 3 1(mod 9)

Proofs

Example

PROVE:  k Z k 1(mod 3)  k 3 1(mod 9)

  1. k 1(mod 3)

Proofs

Example

PROVE:  k Z k 1(mod 3)  k 3 1(mod 9)

  1. k 1(mod 3)
  2.  n k-1 = 3n
  3.  n k = 3n + 1

Proofs

Example

PROVE:  k Z k 1(mod 3)  k 3 1(mod 9)

  1. k 1(mod 3)
  2.  n k-1 = 3n
  3.  n k = 3n + 1
  4.  n k 3 = (3n + 1)^3

Proofs

Example

PROVE:  k Z k 1(mod 3)  k 3 1(mod 9)

  1. k 1(mod 3)
  2.  n k-1 = 3n
  3.  n k = 3n + 1
  4.  n k 3 = (3n + 1)^3
  5.  n k 3 = 27n 3 + 27n 2 + 9n + 1
  6.  n k 3 -1 = 27n 3 + 27n 2 + 9n

Proofs

Example

PROVE:  k Z k 1(mod 3)  k 3 1(mod 9)

  1. k 1(mod 3)
  2.  n k-1 = 3n
  3.  n k = 3n + 1
  4.  n k 3 = (3n + 1)^3
  5.  n k 3 = 27n 3 + 27n 2 + 9n + 1
  6.  n k 3 -1 = 27n 3 + 27n 2 + 9n
  7.  n k 3 -1 = (3n 3 + 3n 2 + n)·

Proofs

Example

PROVE:  k Z k 1(mod 3)  k 3 1(mod 9)

  1. k 1(mod 3)
  2.  n k-1 = 3n
  3.  n k = 3n + 1
  4.  n k 3 = (3n + 1)^3
  5.  n k 3 = 27n 3 + 27n 2 + 9n + 1
  6.  n k 3 -1 = 27n 3 + 27n 2 + 9n
  7.  n k 3 -1 = (3n 3 + 3n 2 + n)·
  8.  m k 3 -1 = m·
  9. k 3 1(mod 9)

Direct Proofs

Previous was an example of a direct

proof. I.e., to prove that a proposition

of the form “ k P(k)  Q(k)” is true,

needed to derive that “ Q(k) is true” for

any k which satisfied “ P(k) is true”.

Three basic steps in a direct proof:

Direct Proofs

2) Mathematical Insights

Use your human intellect and get at “real reason” behind theorem. EG: looking at what we’re trying to prove, we see that we’d really like to understand

k 3. So let’s take the cube of k! From

here, we’ll have to use some algebra to get the formula into a form usable by the final step:

Direct Proofs

3) Reconstruct Conclusion

This is the reverse of step 1. At the end of step 2 we should have a simple form that could be derived by applying the definition of the conclusion.

EG. k 3 1(mod 9) is readily gotten from

 m k 3 -1 = m·9 since the latter is the

definition of the former.

Proofs

Reductio Ad Absurdum

  1. Proof by Contradiction ( Reductio Ad Absurdum ) For any k assume: P(k)   Q(k) and derive:  P(k)  Q(k)

Uses the logical equivalence:

P  Q   P  Q   P  Q   P  Q

 ( P  Q )  ( P  Q )  (P   Q )  ( P  Q )

 (P   Q )  ( P  Q )

Intuitively: Assume claim is false (so P must be true and Q false). Show that assumption was absurd (so P false or Q true) so claim true!

Indirect Proof

Example

PROVE: The square of an even number is

even. (Ex. 1.16.b)