Week 3 - Wednesday.  What did we talk about last time?  Basic number theory definitions  Even and odd  Prime and composite  Proving existential statements.

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

Lecture 3 – February 17, 2003.
Discrete Mathematics Lecture 3
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.
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,
Copyright © Cengage Learning. All rights reserved.
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.
Proofs, Recursion and Analysis of Algorithms Mathematical Structures for Computer Science Chapter 2.1 Copyright © 2006 W.H. Freeman & Co.MSCS SlidesProofs,
Copyright © Cengage Learning. All rights reserved.
Methods of Proof Lecture 4: Sep 16 (chapter 3 of the book)
1 Number Theory and Methods of Proof Content: Properties of integer, rational and real numbers. Underlying theme: Methods of mathematical proofs.
C OURSE : D ISCRETE STRUCTURE CODE : ICS 252 Lecturer: Shamiel Hashim 1 lecturer:Shamiel Hashim second semester Prepared by: amani Omer.
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
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.
Chapter 3 Elementary Number Theory and Methods of Proof.
Week 3 - Monday.  What did we talk about last time?  Predicate logic  Multiple quantifiers  Negating multiple quantifiers  Arguments with quantified.
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.
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.
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.
1 Methods of Proof Proof techniques in this handout –Direct proof –Division into cases –Proof by contradiction In this handout, the proof techniques will.
Week 3 - Friday.  What did we talk about last time?  Proving universal statements  Disproving existential statements  Rational numbers  Proof formatting.
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,
Week 4 - Monday.  What did we talk about last time?  Divisibility  Quotient-remainder theorem  Proof by cases.
Copyright © Cengage Learning. All rights reserved. Fundamental Concepts of Algebra 1.1 Real Numbers.
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.
Week 4 - Monday.  What did we talk about last time?  Rational numbers.
Week 3 - Friday.  What did we talk about last time?  Proving existential statements  Disproving universal statements  Proving universal statements.
Copyright © Cengage Learning. All rights reserved. CHAPTER 8 RELATIONS.
Week 3 - Monday.  What did we talk about last time?  Predicate logic  Multiple quantifiers  Negating multiple quantifiers  Arguments with quantified.
Week 4 - Friday.  What did we talk about last time?  Floor and ceiling  Proof by contradiction.
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.
Direct Proof and Counterexample I Lecture 11 Section 3.1 Fri, Jan 28, 2005.
Introduction to Predicates and Quantified Statements I Lecture 9 Section 2.1 Wed, Jan 31, 2007.
Section 1.8. Proof by Cases Example: Let b = max{a, b} = a if a ≥ b, otherwise b = max{a, b} = b. Show that for all real numbers a, b, c
Methods of Proof Lecture 4: Sep 20 (chapter 3 of the book, except 3.5 and 3.8)
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.
Week 15 - Wednesday.  What did we talk about last time?  Review first third of course.
Section 1.7. Section Summary Mathematical Proofs Forms of Theorems Direct Proofs Indirect Proofs Proof of the Contrapositive Proof by Contradiction.
Harper Langston New York University Summer 2017
Methods of Proof Proof techniques in this handout
Direct Proof and Counterexample III: Divisibility
CISC 2315 Discrete Structures
The Foundations: Logic and Proofs
Indirect Proof by Contradiction Direct Proof by Cases
Copyright © Cengage Learning. All rights reserved.
Copyright © Cengage Learning. All rights reserved.
Lecture 5 Number Theory & Proof Methods
Foundations of Discrete Mathematics
PROGRAMME: F.Y.B.Sc.I.T. (SEM-I) COURSE: DISCRETE MATHEMATICS
Presentation transcript:

