Chapter 4 More on Directed Proof and Proof by Contrapositive 4.1 Proofs Involving Divisibility of Integers 4.2 Proofs Involving Congruence of Integers.

Slides:



Advertisements
Similar presentations
THE WELL ORDERING PROPERTY Definition: Let B be a set of integers. An integer m is called a least element of B if m is an element of B, and for every x.
Advertisements

Equivalence Relations
Chapter 3 Direct Proof and Proof by Contrapositive
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.
Chapter 3 Relations. Section 3.1 Relations and Digraphs.
Copyright © Cengage Learning. All rights reserved. CHAPTER 5 SEQUENCES, MATHEMATICAL INDUCTION, AND RECURSION SEQUENCES, MATHEMATICAL INDUCTION, AND RECURSION.
1 Section 2.4 The Integers and Division. 2 Number Theory Branch of mathematics that includes (among other things): –divisibility –greatest common divisor.
CSE115/ENGR160 Discrete Mathematics 03/13/12 Ming-Hsuan Yang UC Merced 1.
Basic Properties of Relations
Basic properties of the integers
Induction Sections 41. and 4.2 of Rosen Fall 2008 CSCE 235 Introduction to Discrete Structures Course web-page: cse.unl.edu/~cse235 Questions:
CSE115/ENGR160 Discrete Mathematics 05/03/11 Ming-Hsuan Yang UC Merced 1.
Induction Sections 4.1 and 4.2 of Rosen Fall 2010
Chapter 4 Properties of the integers: mathematical induction Yen-Liang Chen Dept of IM NCU.
Chapter II. THE INTEGERS
What is the first line of the proof? 1.If a divides b, then a divides b – c. 2.If a divides b, then a divides c. 3.Assume a divides b – c. 4.Assume a divides.
Discrete Mathematics Lecture#11.
Copyright © Cengage Learning. All rights reserved.
October 1, 2009Theory of Computation Lecture 8: Primitive Recursive Functions IV 1 Primitive Recursive Predicates Theorem 6.1: Let C be a PRC class. If.
LIAL HORNSBY SCHNEIDER
Chapter 1 Equations, Inequalities, and Mathematical Models 1.4 Complex Numbers.
Relations Chapter 9.
Fall 2002CMSC Discrete Structures1 Let us get into… Number Theory.
The Integers and Division
© by Kenneth H. Rosen, Discrete Mathematics & its Applications, Sixth Edition, Mc Graw-Hill, 2007 Chapter 3 (Part 2): The Fundamentals: Algorithms, the.
9/2/2015Discrete Structures1 Let us get into… Number Theory.
Mathematics of Cryptography Part I: Modular Arithmetic
Inequalities and Proof
Chapter 6 Mathematical Induction
Introduction to Proofs
Mathematics Review Exponents Logarithms Series Modular arithmetic Proofs.
Mathematical Induction. F(1) = 1; F(n+1) = F(n) + (2n+1) for n≥ F(n) n F(n) =n 2 for all n ≥ 1 Prove it!
Proofs 1/25/12.
Ch 1.5: Basic Proof Methods II Proof by Contraposition of P => Q Suppose ~Q …proof details here…. Therefore, ~P (via a direct proof) Thus, ~Q => ~P. Therefore,
Ordered Sets. Relations. Equivalence Relations 1.
CompSci 102 Discrete Math for Computer Science February 16, 2012 Prof. Rodger.
Copyright © Curt Hill Divisibility and Modular Arithmetic A Topic in Number Theory.
Discrete Math for CS Binary Relation: A binary relation between sets A and B is a subset of the Cartesian Product A x B. If A = B we say that the relation.
Chapter 5 Existence and Proof by contradiction
Order in the Integers Characterization of the Ring of Integers.
Copyright © 2013, 2009, 2005 Pearson Education, Inc. 1 3 Polynomial and Rational Functions Copyright © 2013, 2009, 2005 Pearson Education, Inc.
Inequalities Section 10.2 Solving Inequalities. Property of Comparison For all real numbers a and b, one and only one of the following must be true: a
Copyright © Cengage Learning. All rights reserved. CHAPTER 8 RELATIONS.
1 Methods of Proof Proof techniques in this handout –Direct proof –Division into cases –Proof by contradiction In this handout, the proof techniques will.
Chapter 2 (Part 1): The Fundamentals: Algorithms, the Integers & Matrices The Integers and Division (Section 2.4)
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.
Elements of Coding and Encryption 1. Encryption In the modern word, it is crucial that the information is transmitted safely. For example, Internet purchases,
Chapter 8 Equivalence Relations Let A and B be two sets. A relation R from A to B is a subset of AXB. That is, R is a set of ordered pairs, where the first.
Direct Proof and Counterexample III
Objective: To prove and apply theorems about angles Proving Angles Congruent (2-6)
Copyright © Cengage Learning. All rights reserved. CHAPTER 8 RELATIONS.
Department of Statistics University of Rajshahi, Bangladesh
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
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
1 Discrete Structures – CNS2300 Text Discrete Mathematics and Its Applications Kenneth H. Rosen (5 th Edition) Chapter 2 The Fundamentals: Algorithms,
Ch04-Number Theory and Cryptography 1. Introduction to Number Theory Number theory is about integers and their properties. We will start with the basic.
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.
Number Theory Lecture 1 Text book: Discrete Mathematics and its Applications, 7 th Edition.
Dr Nazir A. Zafar Advanced Algorithms Analysis and Design Advanced Algorithms Analysis and Design By Dr. Nazir Ahmad Zafar.
Chapter 1 Logic and Proof.
Relations Chapter 9 Copyright © McGraw-Hill Education. All rights reserved. No reproduction or distribution without the prior written consent of McGraw-Hill.
The Relation Induced by a Partition
CSE15 Discrete Mathematics 03/15/17
Direct Proof and Counterexample III
Dividing Monomials Chapter 5 Section 5.2.
Foundations of Discrete Mathematics
Clements MAΘ October 30th, 2014
Solving Inequalities Using Multiplication and Division
Presentation transcript:

