Connecting School Subjects To The Real World

Practical Applications of Number Theory

Number Theory is the branch of mathematics that studies whole numbers such as 1, 2, 3, 4, 5, … and their properties like factors, multiples, primes, remainders. These ideas look simple but they control many modern machines and digital systems.

Machines

Gear systems – HCF denotes number of gear teeth that fall into repeated contact patterns i.e. how often the same pair of teeth touch. LCM denotes the time period of full gear cycle i.e. when both gears return to the starting point. Thus engineers use HCF and LCM to choose the number of teeth for the gear system and to understand how frequently a particular pair of tooth comes into contact with each other which gives an idea of wear and tear of gear teeth.

Smaller HCF means smoother and long lasting gear operation. Best is when HCF is ‘1’, meaning prime number of tooth gears which ensures that every tooth giving equal wear and tear. Imagine two gears: Gear A has 10 teeth, and Gear B has 20 teeth.

  • The Problem – Since the HCF of 10 and 20 is 10, the same teeth hit each other constantly. If Gear A has one chipped tooth, it will hit only two specific teeth on Gear B over and over, destroying them quickly.
  • The Number Theory Solution – If you change Gear B to have 21 teeth (HCF of 10 and 21 is 1), every tooth on Gear A will eventually touch every single tooth on Gear B before the pattern repeats. This distributes the “wear and tear” evenly across the entire gear, making the machine last years longer.

This helps in understanding wear and tear distribution, requirement of gear lubrication and smoothness of operation. Gears find application in cars, bikes, wind turbines, clocks and watches and also industrial conveyor belts.

Automotive robots –  In car manufacturing, one robot places a car door every 12 seconds and another robot welds it every 18 seconds. Then they align at the LCM of their duration i.e. every 36 seconds. This ensures robotic arms are in alignment, both return to their starting position before starting the next cycle at the same instant. This ensures smooth production process with no bottlenecks.

Time and Rhythm

Scheduling Algorithms – Scheduling means who goes first, who goes next, and when. The LCM concept helps decide timing, avoid clashes, organize tasks and keep systems running smoothly. These algorithms are used in train timetables, CPU task order, exam schedules, factory robots etc. 

Inside a computer, many programs run at the same time — music is playing, a browser is open, antivirus is scanning, a game is running, and updates may be downloading. All of them need the CPU, but the CPU can only work on one task at a time. So it quickly switches between them, giving each program a very tiny time slice. Some programs need attention every 2 milliseconds, some every 3 milliseconds, and others every 5 milliseconds. The CPU looks for a common time pattern that fits all of them, which is the LCM (least common multiple) of these times — in this case, 30 milliseconds. Every 30 milliseconds, each program has received its required turn at least once. This organised cycling prevents any one program from being ignored (starvation), avoids the system freezing, and keeps performance smooth and fair. In this way, the LCM quietly acts like a traffic controller inside your computer, regulating the flow of digital work so everything runs together without crashing or lagging.

In a power grid, many power plants and consumers must stay perfectly coordinated so electricity is delivered smoothly and safely. Different generators and control systems operate on repeating time cycles — for example, one system checks voltage every 4 seconds, another balances load every 6 seconds, and another adjusts frequency every 10 seconds. If these actions happen randomly, the grid can become unstable, causing fluctuations or even blackouts. Scheduling algorithms use the idea of LCM (least common multiple) to find a common repeating time pattern for all these control actions. For example, LCM(4, 6, 10) = 60 seconds, so every 60 seconds the full pattern of monitoring and adjustment repeats in an organised way. This ensures that all parts of the grid get regular attention, no generator is ignored, and supply stays matched with demand.

Sound engineering and musical scales – Why do some notes sound good together i.e harmonius while others sound bad i.e. in dissonance? It’s all about the Ratio of Frequencies. If the ratio of two notes is a simple fraction (like 2:3, a perfect fifth), the waves align frequently due to a low LCM. If the ratio involves large prime numbers, the waves do not align with each other, creating a harsh sound.

