Methods of Proof Proof techniques in this handout

Slides:



Advertisements
Similar presentations
Discrete Mathematics Lecture 3
Advertisements

With examples from Number Theory
Discrete Math Methods of proof 1.
Introduction to Proofs
Chapter 3 Elementary Number Theory and Methods of Proof.
1 In this lecture  Number Theory ● Rational numbers ● Divisibility  Proofs ● Direct proofs (cont.) ● Common mistakes in proofs ● Disproof by counterexample.
Chapter 3 Elementary Number Theory and Methods of Proof.
(CSC 102) Lecture 12 Discrete Structures. Previous Lecture Summary Floor and Ceiling Functions Definition of Proof Methods of Proof Direct Proof Disproving.
Copyright © Cengage Learning. All rights reserved. CHAPTER 5 SEQUENCES, MATHEMATICAL INDUCTION, AND RECURSION SEQUENCES, MATHEMATICAL INDUCTION, AND RECURSION.
3.3 Divisibility Definition If n and d are integers, then n is divisible by d if, and only if, n = dk for some integer k. d | n  There exists an integer.
Elementary Number Theory and Methods of Proof
– Alfred North Whitehead,
Quotient-Remainder Theory, Div and Mod
Copyright © Cengage Learning. All rights reserved.
CSE115/ENGR160 Discrete Mathematics 01/31/12 Ming-Hsuan Yang UC Merced 1.
CSE115/ENGR160 Discrete Mathematics 02/01/11
CMSC 250 Discrete Structures Number Theory. 20 June 2007Number Theory2 Exactly one car in the plant has color H( a ) := “ a has color”  x  Cars –H(
Proof Must Have Statement of what is to be proven.
1 Indirect Argument: Contradiction and Contraposition.
Introduction to Proofs ch. 1.6, pg. 87,93 Muhammad Arief download dari
Copyright © Cengage Learning. All rights reserved.
Copyright © Cengage Learning. All rights reserved.
1 Set Theory. Notation S={a, b, c} refers to the set whose elements are a, b and c. a  S means “a is an element of set S”. d  S means “d is not an element.
1 Set Theory. Notation S={a, b, c} refers to the set whose elements are a, b and c. a  S means “a is an element of set S”. d  S means “d is not an element.
1 Number Theory and Methods of Proof Content: Properties of integer, rational and real numbers. Underlying theme: Methods of mathematical proofs.
Week 3 - Wednesday.  What did we talk about last time?  Basic number theory definitions  Even and odd  Prime and composite  Proving existential statements.
DISCRETE MATHEMATICS I LECTURES CHAPTER 4 Dr. Adam Anthony Spring 2011 Some material adapted from lecture notes provided by Dr. Chungsim Han and Dr. Sam.
Methods of Proof & Proof Strategies
Chapter 4: Elementary Number Theory and Methods of Proof 4.2 Direct Proof and Counter Example II: Rational Numbers 1 Such, then, is the whole art of convincing.
Introduction to Proofs
Copyright © Cengage Learning. All rights reserved. CHAPTER 4 ELEMENTARY NUMBER THEORY AND METHODS OF PROOF ELEMENTARY NUMBER THEORY AND METHODS OF PROOF.
Copyright © Curt Hill Divisibility and Modular Arithmetic A Topic in Number Theory.
Chapter 3 Elementary Number Theory and Methods of Proof.
1 Introduction to Abstract Mathematics Chapter 3: Elementary Number Theory and Methods of Proofs Instructor: Hayk Melikya Direct.
1 Methods of Proof Proof techniques in this handout –Direct proof –Division into cases –Proof by contradiction In this handout, the proof techniques will.
Discrete Structures & Algorithms More on Methods of Proof / Mathematical Induction EECE 320 — UBC.
Methods of Proof Dr. Yasir Ali. Proof A (logical) proof of a statement is a finite sequence of statements (called the steps of the proof) leading from.
Method of proofs.  Consider the statements: “Humans have two eyes”  It implies the “universal quantification”  If a is a Human then a has two eyes.
Copyright © Cengage Learning. All rights reserved. CHAPTER 8 RELATIONS.
CS104:Discrete Structures Chapter 2: Proof Techniques.
Week 4 - Friday.  What did we talk about last time?  Floor and ceiling  Proof by contradiction.
Introduction to Proofs
1 CMSC 250 Chapter 3, Number Theory. 2 CMSC 250 Introductory number theory l A good proof should have: –a statement of what is to be proven –"Proof:"
Section 1.7. Definitions A theorem is a statement that can be shown to be true using: definitions other theorems axioms (statements which are given as.
Divisibility and Modular Arithmetic
Dr Nazir A. Zafar Advanced Algorithms Analysis and Design Advanced Algorithms Analysis and Design By Dr. Nazir Ahmad Zafar.
The Relation Induced by a Partition
Indirect Argument: Contradiction and Contraposition
Direct Proof and Counterexample IV: Division into Cases and the Quotient-Remainder Theorem For each of the following values of n and d, find integers q.
Set Theory.
CSE15 Discrete Mathematics 02/01/17
Direct Proof and Counterexample III: Divisibility
Direct Proof and Counterexample I: Introduction
Indirect Argument: Two Classical Theorems
Advanced Algorithms Analysis and Design
ELEMENTARY NUMBER THEORY AND METHODS OF PROOF
Copyright © Cengage Learning. All rights reserved.
The Foundations: Logic and Proofs
The sum of any two even integers is even.
Indirect Proof by Contradiction Direct Proof by Cases
Direct Proof and Counterexample III
Copyright © Zeph Grunschlag,
Copyright © Cengage Learning. All rights reserved.
Quotient-Remainder Theorem
Lecture 5 Number Theory & Proof Methods
Introduction to Proofs
5.6 Inequalities in Two Triangles and Indirect Proof
Agenda Proofs (Konsep Pembuktian) Direct Proofs & Counterexamples
PROGRAMME: F.Y.B.Sc.I.T. (SEM-I) COURSE: DISCRETE MATHEMATICS
Presentation transcript:

Methods of Proof Proof techniques in this handout Direct proof Division into cases Proof by contradiction In this handout, the proof techniques will be used to prove properties in number theory.

Even and Odd Integers Definition: An integer n ● is even iff  an integer k such that n=2k; ● is odd iff  an integer k such that n=2k+1. Ex: If x and y are integers, is even or odd?

Method of Direct Proof To prove a statement: xD if P(x) then Q(x). Suppose x is a particular but arbitrarily chosen element of D for which P(x) is true; Show the conclusion Q(x) is true by using ♦ definitions; ♦ previously established results; ♦ rules of logical inference.

Method of Direct Proof (Ex.) Show xZ if x is odd then 3x+9 is even. Proof: Suppose x is an arbitrarily chosen odd integer. Then x=2k+1 for some integer k. (by definition) So 3x+9 = 3(2k+1)+9 (by substitution) = 6k+3+9 (by distributive law) = 2(3k+6) (by factoring out a 2) (*) 3k+6 is an integer. (**) Hence 3x+9 is even based on (*), (**) and definition of even integers. ▀ (this is what we needed to show)

Directions for writing proofs Write the theorem to be proved. Clearly mark the beginning of your proof with the word Proof. 3) Make your proof self-contained. (Identify all variables used in the proof; state the sources of outside facts). 4) Write proofs in complete English sentences.

