Methods of Proofs PREDICATE LOGIC The “Quantifiers” and are known as predicate quantifiers. " means for all and means there exists. Example 1: If we.

Slides:



Advertisements
Similar presentations
With examples from Number Theory
Advertisements

Discrete Math Methods of proof 1.
Mathematical Induction
Introduction to Proofs
Chapter 3 Elementary Number Theory and Methods of Proof.
Proofs, Recursion and Analysis of Algorithms Mathematical Structures for Computer Science Chapter 2 Copyright © 2006 W.H. Freeman & Co.MSCS SlidesProofs,
Copyright © Cengage Learning. All rights reserved. CHAPTER 5 SEQUENCES, MATHEMATICAL INDUCTION, AND RECURSION SEQUENCES, MATHEMATICAL INDUCTION, AND RECURSION.
Recursive Definitions Rosen, 3.4. Recursive (or inductive) Definitions Sometimes easier to define an object in terms of itself. This process is called.
Logic: Connectives AND OR NOT P Q (P ^ Q) T F P Q (P v Q) T F P ~P T F
Proof by Induction and contradiction Leo Cheung. The TAs Our office is in SHB117, feel free to come if you get problems about the course Or ask your questions.
So far we have learned about:
Proofs, Recursion and Analysis of Algorithms Mathematical Structures for Computer Science Chapter 2.1 Copyright © 2006 W.H. Freeman & Co.MSCS SlidesProofs,
Introduction to Proofs ch. 1.6, pg. 87,93 Muhammad Arief download dari
Mathematical Induction Assume that we are given an infinite supply of stamps of two different denominations, 3 cents and and 5 cents. Prove using mathematical.
Methods of Proof & Proof Strategies
Mathematical Maxims and Minims, 1988
Introduction to Proofs
Discrete Mathematics, Part II CSE 2353 Fall 2007 Margaret H. Dunham Department of Computer Science and Engineering Southern Methodist University Some slides.
1 Methods of Proof CS/APMA 202 Epp, chapter 3 Aaron Bloomfield.
Proofs 1/25/12.
Methods of Proof. This Lecture Now we have learnt the basics in logic. We are going to apply the logical rules in proving mathematical theorems. Direct.
Conditional Statements CS 2312, Discrete Structures II Poorvi L. Vora, GW.
March 3, 2015Applied Discrete Mathematics Week 5: Mathematical Reasoning 1Arguments Just like a rule of inference, an argument consists of one or more.
10/17/2015 Prepared by Dr.Saad Alabbad1 CS100 : Discrete Structures Proof Techniques(1) Dr.Saad Alabbad Department of Computer Science
1 Sections 1.5 & 3.1 Methods of Proof / Proof Strategy.
Chapter 5 Existence and Proof by contradiction
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.
1 CMSC 250 Discrete Structures CMSC 250 Lecture 1.
Logical Reasoning:Proof Prove the theorem using the basic axioms of algebra.
P. 270 #47-49.
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.
1 Discrete Structures – CNS2300 Text Discrete Mathematics and Its Applications Kenneth H. Rosen (5 th Edition) Chapter 3 The Foundations: Logic and Proof,
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.
Chapter 1: Introduction
4.1 Proofs and Counterexamples. Even Odd Numbers Find a property that describes each of the following sets E={…, -4, -2, 0, 2, 4, 6, …} O={…, -3, -1,
October 3, 2001CSE 373, Autumn Mathematical Background Exponents X A X B = X A+B X A / X B = X A-B (X A ) B = X AB X N +X N = 2X N 2 N +2 N = 2 N+1.
Inverse, Contrapositive & indirect proofs Sections 6.2/6.3.
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.
2.3 Methods of Proof.
CS104:Discrete Structures Chapter 2: Proof Techniques.
Week 4 - Friday.  What did we talk about last time?  Floor and ceiling  Proof by contradiction.
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.
Bellwork Write if-then form, converse, inverse, and contrapositive of given statement. 3x - 8 = 22 because x = 10.
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 Formal Proofs. 2 Deductive Proofs From the given statement(s) to a conclusion statement (what we want to prove) Logical progression by direct implications.
EXAMPLE 3 Write an indirect proof Write an indirect proof that an odd number is not divisible by 4. GIVEN : x is an odd number. PROVE : x is not divisible.
Methods of Proof Lecture 4: Sep 20 (chapter 3 of the book, except 3.5 and 3.8)
1 Discrete Mathematical Mathematical Induction ( الاستقراء الرياضي )
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
Proof And Strategies Chapter 2. Lecturer: Amani Mahajoub Omer Department of Computer Science and Software Engineering Discrete Structures Definition Discrete.
Lecture 2: Proofs and Recursion. Lecture 2-1: Proof Techniques Proof methods : –Inductive reasoning Lecture 2-2 –Deductive reasoning Using counterexample.
1 Proofs by Counterexample & Contradiction There are several ways to prove a theorem:  Counterexample: By providing an example of in which the theorem.
Chapter 1 Logic and Proof.
11.7 – Proof by Mathematical Induction
The Foundations: Logic and Proofs
Methods of Proof CS 202 Epp, chapter 3.
Methods of Proof A mathematical theorem is usually of the form pq
An indirect proof uses a temporary assumption that
The Foundations: Logic and Proofs
Exercise Use mathematical induction to prove the following formula.
CS 220: Discrete Structures and their Applications
Section 2.1 Proof Techniques Introduce proof techniques:   o        Exhaustive Proof: to prove all possible cases, Only if it is about a.
Elementary Number Theory & Proofs
Mathematical Induction
Geometry.
Copyright © Cengage Learning. All rights reserved.
Copyright © Cengage Learning. All rights reserved.
Foundations of Discrete Mathematics
Agenda Proofs (Konsep Pembuktian) Direct Proofs & Counterexamples
Presentation transcript:

Methods of Proofs

PREDICATE LOGIC The “Quantifiers” and are known as predicate quantifiers. " means for all and means there exists. Example 1: If we have one computer that all students must share, we say: one computer students. Example 2: If each student has a separate computer, we would say: students one computer. Note: The two example may both appear to be saying that “there exists” only one computer; however, example 2 is actually saying mathematically that every student has a ‘unique’ computer.

ODD AND EVEN NUMBERS Any odd integer can be expressed as Any even integer can be expressed as

DIVISIBILITY If a divides b, we write Example : is true because

RECURRENCE RELATION A recurrence relation is an equation that defines the i th value in a sequence of numbers in terms of the preceding values. Example : n! = n * (n-1)! f(n) = f(n-1) + 3 Question: Find the first 6 terms of the sequence satisfying the recurrence relation: x 1 = 3, x 2 = 2 and x n+2 = 2 x n - x n+1

LOGIC The inverse of is The converse of is q → p The contra positive of is Example : Write the inverse,converse and contra positive of the statement, “If John is intelligent then he will pass the exam”.

Methods of Proofs Direct proofs Indirect proofs or Contrapositive proofs Proof by contradiction Proof by counter Example Proof by Mathematical Induction

DIRECT PROOFS In this method of proof we prove the implication p → q by assuming that p is true and by using known facts, rules and theorems we try to show that q is also true. Example : Prove by using direct proofs “ If x is even then x² is even”.

CONTRAPOSITIVE PROOFS OR INDIRECT PROOFS In this method of proof we try to prove the implication p → q by assuming that q is false and by using known facts,rules and theorems we try to show that p is also false. Example : Prove if n² is even then n is also even by contrapositive.

PROOFS BY CONTRADICTION A proof by contradiction is a proof of an implication that shows that joining the assumption “Q is false” together with the premise “P is true” leads to a contradiction. In other words in this method of proof we prove the implication p → q by assuming that p ᴧ ̴ q is true and by using known facts,rules and theorems we try to show that our assumption is false. Example: If n and m are odd integers, then n + m is an even integer.Give a proof by contradiction.

COUNTEREXAMPLES At times use of proofs is not only impossible, but unnecessary. Sometimes in order to prove something all that is necessary is to provide an example that proves the statement false, i.e. a counterexample. Example: Find a counterexample to show that the following are false If x =p ² +1, where p is a positive integer, then x is a prime number. The sum of two prime numbers is never a prime.

MATHEMATICAL INDUCTION In order to prove something by induction you need to first prove the base step i.e. for n=0,1….. (Basis Step ) The next step is to assume that the proof is true for some value k. (Inductive Hypothesis) Then you must prove that it is also true for k + 1 (Inductive Step) After proving it for k + 1 you have proved it true by induction. Example: Prove by Induction, ……..+n = n(n+1)/2

Exercises ….. Q1.Give a direct proof for each of the following: If n and m are even integers, then n + m is an even integer If n and m are even integers, then n - m is an even integer Q2.Give a proof by contradiction, If n is an even integer and m is an odd integer, then n + m is an odd integer. Q3. Prove the followings by Mathematical Induction 1 ² + 2 ² + … + n ² = n(n+1)(2n+1)/6 for all n ≥ … + (4n - 2) = 2n ² for all n > 0

The End