Chapter 3 Elementary Number Theory and Methods of Proof.

Slides:



Advertisements
Similar presentations
Discrete Mathematics Lecture 3
Advertisements

Chapter 3 Elementary Number Theory and Methods of Proof.
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.
(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.
Thinking Mathematically
Elementary Number Theory and Methods of Proof
Chapter Primes and Greatest Common Divisors ‒Primes ‒Greatest common divisors and least common multiples 1.
The Fundamental Theorem of Arithmetic (2/12) Definition (which we all already know). A number greater than 1 is called prime if its only divisors are 1.
– Alfred North Whitehead,
Basic Properties of Relations
Basic properties of the integers
Copyright © Cengage Learning. All rights reserved.
1.  The set N = {1,2,3,4,……..} is known as natural numbers or the set of positive integers  The natural numbers are used mainly for :  counting  ordering.
Elementary Number Theory and Methods of Proof. Basic Definitions An integer n is an even number if there exists an integer k such that n = 2k. An integer.
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(
Discrete Structures Chapter 2 Part B Mathematical Induction
Proof Must Have Statement of what is to be proven.
The essential quality of a proof is to compel belief.
Copyright © Cengage Learning. All rights reserved.
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.
Fundamental Theorem of Arithmetic. Euclid's Lemma If p is a prime that divides ab, then p divides a or p divides b.
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 Strong Mathematical Induction. Principle of Strong Mathematical Induction Let P(n) be a predicate defined for integers n; a and b be fixed integers.
3-4 Algebra Properties Used in Geometry The properties of operations of real numbers that you used in arithmetic and algebra can be applied in geometry.
WHOLE NUMBERS; INTEGERS Whole numbers: Z 0,+ = the natural numbers  {0}. Integers:
(2 + 1) + 4 = 2 + (1 + 4) Associative Property of Addition.
Fall 2002CMSC Discrete Structures1 Let us get into… Number Theory.
Chapter Number Theory 4 4 Copyright © 2013, 2010, and 2007, Pearson Education, Inc.
The Integers and Division
Homework Review notes Complete Worksheet #2. Homework State whether the conditional sentence is true or false 1.If 1 = 0, then 1 = – 1 True F F T.
Week 3 - Wednesday.  What did we talk about last time?  Basic number theory definitions  Even and odd  Prime and composite  Proving existential statements.
(CSC 102) Discrete Structures Lecture 10.
Numbers, Operations, and Quantitative Reasoning.
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!
Chapter 3 Elementary Number Theory and Methods of Proof.
Copyright © Curt Hill Divisibility and Modular Arithmetic A Topic in Number Theory.
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.
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.
Chapter 4 More on Directed Proof and Proof by Contrapositive 4.1 Proofs Involving Divisibility of Integers 4.2 Proofs Involving Congruence of Integers.
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 … part1 Matrices Linear Algebra S 1. Ch2_2 2.1 Addition, Scalar Multiplication, and Multiplication of Matrices Definition A matrix is a rectangular.
Direct Proof and Counterexample III
Copyright © Cengage Learning. All rights reserved. CHAPTER 4 ELEMENTARY NUMBER THEORY AND METHODS OF PROOF ELEMENTARY NUMBER THEORY AND METHODS OF PROOF.
Copyright © Cengage Learning. All rights reserved. CHAPTER 8 RELATIONS.
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:"
1 Set Theory Second Part. 2 Disjoint Set let A and B be a set. the two sets are called disjoint if their intersection is an empty set. Intersection of.
Divisibility and Modular Arithmetic
1 Discrete Structures – CNS2300 Text Discrete Mathematics and Its Applications Kenneth H. Rosen (5 th Edition) Chapter 2 The Fundamentals: Algorithms,
All About Division. Definition / A nonzero integer t is a divisor of an integer s if there is an integer u such that s = tu. / If t is a divisor of s,
Methods of Proof Lecture 4: Sep 20 (chapter 3 of the book, except 3.5 and 3.8)
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.
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
Direct Proof and Counterexample III: Divisibility
Copyright © 2016, 2013, and 2010, Pearson Education, Inc.
Exercise 24 ÷ 2 12.
Algebraic Properties.
ELEMENTARY NUMBER THEORY AND METHODS OF PROOF
Direct Proof and Counterexample III
The sum of any two even integers is even.
Direct Proof and Counterexample III
Copyright © Cengage Learning. All rights reserved.
Copyright © 2013, 2010, and 2007, Pearson Education, Inc.
From the last time: gcd(a, b) can be characterized in two different ways: It is the least positive value of ax + by where x and y range over integers.
PROGRAMME: F.Y.B.Sc.I.T. (SEM-I) COURSE: DISCRETE MATHEMATICS
Presentation transcript:

Chapter 3 Elementary Number Theory and Methods of Proof

3.3 Direct Proof and Counterexample 3 Divisibility

Definition – If n and d are integers, then n is divisible by d if, and only if, n = dk for some integers k. – The notation d|n is read “d divides n.” – Symbolically, if n and d are integers, – d|n ⇔ ∃ an integer k such that n = dk.

Examples Divisibility – Is 21 divisible by 3? Yes, 21 = 3 * 7 – Does 5 divide 40? Yes, 40 = 5 * 8 – Does 7|42? Yes, 42 = 7 * 6 – Is 32 a multiple of -16? Yes, 32 = (-16) * (-2) – Is 7 a factor of -7? Yes, -7 = 7 * (-1)

Divisors Divisors of zero – If d is any integer, does d divide 0? – Recall: d|n ⇔ ∃ an integer k such that n = dk – n = 0, is there an integer k such that dk = 0 (n) – Yes, 0 = d*0 (0 is an integer) Divisors of one – Which integers divide 1? – 1 = dk, 1*1 or (-1) * (-1)

Divisors Positive Divisors of a Positive Number – Suppose a and b are positive integers and a|b. – Is a≤b? Yes. a|b means that b = ka for some integer k. k must be positive because b and a are positive. 1 ≤ k a ≤ k * a = b, hence, a ≤ b

Divisibility Algebraic expressions – 3a + 3b divisible by 3 (a & b are integers)? – Yes. By distributive law 3a + 3b = 3(a + b), a & b are integers so the sum of a, b are integers. – 10km divisible by 5 (k & m are integers)? 10km = 5 * (2km)

Prime Numbers An alternative way to define a prime number is to say that an integer n > 1 is prime if, and only if, its only positive integer divisors are 1 and itself.

Transitivity of Divisibility Prove that for all integers a, b, and c, if a|b and b|c, then a|c. – Starting point: Suppose a, b, and c are particular but arbitrarily chosen integers such that a|b and b|c. – To show: a|c a|c, c = a*(some integers) since a|b, b = ar for some integer r And since b|c, c = bs c = (ar)s (substitue for b) c = a(rs) (assoc law) c = ak (such that rs is integer due to close property of int) Theorem Transitivity of Divisibility

Divisibility by a Prime Any integer n > 1 is divisible by a prime number. – Suppose n is a integer that is greater than 1. – If n is prime, then n is divisible by a prime number (namely itself). If n is not prime, then n = r 0 s 0 where r 0 and s 0 are integers and 1 < r 0 < n and 1 < s 0 < n. it follows by definition of divisibility that r 0 |n. if r 0 is prime, then r 0 is a prime number that divides n, and we are done. If r 0 is not prime, then r 0 = r 1 s 1 where r 1 and s 1 are integers and 1 < r 1 < r 0 etc.

Counterexamples and Divisibility Is it true or false that for all integers a and b, if a|b and b|a then a = b? – Starting Point: Suppose a and b are integers such that a|b and b|a. b = ka & a =lb (for some integers k and l) b = ka = k(lb) = (kl)b factor b assuming b≠0 1 = kl Thus, k = l = 1 or k = l = -1

Unique Factorization Theorem Theorem Fundamental Theorem of Arithmetic – Given 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 – n = p 1 e1 p 2 e2 p 3 e3 p 4 e4 … p k ek, – 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.

Standard Factored Form Given any integer n > 1, the standard factored form of n is an expression of the form – n = p 1 e1 p 2 e2 p 3 e3 p 4 e4 … p k ek, – where k is a positive integer; p1, p2, …,pk are prime numbers; e1, e2, …, ek are positive integers; and p1 < p2 < … < pk.

Example Write 3,300 in standard factored form. – 3,300 = 100 * 33 = 4 * 25 * 3 * 11 – = 2 * 2 * 5 * 5 * 3 * 11 – = 2 2 * 5 2 * 3 * 11