Chapter 4 More on Directed Proof and Proof by Contrapositive 4.1 Proofs Involving Divisibility of Integers 4.2 Proofs Involving Congruence of Integers 4.3 Proofs Involving Real Numbers 4.4 Proofs Involving sets 4.5* Fundamental Properties of Set Operations 4.6* Proofs Involving Cartesian Products of Sets

Section 4.1 Proofs Involving Divisibility of Integers In general, for integers a and b with a≠0, we say that a divides b if there is an integer c such that b=ac. In this case, we write a | b. If a | b, then we also say that b is a multiple of a and that a is a divisor of b. If a does not divide b, then we write a b.  Result: Let a, b, and c be integers with a≠0 and b ≠0. If a|b and b|c, then a|c. Proof. Assume that a|b and b|c. Then b=ax and c=by, where x, y  Z. Therefore, c=by=(ax)y=a(xy). Since xy  Z, a|c.

Examples Result: Let a, b, c, x, y  Z, where a≠0. If a|b and a|c, then a|(bx+cy). Exercise. Result: Let x, y  Z, If 3 xy, then 3 x and 3 y. Proof: Assume that 3 | x or 3 | y. WLOG, assume that 3 divides x. Then x=3z for some integer z. Hence xy=(3z)y=3(zy). Since zy is an integer, 3 | xy. #

Examples Let x  Z. If 3 (x 2 -1), then 3 | x. Proof. Assume that 3 x. Then either x=3q+1 for some integer q, or x=3q +2 for some integer q. We consider these two cases. Case 1. x =3q+1 for some integer q. Then x 2 -1=(3q+1) 2 -1=3(3q 2 +2q). Since 3q 2 +2q is an integer, 3 | x Case 2. x=3q+2 for some integer q. Then x 2 -1=(3q+2) 2 -1=3(3q 2 +4q+1). Since 3q 2 +4q+1 is an integer, 3 | x #

Section 4.2 Proofs Involving Congruence of Integers For integers a, b, and n≥2, we say that a is congruent to b modulo n, written a  b (mod n), if n | (a-b). For example: 15  7 (mod 4) since 4 | (15-7), but 14 4 (mod 6) since 6 (14-4).  Note that: since every integer can be expressed as x=2q or as x=2q+1 for some integer q, it follows that either 2|(x-0) or 2|(x-1); that is, x  0 (mod 2) or x  1 (mod 2). Similarly, we have x  0(mod 3), x  1(mod 3), or x  2(mod 3). Etc.

