Have you ever noticed how clocks restart after 12 or 24 hours? Or how the days of the week cycle every 7 days? That’s modular arithmetic in action! 🔁🕒
Modular arithmetic is a system of arithmetic where numbers “wrap around” after reaching a certain value — called the modulus. It’s also called “clock arithmetic” because it behaves like a clock!
In this lesson, you’ll learn how to:
The expression a mod n means: the remainder when a is divided by n.
Example:
Because 17 ÷ 5 = 3 remainder 2
Other Examples:
In modulo arithmetic, we apply the operation normally, then find the remainder when divided by the modulus.
Example:
Example:
Remember: If the result is negative, keep adding the modulus until it’s positive.
Example:
Modular arithmetic appears in many everyday systems:
✏️ A. Find the value of each expression:
✏️ B. Apply to real-life:
Think of any system in your life that “resets” after a certain point — like traffic light cycles, sports rotations, or weekly class timetables. How does modular thinking help you manage time and repetition better?