Teacher Guide: Modular Arithmetic
Learn clock arithmetic: remainders, a mod n, congruence modulo n, and how to use them for calendars, check digits and the last digit of huge powers.
Use this lesson with your class
Free, no student accounts needed.
Share with students
Students open the lesson and practise with instant feedback.
Class quiz
10 questions on Number Properties. Students join with a name, you see everyone's score.
For Teachers
- Find for positive and negative whole numbers
- Decide whether two numbers are congruent modulo using remainders or their difference
- Add, subtract and multiply modulo by reducing the numbers first
- Solve clock and calendar problems with modulus 12, 24 and 7
- Use power cycles and check digits (EAN-13, ISBN-10) as applications of modular arithmetic
- • Division with remainder of whole numbers
- • Even and Odd Numbers (lesson 1 of this topic): even and odd are the remainders 0 and 1 modulo 2
- • Multiples, factors and divisibility
- • Powers with whole-number exponents
- 1. A clock shows 9. What will it show in 100 hours, and how could you find it without counting hour by hour?
- 2. Why do days of the week repeat every 7 days, and what does that have to do with remainders?
- 3. Is congruent to modulo 12? What does that mean on a clock?
- 4. How can a barcode scanner notice that one digit was misread?
The result of is the quotient of the division
Remediation: Always write the full line and circle . On the clock dial, the quotient is the number of laps, the remainder is where the hand stops.
The remainder of a negative number is negative ()
Remediation: Let students move the hand backwards on the dial: 3 hours back from 12 is 9. Then show the rule: add 12 until the number is between 0 and 11.
Congruent means equal, so must be false
Remediation: Show both numbers on the congruence dial: they land on the same spot. Congruent means same remainder, and the difference is a multiple of 12.
For Struggling Students:
- • Start with the clock only (modulus 12) and small numbers of hours before using other moduli
- • Use a printed dial and let students move a counter step by step before using division
- • Practice the line with a times table at hand
For On-Level Students:
- • Solve weekday problems for 100, 365 and 1000 days
- • Reduce first in sums and products, then check with the calculator using mod(a, n)
- • Find the cycle of last digits for powers of 2, 3, 7 and 9
For Advanced Students:
- • Prove the reduce-first rule for products with and
- • Show that an ISBN-10 check detects every single wrong digit, using that 11 is prime
- • Find all solutions of and explain why has none
- 6.NS.B.2 (CCSS.MATH.CONTENT.6.NS.B.2)
Fluently divide multi-digit numbers using the standard algorithm
- 4.OA.B.4 (CCSS.MATH.CONTENT.4.OA.B.4)
Find all factor pairs for a whole number and recognize multiples
- MP.7 (CCSS.MATH.PRACTICE.MP7)
Look for and make use of structure
- MP.8 (CCSS.MATH.PRACTICE.MP8)
Look for and express regularity in repeated reasoning
- visualInteractive Modular Clock
Students add 100 hours or 100 days on a dial, count the laps and read off the remainder
- activityCalendar Detective
Pairs find the weekday of their birthday next year and of a date 1000 days from today, then check with a real calendar
- worksheetCheck Digit Lab
Students check real barcodes and ISBNs from classroom books and find which one has a typo
Lesson Content
Everything students see: definition, examples, common mistakes, applications. Tap to open.
Lesson Content
Everything students see: definition, examples, common mistakes, applications. Tap to open.
Definition
Glossary
- Modulus
- The fixed number you divide by; the remainders are (12 on a clock, 7 for weekdays)
- Remainder
- What is left over after dividing: in with it is
- a mod n
- The remainder of divided by , for example and
- Congruent modulo n
- Two numbers with the same remainder modulo , written ; equivalently divides
- Cycle length
- How many steps it takes until the remainders of powers start to repeat, for example 4 for the last digits of powers of 3
- Check digit
- An extra digit at the end of a code (barcode, ISBN) chosen so that a weighted sum is divisible by 10 or 11
Formula Card
Division with remainder
$r$ is $a \bmod n$, $q$ is the quotient
Congruence
Same remainder, or: the difference is a multiple of $n$
Reduce first
The same works for subtraction and multiplication
Negative numbers
Add a multiple of $n$ until the number lands in $0, \ldots, n - 1$: $-3 + 12 = 9$