Modular Arithmetic.

Slides:



Advertisements
Similar presentations
Division & Divisibility. a divides b if a is not zero there is a m such that a.m = b a is a factor of b b is a multiple of a a|b Division.
Advertisements

Mod arithmetic.
LESSON PLAN CLASS 10th SUBJECT MATHS TIME: 35min.
Chapter 4 Finite Fields. Introduction of increasing importance in cryptography –AES, Elliptic Curve, IDEA, Public Key concern operations on “numbers”
Cryptography and Network Security Chapter 4 Fourth Edition by William Stallings.
Chapter 4 – Finite Fields. Introduction will now introduce finite fields of increasing importance in cryptography –AES, Elliptic Curve, IDEA, Public Key.
Remainder and Factor Theorems
CONCEPTUAL ARITHMETIC METHODS WITH DECIMALS Division.
Example 1 Dividing Integers Same sign, so quotient is positive. 5 = a. 8 – 40 – b. 14 – 2 = 7 – Different signs, so quotient is negative. c. 9 – 36 = 4.
Rational Zeros Theorem Upper & Lower Bounds Long Division
How do we divide decimals?
Mathematics of Cryptography Part I: Modular Arithmetic
When dividing a decimal by a whole number, place the decimal point in the quotient directly above the decimal point in the dividend. Then divide as you.
Unit 3 Lesson 2: Rational Expressions
Rationals- Synthetic Division POLYNOMIAL DIVISION, FACTORS AND REMAINDERS Synthetic division is an alternative method to dividing rationals. The great.
Lesson 2.3 Real Zeros of Polynomials. The Division Algorithm.
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.
And the zeros are x =  3, x = , and x = 2 Since the remainder is –64, we know that x + 3 is not a factor. Quotient Divisor Dividend.
Dividing Rational Numbers Rational Numbers ~. Dividing Rational Numbers RULES: RULES: 1. When multiplying or dividing integers with the same signs, the.
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
Basic Math skills Lesson 6: Dividing Whole Numbers p
Operations on Rational Expressions MULTIPLY/DIVIDE/SIMPLIFY.
REAL NUMBERS. INTRODUCTION  We all know four fundamental operations of addition, subtraction, multiplication and division, which we have applied on.
Number Theory. Introduction to Number Theory Number theory is about integers and their properties. We will start with the basic principles of divisibility,
Do Now: Divide Write out as much work as possible. Don’t divide in your head
2.3: Polynomial Division Objectives:
Division of Polynomials
Warm-ups Week 8 10/8/12 Find the zeros of f(x) = x3 + 2x2 – 13x + 10 algebraically (without a graphing calculator). What if I told.
Section 5.4 – Dividing Polynomials
Mathematics Introduction & Formulas. Number System Number System is a writing system for expressing numbers.
5 Rational Numbers: Positive and Negative Decimals.
Introduction to Cryptography
Chapter 1 Section 6.
More about Polynomials
Sullivan Algebra and Trigonometry: Section 5
Applied Discrete Mathematics Week 4: Number Theory
CMP 131 Introduction to Computer Programming
Real Number System.
Unit 1. Day 8..
Revision on Polynomials
Polynomial Long Division
Unit 1. Day 7..
Prime and Relatively Prime Numbers
Modular Arithmetic and Change of Base
Multiply & Divide Integers
Division of Polynomials
#1 Dividing by a Whole Number
MATH TERMS Terms we need to know!.
Division by One Digit Divisors
More Maths Programming Guides.
Unit 1. Day 8..
1-8 Multiplying and Dividing Integers
Modular Arithmetic and Elliptic Curves
11.5 Dividing Polynomials.
FACTORS & MULTIPLES . Powerpoint hosted on
Multiplying and Dividing Integers
Applied Discrete Mathematics Week 10: Introduction to Counting
Divide Remainder forms a fraction Step 1: Step 1: Step 2:
CLOCK ARITHMETIC.
divide dividend divisor inverse operations quotient
Miniconference on the Mathematics of Computation
Ch. 5 Polynomials BINGO.
Division Opposite of multiplication.
Dividing Integers ÷ = + ÷ = + ÷ = + ÷ =.
Section 2.4: Real Zeros of Polynomial Functions
Number Theory.
Say the decimal properly. Write the fraction, then simplify.
Division Vocabulary Review.
Divide two Integers.
Presentation transcript:

Modular Arithmetic

Introduction to “Mods” Modular arithmetic is just a fancy phrase for a subject dealing with remainders. Before we get into this, please note that we’re restricting the dividend, divisor, and remainder to integral (which means they are also rational and real) values.

Introduction to “Mods” Contd. When we say 𝑎 𝑚𝑜𝑑 𝑚= 0, we mean that 𝑚|𝑎, or “m evenly divides a”. When we say 𝑎 𝑚𝑜𝑑 𝑚 = 1, we mean that 𝑚 | (𝑎−1) Alternatively, it means that when a is divided by m, it shall leave a remainder of 1.

Introduction to the “Arithmetic” But note that if 𝑚 | (𝑎−1), then 𝑚|(𝑎+𝑚−1) To take it a step further, we can say 𝑚|(𝑎+𝑥𝑚−1) for any integer x (whether positive or negative). This is a simple application of modular arithmetic With this information, we can confidently say that when 𝑎 = 𝑏 𝑚𝑜𝑑 𝑚, we know that 𝑎 = 𝑏 + 𝑥𝑚 for some integer x.