Direct Proof and Counterexample III

Slides:



Advertisements
Similar presentations
Lecture 3 – February 17, 2003.
Advertisements

With examples from Number Theory
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.
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.
Sets, Combinatorics, Probability, and Number Theory Mathematical Structures for Computer Science Chapter 3 Copyright © 2006 W.H. Freeman & Co.MSCS Slides.
1 Section 2.4 The Integers and Division. 2 Number Theory Branch of mathematics that includes (among other things): –divisibility –greatest common divisor.
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.
Direct Proof and Counterexample II Lecture 12 Section 3.2 Thu, Feb 9, 2006.
Basic properties of the integers
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(
The essential quality of a proof is to compel belief.
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.
WHOLE NUMBERS; INTEGERS Whole numbers: Z 0,+ = the natural numbers  {0}. Integers:
The Integers and Division
1 Properties of Integers Objectives At the end of this unit, students should be able to: State the division algorithm Apply the division algorithm Find.
(CSC 102) Discrete Structures Lecture 10.
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!
Chapter 3 Elementary Number Theory and Methods of Proof.
Prep Math Competition, Lec. 1Peter Burkhardt1 Number Theory Lecture 1 Divisibility and Modular Arithmetic (Congruences)
Copyright © Curt Hill Divisibility and Modular Arithmetic A Topic in Number Theory.
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.
The Binomial Theorem Lecture 29 Section 6.7 Mon, Apr 3, 2006.
Direct Proof and Counterexample III
Foundations of Computing I CSE 311 Fall Review: Division Theorem Let a be an integer and d a positive integer. Then there are unique integers q.
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
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,
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.
Lecture 34 Section 6.7 Wed, Mar 28, 2007
Direct Proof and Counterexample III Part 2 Lecture 16 Section 3.3 Tue, Feb 13, 2007.
Chapter 3 The Fundamentals: Algorithms, the integers, and matrices Section 3.4: The integers and division Number theory: the part of mathematics involving.
Number Theory. Introduction to Number Theory Number theory is about integers and their properties. We will start with the basic principles of divisibility,
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.
Direct Proof and Counterexample III: Divisibility
CSE15 Discrete Mathematics 03/15/17
Direct Proof and Counterexample II
Thinking Critically 4.1 Divisibility Of Natural Numbers
Great Theoretical Ideas In Computer Science
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
Discrete Math for CS CMPSC 360 LECTURE 4 Last time and recitations:
Direct Proof and Counterexample III
Direct Proof and Counterexample IV
Fundamental Theorem of Arithmetic
The sum of any two even integers is even.
Direct Proof and Counterexample II
Copyright © Cengage Learning. All rights reserved.
Methods of Proof Rosen 1.7, 1.8 Lecture 4: Sept 24, 25.
Lecture 43 Section 10.1 Wed, Apr 6, 2005
Counting Elements of Disjoint Sets: The Addition Rule
Direct Proof and Counterexample I
Copyright © Zeph Grunschlag,
Lecture 29 Section 6.7 Thu, Mar 3, 2005
Direct Proof and Counterexample IV
Exponential and Logarithmic Functions
Applied Discrete Mathematics Week 10: Introduction to Counting
Counting Elements of Disjoint Sets: The Addition Rule
Counting Elements of Disjoint Sets: The Addition Rule
Number Theory.
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.
Sets, Combinatorics, Probability, and Number Theory
Methods of Proof Rosen 1.7, 1.8 Lecture 4: Sept, 2019.
Presentation transcript:

Direct Proof and Counterexample III Lecture 14 Section 3.3 Thu, Feb 3, 2005

Divisibility Definition: An integer a divides an integer b if a  0 and there exists an integer c such that ac = b. Write a | b to indicate that a divides b. Divisibility is a positive property.

Prime Numbers Definition: An integer p is prime if p  2 and the only positive divisors of p are 1 and p. A prime number factors only in a trivial way: p = 1  p. Prime numbers: 2, 3, 5, 7, 11, … Is this a positive property? Is there a positive characterization of primes?

Composite Numbers Definition: An integer n is composite if there exist integers a and b such that 1 < a < n and 1 < b < n and n = ab. A composite number factors in a non-trivial way : n = a  b, a > 1, b > 1. Composite numbers: 4, 6, 8, 9, 10, 12, … Is this a positive property?

Units and Zero Definition: An integer u is a unit if u | 1. The only units are 1 and –1. Definition: 0 is zero.

Example: Direct Proof Theorem: If a | b and b | c, then a | c. Proof: Let a, b, c be integers and assume a | b and b | c. Since a | b, there exists an integer r such that ar = b. Since b | c, there exists an integer s such that bs = c. Therefore, a(rs) = (ar)s = bs = c. So a | c.

Example: Direct Proof Theorem: Let a and b be integers. If a | b and b | a, then a = b. Proof: Let a and b be integers. Suppose a | b and b | a. There exist integers c and d such that ac = b and bd = a. Therefore, acd = bd = a.

Example: Direct Proof Therefore, cd = 1. Thus, c = d = 1 or c = d = -1. Then a = b or a = -b.

Example: Direct Proof Corollary: If a, b  N and a | b and b | a, then a = b. This is analogous to the set-theoretic statement that if A  B and B  A, then A = B. Preview: This property is called antisymmetry. If a ~ b and b ~ a, then a = b.

Example: Direct Proof Theorem: Let a, b, c be integers. If a | b and b | a + c, then a | c. Proof: Let a, b, and c be integers. Suppose a | b and b | a + c. There exist integers r and s such that ar = b and bs = a + c.

Example: Direct Proof Substitute ar for b in the 2nd equation to get (ar)s = a + c. Rearrange the terms and factor to get a(rs – 1) = c. Therefore, a | c.

Example: Direct Proof Theorem: If n is odd, then 8 | (n2 – 1). Proof: Let n be an odd integer. Then n = 2k + 1 for some integer k. So n2 – 1 = (2k + 1)2 – 1 = 4k2 + 4k = 4k(k + 1).

Example: Direct Proof Either k or k + 1 is even. Therefore, k(k + 1) is a multiple of 2. Therefore, n2 – 1 is a multiple of 8. Can you think of an alternate, simpler proof, based on the factorization of n2 – 1?

Example: Direct Proof Theorem: If n is odd, then 24 | (n3 – n). Proof: ?

Example: If-and-Only-If Proof Theorem: Let a, b be integers. Then a | b if and only if a2 | b2. Proof: () Suppose that a | b. Then ac = b for some c  Z. So, a2c2 = b2 and therefore, a2 | b2.

Example: If-and-Only-If Proof Suppose that a2 | b2. Then a2d = b2 for some d  Z. Now what?

The Fundamental Theorem of Arithmetic Theorem: Let n be a positive integer. Then n = p1a1p2a2…pkak, where each pi is prime and each ai is nonnegative. Furthermore, the primes and their exponents are unique.

The Fundamental Theorem of Arithmetic Use the Fundamental Theorem of Arithmetic to complete the previous proof.