• No results found

Basic Proof Methods.pptx

N/A
N/A
Protected

Academic year: 2020

Share "Basic Proof Methods.pptx"

Copied!
18
0
0

Loading.... (view fulltext now)

Full text

(1)

Basic Proof Methods

(2)

Some Terminology

Theorem statement that can be shown to be true

Proposition – less important true statement

Proof valid argument that establishes the truth of theorem

Axiom – statements which are supposed to be true without proof

Corollary – statement following directly from a theorem

(3)

Direct Proof

Direct proof

– To prove conditional

statement

p

q

we start with assumption

that

p

is true, then using axioms,

definitions, proved theorems, inference

rules, we show that also

q

is true.

(4)

Direct Proof Example

Definition: An integer n is called odd iff n=2k+1 for some integer k; n is even iff n=2k for some k.

Axiom: Every integer is either odd or even.

Theorem: (For all numbers n) If n is an odd integer, then n2 is an odd integer.

Proof: If n is odd, then n = 2k+1 for some integer k. Thus, n2 = (2k+1)2 = 4k2 + 4k + 1 = 2(2k2 + 2k) + 1. Therefore n2 is of the form 2j + 1 (with j the integer 2k2 + 2k), thus n2 is odd. □

(5)

Another Example

Definition: A real number r is rational if there

exist integers p and q 0, with no common factors other than 1 (i.e., gcd(p,q)=1), such that r=p/q. A real number that is not rational is called irrational.

Theorem: Prove that the sum of two rational numbers is rational. Let r and s are rational then So r+s is also a rational number

(6)

Proof by Contraposition

Proof

by contraposition

or

indirect proof

is

based on the equivalency

p

q

q



p.

To prove the implication

p

q

we suppose

that

q

is true, and we prove

p

in a

(7)

Indirect Proof Example -1

Theorem: (For all integers n)

If 3n+2 is odd, then n is odd.

Proof: Suppose that the conclusion is false, i.e., that

n is even. Then n=2k for some integer k. Then 3n+2 = 3(2k)+2 = 6k+2 = 2(3k+1). Thus 3n+2 is even,

because it equals 2j for integer j = 3k+1. So 3n+2 is not odd. We have shown that ¬(n is odd)→¬(3n+2 is odd), thus its contra-positive (3n+2 is odd) → (n is odd) is also true. □

(8)

Indirect Proof Example - 2

Theorem: Prove that if n=ab, where a and b are positive integers, then .

Proof: Suppose that the conclusion is false, i.e., that means . Multiplying a and b we obtain . So we

proved that assumption is also false, so the implication follows □

(9)

Proof by Contradiction

The proof by contradiction of proposition

p

is

based on assumption that

p is true

and then

obtain a false proposition.

Proving

p

– Assume p, and prove that p (r  r)

– (r  r) is a trivial contradiction, equal to F

(10)

Contradiction Proof Example

Theorem: Prove that is irrational.

Proof: let where gcd(p,q)=1. Then

2= hence 2q2= p2 and p is an even number p=2k. Then 2q2= 4k2 and q is also an even number, and

gcd(p,q)1, and we have a contradiction.

(11)

Proof by Cases

To prove

we need to prove

Example: Prove the implication “If n is an integer not divisible by 3 then, then n2  1 (mod 3)

Proof: If n 1(mod 3) then n=3k+1 and n2=9k2+6k+1,

and n2 1 (mod 3) . If n 2(mod 3) then n=3k-1 and

n2=9k2-6k+1, and n2 1 (mod 3). 1 2

(

p

p

 

...

p

n

)

q

1 2

(12)

Proof of Equivalence

• To prove of equivalence pq we use tautology

(pq) (pq) (qp)

Theorem: If n is an integer, then n is odd if and only

n2 is odd.

Proof: we prove

a) If n is odd then n2 is odd ( pq)

(13)

Equivalence of a group of propositions

To prove

we need to prove

1 2

[

p

p

 

...

p

n

]

1 2 2 3 1

(14)

Example

Show that the statements below are equivalent:

p

1

:

n is even

p

2

:

n-1 is odd

(15)

Counterexamples

• When we are presented with a statement of the form

xP(x) and we believe that it is false, then we look for a counterexample.

• Example

– Is it true that “every positive integer is the sum of the squares of three integers?”

(16)

Proving Existence

A proof of a statement of the form

x

P

(

x

) is

called an

existence proof

.

If the proof demonstrates how to actually find

or construct a specific element

a

such that

P

(

a

)

is true, then it is called a

constructive

proof.

Otherwise, it is called a

non-constructive

(17)

Constructive Existence Proof

Theorem: There exists a positive integer n that is the sum of two perfect cubes in two different ways:

– equal to j 3 + k 3 and l 3 + m 3 where j, k, l, m are positive integers, and {j,k} ≠ {l,m}

Proof: Consider n = 1729, j = 9, k = 10,

(18)

Non- constructive Existence Proof

Theorem: For each integer n there exists a prime

number p greater than n.

Proof: Suppose that such a prime number does not exist. Then all primes are less or equal than n. Let

P={p1,p2,p3, …, pk} be set of all primes  n. Number

p=p1*p2*p3** pk +1 is greater than n and not divisible by any p1,p2,p3, …, pk it means that there exists at least

References

Related documents

We give a combinatorial proof of the rank-unimodality of the poset of order ideals of a product of chains of lengths 2, n, and m, and find a symmetric chain decomposition in the

Unless stated otherwise, we shall use small letters such as x to denote positive inte- gers or functions or elements of a set, capital letters such as X to denote sets, and

Sauer and Spencer in their work [5] conjectured that if the minimum degree of G is at least 2n/3 then G contains every graph of order n with maximum degree of at most 2..

Consider the following question: given n coins with distinct integer weights between 1 gram and n grams, each labeled by a distinct integer label between 1 and n, what is the

By restricting Fan’s condition to some induced subgraphs of 2- connected graphs, Ning and Zhang [9] extended Theorem 1 as follows.... This can be easily deduced from the

(4) Extension theorems are often used for optimal linear codes problem, especially to prove the nonexistence of linear codes with certain parameters.. Moreover, the extended matrix of

Corr´ adi and Hajnal [2] proved that if G is a graph of order at least 3k with minimum degree at least 2k, then G contains k independent cycles.. This result has inspired much

Specifically, we prove that for any graph H (with some notable exceptions), and for any graph G, G = H, there is an edge-coloring of G with k colors which contains no induced