1 Section 1.1 A Proof Primer A proof is a demonstration that some statement is true. We normally demonstrate proofs by writing English sentences mixed.

Slides:



Advertisements
Similar presentations
Methods of Proof. Methods of Proof The Vicky Pollard Proof Technique Prove that when n is even n2 is even. Assume n is 0, then n2 is 0, and that is.
Advertisements

With examples from Number Theory
Discrete Math Methods of proof 1.
Introduction to Proofs
PROOF BY CONTRADICTION
Chapter 3 Elementary Number Theory and Methods of Proof.
Chapter 3 Direct Proof and Proof by Contrapositive
1 Logic Logic in general is a subfield of philosophy and its development is credited to ancient Greeks. Symbolic or mathematical logic is used in AI. In.
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.
Notes on Logic Continued
Copyright © Zeph Grunschlag,
Proof Must Have Statement of what is to be proven.
Copyright © Cengage Learning. All rights reserved.
Adapted from Discrete Math
WARM UP EXERCSE Consider the right triangle below with M the midpoint of the hypotenuse. Is MA = MC? Why or why not? MC B A 1.
Methods of Proof & Proof Strategies
Propositions and Truth Tables
CISC 2315 Discrete Structures Professor William G. Tanner, Jr. Fall 2010 Slides created by James L. Hein, author of Discrete Structures, Logic, and Computability,
Introduction to Proofs
1 Methods of Proof CS/APMA 202 Epp, chapter 3 Aaron Bloomfield.
Proofs 1/25/12.
Copyright © Cengage Learning. All rights reserved. CHAPTER 4 ELEMENTARY NUMBER THEORY AND METHODS OF PROOF ELEMENTARY NUMBER THEORY AND METHODS OF PROOF.
Conditional Statements CS 2312, Discrete Structures II Poorvi L. Vora, GW.
Review I Rosen , 3.1 Know your definitions!
CS 173, Lecture B August 27, 2015 Tandy Warnow. Proofs You want to prove that some statement A is true. You can try to prove it directly, or you can prove.
Methods of Proofs PREDICATE LOGIC The “Quantifiers” and are known as predicate quantifiers. " means for all and means there exists. Example 1: If we.
F22H1 Logic and Proof Week 6 Reasoning. How can we show that this is a tautology (section 11.2): The hard way: “logical calculation” The “easy” way: “reasoning”
CSci 2011 Discrete Mathematics Lecture 6
1 Methods of Proof. 2 Consider (p  (p→q)) → q pqp→q p  (p→q)) (p  (p→q)) → q TTTTT TFFFT FTTFT FFTFT.
10/17/2015 Prepared by Dr.Saad Alabbad1 CS100 : Discrete Structures Proof Techniques(1) Dr.Saad Alabbad Department of Computer Science
Mathematical Preliminaries (Hein 1.1 and 1.2) Sets are collections in which order of elements and duplication of elements do not matter. – {1,a,1,1} =
1 Sections 1.5 & 3.1 Methods of Proof / Proof Strategy.
Methods of Proof Lecture 3: Sep 9. This Lecture Now we have learnt the basics in logic. We are going to apply the logical rules in proving mathematical.
Slides for CISC 2315: Discrete Structures Chapters CISC 2315 Discrete Structures Professor William G. Tanner, Jr. SPRING 2010 Slides created by James.
CISC 2315 Discrete Structures Professor William G. Tanner, Jr. Spring 2011 Slides created by James L. Hein, author of Discrete Structures, Logic, and Computability,
P. 270 #47-49.
Ch 1.4: Basic Proof Methods I A theorem is a proposition, often of special interest. A proof is a logically valid deduction of a theorem, using axioms,
Proof By Contradiction Chapter 3 Indirect Argument Contradiction Theorems and pg. 171.
1 Discrete Structures – CNS2300 Text Discrete Mathematics and Its Applications Kenneth H. Rosen (5 th Edition) Chapter 3 The Foundations: Logic and Proof,
Chapter 2 Logic 2.1 Statements 2.2 The Negation of a Statement 2.3 The Disjunction and Conjunction of Statements 2.4 The Implication 2.5 More on Implications.
Week 4 - Monday.  What did we talk about last time?  Divisibility  Quotient-remainder theorem  Proof by cases.
Methods of Proof for Boolean Logic Chapter 5 Language, Proof and Logic.
Inverse, Contrapositive & indirect proofs Sections 6.2/6.3.
CS104:Discrete Structures Chapter 2: Proof Techniques.
1 Section 6.2 Propositional Calculus Propositional calculus is the language of propositions (statements that are true or false). We represent propositions.
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:"
Week 4 - Wednesday.  What did we talk about last time?  Divisibility  Proof by cases.
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.
5-5 Indirect Proof. Indirect Reasoning: all possibilities are considered and then all but one are proved false. The remaining possibility must be true.
1 Introduction to Abstract Mathematics Proof Methods , , ~, ,  Instructor: Hayk Melikya Purpose of Section:Most theorems in mathematics.
Methods of Proof Lecture 4: Sep 20 (chapter 3 of the book, except 3.5 and 3.8)
1 Section 7.1 First-Order Predicate Calculus Predicate calculus studies the internal structure of sentences where subjects are applied to predicates existentially.
Notions & Notations - 1ICOM 4075 (Fall 2010) UPRM Department of Electrical and Computer Engineering University of Puerto Rico at Mayagüez Fall 2010 ICOM.
Section 1.7. Section Summary Mathematical Proofs Forms of Theorems Direct Proofs Indirect Proofs Proof of the Contrapositive Proof by Contradiction.
Chapter 1 Logic and proofs
Chapter 1 Logic and Proof.
Chapter 1 Logic and Proof.
Indirect Argument: Contradiction and Contraposition
2. The Logic of Compound Statements Summary
CISC 2315 Discrete Structures
Methods of Proof CS 202 Epp, chapter 3.
Chapter 8 Logic Topics
(1.4) An Introduction to Logic
Elementary Number Theory & Proofs
Geometry.
Copyright © Cengage Learning. All rights reserved.
Logic Logic is a discipline that studies the principles and methods used to construct valid arguments. An argument is a related sequence of statements.
Chapter 5 Parallel Lines and Related Figures
Presentation transcript:

