Plotkin bound

From Wikipedia, the free encyclopedia

The Plotkin bound is a bound on the size of binary codes of length n and minimum distance d satisfying 2d > n.

Contents

[edit] Statement of the Bound

Let C be a binary code of length n, i.e. a subset of \mathbb{F}_2^n. Let d be the minimum distance of C, i.e.

d = \min_{x,y \in C, x \neq y} d(x,y)

where d(x,y) is the Hamming distance between x and y. Let r be the number of elements in C.


Theorem (Plotkin bound):


If 2d > n, then


r \leq 2 \left\lfloor\frac{d}{2d-n}\right\rfloor


where \left\lfloor ~ \right\rfloor denotes the floor function.

[edit] Proof

Let d(x,y) be the Hamming distance of x and y. The bound is proved by bounding the quantity \sum_{x,y \in C}  d(x,y) in two different ways.

On the one hand, there are r choices for x and for each such choice, there are r − 1 choices for y. Since by definition d(x,y) \geq d for all x and y, it follows that

\sum_{x,y \in C} d(x,y) \geq r(r-1) d

On the other hand, let A be an r \times n matrix whose rows are the elements of C. Let si be the number of zeros contained in the i'th column of A. This means that the i'th column contains rsi ones. Each choice of a zero and a one in the same column contributes exactly 2 to the sum \sum_{x,y \in C} d(x,y) and therefore

\sum_{x,y \in C} d(x,y) = \sum_{i=1}^N 2s_i (r-s_i)

If r is even, then the quantity on the right is maximized when si = r / 2 and then,

\sum_{x,y \in C} d(x,y) \leq \frac{1}{2} N r^2

Combining the upper and lower bounds for \sum_{x,y \in C} d(x,y) that we have just derived,

r(r-1) d \leq \frac{1}{2} N r^2

which given that 2d > n is equivalent to

r \leq \frac{2d}{2d-n}

Since r is even, it follows that

r \leq 2 \lfloor \frac{d}{2d-n} \rfloor

On the other hand, if r is odd, then \sum_{i=1}^N 2s_i (r-s_i) is maximized when s_i = \frac{r \pm 1}{2} which implies that

\sum_{x,y \in C} d(x,y) \leq \frac{1}{2} N (r^2-1)

Combining the upper and lower bounds for \sum_{x,y \in C} d(x,y), this means that

r(r-1) d \leq \frac{1}{2} N (r^2-1)

or, using that 2d > n,

r \leq \frac{2d}{2d-n} - 1

Since r is an integer,

r \leq \lfloor \frac{2d}{2d-n} - 1 \rfloor = \lfloor \frac{2d}{2d-n} \rfloor -1 \leq 2 \lfloor \frac{d}{2d-n} \rfloor

This completes the proof of the bound.

[edit] Reference

  • Binary codes with specified minimum distance, M. Plotkin, IRE Transactions on Information Theory, 6:445-450, 1960.

[edit] See also