Whole Numbers Are the whole numbers with the property of addition a group?

Slides:



Advertisements
Similar presentations
1 Lect. 12: Number Theory. Contents Prime and Relative Prime Numbers Modular Arithmetic Fermat’s and Euler’s Theorem Extended Euclid’s Algorithm.
Advertisements

Cryptography and Network Security
Chapter 4 Finite Fields. Introduction of increasing importance in cryptography –AES, Elliptic Curve, IDEA, Public Key concern operations on “numbers”
Chapter 4 – Finite Fields. Introduction will now introduce finite fields of increasing importance in cryptography –AES, Elliptic Curve, IDEA, Public Key.
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.
The Integers and Division. Outline Division: Factors, multiples Exercise 2.3 Primes: The Fundamental Theorem of Arithmetic. The Division Algorithm Greatest.
5.1 Number Theory. The study of numbers and their properties. The numbers we use to count are called the Natural Numbers or Counting Numbers.
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.
Number Theory and Cryptography
Math 3121 Abstract Algebra I
CSC2110 Discrete Mathematics Tutorial 5 GCD and Modular Arithmetic
Factors, Fractions, and Exponents
Chapter 4 – Finite Fields Introduction  will now introduce finite fields  of increasing importance in cryptography AES, Elliptic Curve, IDEA, Public.
Mathematics of Cryptography Part I: Modular Arithmetic, Congruence,
WHOLE NUMBERS; INTEGERS Whole numbers: Z 0,+ = the natural numbers  {0}. Integers:
Fall 2002CMSC Discrete Structures1 Let us get into… Number Theory.
Peter Lam Discrete Math CS.  Sometimes Referred to Clock Arithmetic  Remainder is Used as Part of Value ◦ i.e Clocks  24 Hours in a Day However, Time.
BY MISS FARAH ADIBAH ADNAN IMK
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.
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.
CSCI 1900 Discrete Structures
© by Kenneth H. Rosen, Discrete Mathematics & its Applications, Sixth Edition, Mc Graw-Hill, 2007 Chapter 3 (Part 2): The Fundamentals: Algorithms, the.
Great Theoretical Ideas in Computer Science.
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.
Slide 5-1 Copyright © 2005 Pearson Education, Inc. SEVENTH EDITION and EXPANDED SEVENTH EDITION.
Mathematics of Cryptography Part I: Modular Arithmetic
3.4/3.5 The Integers and Division/ Primes and Greatest Common Divisors Let each of a and b be integers. We say that a divides b, in symbols a | b, provided.
MATH 224 – Discrete Mathematics
Module :MA3036NI Cryptography and Number Theory Lecture Week 7
1 Cryptography and Network Security Third Edition by William Stallings Lecture slides by Lawrie Brown Chapter 4 – Finite Fields.
Numbers MST101. Number Types 1.Counting Numbers (natural numbers) 2.Whole Numbers 3.Fractions – represented by a pair of whole numbers a/b where b ≠ 0.
CompSci 102 Discrete Math for Computer Science February 16, 2012 Prof. Rodger.
Order in the Integers Characterization of the Ring of Integers.
Data Security and Encryption (CSE348) 1. Lecture # 12 2.
Copyright © Zeph Grunschlag, Basic Number Theory Zeph Grunschlag.
Rational Numbers and Fields
Copyright © 2009 Pearson Education, Inc. Chapter 5 Section 1 - Slide 1 Chapter 1 Number Theory and the Real Number System.
Chapter 2 (Part 1): The Fundamentals: Algorithms, the Integers & Matrices The Integers and Division (Section 2.4)
Foundations of Discrete Mathematics Chapter 4 By Dr. Dalia M. Gil, Ph.D.
Cryptography and Network Security Chapter 4. Introduction  will now introduce finite fields  of increasing importance in cryptography AES, Elliptic.
Module #9 – Number Theory 1/5/ Algorithms, The Integers and Matrices.
Slide Copyright © 2009 Pearson Education, Inc. Unit 1 Number Theory MM-150 SURVEY OF MATHEMATICS – Jody Harris.
Discrete Mathematics
Cryptography Lecture 14 Arpita Patra © Arpita Patra.
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,
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.
Slide Copyright © 2009 Pearson Education, Inc. Slide Copyright © 2009 Pearson Education, Inc. Chapter 1 Number Theory and the Real Number System.
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
Math 3121 Abstract Algebra I
Integers and Division Section 3.4.
CMSC Discrete Structures
MATH301- DISCRETE MATHEMATICS Copyright © Nahid Sultana Dr. Nahid Sultana Chapter 4: Number Theory and Cryptography.
Applied Discrete Mathematics Week 3: Algorithms
Applied Discrete Mathematics Week 4: Number Theory
Foundations of Discrete Mathematics
CMSC 203, Section 0401 Discrete Structures Fall 2004 Matt Gaston
Copyright © Zeph Grunschlag,
Divisibility and Modular Arithmetic
Applied Discrete Mathematics Week 10: Introduction to Counting
Number Theory.
Presentation transcript:

