0% found this document useful (0 votes)
3 views17 pages

2023 11-17-21!18!35 Jwpz1xvenytjffokup3vlbn5swfnkn0icldyaeex

The document outlines various proof methods including direct proofs, indirect proofs, proof by contradiction, and counterexamples. It provides examples for each method, illustrating how to apply them in mathematical reasoning. Additionally, it discusses when to use direct versus indirect proofs and highlights the importance of contradiction in disproving statements.

Uploaded by

zluka6930
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views17 pages

2023 11-17-21!18!35 Jwpz1xvenytjffokup3vlbn5swfnkn0icldyaeex

The document outlines various proof methods including direct proofs, indirect proofs, proof by contradiction, and counterexamples. It provides examples for each method, illustrating how to apply them in mathematical reasoning. Additionally, it discusses when to use direct versus indirect proofs and highlights the importance of contradiction in disproving statements.

Uploaded by

zluka6930
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 17

Methods of Proof

1
Proof methods
We will discuss the following proof methods:
1. Direct proofs
2. Indirect proofs
3. Proof by contradiction
4. Counterexamples

2
Direct proofs
Consider an implication: p→q

If p is false, then the implication is always true

Thus, show that if p is true, then q is true

To perform a direct proof, assume that p is


true, and show that q must therefore be
true

3
Direct proof example

Show that the square of an even number is an
even number

Rephrased: if n is even, then n2 is even

Assume n is even

Thus, n = 2k, for some k (definition of even
numbers)

n2 = (2k)2 = 4k2 = 2(2k2)

As n2 is 2 times an integer, n2 is thus even

4
Indirect proofs
Consider an implication: p→q

It’s contrapositive is ¬q→¬p
Is logically equivalent to the original implication!

If the antecedent (¬q) is false, then the
contrapositive is always true

Thus, show that if ¬q is true, then ¬p is true

To perform an indirect proof, do a direct


proof on the contrapositive

5
Indirect proof example
If n2 is an odd integer then n is an odd integer

Prove the contrapositive: If n is an even integer,


then n2 is an even integer

Proof: n=2k for some integer k (definition of even


numbers)
n2 = (2k)2 = 4k2 = 2(2k2)
Since n2 is 2 times an integer, it is even
6
Which to use
When do you use a direct proof versus an
indirect proof?

If it’s not clear from the problem, try direct


first, then indirect second

If indirect fails, try the other proofs

7
Example of which to use

Prove that if n is an integer and n3+5 is odd, then n is
even

Via direct proof



n3+5 = 2k+1 for some integer k (definition of odd
numbers)

n3 = 2k+6


Umm…
n 3 2k  6

So direct proof didn’t work out. Next up: indirect


proof

8
Example of which to use

Prove that if n is an integer and n3+5 is odd, then n is
even

Via indirect proof



Contrapositive: If n is odd, then n3+5 is even

Assume n is odd, and show that n3+5 is even

n=2k+1 for some integer k (definition of odd numbers)

n3+5 = (2k+1)3+5 = 8k3+12k2+6k+6 = 2(4k3+6k2+3k+3)

As 2(4k3+6k2+3k+3) is 2 times an integer, it is even

9
Proof by contradiction
Given a statement p, assume it is false

Assume ¬p

Prove that ¬p cannot occur



A contradiction exists

10
Proof by contradiction example 1
Theorem (by Euclid): There are infinitely many
prime numbers.

Proof. Assume there are a finite number of primes


List them as follows: p1, p2 …, pn.
Consider the number q = p1p2 … pn + 1

This number is not divisible by any of the listed primes
If we divided pi into q, there would result a remainder of 1

We must conclude that q is a prime number, not among
the primes listed above
This contradicts our assumption that all primes are in the list
p1, p2 …, pn. 11
Proof by contradiction example 2

Prove that if n is an integer and n3+5 is odd, then n is even

Rephrased: If n3+5 is odd, then n is even

Assume p is true and q is false



Assume that n3+5 is odd, and n is odd
n=2k+1 for some integer k (definition of odd numbers)
n3+5 = (2k+1)3+5 = 8k3+12k2+6k+6 = 2(4k3+6k2+3k+3)
As 2(4k3+6k2+3k+3) is 2 times an integer, it must be
even
Contradiction!

12
Proof by contradiction example 3

Prove that √2 is irrational

13
A note on proofs by contradiction
You can DISPROVE something by using a proof
by contradiction

You are finding an example to show that something is
not true

You cannot PROVE something by example

Example: prove or disprove that all numbers are


even

Proof by contradiction: 1 is not even

(Invalid) proof by example: 2 is even

14
Disprove by example

15
Disprove by example

16
Mistakes in proofs

17

You might also like