Week 3 - Wednesday

 What did we talk about last time?  Basic number theory definitions  Even and odd  Prime and composite  Proving existential statements  Disproving universal statements

 By their nature, manticores lie every Monday, Tuesday and Wednesday and the other days speak the truth  However, unicorns lie on Thursdays, Fridays and Saturdays and speak the truth the other days of the week  A manticore and a unicorn meet and have the following conversation: Manticore:Yesterday I was lying. Unicorn:So was I.  On which day did they meet?

 If the domain is finite, try every possible value.  Example:   x  Z +, if 4 ≤ x ≤ 20 and x is even, x can be written as the sum of two prime numbers  Is this familiar to anyone?  Goldbach's Conjecture proposes that this is true for all even integers greater than 2

 Pick some specific (but arbitrary) element from the domain  Show that the property holds for that element, just because of that properties that any such element must have  Thus, it must be true for all elements with the property  Example:  x  Z, if x is even, then x + 1 is odd

 Direct proof actually uses the method of generalizing from a generic particular, following these steps: 1. Express the statement to be proved in the form  x  D, if P(x) then Q(x) 2. Suppose that x is some specific (but arbitrarily chosen) element of D for which P(x) is true 3. Show that the conclusion Q(x) is true by using definitions, other theorems, and the rules for logical inference

 Write Claim: and then the statement of the theorem  Start your proof with Proof:  Define everything  Write a justification next to every line  Put QED at the end of your proof  Quod erat demonstrandum: "that which was to be shown"

 Prove the sum of any two odd integers is even.

 Arguing from examples  Goldbach's conjecture is not a proof, though shown for numbers up to  Using the same letter to mean two different things  m = 2k + 1 and n = 2k + 1  Jumping to a conclusion  Skipping steps  Begging the question  Assuming the conclusion  Misuse of the word "if  A more minor problem, but a premise should not be invoked with "if"

 Flipmode is the squad  You just negate the statement and then prove the resulting universal statement

Student Lecture

 A real number is rational if and only if it can be expressed at the quotient of two integers with a nonzero denominator  Or, more formally, r is rational   a, b  Z  r = a/b and b  0

 Give an example of a rational number  Given an example of an irrational number  Is 10/3 rational?  Is rational?  Is … (the digits 12 repeat forever) rational?  Is 0 rational?  Is 3/0 rational?  Is 3/0 irrational?  If m and n are integers and neither is zero, is (m + n)/mn rational?

 Every integer is a rational number  The sum of any two rational numbers is rational  The product of any two rational numbers is a rational number

 Math moves forward not by people proving things purely from definitions but also by using existing theorems  "Standing on the shoulders of giants"  Given the following: 1. The sum, product, and difference of any two even integers is even 2. The sum and difference of any two odd integers are even 3. The product of any two odd integers is odd 4. The product of any even integer and any odd integer is even 5. The sum of any odd integer and any even integer is odd  Using these theorems, prove that, if a is any even integer and b is any odd integer, then (a 2 + b 2 + 1)/2 is an integer

 If n and d are integers, then n is divisible by d if and only if n = dk for some integer k  Or, more formally:  For n, d  Z,  n is divisible by d   k  Z  n = dk  We also say:  n is a multiple of d  d is a factor of n  d is a divisor of n  d divides n  We use the notation d | n to mean "d divides n"

 Is 37 divisible by 3?  Is -7 a factor of 7?  Does 6 | 256?  Is 0 a multiple of 45?

 If a,b  Z and a | b, is a ≤ b?  Not necessarily!  But, if a,b  Z + and a | b, then a ≤ b  Which integers divide 1?  If a,b  Z, is 3a + 3b divisible by 3?  If k,m  Z, is 10km divisible by 5?

 Prove that for all integers a, b, and c, if a | b and b | c, then a | c  Steps:  Rewrite the theorem in formal notation  Write Proof:  State your premises  Justify every line you infer from the premises  Write QED after you have demonstrated the conclusion

 Prove that every integer n > 1 is divisible by a prime  Steps:  Rewrite the theorem in formal notation  Write Proof:  State your premises  Justify every line you infer from the premises  Write QED after you have demonstrated the conclusion  This one is a little more problematic  We aren't really ready to prove something like this yet

 For all integers a and b, if a | b and b | a, then a = b  How could we change this statement so that it is true?  Then, how could we prove it?

 For any integer n > 1, there exist a positive integer k, distinct prime numbers p 1, p 2, …, p k, and positive integers e 1, e 2, …, e k such that  And any other expression of n as a product of prime numbers is identical to this except, perhaps, for the order in which the factors are written

 Let m be an integer such that  8∙7 ∙6 ∙5 ∙4 ∙3 ∙2 ∙m = 17∙16 ∙15 ∙14 ∙13 ∙12 ∙11 ∙10  Does 17 | m?  Leave aside for the moment that we could actually compute m

 Quotient remainder theorem  Proof by cases

 Keep reading Chapter 4  Work on Assignment 2 for Friday