Whole Numbers Are the whole numbers with the property of addition a group?

Extending The Natural Numbers Natural or Counting Numbers {1,2,3…} Extend to Whole Numbers { 0,1,2,3…} to get an additive identity. Extend to Integers { … -3,-2,-1,0,1,2,3…} to get additive inverses. (Z, +) is a group.

Integer Number Set Extension of Whole Number Set 1.Natural or counting Numbers {1,2,3…} 2.Additive identity 0 3.Negative Integers {-1,-2,-3,…..}

History of Zero

In around 500AD Aryabhata devised a number system which has no zero yet was a positional system. He used the word "kha" for position and it would be used later as the name for zero. There is evidence that a dot had been used in earlier Indian manuscripts to denote an empty place in positional notation.

The Indian ideas spread east to China as well as west to the Islamic countries. In 1247 the Chinese mathematician Ch'in Chiu- Shao wrote Mathematical treatise in nine sections which uses the symbol O for zero.

Key Points Both the Greeks and Romans had symbolic zeros but not the concept of zeros EXAMPLE: MCVIII = = Notice the 0 is used just as a placeholder The Babylonians and Mayans also used 0 as a placeholder in their base 60 and base 10 numbering systems. The Hindus originally gave us the modern day 0.

Claudius Ptolemy

Ptolemy was of Greek descent and lived in Egypt. The astronomical observations that he listed as having himself made cover the period AD.

Ptolemy in the Almagest written around 130 AD uses the Babylonian sexagesimal system together with the empty place holder O. By this time Ptolemy is using the symbol both between digits and at the end of a number.

Negative Numbers History

The concept of a "negative" number has often been treated with suspicion. The ancient Chinese calculated with colored rods, red for positive quantities and black for negative (just the opposite of our accounting practices today).

But, like their European counter-parts, they would not accept a negative number as a solution of a problem or equation. Instead, they would always re-state a problem so the result was a positive quantity. This is why they often had to treat many different "cases" of what was essentially a single problem.

Example (s) The Ancient Egyptians used forms such as these to express negative numbers: If line 61 is more than line 54, subtract line 54 from line 61. This is the [positive] amount you OVERPAID. If line 54 is more than line 61, subtract line 61 from line 54. This is the [positive] amount you OWE.

Interestingly, the above form does not provide any guidance on how to proceed if line 61 EQUALS line 54. This may suggest that the concept of zero has not yet been fully assimilated. In fact, many ancient cultures did not even regard "1" as a number (let alone 0), because the concept of "number" implied plurality.

As recently as the 1500s there were European mathematicians who argued against the "existence" of negative numbers by saying : Zero signifies "nothing", and it's impossible for anything to be less than nothing.

On the other hand, the Indian Brahmagupta (7th century AD) explicitly and freely used negative numbers, as well as zero, in his algebraic work. He even gave the rules for arithmetic, e.g., "a negative number divided by a negative number is a positive number", and so on. This is considered to be the earliest [known] systemization of negative numbers as entities in themselves.

(Z,  ) Are the integers with the property of multiplication a group?

Rings Let R be a nonempty set on which there are defined two binary operations of addition and multiplication such that the following properties hold: For all a, b, c  R

