Skip to main content

Compression

  • Chapter
  • First Online:
Algebra for Applications

Part of the book series: Springer Undergraduate Mathematics Series ((SUMS))

  • 2902 Accesses

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)

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 29.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 37.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 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

Authors

Corresponding author

Correspondence to Arkadii Slinko .

Rights and permissions

Reprints and permissions

Copyright information

© 2020 Springer Nature Switzerland AG

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

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

Publish with us

Policies and ethics