The Chinese Remainder Theorem A presentation by Vincent Kusiak.

Slides:



Advertisements
Similar presentations
The Rational Zero Theorem
Advertisements

Mod arithmetic.
Section 6.6 Finding Rational Zeros. Rational Zero Theorem Synthetic & Long Division Using Technology to Approximate Zeros Today you will look at finding.
1 Section 2.4 The Integers and Division. 2 Number Theory Branch of mathematics that includes (among other things): –divisibility –greatest common divisor.
22C:19 Discrete Structures Integers and Modular Arithmetic
Chapter 8 More Number Theory. Prime Numbers Prime numbers only have divisors of 1 and itself They cannot be written as a product of other numbers Prime.
CENG536 Computer Engineering department Çankaya University.
22C:19 Discrete Math Integers and Modular Arithmetic Fall 2010 Sukumar Ghosh.
Pigeons, Integer Equations, and Congruence Sections 8.8 and 10.1 to 10.3.
prime numbers: facts and discoveries
Fall 2002CMSC Discrete Structures1 Let us get into… Number Theory.
The Rational Zero Theorem
The Fundamental Theorem of Algebra And Zeros of Polynomials
Whole Numbers Are the whole numbers with the property of addition a group?
9/2/2015Discrete Structures1 Let us get into… Number Theory.
Introduction to Modular Arithmetic and Public Key Cryptography.
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.
Sequences and Series (T) Students will know the form of an Arithmetic sequence.  Arithmetic Sequence: There exists a common difference (d) between each.
MATH 224 – Discrete Mathematics
Number-Theoretic Algorithms
Pythagorean Theorum Shaikh albuainain. The Pythagorean theorem has its name derived from the ancient Greek mathematician Pythagoras (569 BC-500 BC). Pythagoras.
Mathematics Review Exponents Logarithms Series Modular arithmetic Proofs.
Chapter 4 Number Theory in Asia The Euclidean Algorithm The Chinese Remainder Theorem Linear Diophantine Equations Pell’s Equation in Brahmagupta Pell’s.
The Rational Zero Theorem The Rational Zero Theorem gives a list of possible rational zeros of a polynomial function. Equivalently, the theorem gives all.
Bell Ringer 1. What is the Rational Root Theorem (search your notebook…Unit 2). 2. What is the Fundamental Theorem of Algebra (search your notebook…Unit.
P1. Public-Key Cryptography and RSA 5351: Introduction to Cryptography Spring 2013.
Section 3.3 Real Zeros of Polynomial Functions. Objectives: – Use synthetic and long division – Use the Remainder and Factor Theorem – Use the Rational.
Section 9.1.  According to the U.S. Environmental Protection Agency, each American produced an average of 978 lb of trash in  This increased to.
YSLInformation Security -- Public-Key Cryptography1 Prime and Relatively Prime Numbers Divisors: We say that b  0 divides a if a = mb for some m, where.
Chinese Remainder Theorem Dec 29 Picture from ………………………
Modular (Remainder) Arithmetic n = qk + r (for some k; r < k) eg 37 = (2)(17) + 3 Divisibility notation: 17 | n mod k = r 37 mod 17 = 3.
Network and Computer Security (CS 475) Modular Arithmetic
Chinese Remainder Theorem. How many people What is x? Divided into 4s: remainder 3 x ≡ 3 (mod 4) Divided into 5s: remainder 4 x ≡ 4 (mod 5) Chinese Remainder.
Arithmetic OperatorOperationExample +additionx + y -subtractionx - y *multiplicationx * y /divisionx / y Mathematical FormulaC Expressions b 2 – 4acb *
HIGH SCHOOL: Algebra Perform arithmetic operations on polynomials. A-APR.1. Understand that polynomials form a system analogous to the integers, namely,
‽ Born in 220 B.C. and lived until 280 B.C. ‽ Lived in Northern Wei Kingdom during 3 rd Century Nobody really knows anything else about his life!
Copyright © Cengage Learning. All rights reserved. CHAPTER 8 RELATIONS.
Chinese Remainder Theorem Ying Ding Junru Chen. Chinese Remainder Theorem Sun Zi suanjing ( 孫子算經 The Mathematical Classic by Sun Zi) Shushu Jiuzhang (
Introduction to Elliptic Curves CSCI 5857: Encoding and Encryption.
Chapter 13 Mathematic Structures 13.1 Modular Arithmetic Definition 1 (modulo). Let a be an integer and m be a positive integer. We denoted by a mod m.
Discrete Mathematics
Lecture 2-3 Basic Number Theory and Algebra. In modern cryptographic systems, the messages are represented by numerical values prior to being encrypted.
Heron's formula In geometry, Heron's (or Hero's) formula, named after Heron of Alexandria, [1] states that the area T of a triangle whose sides have lengths.
Modular Arithmetic Created by previous Honors Pre- Calculus students.
1 Discrete Structures – CNS2300 Text Discrete Mathematics and Its Applications Kenneth H. Rosen (5 th Edition) Chapter 2 The Fundamentals: Algorithms,
Chapter 4 With Question/Answer Animations 1. Chapter Summary Divisibility and Modular Arithmetic - Sec 4.1 – Lecture 16 Integer Representations and 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.
Week 8 - Monday.  What did we talk about last time?  Properties of functions  One-to-one  Onto  Inverses  Cardinality.
Number-Theoretic Algorithms
Chapter Applications of Number Theory Some Useful Results
Integers and Division Section 3.4.
Chinese Remainder Theorem
Number Theory and Cryptography
MATH301- DISCRETE MATHEMATICS Copyright © Nahid Sultana Dr. Nahid Sultana Chapter 4: Number Theory and Cryptography.
Review # 2 Math 8.
Prime and Relatively Prime Numbers
Modular Arithmetic and Change of Base
Copyright © Cengage Learning. All rights reserved.
Modular Arithmetic ICS 6D Sandy Irani.
Modular Arithmetic and Elliptic Curves
CMSC 203, Section 0401 Discrete Structures Fall 2004 Matt Gaston
Section 10.3 Modular Arithmetic
Divisibility and Modular Arithmetic
Applied Discrete Mathematics Week 10: Introduction to Counting
Miniconference on the Mathematics of Computation
Lecture 2-3 Basic Number Theory and Algebra
Section 9.3 Modular Arithmetic.
Presentation transcript:

The Chinese Remainder Theorem A presentation by Vincent Kusiak

Origins First developed in the third century A.D. by Chinese mathematician Sun Tzu- unfortunately not the same as his more famous countryman who authored the Art of War Re-published in a 1247 book by Qin Jiushao, titled “Mathematical Treatise in Nine Sections”

Modular Arithmetic The theorem only applies in modular arithmetic. Specifically, when we have the relationship x = k mod j, where x minus k equals some number which is a multiple of j. For example, 38 = 14 mod 12 We can see, then that k is broken up into multiple ‘classes’, with any given k +/- j

So what the heck is it?

Well first… You need a set of numbers that are pairwisecoprime integers; {9,10,19} or {10,7,33,13} That is, a set of numbers that, when paired, are only divisible by 1; {9,10} or {33,13} The theorem states that for any set of these integers n1, n2… nk and any given integers a1, a2… ak, there exists an X such that— X = a1 mod n1, X = a2 mod n2… X = ak mod nk

A problem— Just by knowing the truth of the theorem, can you figure out what X must be in the system X = 2 mod 3 X = 3 mod 4 X = 1 mod 5

A simple(ish) proof X = 2 mod 5 gives X = 5k + 2 X = 1 mod 11 X = 4 mod 19 X = 5k + 2 = 1 mod 11 so 5k = -1 mod 11 which via equivalence classes is 5k = 10 mod 11, thus k = 5 mod 11

SO… k = 11j +2 and thus X = 5(11j + 2) + 2 and THUS X = 5(11j) + 12 = 4 mod 19 so 5 * 11 * j = -8 mod 19 so 5 * 11 * j = 11 mod 19 So 5j = 1 mod 19 And j = 4 mod 19 because 4 * 5 -1 = 19 So j = 19m + 4 and so X = 5 * 11 * 19m +5 * 11 * Phew.