Direct Proof and Counterexample III: Divisibility

Slides:



Advertisements
Similar presentations
1 In this lecture  Number Theory ● Rational numbers ● Divisibility  Proofs ● Direct proofs (cont.) ● Common mistakes in proofs ● Disproof by counterexample.
Advertisements

Chapter 3 Elementary Number Theory and Methods of Proof.
Copyright © Cengage Learning. All rights reserved. CHAPTER 5 SEQUENCES, MATHEMATICAL INDUCTION, AND RECURSION SEQUENCES, MATHEMATICAL INDUCTION, AND RECURSION.
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.
The essential quality of a proof is to compel belief.
Solving Linear Equations
Copyright © Cengage Learning. All rights reserved.
Fundamental Theorem of Arithmetic. Euclid's Lemma If p is a prime that divides ab, then p divides a or p divides b.
LIAL HORNSBY SCHNEIDER
Linear Systems The definition of a linear equation given in Chapter 1 can be extended to more variables; any equation of the form for real numbers.
Fall 2002CMSC Discrete Structures1 Let us get into… Number Theory.
Chapter Number Theory 4 4 Copyright © 2013, 2010, and 2007, Pearson Education, Inc.
BY MISS FARAH ADIBAH ADNAN IMK
Week 3 - Wednesday.  What did we talk about last time?  Basic number theory definitions  Even and odd  Prime and composite  Proving existential statements.
Real Numbers and Their Properties รายวิชา ค ความรู้พื้นฐานสำหรับแคลคูลัส 1 ภาคเรียนที่ 1 ปีการศึกษา 2552.
(CSC 102) Discrete Structures Lecture 10.
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.
Homework Review notes Complete Worksheet #1. Homework Let A = {a,b,c,d}, B = {a,b,c,d,e}, C = {a,d}, D = {b, c} Describe any subset relationships. 1.
1.4 Solving Equations ●A variable is a letter which represents an unknown number. Any letter can be used as a variable. ●An algebraic expression contains.
P.1 Real Numbers. 2 What You Should Learn Represent and classify real numbers. Order real numbers and use inequalities. Find the absolute values of real.
 Here are a few review concepts before we start solving equations!
Copyright © Cengage Learning. All rights reserved. CHAPTER 8 RELATIONS.
Section 2.1 Solving Equations Using Properties of Equality.
Copyright © Cengage Learning. All rights reserved.
8 th Grade Study Guide System of Equations - Pythagorean Theorem - Laws of Exponents Scientific Notation - Solving Equations.
Copyright © Cengage Learning. All rights reserved. Fundamental Concepts of Algebra 1.1 Real Numbers.
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.
Week 3 - Monday.  What did we talk about last time?  Predicate logic  Multiple quantifiers  Negating multiple quantifiers  Arguments with quantified.
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:"
Divisibility and Modular Arithmetic
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.
Opener: Find three consecutive odd integers whose sum is -63 Integer #1 = n Integer #2 = n + 2 Integer #3 = n + 4 (n) + (n + 2) + (n + 4) = -63 3n + 6.
Dr Nazir A. Zafar Advanced Algorithms Analysis and Design Advanced Algorithms Analysis and Design By Dr. Nazir Ahmad Zafar.
Number Theory. Introduction to Number Theory Number theory is about integers and their properties. We will start with the basic principles of divisibility,
Chapter 1 Logic and Proof.
The Relation Induced by a Partition
Methods of Proof Proof techniques in this handout
Direct Proof and Counterexample IV: Division into Cases and the Quotient-Remainder Theorem For each of the following values of n and d, find integers q.
5 Solving Polynomial Equations.
The Language of Sets If S is a set, then
Copyright © Cengage Learning. All rights reserved.
Unit 2: Absolute Value Absolute Value Equations and Inequalities
Direct Proof and Counterexample I: Introduction
Indirect Argument: Two Classical Theorems
Reflexivity, Symmetry, and Transitivity
Chapter 2 Section 8.
Copyright © 2016, 2013, and 2010, Pearson Education, Inc.
Chapter 3 The Real Numbers.
Subject : Algebra Std - 9th Subject- Algebra Topic- Real Numbers.
MATH301- DISCRETE MATHEMATICS Copyright © Nahid Sultana Dr. Nahid Sultana Chapter 4: Number Theory and Cryptography.
Applied Discrete Mathematics Week 4: Number Theory
ELEMENTARY NUMBER THEORY AND METHODS OF PROOF
Chapter 2 Section 8.
Direct Proof and Counterexample V: Floor and Ceiling
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.
Copyright © Cengage Learning. All rights reserved.
Copyright © Cengage Learning. All rights reserved.
Number Theory: Prime & Composite Numbers
PROGRAMME: F.Y.B.Sc.I.T. (SEM-I) COURSE: DISCRETE MATHEMATICS
Presentation transcript:

