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.

Slides:



Advertisements
Similar presentations
With examples from Number Theory
Advertisements

Chapter 3 Elementary Number Theory and Methods of Proof.
Chapter 3 Elementary Number Theory and Methods of Proof.
Equivalence Relations
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.
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
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 the integers
INFINITE SEQUENCES AND SERIES
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(
Discrete Structures Chapter 2 Part B Mathematical Induction
Proof Must Have Statement of what is to be proven.
1 Indirect Argument: Contradiction and Contraposition.
The essential quality of a proof is to compel belief.
Copyright © Cengage Learning. All rights reserved.
Copyright © Cengage Learning. All rights reserved.
1 Section 3.3 Mathematical Induction. 2 Technique used extensively to prove results about large variety of discrete objects Can only be used to prove.
Methods of Proof Lecture 4: Sep 16 (chapter 3 of the book)
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.
1 Number Theory and Methods of Proof Content: Properties of integer, rational and real numbers. Underlying theme: Methods of mathematical proofs.
Methods of Proof & Proof Strategies
(CSC 102) Discrete Structures Lecture 10.
Continuity ( Section 1.8) Alex Karassev. Definition A function f is continuous at a number a if Thus, we can use direct substitution to compute the limit.
Discrete Mathematics, 1st Edition Kevin Ferland
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!
Copyright © Cengage Learning. All rights reserved. CHAPTER 4 ELEMENTARY NUMBER THEORY AND METHODS OF PROOF ELEMENTARY NUMBER THEORY AND METHODS OF PROOF.
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.
HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Section 1.9.
Chapter 3 Elementary Number Theory and Methods of Proof.
1 Section 1.1 A Proof Primer A proof is a demonstration that some statement is true. We normally demonstrate proofs by writing English sentences mixed.
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.
11.2 Series In this section, we will learn about: Various types of series. INFINITE SEQUENCES AND SERIES.
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.
Math 409/409G History of Mathematics Books VII – IX of the Elements Part 3: Prime Numbers.
Ch 1.4: Basic Proof Methods I A theorem is a proposition, often of special interest. A proof is a logically valid deduction of a theorem, using axioms,
Proof By Contradiction Chapter 3 Indirect Argument Contradiction Theorems and pg. 171.
Theorem The square of any odd integer has the form 8m + 1 for some integer m.
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.
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.
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)
1 Discrete Mathematical Mathematical Induction ( الاستقراء الرياضي )
The Relation Induced by a Partition
Methods of Proof Proof techniques in this handout
Direct Proof and Counterexample III: Divisibility
Indirect Argument: Two Classical Theorems
Reflexivity, Symmetry, and Transitivity
ELEMENTARY NUMBER THEORY AND METHODS OF PROOF
Direct Proof and Counterexample V: Floor and Ceiling
Direct Proof and Counterexample III
Set includes rational numbers and irrational numbers.
The sum of any two even integers is even.
Direct Proof and Counterexample III
Copyright © Cengage Learning. All rights reserved.
Copyright © Cengage Learning. All rights reserved.
Copyright © Cengage Learning. All rights reserved.
Quotient-Remainder Theorem
Copyright © Cengage Learning. All rights reserved.
Proof: [We take the negation and suppose it to be true.]
PROGRAMME: F.Y.B.Sc.I.T. (SEM-I) COURSE: DISCRETE MATHEMATICS
Presentation transcript:

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 k such that n = dk Example 10 divided by 2 = 5 2 times 5 = 10

Proving Properties of Divisibility 1 st number divides 2 nd number, 2 nd number divides 3 rd number, therefore 1 st number divides 3 rd number Example 10 divides divides 40, therefore 10 divides 40

Theorem Transitivity of Divisibility For all integers a, b, and c, if a divides b and b divides c, then a divides c.

Proof: Suppose a, b, and c are [ particular but arbitrarily chosen ] integers such that a divides b and b divides c. [ We must show that a divides c.] By definition of divisibility, b = ar and c = bs for some integers r and s.

Proof continued : By substitution, c = bs = (ar)s = a(rs) by basic algebra Let k = rs. Then k is an integer since it is a product of integers, and therefore c = ak where k is an integer. Thus a divides c by definition of divisibility. [This is what we needed to show]

Exam Question Determine whether the statement is true or false. Prove the statement directly from the definitions if it is true, and give a counterexample if it is false. 1. A necessary condition for an integer to be divisible by 9 is that it be divisible by 3.

Related Homework Problems Section 3.3: 15, 16, 19 – 28, 33.

Prime Numbers and Divisibility An integer n > 1 is a prime number if, and only if, its only positive integer divisors are 1 and itself. n is prime  for all positive integers r and s, if n = r * s then r = 1 or s = 1 Example 5 is greater than 1 try divisors2,3,4,5 Its divisors are 1 and 5

Theorem Divisibility by a Prime Any integer n > 1 is divisible by a prime number

Proof: Suppose n is a [ particular but arbitrarily chosen ] integer that is greater than 1. [ We must show that there is a prime number that divides n.] If n is prime, then n is divisible by a prime number (namely itself), and we are done. 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.

Proof: continued 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 and 1 < s 1 < r 0. It follows by the definition of divisibility that r 1 | r 0. But we already know that r 0 | n. Consequently, by transitivity of divisibility, r 1 | n. If r 1 is prime, then r 1 is a prime number that divides n, and we are done. If r 1 is not prime, then r 1 = r 2 s 2 where r 2 and s 2 are integers and 1 < r 2 < r 1 and 1 < s 1 < r 1. It follows by definition of divisibility that r 2 | r 1. But we already know that r 1 | n. Consequently, by transitivity of divisibility, r 2 | n.

Proof: continued If r 2 is prime, then r 2 is a prime number that divides n, and we are done. If r 2 is not prime, then we may repeat the process by factoring r 2 as r 3 s 3. We may continue this way. factoring successive factors of n until we find a prime factor. We must succeed in a finite number of steps because each new factor is both less than the previous one (which is less than n) and greater than 1,and there are fewer than n integers strictly between 1 and n.* Thus we obtain a sequence r 0, r 1, r 2, …, r K, where k >= 0, 1 < r K < r K -1 < … < r 2 < r 1 < r 0 < n, and r i | n for each i = 0, 1, 2,…, k. The condition for termination is that r K should be prime. Hence r K is a prime number that divides n. [This is what we needed to show]

Exam Question Is 273 divisible by a prime number?

Related Homework Problems Section 3.3: 35, 36.