Abstract
Compression of files is an important practical question. Memory is always a limiting resource so if our files can be stored in a more economic fashion, this has to be done. Some files, like pictures, contain a lot of redundancy and can be compressed significantly even without loss of quality of pictures. Firstly, we assume that the frequency of each symbol is known and introduce optimal Huffman’s code which encodes information using variable-length strings to represent symbols depending on how frequently they appear. Secondly, we give a glimpse of the combinatorial approach to the problem of compressing data whose source is unknown. These codes are called universal. We describe Fitingof’s compression codes that have an elegant polynomial-time decoding procedure using the Pascal triangle.
Good things, when short, are twice as good.
Baltasar Gracián y Morales (1601–1658)
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
The triangle is called after French mathematician Pascal, although it had been described centuries earlier by Chinese mathematician Yanghui almost 500 years earlier, and the Persian astronomer Omar Khayyám, who is better known for his poetry.
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
Copyright information
© 2020 Springer Nature Switzerland AG
About this chapter
Cite this chapter
Slinko, A. (2020). Compression. In: Algebra for Applications. Springer Undergraduate Mathematics Series. Springer, Cham. https://doi.org/10.1007/978-3-030-44074-9_8
Download citation
DOI: https://doi.org/10.1007/978-3-030-44074-9_8
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-44073-2
Online ISBN: 978-3-030-44074-9
eBook Packages: Mathematics and StatisticsMathematics and Statistics (R0)