Error-detecting and error-correcting codes
Adding redundancy so errors in stored or transmitted data can be detected or corrected.
Edited by Alex C, EduAlx · Sources cited below
Explanation
Parity bits detect single errors. Hamming codes (1950) correct single-bit errors. CRCs detect burst errors in networks and files. Reed–Solomon codes (1960) protect CDs, QR codes and deep-space links. LDPC and polar codes approach Shannon's limit and are used in Wi-Fi and 5G.
Example
How it works, step by step
- Encode data with redundant bits
- Transmit or store
- Receiver computes syndrome or checksum
- Detect and, if possible, correct errors
Open the interactive page with diagrams →
People behind it
- Richard Hamming (1915–1998), Mathematics and computing, USA: Invented Hamming codes for error correction at Bell Labs. Turing Award 1968.
- Irving Reed
- Gustave Solomon
- Claude Shannon (1916–2001), Information theory, USA: Founded information theory (1948) and showed Boolean algebra describes switching circuits.
References
- R. W. Hamming, Bell Syst. Tech. J. 1950, 29, 147–160.
- I. S. Reed, G. Solomon, J. Soc. Ind. Appl. Math. 1960, 8, 300–304.
Textbooks
- Elements of Information Theory, Thomas M. Cover, Joy A. Thomas (Wiley, 2nd ed. 2006). Standard information theory text.
Related topics
Algorithms and Big-O complexityHuman–computer interaction and usabilitySorting algorithms (quicksort, mergesort, heapsort)Testing and debuggingData structures: arrays, linked lists, stacks, queuesPython programming essentialsHash tablesClustering and unsupervised learningTrees and binary search treesDecision trees and ensemble methods