Direct Proof and Counterexample III: Divisibility The notion of divisibility is the central concept of one of the most beautiful subjects in advanced mathematics: number theory, the study of properties of integers.

Example 1 – 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 6 a factor of 54? Yes, 54 = 6  9. Is 7 a factor of −7? Yes, −7 = 7  (−1).

Example 1 – Divisibility of Algebraic Expressions a. If a and b are integers, is 3a + 3b divisible by 3? b. If k and m are integers, is 10km divisible by 5? Solution: a. Yes. By the distributive law of algebra, 3a + 3b = 3(a + b) and a + b is an integer because it is a sum of two integers. b. Yes. By the associative law of algebra, 10km = 5  (2km) and 2km is an integer because it is a product of three integers.

Direct Proof and Counterexample III: Divisibility Two useful properties of divisibility are (1) that if one positive integer divides a second positive integer, then the first is less than or equal to the second, and (2) that the only divisors of 1 are 1 and −1.

Direct Proof and Counterexample III: Divisibility When the definition of divides is rewritten formally using the existential quantifier, the result is Since the negation of an existential statement is universal, it follows that d does not divide n (denoted ) if, and only if,  integers k, n ≠ dk, or, in other words, the quotient n/d is not an integer.

Example 4 – Checking Nondivisibility Does 4 | 15? Solution: No, , which is not an integer.

Example 6 – Transitivity of Divisibility cont’d 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, By substitution

Example 6 – Solution cont’d Let k = rs. Then k is an integer since it is a product of integers, and therefore Thus a divides c by definition of divisibility. [This is what was to be shown.]

Example 7 – Checking a Proposed Divisibility Property Is the following statement true or false? For all integers a and b, if a | b and b | a then a = b. Solution: This statement is false. Can you think of a counterexample just by concentrating for a minute or so? By definition of divisibility, the conditions a | b and b | a mean that

Example 7 – Solution cont’d Must it follow that a = b, or can you find integers a and b that satisfy these equations for which a ≠ b? The equations imply that Since b | a, b ≠ 0, and so you can cancel b from the extreme left and right sides to obtain In other words, k and l are divisors of 1. But, the only divisors of 1 are 1 and –1. Thus k and l are both 1 or are both –1.

Example 7 – Solution But if k = l = –1, then b = –a and so a ≠ b. cont’d But if k = l = –1, then b = –a and so a ≠ b. This analysis suggests that you can find a counterexample by taking b = –a. Here is a formal answer:

The Unique Factorization of Integers Theorem The most comprehensive statement about divisibility of integers is contained in the unique factorization of integers theorem. Because of its importance, this theorem is also called the fundamental theorem of arithmetic. The unique factorization of integers theorem says that any integer greater than 1 either is prime or can be written as a product of prime numbers in a way that is unique except, perhaps, for the order in which the primes are written.

The Unique Factorization of Integers Theorem

The Unique Factorization of Integers Theorem Because of the unique factorization theorem, any integer n > 1 can be put into a standard factored form in which the prime factors are written in ascending order from left to right.

Example 9 – Using Unique Factorization to Solve a Problem Suppose m is an integer such that Does 17 | m? Solution: Since 17 is one of the prime factors of the right-hand side of the equation, it is also a prime factor of the left-hand side (by the unique factorization of integers theorem). But 17 does not equal any prime factor of 8, 7, 6, 5, 4, 3, or 2 (because it is too large). Hence 17 must occur as one of the prime factors of m, and so 17 | m.