Plotkin bound explained

In the mathematics of coding theory, the Plotkin bound, named after Morris Plotkin, is a limit (or bound) on the maximum possible number of codewords in binary codes of given length n and given minimum distance d.

Statement of the bound

\{0,1\}

. In particular, if all codewords have a fixed length n,then the binary code has length n. Equivalently, in this case the codewords can be considered elements of vector space
n
F
2
over the finite field

F2

. Let

d

be the minimum distance of

C

, i.e.

d=minx,yd(x,y)

where

d(x,y)

is the Hamming distance between

x

and

y

. The expression

A2(n,d)

represents the maximum number of possible codewords in a binary code of length

n

and minimum distance 

d

. The Plotkin bound places a limit on this expression.

Theorem (Plotkin bound):

i) If

d

is even and

2d>n

, then

A2(n,d)\leq2\left\lfloor

d
2d-n

\right\rfloor.

ii) If

d

is odd and

2d+1>n

, then

A2(n,d)\leq2\left\lfloor

d+1
2d+1-n

\right\rfloor.

iii) If

d

is even, then

A2(2d,d)\leq4d.

iv) If

d

is odd, then

A2(2d+1,d)\leq4d+4

where

\left\lfloor~\right\rfloor

denotes the floor function.

Proof of case i

Let

d(x,y)

be the Hamming distance of

x

and

y

, and

M

be the number of elements in

C

(thus,

M

is equal to

A2(n,d)

). The bound is proved by bounding the quantity
\sum
(x,y)\inC2,xy

d(x,y)

in two different ways.

On the one hand, there are

M

choices for

x

and for each such choice, there are

M-1

choices for

y

. Since by definition

d(x,y)\geqd

for all

x

and

y

(

xy

), it follows that
\sum
(x,y)\inC2,xy

d(x,y)\geqM(M-1)d.

On the other hand, let

A

be an

M x 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

M-si

ones. Each choice of a zero and a one in the same column contributes exactly

2

(because

d(x,y)=d(y,x)

) to the sum

\sum(x,y)d(x,y)

and therefore

\sum(x,y)d(x,y)=

n
\sum
i=1

2si(M-si).

The quantity on the right is maximized if and only if

si=M/2

holds for all

i

(at this point of the proof we ignore the fact, that the

si

are integers), then

\sum(x,y)d(x,y)\leq

1
2

nM2.

Combining the upper and lower bounds for

\sum(x,y)d(x,y)

that we have just derived,

M(M-1)d\leq

1
2

nM2

which given that

2d>n

is equivalent to

M\leq

2d
2d-n

.

Since

M

is even, it follows that

M\leq2\left\lfloor

d
2d-n

\right\rfloor.

This completes the proof of the bound.

See also

References