Modular Arithmetic Lesson 4.6.

Slides:



Advertisements
Similar presentations
Mod arithmetic.
Advertisements

Congruence class arithmetic. Definitions: a ≡ b mod m iff a mod m = b mod m. a  [b] iff a ≡ b mod m.
M ODULAR A RITHMETIC Lesson 4.6. This section, we are grouping numbers, based on their reminders. 18 ÷ 4 = 4 r ÷ 4 = 5 r ÷ 4 = 19 r. 2 These.
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.
1 Discrete Structures – CNS2300 Text Discrete Mathematics and Its Applications Kenneth H. Rosen (5 th Edition) Chapter 2 The Fundamentals: Algorithms,
Lesson 6.4 Course 3 Simplify each expression Simplify each expression
September Monday Tuesday Wednesday Thursday Friday
August Monday Tuesday Wednesday Thursday Friday A
Congruence class arithmetic
AIM Determine if glow sticks and glow-in-the-dark toys react the same way to heat.
Welcome To Algebra Concept week 8
Algebra 2 EOS Fall 2016 Calendar
Days of the Week Les docs d’Estelle –
DAYS OF THE WEEK.
Sprint 5 Schedule (15 – 2 days)
September 2016 Monday Tuesday Wednesday Thursday Friday Map Testing
Modular Arithmetic and Change of Base
Week of March th grade.
Higher order questions
Course calendar (page 1 of 2)
Ms. Brantley Oct. 1-5 HOMEWORK IMPORTANT DATES. Ms. Brantley
Ms. Brantley Sept ASSESSMENTS HOMEWORK IMPORTANT DATES.
MATH 6/6+ : Monday, March 19 Objective: Agenda:
Ms. Brantley Sept. 4-7 ASSESSMENTS HOMEWORK IMPORTANT DATES.
Week 1-6.
Days of the Week Monday Tuesday Wednesday Friday Thursday Saturday
Week 1-4.
______________________________________
VETERANS DAY REVIEW Monday Tuesday
Created by: Ramona Lewis-Dailey
Home of the Mighty Eagles!
Weekly Newsletters.
Monday, FEBRUARY 5, Day 110 Welcome back! I hope you had a great weekend! Please enter quietly, distribute job cards and then fill in your agenda.
First Grade Homework Monday, January 7, 2019 –Friday, January 11, 2019
Happy Monday! Please remind your group members to “enter Quietly.”
Welcome to the Library.
MR. ORTIZ 1st GRADE HOMEWORK
Time 1.
Contact
Weekly Homework Log Name: ___________________________________ Week of:_______________________ Please make sure to bring homework back in your.
Week of December 2-6, 2013 Warm-ups.
Created by: Ramona Lewis-Dailey
Daily Schedule Homeroom 4:10-4:15 Period One 4:15-4:51 (Social Studies) Period Two 4:55-5:31 (Planning Period) Period Three 5:35-6:01 (Social Studies)
7th Grade Math Warm-ups Week of September 6-9, 2016.
Lesson Log Date: November 28 – December 2
What is the basic unit of all living things?
7th Grade Math Warm-ups Week of September 7-11, 2015.
Warm-ups Week of October 7-11, 2013.
Week of March 17-21, 2014 Warm-ups.
Week of February 3-7, 2014 Warm-ups.
Lesson 3.7 Parity Error Checking
May Monday Tuesday Wednesday Thursday Friday
Ms. Brantley Sept ASSESSMENTS HOMEWORK IMPORTANT DATES.
Week of March 24-28, 2014 Warm-ups.
Week of February 10-14, 2014 Warm-ups.
7th Grade Math Warm-ups Week of February 13-17, 2017.
Week of November 4-8, 2013 Warm-ups.
Week of November 18-22, 2013 Warm-ups.
Week of October 28- November 1, 2013
First Grade Homework Monday, March 11th –Friday, March 15, 2019
2011年 5月 2011年 6月 2011年 7月 2011年 8月 Sunday Monday Tuesday Wednesday
Monday Tuesday Wednesday Thursday Friday
Monday Tuesday Wednesday Thursday Friday
Lecture 3 Strings and Things (Section 1.1)
I hope you had a great weekend!
First Grade Homework Monday, January 21st – Friday, January 25, 2019
Please quietly have a seat and distribute the group job cards.
Monday, FEBRUARY 5, Day 110 Welcome back! I hope you had a great weekend! Please enter quietly, distribute job cards, and fill in your agenda.
Bell Work Each Friday, students will be given a bell work quiz consisting of one question from each day’s bell work that week. On the following slides.
Do Now Week #1 Quarter #2.
Presentation transcript:

Modular Arithmetic Lesson 4.6

This section, we are grouping numbers, based on their reminders. These are said to be in the same congruence class. 18 ≡ 22 (mod 4)  bc their remainders are the same

How many congruence classes are there in modulo 7? There are 7 congruence classes! R6 R0

Congruence Theorem For all integers a and b and all positive integers m, a ≡ b (mod m) iff m is a factor of a – b. ISBN and credit card check numbers are determined in some way by modular arithmetic.

Example 1 The final digit of a 12-digit Universal Product Code (UPC) is a check digit. Suppose the digits of a UPS are represented by X1X2X3X4X5X6-X7X8X9X10X11Xc To calculate the check digit Xc, first compute 3(X1+X3+X5+X7+X9+X11) + (X2+X4+X6+X8+X10) (mod 10). If this number is zero, then Xc=0, If not, subtract the number from 10. Determine the check digit of 300219 – 09529 3(3 + 0 + 1 + 0 + 5 + 9) + (0 + 2 + 9 + 9 + 2) = 3(18) + (22) = 76 ÷ 10 = 7 r. 6 So Xc=4

Example 2 Use modular arithmetic to explain why a date that falls on Friday this year will fall on Wednesday four years from now. 365 days in a year + 1 leap year! 1461 days ÷ 7 days in a week = 208 weeks r. 5 Friday – r. 0 Tuesday – r. 4 Sat. – r.1 Wednesday – r. 5 Sun. – r.2 Thursday – r. 6 Monday – r.3

Example 3 Find the smallest positive value of n for which n – 32 ≡ 75 (mod 11) n ≡ 107 (mod 11) Congruence class of R8 n = 8

Homework Pages 261 – 262 1-3, 5-11, 19