Misplaced Pages

Plotkin bound

Article snapshot taken from[REDACTED] with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.

This is an old revision of this page, as edited by 193.205.213.166 (talk) at 09:28, 12 November 2008 (Proof of case i). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Revision as of 09:28, 12 November 2008 by 193.205.213.166 (talk) (Proof of case i)(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

In the mathematics of coding theory, the Plotkin bound is a bound on the size of binary codes of length n {\displaystyle n} and minimum distance d {\displaystyle d} .

Statement of the Bound

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

d = min x , y C , x y d ( x , y ) {\displaystyle d=\min _{x,y\in C,x\neq y}d(x,y)}

where d ( x , y ) {\displaystyle d(x,y)} is the Hamming distance between x {\displaystyle x} and y {\displaystyle y} . The expression A 2 ( n , d ) {\displaystyle A_{2}(n,d)} represents the maximum number of possible codewords in a binary code of length n {\displaystyle n} and minimum distance d {\displaystyle d} . The Plotkin bound places a limit on this expression.

Theorem (Plotkin bound):

i) If d {\displaystyle d} is even and 2 d > n {\displaystyle 2d>n} , then

A 2 ( n , d ) 2 d 2 d n {\displaystyle A_{2}(n,d)\leq 2\left\lfloor {\frac {d}{2d-n}}\right\rfloor }

ii) If d {\displaystyle d} is odd and 2 d + 1 > n {\displaystyle 2d+1>n} , then

A 2 ( n , d ) 2 d + 1 2 d + 1 n {\displaystyle A_{2}(n,d)\leq 2\left\lfloor {\frac {d+1}{2d+1-n}}\right\rfloor }

iii) If d {\displaystyle d} is even, then

A 2 ( 2 d , d ) 4 d {\displaystyle A_{2}(2d,d)\leq 4d}

iv) If d {\displaystyle d} is odd, then

A 2 ( 2 d + 1 , d ) 4 d + 4 {\displaystyle A_{2}(2d+1,d)\leq 4d+4}


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

Proof of case i

Let d ( x , y ) {\displaystyle d(x,y)} be the Hamming distance of x {\displaystyle x} and y {\displaystyle y} , and M {\displaystyle M} be the number of elements in C {\displaystyle C} (thus, M {\displaystyle M} is equal to A 2 ( n , d ) {\displaystyle A_{2}(n,d)} ). The bound is proved by bounding the quantity x , y C d ( x , y ) {\displaystyle \sum _{x,y\in C}d(x,y)} in two different ways.

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

x , y C , x y d ( x , y ) M ( M 1 ) d {\displaystyle \sum _{x,y\in C,x\neq y}d(x,y)\geq M(M-1)d}

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

x , y C d ( x , y ) = i = 1 n 2 s i ( M s i ) {\displaystyle \sum _{x,y\in C}d(x,y)=\sum _{i=1}^{n}2s_{i}(M-s_{i})}

If M {\displaystyle M} is even, then the quantity on the right is maximized if and only if s i = M / 2 {\displaystyle s_{i}=M/2} holds for all i, then

x , y C d ( x , y ) 1 2 n M 2 {\displaystyle \sum _{x,y\in C}d(x,y)\leq {\frac {1}{2}}nM^{2}}

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

M ( M 1 ) d 1 2 n M 2 {\displaystyle M(M-1)d\leq {\frac {1}{2}}nM^{2}}

which given that 2 d > n {\displaystyle 2d>n} is equivalent to

M 2 d 2 d n {\displaystyle M\leq {\frac {2d}{2d-n}}}

Since M {\displaystyle M} is even, it follows that

M 2 d 2 d n {\displaystyle M\leq 2\lfloor {\frac {d}{2d-n}}\rfloor }

On the other hand, if M {\displaystyle M} is odd, then i = 1 n 2 s i ( M s i ) {\displaystyle \sum _{i=1}^{n}2s_{i}(M-s_{i})} is maximized when s i = M ± 1 2 {\displaystyle s_{i}={\frac {M\pm 1}{2}}} which implies that

x , y C d ( x , y ) 1 2 n ( M 2 1 ) {\displaystyle \sum _{x,y\in C}d(x,y)\leq {\frac {1}{2}}n(M^{2}-1)}

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

M ( M 1 ) d 1 2 n ( M 2 1 ) {\displaystyle M(M-1)d\leq {\frac {1}{2}}n(M^{2}-1)}

or, using that 2 d > n {\displaystyle 2d>n} ,

M 2 d 2 d n 1 {\displaystyle M\leq {\frac {2d}{2d-n}}-1}

Since M is an integer,

M 2 d 2 d n 1 = 2 d 2 d n 1 2 d 2 d n {\displaystyle M\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.

References

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

See also

Category:
Plotkin bound Add topic