Skip to main content
KetQat

Appearance

Equation · introductory

Singleton bound

A code of length n with q^k codewords and minimum distance d satisfies d ≤ n − k + 1. Codes meeting the bound are maximum distance separable (MDS); Reed–Solomon codes are the standard example.

Established resultMachine-checkedUpdated 2026-12-01 · last verified 2026-12-01

AI-assisted text, machine-checked, not yet reviewed by a person. Citations resolve and an automated pass compared the statements with the cited sources. That is not peer review; check the sources for anything you depend on.

d  ≤  n−k+1d \;\le\; n - k + 1

Equivalently ∣C∣≤q n−d+1\abs{C} \le q^{\,n - d + 1}. The bound is named after Singleton. A code attaining it is maximum distance separable (MDS): any kk coordinates of a codeword determine the rest. Reed–Solomon codes are MDS for every admissible length and dimension. Over F2\F_2 the only MDS codes are the trivial ones: the repetition codes [n,1,n][n, 1, n], the single-parity-check codes [n,n−1,2][n, n - 1, 2] and the full space [n,n,1][n, n, 1].

The bound does not depend on the alphabet size, which makes it weak for small qq and long codes; there the Hamming bound is stronger. Its quantum counterpart, the quantum Singleton bound, reads n−k≥2(d−1)n - k \ge 2(d - 1), with twice the redundancy.

Holds when

  • Any code C⊆AnC \subseteq A^n over an alphabet AA of size qq with minimum distance dd; linearity is not needed. Here k=log⁡q∣C∣k = \log_q \abs{C}, which is the dimension when CC is linear.

Proof

Proof of the Singleton boundMachine-checked

Let C⊆AnC \subseteq A^n have minimum distance dd, with ∣A∣=q\abs{A} = q. Delete the last d−1d - 1 coordinates of every codeword; this defines a map π:C→A n−d+1\pi : C \to A^{\,n - d + 1}. If π(c)=π(c′)\pi(c) = \pi(c') then cc and c′c' can differ only in the deleted coordinates, so d(c,c′)≤d−1d(c, c') \le d - 1, which forces c=c′c = c'. Thus π\pi is injective and

∣C∣  ≤  ∣A n−d+1∣  =  q n−d+1.\abs{C} \;\le\; \abs{A^{\,n-d+1}} \;=\; q^{\,n - d + 1} .

With ∣C∣=qk\abs{C} = q^k this is k≤n−d+1k \le n - d + 1.

The same argument applied to any d−1d - 1 coordinates shows that in a code meeting the bound the projection onto every set of n−d+1=kn - d + 1 = k coordinates is a bijection, which is the "separable" property of MDS codes.

Builds on
Mentions
Mentioned in

Open in the knowledge graph

Contributions about this record

Nobody has published a contribution about it yet.

Publish a result, reproduction or commentPropose a correction to this page

References

  1. R. Singleton (1964). Maximum distance q-nary codes. IEEE Transactions on Information Theory 10 (2), 116-118. doi:10.1109/TIT.1964.1053661
  2. W. Cary Huffman, Vera Pless (2003). Fundamentals of Error-Correcting Codes. Cambridge University Press. doi:10.1017/CBO9780511807077

Contributors

  • KetQat maintainers · @ketqatConceptualization; Supervision (CRediT roles)
  • Claude (AI drafting assistant)Writing, original draft (CRediT roles)

Review history

  1. Automated source check · Pass · 2026-12-01 · Independent automated verification pass (AI, not the drafting session)

    Bound and puncturing proof compared with Guruswami-Rudra-Sudan, Essential Coding Theory (open draft), Thm 4.3.1, Def. 5.3.1, Prop. 5.3.3 (any k coordinates of an MDS code) and notes 4.6 (attribution to Singleton); RS codes MDS per its Ch. 5; the claim that binary MDS codes are only [n,1,n], [n,n-1,2], [n,n,1] confirmed by exhaustive enumeration of all binary linear codes with n <= 7 (numpy script); singleton-1964 and huffman-pless-2003 metadata compared with Crossref.

Revision history

  1. 2026-12-01Content release 2.1.0: 35 more topics, an independent source check of every record, intake hardening (#17)80537b7e
  2. 2026-11-30KetQat Commons: free learning paths, knowledge records, research problems, literature intake (#14)571c9b10

Current revision b1d81c1c46921e70. Source file knowledge/records/equation/singleton-bound.md in the content repository (readable there once it is public).