Common mistakes in proofs Arguing from examples Using same letter to mean two different things Jumping to a conclusion (without adequate reasons)

Types of Mathematical Statements Theorems: Very important statements that have many and varied consequences. Propositions: Less important and consequential. Corollaries: The truth can be deduced almost immediately from other statements. Lemmas: Don’t have much intrinsic interest but help to prove other theorems.

Divisibility Definition: For n,d Z and d≠0 we say that n is divisible by d iff n=d·k for some k Z . Alternative ways to say: n is a multiple of d , d is a factor of n , d is a divisor of n , d divides n . Notation: d | n . Examples: 6|48, 5|5, -4|8, 7|0, 1|9 .

Properties of Divisibility For xZ, 1|x . For xZ s.t. x≠0, x|0 . For a,b,cZ, if a|b and a|c then a|(b+c) . Transitivity: For a,b,cZ, if a|b and b|c then a|c .

Quotient-Remainder Theorem Theorem: For  nZ and dZ+ ! q,rZ such that n=d·q+r and 0≤r<d. q is called quotient; r is called remainder. Notation: q = n div d; r = n mod d. Examples: 1) 53 = 8·6+5. Hence 53 div 8 = 6; 53 mod 8 = 5. 2) -29 = 7·(-5)+6. Hence -29 div 7 = -5; -29 mod 7 = 6.

Example of using div and mod Last year Halloween was on Monday. Q.: What day is Halloween this year? Solution: There are 365 days between 10/31/16 and 10/31/17. 365 mod 7 = 1. Thus, if 10/31/16 was Monday then 10/31/17 is Tuesday.

Proof Technique: Division into Cases Suppose at some stage of a proof ● we know that A1 or A2 or A3 or … or An is true; ● want to deduce a conclusion C. Use division into cases: Show A1→C, A2→C, …, An→C. Conclude that C is true.

Division into Cases: Example Proposition: If nZ such that neither of 2 or 3 divide n, (1) then n2 mod 12 = 1. (2) Proof: Suppose nZ s.t. neither of 2 or 3 divide n. By quotient-remainder theorem, exactly one of the following is true: a) n=6k, b) n=6k+1, c) n=6k+2, d) n=6k+3, e) n=6k+4, f) n=6k+5 for some integer k. (3) n can’t be 6k, 6k+2 or 6k+4 because in that case 2 | n (which contradicts (1) ). (4) n can’t be 6k+3 because in that case 3 | n (which contradicts (1) ). (5)

Division into Cases: Example(cont.) Proof(cont.): Based on (3), (4) and (5), either n=6k+1 or n=6k+5. Let’s show (2) for each of these two cases. Case 1: Suppose n=6k+1. Then n2 = (6k+1)2=36k2+12k+1 (by basic algebra) = 12(3k2+k)+1 (6) Let p=3k2+k. Then p is an integer. n2 = 12p+1 . ( by substitution in (6) ) Hence n2 mod 12 = 1 by quotient-remainder th-m. Case 2: Suppose n=6k+5. (exercise) ■

Method of Proof by Contradiction Suppose the statement to be proved is false. Show that this supposition logically leads to a contradiction. Conclude that the statement to be proved is true. Example of proof by contradiction. Theorem: There is no greatest integer. The proof on the board. We will see several contradiction proofs in graph theory.