Data Compression
Data compression reduces the bits needed to represent information, saving storage space and transmission capacity.
Compression methods exploit patterns, repetition, or other properties of data to encode it more compactly. Lossless compression allows exact reconstruction of the original data and is used in formats such as ZIP and PNG. Lossy compression discards some information to achieve smaller files and is used in MP3 audio and typical JPEG images. Huffman coding, a lossless technique developed by David Huffman in 1952, assigns shorter binary codes to more frequent symbols.
Where this leads
Technology
The Internet →
Data compression reduces the amount of information transmitted when delivering web pages, images, audio, and video over the Internet.
Probability Theory →
Compression methods such as Huffman coding use symbol probabilities to assign efficient codes.
Randomness →
Independent, uniformly random bits cannot be losslessly compressed to a shorter representation on average.
Sorting Algorithms →
The Burrows–Wheeler transform, used in compression, can be constructed by sorting cyclic rotations of the input.