UK Mathematics Trust Webinar


UK Mathematics Trust Webinar

Anna
Welcome! Today we’re exploring modular arithmetic: a way to reason about remainders that also gives us useful shortcuts and some striking patterns. We’ll start with the basic idea, try arithmetic examples, and then investigate multiplication tables.

Michael
And a quick bit of context: UK Mathematics Trust is a charity devoted to advancing young people’s mathematics education. Its activities include competitions, a mentoring scheme, events, and books. In the webinar, participants could use chat, polls, and email to share their thinking.

Anna
The opening challenge questions involved remainders. That’s a good entry point, because remainders show up in many areas of mathematics, as well as computer science and cryptography—the study of encoding and decoding messages.

Michael
Let’s build the idea from a simple example: 3248 leaves remainder 8 when divided by 10. There are several ways to say the same thing. It’s 8 more than a multiple of 10, so we can write 3248 = 8 + 10n for some whole number n.

Anna
We can also say that 3248 minus 8 is divisible by 10, or that 10 is a factor of 3248 minus 8. And in the shorthand of modular arithmetic, we write: 3248 is congruent to 8 modulo 10, often shortened to “mod 10.”

Michael
That three-line symbol means “is congruent to.” These statements capture the same relationship in different ways. The shorthand is useful because the idea comes up so often in more advanced mathematics.

Anna
Here’s an example that shows why congruence is broader than just naming a remainder. In the mod 3 world, 47 is congruent to 2, because both leave remainder 2 when divided by 3. Equivalently, 47 minus 2 is 45, which is divisible by 3.

Michael
But 2 isn’t the only number congruent to 47 mod 3. The numbers 5 and 8 work too, because 47 minus 5 is 42 and 47 minus 8 is 39, both divisible by 3. Even minus 1 works: 47 minus minus 1 is 48, also divisible by 3.

Anna
So there are infinitely many numbers congruent to 47 mod 3: you can keep adding or subtracting multiples of 3. That’s why it’s often more flexible to think in terms of differences being divisible by the modulus, rather than only asking what remainder a number leaves.

Michael
And a special case is that any number is congruent to itself. For instance, 47 minus 47 is zero, and zero is divisible by 3—it’s 3 times zero. So 47 is congruent to 47 mod 3.

Anna
Let’s try adding in a modular world. For 37 plus 59 modulo 4, one approach is to add first: 37 plus 59 is 96, a multiple of 4, so the sum is congruent to 0 mod 4.

Michael
There’s a shortcut, though. Since 37 is one more than a multiple of 4, it’s congruent to 1. And 59 is one less than a multiple of 4, so it’s congruent to minus 1. Add those simpler equivalents: 1 plus minus 1 is 0.

Anna
That same idea works for multiplication. In mod 4, 37 is congruent to 1 and 59 is congruent to minus 1. So 37 times 59 is congruent to 1 times minus 1, which is minus 1—or, equivalently, 3—mod 4.

Michael
This can save us from large calculations. If we only need an answer modulo some number, we can replace numbers with simpler congruent ones before doing the arithmetic. The webinar also pointed out that careful use of this idea can keep calculations involving large powers manageable for a computer.

Anna
A picture may help: imagine wrapping the number line around a tin with seven positions around it. Starting at zero, the numbers 0 through 6 land in those positions; then 7 lands above 0, 8 above 1, and 9 above 2.

Michael
Keep going and each position collects all the numbers congruent to one another mod 7. For example, minus 7, 0, 7, 14, and 21 all sit in the same column. Minus 1, 6, 13, and 20 sit in another. In the mod 3 world, there would be just three columns.

Anna
That picture leads into our investigation: multiplication tables modulo different numbers. Unlike an ordinary multiplication table, we only need one heading for each type of number in that modular world. For mod 5, we can use 0, 1, 2, 3, and 4 along the top and down the side.

Michael
Let’s fill in a few entries. Multiplying by zero gives zero, and the row for 1 simply repeats the headings. For 2 times 3, the ordinary product is 6, but 6 is congruent to 1 mod 5, so we write 1 in the table.

Anna
We use only the headings 0 through 4 in the grid, rather than writing larger products like 6. That keeps equivalent values represented consistently and makes the patterns easier to see.

Michael
The full mod 5 table, with headings in the order 0, 1, 2, 3, 4, has rows: 0, 0, 0, 0, 0; then 0, 1, 2, 3, 4; then 0, 2, 4, 1, 3; then 0, 3, 1, 4, 2; and finally 0, 4, 3, 2, 1.

Anna
Try making tables mod 2, mod 3, and mod 4, then continue with other moduli if you like. Choose one heading for each type of number, and look for features that repeat: zeros, symmetry, repeated blocks, or rows and columns with a particular pattern.

Michael
Several patterns appeared across the tables. There are zeros across the top row and down the first column, because multiplying by zero gives zero. There’s also a diagonal line of symmetry from the top left to the bottom right.

Anna
That first diagonal comes from multiplication being commutative: switching the factors doesn’t change the product. Three times two equals two times three, so the entries on opposite sides of that diagonal match.

Michael
The tables also have a less familiar pattern: apart from the zeros, the mod 5 table has a symmetry across the other diagonal. For example, 3 times 1 and 4 times 2 are both congruent to 3 mod 5.

Anna
To see why, remember that headings stand for whole families of congruent numbers. In mod 5, 4 can be viewed as minus 1, and 2 can be viewed as minus 3. So 4 times 2 is represented by minus 1 times minus 3, which is 3. The two minus signs cancel.

Michael
Other patterns depend on the modulus. In tables for even moduli, the middle row can alternate between values as you move across. The last row and last column also count down through the headings, and the bottom-right entry is 1.

Anna
Some rows contain every heading once, while others repeat values. The mod 5 table has a row with each value occurring, but the mod 6 table does not have that same feature. And mod 10 can look like an ordinary multiplication table focused on the units digits.

Michael
Those observations are a starting point, not the end. A mathematician asks whether a pattern holds for every modulus, only for even or odd moduli, or perhaps only for prime moduli. Then we look for an explanation, rather than relying on a few examples.

Anna
The tables can also help us think about squares: square numbers appear along the main diagonal, where each heading is multiplied by itself. Modular arithmetic can sometimes rule out the possibility that a number is a square, by looking at the square values available in a particular modular world.

Michael
There are useful links to divisibility tests, too. For example, a number and the sum of its digits leave the same remainder when divided by 9. That lets you work with the digit sum instead of the original number when finding its remainder mod 9.

Anna
The webinar also pointed to deeper topics and applications: Fermat’s little theorem, the Chinese remainder theorem, and the RSA cryptosystem, which is used for encryption online. They’re all further directions for exploring modular arithmetic.

Michael
And UKMT problems offer a place to practise. The webinar shared several competition and mentoring questions, including one linked to the opening remainder challenge. The invitation was to try them at your own pace and consider whether modular arithmetic offers a helpful approach.

Anna
So the main habit to take away is this: when a problem involves remainders, look for numbers that differ by a multiple of the modulus. Replace large values with simpler congruent ones, and see whether a table or another modular pattern can reveal what’s going on.

Michael
And keep investigating. Build tables, record patterns, and ask why they happen—and whether they still hold for a much larger modulus. That’s how a simple idea about remainders can open the door to a surprisingly rich area of mathematics.

Ask anything
We've read this whole study set, so questions about it get the best answers.