1 Section 1.1 A Proof Primer A proof is a demonstration that some statement is true. We normally demonstrate proofs by writing English sentences mixed with symbols. We’ll consider statements that are either true or false. If A and B be are statements, then “not A,” “A and B,” and “A or B,” are called negation, conjunction, and disjunction, respectively. “not A” is opposite in truth value from A. “A and B” is true exactly when both A and B are true “A or B” is true except when both A and B are false. Conditionals: “if A then B” (or “A implies B”) is a conditional statement with antecedent A and consequent B. It’s contrapositive is “if not B then not A” and it’s converse is “if B then A”. Statements with the same truth table are said to be equivalent. The table shows that a conditional and it’s contrapositive are equivalent. A conditional is vacuously true if its antecedent is false. A conditional is trivially true if its consequent is true. Proof Techniques: We’ll give sample proofs about numbers. Here are some definitions. integers: …, -2, -1, 0, 1, 2, … odd integers: …, -3, -1, 1, 3, … (have the form 2k + 1 for some integer k). even integers:…, -4, -2, 0, 2, 4, … (have the form 2k for some integer k). m | n (read m divides n) if m ≠ 0 and n = km for some integer k. p is prime if p > 1 and its only divisors are 1 and p.

2 Exhaustive Checking Some statements can be proven by exhaustively checking a finite number of cases. Example 1. There is a prime number between 200 and 220. Proof: Check exhaustively and find that 211 is prime. QED. Example 2. Each of the numbers 288, 198, and 387 is divisible by 9. Proof: Check that 9 divides each of the numbers. QED. Conditional Proof Most statements we prove are conditionals. We start by assuming the antecedent is true. Then we try to find a statement that follows from the assumption and/or known facts. We continue in this manner until we reach the consequent. Example 3. If x is odd and y is even then x – y is odd. Proof: Assume x is odd and y is even. Then x = 2k + 1 and y = 2m for some integers k and m. So we have x – y = 2k + 1 – 2m = 2(k – m) + 1, which is an odd integer since k – m is an integer. QED. Example 4. If x is odd then x 2 is odd. Proof: Assume x is odd. Then x = 2k + 1 for some integer k. So we have x 2 = (2k + 1) 2 = 4k 2 + 4k + 1 = 2(2k 2 + 2k) + 1, which is an odd integer since 2k 2 + 2k is an integer. QED.

3 Example 5. If x is even then x 2 is even. Proof: Class do as one minute quiz. Example 6. If x 2 is odd then x is odd. Proof: The contrapositive of this statement is “if x is even, then x 2 is even,” which is true by Example 5. QED. Example 7. If x 2 is even then x is even. Proof: This is the contrapositive of Example 4, which has been shown to be true. QED. If And Only If (Iff) Proofs A statement of the form “A if and only if B” means “A implies B” and “B implies A.” So there are actually two proofs to give. Sometimes the proofs can be written as a single proof of the form “A iff C iff D iff … iff B,” where each iff statement is clear from previous information. Example 8. x is even if and only if x 2 – 2x + 1 is odd. Proof: x is even iff x = 2k for some integer k (definition) iff x – 1 = 2k – 1 for some integer k(algebra) iff x – 1 = 2(k – 1) + 1 for some integer k – 1 (algebra) iff x – 1 is odd(definition) iff (x – 1) 2 is odd(Examples 4 and 6) iff x 2 – 2x + 1 is odd(algebra). QED.

4 Proof By Contradiction A false statement is called a contradiction. For example, “S and not S” is a contradiction for any statement S. A truth table will show us that “if A then B,” is equivalent to “A and not B implies false.” So to prove “if A then B,” it suffices to assume A and also to assume not B, and then argue toward a false statement. This technique is called proof by contradiction or reductio ad absurdum. Example 9. If x 2 is odd then x is odd. Proof: Assume, BWOC, that x 2 is odd and x is even. Then x = 2k for some integer k. So we have x 2 = (2k) 2 = 4k 2 = 2(2k 2 ), which is even since 2k 2 is an integer. So we have x 2 is odd and x 2 is even, a contradiction. So the statement is true. QED. Example 10. If 2 | 5n then n is even. Proof: Assume, BWOC, that 2 | 5n and n is odd. Since 2 | 5n, we have 5n = 2d for some integer d. Since n is odd, we have n = 2k + 1 for some integer k. Then we have 2d = 5n = 5(2k + 1) = 10k + 5. So 2d = 10k + 5. Solve for 5 to get 5 = 2d – 10k = 2(d – 5k). But this says that 5 is an even number, a contradiction. So the statement is true. QED.