Skip to main content

Maths and computer science · Solid · Dissertation or artefact

How compression makes files smaller: a maths EPQ idea

A title to start from

How can a file be made smaller without losing anything, and what is the limit?

Make it your own, then check your title.

Why it works as an EPQ

Huffman coding is a short algorithm with a proof of optimality, and entropy gives a clear limit to test against.

Scope and difficulty

Solid. Solid. Huffman coding and entropy on texts you choose.

The maths

Builds on these A Level topics: Probability · Exponentials and logarithms.

You would learn:

One possible plan

  1. Build Huffman codes by hand for small texts.
  2. Calculate the entropy and compare average code length with it.
  3. Implement it and test on English text, code and random data.
  4. Judge why some files barely compress.

Pitfalls

Where to start reading

How to reference these.

Making something? Read the artefact guide first.

Frequently asked questions

Is this a good maths EPQ idea?

It can be. We rate it Solid: it needs some new maths learned on your own. Huffman coding and entropy on texts you choose.

What maths does this EPQ use?

It builds on these A Level topics: Probability; Exponentials and logarithms. You would learn: Prefix codes and binary trees; Entropy; Optimality of Huffman codes.

Next step

Turn this idea into your own title, then check it in two minutes.

Check your title

Plan your timeline · How it is marked · Dissertation structure

Revising A Level Maths too? A free account saves your practice and progress. Join free · Sign in

Similar ideas

All maths and computer science ideas · all 93 ideas

Your EPQ must be your own work. How to use help and AI honestly.

The Extended Project Qualification is offered by several awarding bodies, including AQA, Pearson Edexcel, OCR and WJEC/Eduqas. A Level Math Revision is independent and is not affiliated with or endorsed by any awarding body or university. Summaries of the rules are in our own words: your school and your board's specification have the final say. Every idea here is our own.