How QR codes survive damage: a maths EPQ idea
A title to start from
How can a damaged QR code still be read? The mathematics of error-correcting codes
Why it works as an EPQ
Parity checks and Hamming codes are learnable and testable, and lead naturally to the codes used in QR codes.
Scope and difficulty
Solid. Solid. Hamming codes fully; Reed–Solomon codes described rather than derived.
The maths
Builds on these A Level topics: Algebra and functions · Probability.
You would learn:
- Parity and check digits
- Hamming distance and Hamming codes
- Binary arithmetic
One possible plan
- Explain check digits (for example on books) and what errors they catch.
- Build the Hamming (7,4) code and prove it corrects one error.
- Test it by flipping bits at random in code.
- Explain how stronger codes allow QR codes to survive damage, and judge the trade-off with data size.
Pitfalls
- Not separating error detection from correction.
- Claims about QR versions without a source.
Where to start reading
- Search for: Hamming 7,4 code explained
- Search for: QR code error correction levels Reed-Solomon
Making something? Read the artefact guide first: an artefact still needs a research-based written report.
Similar ideas
- How compression makes files smallerHow can a file be made smaller without losing anything, and what is the limit?
- How a neural network learnsHow does a neural network learn, and how much of it is calculus you already know?
- Quick routes for the travelling salesmanHow close can quick methods get to the best route in the travelling salesman problem?
- How computers fake randomnessHow can a computer, which follows rules, produce random numbers, and how random are they?
All maths and computer science ideas · all 93 ideas
Your EPQ must be your own work. These pages coach: ideas, structure, checklists and planning. Submitting text, proofs, code or analysis written by someone else or by an AI tool as your own is malpractice. How to use help and AI honestly.