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.

Slides:



Advertisements
Similar presentations
Mathematical Induction. Mathematical Induction is a technique for proving theorems Theorems are typically of the form P(n) is true for all positive integers.
Advertisements

Extensible Networking Platform CSE 240 – Logic and Discrete Mathematics Review: Mathematical Induction Use induction to prove that the sum of the.
Mathematical Induction
Equivalence Relations
Review for CS1050. Review Questions Without using truth tables, prove that  (p  q)   q is a tautology. Prove that the sum of an even integer and an.
Chapter 3 Elementary Number Theory and Methods of Proof.
Equivalence Relations
Chapter 3 Direct Proof and Proof by Contrapositive
Discrete Structures Chapter 6: Set Theory
22C:19 Discrete Structures Induction and Recursion Spring 2014 Sukumar Ghosh.
Orthogonal Drawing Kees Visser. Overview  Introduction  Orthogonal representation  Flow network  Bend optimal drawing.
22C:19 Discrete Structures Induction and Recursion Fall 2014 Sukumar Ghosh.
Copyright © Cengage Learning. All rights reserved. CHAPTER 5 SEQUENCES, MATHEMATICAL INDUCTION, AND RECURSION SEQUENCES, MATHEMATICAL INDUCTION, AND RECURSION.
Elementary Number Theory and Methods of Proof
1.  We have studied groups, which is an algebraic structure equipped with one binary operation. Now we shall study rings which is an algebraic structure.
Binary Operations.
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.
What is the best way to start? 1.Plug in n = 1. 2.Factor 6n 2 + 5n Let n be an integer. 4.Let n be an odd integer. 5.Let 6n 2 + 5n + 4 be an odd.
5.2 The Integers. Whole Numbers The set of whole numbers contains the set of natural numbers and the number 0. Whole numbers = {0,1,2,3,4,…}
1 Set Theory. 2 Set Properties Commutative Laws: Associative Laws: Distributive Laws:
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.
CSE115/ENGR160 Discrete Mathematics 03/29/11 Ming-Hsuan Yang UC Merced 1.
Cardinality of a Set “The number of elements in a set.” Let A be a set. a.If A =  (the empty set), then the cardinality of A is 0. b. If A has exactly.
© 2007 by S - Squared, Inc. All Rights Reserved.
The Answer is RIGHT.
REMEMBER: A number can be negative or positive as shown in the number line below: Negative Numbers (-) Positive Numbers (+)
1 Mathematical Induction. 2 Mathematical Induction: Example  Show that any postage of ≥ 8¢ can be obtained using 3¢ and 5¢ stamps.  First check for.
Objective: Learn to multiply and divide integers.
7.1 - Introduction To Signed Numbers
Methods of Proof & Proof Strategies
(CSC 102) Discrete Structures Lecture 10.
Copyright © Curt Hill Divisibility and Modular Arithmetic A Topic in Number Theory.
Chapter 3 Elementary Number Theory and Methods of Proof.
Integers Lesson 1a: Integers Integers are whole numbers and their opposites. Negative integers are numbers less than zero. Positive integers are numbers.
Chapter 4 More on Directed Proof and Proof by Contrapositive 4.1 Proofs Involving Divisibility of Integers 4.2 Proofs Involving Congruence of Integers.
Chapter 5: Permutation Groups  Definitions and Notations  Cycle Notation  Properties of Permutations.
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,
9.1 Sets, Intersections, and Unions  Standard 1.0  8 Key Terms.
CS 103 Discrete Structures Lecture 13 Induction and Recursion (1)
Rosen 1.6, 1.7. Basic Definitions Set - Collection of objects, usually denoted by capital letter Member, element - Object in a set, usually denoted by.
Polynomial Functions Lesson 9.2. Polynomials Definition:  The sum of one or more power function  Each power is a non negative integer.
Ch 2.5 Objective: To multiply integers.. Properties Commutative Property: a * b = b * a Two numbers can be multiplied in either order and the result is.
6.1 Properties of Exponents Use properties of exponents Use negative and zero as an exponent EQ: What are the general rules involving properties of exponents?
Divisibility and Modular Arithmetic
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.
Properties of Groups Proposition 1: Let (G,  ) be a group. i.The inverse element of any element of G is unique. Remark: In view of i., we may use the.
Integers. Definition Positive integer – a number greater than zero
CS336 F07 Counting 2. Example Consider integers in the set {1, 2, 3, …, 1000}. How many are divisible by either 4 or 10?
Chapter 5 1. Chapter Summary  Mathematical Induction  Strong Induction  Recursive Definitions  Structural Induction  Recursive Algorithms.
Section 6.1 Set and Set Operations. Set: A set is a collection of objects/elements. Ex. A = {w, a, r, d} Sets are often named with capital letters. Order.
Multiplication and Division of Powers
Set Theory.
Direct Proof and Counterexample III: Divisibility
Linear Equations in One Variable
Great Theoretical Ideas In Computer Science
Induction and recursion
Chapter 4: Cyclic Groups
Prime Numbers.
Analytic Number Theory MTH 435
Direct Proof and Counterexample III
8.5 Equivalence Relations
Countable and Countably Infinite Sets
The sum of any two even integers is even.
Direct Proof and Counterexample III
Advanced Algorithms Analysis and Design
Lecture 5 Number Theory & Proof Methods
INDICES AND LOGARITHMS
THE WELL ORDERING PROPERTY
Section 3.2 More set operations.
Presentation transcript:

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 in B, m  x. Example: 3 is a least element of the set {4,3,5,11}. Example: Let A be the set of all positive odd integers. Then 1 is a least element of A. Example: Let U be the set of all odd integers. Then U has no least element. The proof is left as an informal exercise.

WELL ORDERING The Well Ordering Property: Let B be a non empty set of integers such that there exists an integer b such that every element x of B satisfies b < x. Then there exists a least element of B. Therefore, in particular: If B is a non empty set of non negative integers then there exists a least element in B.

WELL ORDERING An Application of the Well Ordering Property: A Proof of the Existence Part of the Division Algorithm: For every integer a and positive integer d there exist integers q and r such that 0  r<d and a = qd + r.

WELL ORDERING Proof: Let A be the set of all values a – kd for integers k, such that a – kd is non negative. We show that A is not empty: If a is non negative, let k=0. a-kd=a, and a is non negative. If a is negative, let k=a. a-kd=a-ad=a(1-d). (1-d) is not positive (since d is positive), and a is negative, so the product a(1-d) is non negative. By the well ordering property A has a least element. Let that least element be r = a – qd. So a = qd + r and 0  r. We claim that r<d. This claim can be proved by contradiction.

WELL ORDERING Suppose that d  r. Note that a = qd + r = qd + d + (r-d) = (q+1)d + r’ where r’ = (r-d)  0. Also r’ = r-d 0. So a – (q+1)d = r’ < r = a – qd, and a – (q+1)d = r’  0. So a – (q+1)d is in A, and a – (q+1)d < a – qd – contradicting the fact that a – qd is the least element of A.