Examples Result: Let a, b, k, and b be integers, where n≥2. If a  b (mod n), then ka  kb (mod n). Proof: Assume that a  b(mod n). Then n | (a-b). Hence a-b =nx for some integer x. Therefore, ka-kb=k(a-b)=k(nx)=n(kx). Since kx is an integer, n | (ka-kb) and so ka  kb (mod n). #

Examples Result: Let a, b, c, d, n  Z, where n ≥2. If a  b (mod n) and c  d (mod n), the ac  bd (mod n). Proof: Exercise.

Examples Let n  Z. If n 2 n (mod 3), then n 0(mod 3) and n 1(mod 3). Proof. Let n be an integer such that n  0 (mod 3) or n  1(mod 3). We consider these two cases. Case 1. n  0(mod 3). Then n=3k for some integer k. Hence n 2 -n=(3k) 2 -(3k)=3(3k 2 -k). Since 3k 2 -k is an integer, 3 | n 2 -n. Thus n 2  n (mod 3). Case 2. n  1(mod 3). Then n=3x+1 for some integer x. Hence n 2 -n=(3x+1) 2 -(3x+1)=3(3x 2 +x). Since 3x 2 -x is an integer, 3 | n 2 -n and so n 2  n (mod 3). #

Section 4.3 Proofs Involving Real Numbers Some facts about real numbers that can be used without justification. a 2 ≥0 for every real number a. a n ≥0 for every real number a if n is a positive even integer. If a<0 and n is a positive odd integer, then a n <0. If the product of two real numbers is positive if and only if both numbers are positive or both are negative. If the product of two real numbers is 0, then at least one of these numbers is 0. Let a, b, c  R. If a ≥b and c ≥0, then ac ≥ bc. Indeed, if c>0, then a/c ≥b/c. If a>b and c>0, then ac>bc and a/c>b/c. If a>b and c<0, then ac<bc and a/c<b/c.

Theorem Theorem: If x and y are real numbers such that xy=0, then x=0 or y=0. Proof. Assume that xy=0. We consider two cases, x=0 or x≠0. Case 1. x=0. Then we have the desired result. Case 2. x ≠0. Multiplying xy=0 by the number 1/x, we obtain 1/x(xy)=1/x(0)=0. Since 1/x(xy)= ((1/x)x)y=y, it follows that y=0. #. Result: Let x  R. if x 5 -3x 4 +2x 3 -x 2 +4x-1 ≥0, then x ≥0. Proof. Assume that x<0. Then x 5 <0, 2x 3 <0, and 4x<0. In addition, -3x 4 <0, -x 2 <0. Thus x 5 -3x 4 +2x 3 -x 2 +4x-1<0-1<0, as desired. #

Examples Result. If x, y  R, then 1/3x 2 +3/4y 2 ≥xy. Proof. Since (2x-3y) 2 ≥0, it follows that 4x 2 -12xy+9y 2 ≥0 and so 4x 2 +9y 2 ≥12xy. Dividing this inequality by 12, we obtain 1/3x 2 +3/4y 2 ≥xy. #

Section 4.4 Proofs Involving sets Recall, for set A and B contained in some universal set U, A  B={x: x  A or x  B}. A   B={x: x  A and x  B}. A - B={x: x  A and x  B}. To show the equality of two sets C and D, we can verify the two sets inclusions C  D and D  C. To establish the inclusion C  D, we show that every element of C is also an element of D; that is, if x  C then x  D.

Result. For every two sets A and B, A-B=A  Proof. First we show that A-B  A . Let x  A and x  B. Since x  B, it follows that x . Therefore, x  A and x  ; so x  A . Hence A-B  A . Next we show that A   A- B. Let y  A . Then y  A and y . Since y , we see that y  B. Now because y  A and y  B, we conclude that y  A- B. Thus, A   A-B. # Examples

Result. Let A and B be sets. Then A  B= A if and only if B  A. Proof. First we prove that if A  B= A, then B  A. We use a proof by contrapositive. Assume that B is not a subset of A. Then there must be some element x  B such that x  A. Since x  B, it follows that x  A  B. However, since x  A, we have A  B≠A. Next we prove the converse, namely, if B  A, then A  B=A. We use a direct proof here. Assume that B  A. To verify that A  B= A, we show that A  A  B and A  B  A. The set inclusion A  A  B is immediate. It remains only to show then that A  B  A. Let y  A  B. Thus y  A or y  B. If y  A, then we already have the desired result. If y  B, then since B  A, it follows that y  A. Thus A  B  A. #.