Math 409/409G History of Mathematics Books VII – IX of the Elements Part 1: Divisibility.

Slides:



Advertisements
Similar presentations
Cryptography and Network Security
Advertisements

Section 4.1: Primes, Factorization, and the Euclidean Algorithm Practice HW (not to hand in) From Barr Text p. 160 # 6, 7, 8, 11, 12, 13.
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.
February 19, 2015Applied Discrete Mathematics Week 4: Number Theory 1 The Growth of Functions Question: If f(x) is O(x 2 ), is it also O(x 3 )? Yes. x.
Greatest Common Divisor. Definitions Let a and b be two non-zero integers. The greatest common divisor of a and b, denoted gcd(a,b) is the largest of.
CSC2110 Discrete Mathematics Tutorial 5 GCD and Modular Arithmetic
Chapter 4 Properties of the integers: mathematical induction Yen-Liang Chen Dept of IM NCU.
Chapter II. THE INTEGERS
6/20/2015 5:05 AMNumerical Algorithms1 x x1x
Congruence of Integers
Mathematics of Cryptography Part I: Modular Arithmetic, Congruence,
Proofs, Recursion, and Analysis of Algorithms Mathematical Structures for Computer Science Chapter 2 Copyright © 2006 W.H. Freeman & Co.MSCS SlidesProofs,
Properties of the Integers: Mathematical Induction
Fall 2002CMSC Discrete Structures1 Let us get into… Number Theory.
BY MISS FARAH ADIBAH ADNAN IMK
The Integers and Division
Quiz 2 key.
LECTURE 5 Learning Objectives  To apply division algorithm  To apply the Euclidean algorithm.
Mathematics of Cryptography Part I: Modular Arithmetic, Congruence,
Divisibility October 8, Divisibility If a and b are integers and a  0, then the statement that a divides b means that there is an integer c such.
Great Theoretical Ideas in Computer Science.
Chapter 2 The Fundamentals: Algorithms, the Integers, and Matrices
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.
9/2/2015Discrete Structures1 Let us get into… Number Theory.
Rings,Fields TS. Nguyễn Viết Đông Rings, Integral Domains and Fields, 2. Polynomial and Euclidean Rings 3. Quotient Rings 2.
Mathematics of Cryptography Part I: Modular Arithmetic
February 24, 2015Applied Discrete Mathematics Week 4: Number Theory 1 Modular Arithmetic Let a be an integer and m be a positive integer. We denote by.
Module :MA3036NI Cryptography and Number Theory Lecture Week 7
Math 409/409G History of Mathematics
WIKIPEDIA HAS MANY MORE DIVISIBILITY RULES. EXAMPLE Since 52=13(4) is divisible by 4, is divisible by 4 Since 452=56(8)+4 is not divisible.
The Integers. The Division Algorithms A high-school question: Compute 58/17. We can write 58 as 58 = 3 (17) + 7 This forms illustrates the answer: “3.
Data Security and Encryption (CSE348) 1. Lecture # 12 2.
1 Section 2.1 Functions: Definitions and Examples A function ƒ from A to B associates each element of A with exactly one element of B. Write ƒ : A  B.
Rational Numbers and Fields
MAT 320 Spring 2008 Section 1.2.  Start with two integers for which you want to find the GCD. Apply the division algorithm, dividing the smaller number.
Math 409/409G History of Mathematics Books VII – IX of the Elements Part 3: Prime Numbers.
Number Theory 이재원 School of Information Technology Sungshin W. University.
Foundations of Discrete Mathematics Chapter 4 By Dr. Dalia M. Gil, Ph.D.
Lecture 6.1: Misc. Topics: Number Theory CS 250, Discrete Structures, Fall 2011 Nitesh Saxena.
Euclidean Algorithm How to find a greatest common divisor in several easy steps.
7.3 Products and Factors of Polynomials Objectives: Multiply polynomials, and divide one polynomial by another by using long division and synthetic division.
1 Section Congruences In short, a congruence relation is an equivalence relation on the carrier of an algebra such that the operations of the algebra.
MA/CSSE 473 Day 08 Extended Euclid's Algorithm Modular Division Fermat's little theorem.
Notation Intro. Number Theory Online Cryptography Course Dan Boneh
Application: Algorithms Lecture 20 Section 3.8 Wed, Feb 21, 2007.
Ref: Pfleeger96, Ch.31 Properties of Arithmetic Reference: Pfleeger, Charles P., Security in Computing, 2nd Edition, Prentice Hall, 1996.
Discrete Mathematics 4. NUMBER THEORY Lecture 7 Dr.-Ing. Erwin Sitompul
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,
Ch04-Number Theory and Cryptography 1. Introduction to Number Theory Number theory is about integers and their properties. We will start with the basic.
Number Theory Lecture 1 Text book: Discrete Mathematics and its Applications, 7 th Edition.
Fuw-Yi Yang1 Textbook: Introduction to Cryptography 2nd ed. By J.A. Buchmann Chap 1 Integers Department of Computer Science and Information Engineering,
Number Theory. Introduction to Number Theory Number theory is about integers and their properties. We will start with the basic principles of divisibility,
Number-Theoretic Algorithms
Lecture 4 The Euclidean Algorithm
CMSC Discrete Structures
Dividing Polynomials Long Division A little review:
MATH301- DISCRETE MATHEMATICS Copyright © Nahid Sultana Dr. Nahid Sultana Chapter 4: Number Theory and Cryptography.
Applied Discrete Mathematics Week 4: Number Theory
Applied Discrete Mathematics Week 4: Number Theory
Foundations of Discrete Mathematics
刘振 上海交通大学 计算机科学与工程系 电信群楼3-509
Miniconference on the Mathematics of Computation
Applied Discrete Mathematics Week 10: Introduction to Counting
Warm Up.
Miniconference on the Mathematics of Computation
Number Theory.
Discrete Mathematics Chapter 4 Number Theory. Discrete Mathematics Chapter 4 Number Theory.
Warm Up.
Presentation transcript:

Math 409/409G History of Mathematics Books VII – IX of the Elements Part 1: Divisibility

Books VII – IX of the Elements are devoted to the study of whole numbers. Today we call this Number Theory. We will begin our investigation of Euclid’s Number Theory by looking at Euclid’s discoveries about divisibility of numbers.

Before we start, a few comments are in order. Although Euclid limited his discourse to the whole numbers, modern day Number Theory includes the integers. And although no axioms were given by Euclid in these Books, when we extend his theorems to the integers, we will find it useful to take for granted (without proof) that the only products of two integers which equal 1 are 1·1 and (-1)·(-1).

Definition: An integer b is divisible by a nonzero integer a if there is an integer c such that ac  b. Note: Saying that b is divisible by a is equivalent to saying any of the following: a is a divisor of b. a divides b. a is a factor of b. Notation: aІb denotes that a divides b.

Theorem 1: For any integers a, b, and c: a.aІ0, 1Іa, and aІa. b.aІ1 if and only if a  ±1. c.If aІb and cІd, then acІbd. d. If aІb and bІc, then aІc. e.aІb and bІa if and only if a  ±b. f.If aІb and aІc, then aІ(bx + cy) for any integers x and y.

Some proofs of Theorem 1 Th 1a: aІ0, 1Іa, and aІa. Recall: aІb  ac  b for some integer c. Proof: a·0  0, 1·a  a, and a·1  a. So it follows from the def. of “is a divisor of” that aІ0, 1Іa, and aІa.

Th 1b: aІ1 if and only if a  ±1. Proof: By the definition of “is a divisor of,” aІ1  ac  1 for some integer c. But the only integers whose product is 1 are 1·1 and (-1)·(-1). So a  ±1. On the other hand, a  ±1  a·(±1)  1  aІ1.

Th 1d: If aІb and bІc, then aІc. Scratch work: aІb and bІc  ap  b and bq  c  a(pq)  (ap)q  bq  c  aІc.

Th 1d: If aІb and bІc, then aІc. Proof: By the def. of “is a divisor of’” there are integers p and q such that aІb and bІc  ap  b and bq  c  a(pq)  (ap)q  bq  c It now follows from the def. of “is a divisor of that aІc.

Th 1e: aІb and bІa if and only if a  ±b. Sketch of Proof in one direction: aІb and bІa  ap  b, bq  a and b  0  b(qp)  (bq)p  ap  b  qp  1  q  ±1  a  b·(±1)  ±b

Greatest Common Divisor d is the greatest common divisor of integers a and b if d is the largest integer which is a common divisor of both a and b. Notation: d  gcd(a, b) Example: ±2, ±7, and ±14 are the only integers that are common divisors of both 42 and 56. Since 14 is the largest, gcd(42, 56)  14.

Use of the gcd Reducing fractions Ex. Not all fractions are easily reduced. Ex.

The Division Algorithm For integers a and b, with b > 0, there exist integers q and r such that a  qb  r and 0  r < b.

Euclidean Algorithm To find gcd(a, b) where b < a: Divide b into a and let r 1 be the remainder. Divide r 1 into b and let r 2 be the remainder. Divide r 2 into r 1 and let r 3 be the remainder. Continue to divide the remainder into the divisor until you get a remainder of zero. gcd(a, b)  the last nonzero remainder.

Find gcd(8633, 8051)

Theorem 2 For any nonzero integers a and b, there exist integers x and y such that gcd(a, b)  ax + by. Here’s how you use the Euclidean Algorithm to write gcd(8633, 8051) as a linear combination of 8633 and 8051.

Use the Euclidean Algorithm to find gcd(8633, 8051).

Solve each division problem, except the last one, for the remainder (r  a – bq). Take note of the quotient in each solution.

Use these equations in reverse order to find the linear combination.

This ends the lesson on Books VII – IX of the Elements Part 1: Divisibility