Digital Security

Cryptography – Prime numbers are the building blocks of Number Theory and powerful tools in computing. In cryptography, keeping data secret depends heavily on very large prime numbers. The key idea is simple: it is easy for a computer to multiply two big prime numbers together, but it is extremely hard to reverse the process and break the result back into its original prime factors. This one-way difficulty is what makes digital locks strong. When you send a message on WhatsApp, use online banking, swipe a credit card, or store government and company records, this prime-number logic is working silently in the background to protect your information. Hackers may see the scrambled data, but without knowing the original prime numbers, they cannot unlock it. In this way, number theory becomes the hidden language of security, turning mathematical rules into real-world protection for money, messages, and national records.

Hashing – Hashing means converting a large piece of information, such as a password or a message, into a short fixed-length number code. Instead of storing your actual password, a computer uses mathematical rules based on division, remainders, and prime numbers to turn it into a special number pattern. This pattern looks random and cannot easily be changed back into the original password. When you log in, the computer hashes the new input again and checks if the two codes match. In this way, your real password is never stored directly. 

Data Reliability

Error Correction Codes  Think of error correction like sending an important message with a built-in checking system. Before data is sent or stored, the computer turns it into numbers and adds a few extra check numbers using simple maths such as division and remainders. These extra numbers act like clues about what the original data should look like. When the data is received, the computer repeats the same calculations. If the new remainders do not match the original ones, it means something went wrong — just like noticing a wrong total in a bill means a mistake was made somewhere. Using number patterns (often based on prime numbers), the computer can even figure out where the mistake happened and fix it automatically.

So, error correction codes work like a self-checking and self-repairing system for data, using number theory to make sure information arrives correctly instead of getting damaged along the way. Error correction codes find applications in:

  • Mobile networks – by fixing millions of errors per second in the weak signals maintain the audio quality.
  • Wi-Fi – maintaining quality of signal constant
  • QR codes – these work even when scratched or damaged up to 30%
  • CDs and DVDs – play music/video correctly despite scratches by reconstructing the missing parts of data
  • Deep space communication – identifying very weak signals from spacecrafts.

Compression – Compression means making a file smaller without losing its meaning or usefulness. Instead of storing every piece of data separately, a computer looks for patterns and repetitions in the information. For example, if the same numbers, letters, or bits appear again and again, the computer replaces them with shorter codes based on simpler maths concepts like counting, grouping, and remainders. These number patterns help the computer describe the same information using fewer digits. When the file is opened again, the computer uses the same rules to rebuild the original data perfectly. In this way, number theory helps computers pack information more tightly, so files take up less storage space and can be sent much faster over the internet.

ISBN and Barcodes – Every book you buy has an ISBN number, and every product has a Barcode. The last digit of these numbers is a Check Digit calculated using a Number Theory formula (often involving remainders of 10 or 11). If a cashier mistypes one digit of a product code, the Number Theory formula fails, and the computer instantly knows there is an error. This prevents billion-dollar billing mistakes in global trade.

Quantitative Research

Pattern Detection – Computers must find patterns in data. For example detecting fraud, recognising faces, finding repeated signals, spotting viruses. They often check which numbers divide evenly, which patterns repeat, which sequences match and which remainders appear. So number theory helps computers recognise hidden patterns, separate signal from noise and find meaning in large data.

Random Sampling & Randomization – The problem in research is when you select people, trials, or data points, you must avoid hidden patterns (bias). If you sample every 10th person or every 20th record, patterns can sneak in. This is where prime numbers help.Prime numbers don’t divide neatly into common cycles. So researchers use prime-based steps like every 101st record or every 103rd observation. This avoids periodic bias, repeated patterns, alignment with calendar cycles. Primes thus help make sampling fairer and more random-like.

Leave a Reply

Discover more from Why Do We Study

Subscribe now to keep reading and get access to the full archive.

Continue reading