Addition Properties: Closure: a + b  R Commutative: a + b = b + a Associative: a + (b + c) = (a + b ) + c Identity (Zero):  0  R such that a + 0 = 0 + a = a for all a  R Inverse:  a  R  x  R such that a + x = x+ a = 0

Multiplication Properties Closure: a  b  R Associative: a  (b  c) = (a  b)  c Distributive Property Of Multiplication over addition: a  (b + c) = ab + ac

Ring of Integers (Z, +,  ) is a ring Let E be the even integers. Is (E, +,  ) a ring?

Ring Types Commutative Ring: A ring (R,+,  ) with the commutative law of multiplication.  a, b  R, a  b = b  a. Rings with unity: A ring (R,+,  ) with a Multiplicative Identity (called unity)  e  R  a  e = e  a = a  a  R.

Exploration Is (Z,+,  ) a commutative ring with unity? Is (E,+,  ) a commutative ring with unity?

Exploration Let T = {0, e} with binary operations defined by the tables: + 0 e  0 e 0 0 e e e 0 e 0 e

Is (T,+,  ) a ring? Is it commutative ring? Is it a ring with unity?

Power Set Let P=  (A) with binary operation a + b = (a  b) \ (a  b) a  b = a  b Is (P,+,  ) a ring? Is (P,+,  ) a commutative ring? Is (P,+,  ) a ring with unity? HINT: Use Venn Diagram to verify the above.

Theorem: The zero of a ring R is unique. Theorem: If a ring has a unity, the unity is unique.

Theorem: The additive inverse of a  R is unique. Theorem: If a, b  R, a + x = b has a unique solution in R x = b - a.

Cancellation Law Of Addition If a, b, c  ring R and if a + c = b+ c, then a = b.

Integers

Division If a and b are integers with a not equal to 0, then a divides b (a | b) if there exists an integer c such that b = a * c, i.e., the quotient is an integer. If a | b, then a is a factor (or divisor) of b and b is a multiple of a. Examples: –2 | 7? –4 | 16?

Prime Numbers A positive integer p > 1 is called a prime if the only positive factors of p are 1 and p. A positive integer > 1 that is not prime is called composite. Examples: –Primes: 2, 3, 5, 7, 11,… –Is 19 prime? –Is 20 prime? No, it is composite. Factors of 20 are: 2 | 20, 4|20, 5 | 20, 10 | 20.

Fundamental Theorem of Arithmetic Every positive integer can be written uniquely as a product of primes. This is called a prime factorization. Examples: –100 = 2 * 2 * 5 * 5 = –79 = 79 (it is prime, and factors are 1 and 79) –999 =

GCD, LCM Let a and b be integers, not both 0. The largest integer d such that d | a and d | b is the greatest common divisor of a and b, i.e., the gcd(a, b). Example: –What is gcd(12, 48)? 12 because… –Positive divisors of 12 are 1, 2, 3, 4, 6, 12. –Positive divisors of 48 are 1, 2, 3, 4, 6, 12, 24, 48. The least common multiple of positive integers a and b is the smallest positive integer divisible by both a and b, i.e., the lcm(a, b). –Using prime factorizations, –lcm(a,b) = p 1 max(a1,b1) … p n max (an,bn) –Example: lcm( , ) =

Division Algorithm Let a and d be an integers, with d not = 0. Then there exist unique integers q and r, with 0 <= r < | d | such that a = d * q + r. Here, d is called the divisor, q the quotient, and r the remainder. Examples: –9 = 3 * –11 = 2 * –29 = 3 * d a q + r

The Function “mod” Let a be an integer and m a positive integer. We denote by a mod m the remainder r when a is divided by m. (a = q * m + r) If a and b are integers and m is a positive integer, then a is congruent to b modulo m if m | (a – b). We denote this as a = b(mod m). –Example: Clock notation It is possible to do modular arithmetic. See Section 2.3 of your text for details. If time permits, we will study this in class. 14 = 2(mod 12)

Modular Arithmetic and Primes 983dygg2 34sxVy3k3 Bb63ew.bl #evkwa 435 GF8 Used in RSA, one of the most popular cryptographic systems.

Thank You !!