1 Methods of Proof Proof techniques in this handout –Direct proof –Division into cases –Proof by contradiction In this handout, the proof techniques will.

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.
(CSC 102) Discrete Structures Lecture 14.
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.
Discrete Mathematics Lecture 4 Harper Langston New York University.
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(
Discrete Structures Chapter 2 Part B Mathematical Induction
Proof Must Have Statement of what is to be proven.
1 Indirect Argument: Contradiction and Contraposition.
EE1J2 - Slide 1 EE1J2 – Discrete Maths Lecture 12 Number theory Mathematical induction Proof by induction Examples.
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.
9/2/2015Discrete Structures1 Let us get into… Number Theory.
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 Sections 1.5 & 3.1 Methods of Proof / Proof Strategy.
Cyclic Groups (9/25) Definition. A group G is called cyclic if there exists an element a in G such that G =  a . That is, every element of G can be written.
Section 3.3: Mathematical Induction Mathematical induction is a proof technique that can be used to prove theorems of the form:  n  Z +,P(n) We have.
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
Chapter 4 With Question/Answer Animations 1. Chapter Motivation Number theory is the part of mathematics devoted to the study of the integers and their.
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
Methods of Proof Proof techniques in this handout
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
ELEMENTARY NUMBER THEORY AND METHODS OF PROOF
Copyright © Cengage Learning. All rights reserved.
The sum of any two even integers is even.
Copyright © Zeph Grunschlag,
Quotient-Remainder Theorem
Lecture 5 Number Theory & Proof Methods
Introduction to Proofs
Agenda Proofs (Konsep Pembuktian) Direct Proofs & Counterexamples
Presentation transcript:

1 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.

2 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?

3 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)

5 Directions for writing proofs 1)Write the theorem to be proved. 2)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.

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

7 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.

8 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.

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.

10 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.

11 Example of using div and mod Last year Halloween was on Thursday. Q.: What day is Halloween this year? Solution: There are 365 days between 10/31/14 and 10/31/ mod 7 = 1. Thus, if 10/31/14 was Friday then 10/31/15 is Saturday.

12 Proof Technique: Division into Cases  Suppose at some stage of a proof ● we know that A 1 or A 2 or A 3 or … or A n is true; ● want to deduce a conclusion C.  Use division into cases: Show A 1 →C, A 2 →C, …, A n →C. Conclude that C is true.

13 Division into Cases: Example  Proposition: If n  Z such that neither of 2 or 3 divide n, (1) then n 2 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 n 2 = (6k+1) 2 =36k 2 +12k+1 (by basic algebra) = 12(3k 2 +k)+1 (6) Let p=3k 2 +k. Then p is an integer. n 2 = 12p+1. ( by substitution in (6) ) Hence n 2 mod 12 = 1 by quotient-remainder th-m. Case 2: Suppose n=6k+5. (exercise) ■

15 Method of Proof by Contradiction 1.Suppose the statement to be proved is false. 2.Show that this supposition logically leads to a contradiction. 3.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.