Misplaced Pages

Plotkin bound: Difference between revisions

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.
Browse history interactively← Previous editNext edit →Content deleted Content addedVisualWikitext
Revision as of 10:21, 3 January 2008 editDavid Gerard (talk | contribs)Edit filter managers, Administrators213,122 edits context← Previous edit Revision as of 19:25, 12 February 2008 edit undoCulix (talk | contribs)Extended confirmed users1,779 edits Plotkin actually covers four cases - add the other three casesNext edit →
Line 1: Line 1:
In the ] of ], the '''Plotkin bound''' is a bound on the size of ] ]s of length <math>n</math> and minimum distance <math>d</math> satisfying <math>2d > n</math>. In the ] of ], the '''Plotkin bound''' is a bound on the size of ] ]s of length <math>n</math> and minimum distance <math>d</math>.


== Statement of the Bound == == Statement of the Bound ==
Line 11: Line 11:
<strong>Theorem (Plotkin bound):</strong> <strong>Theorem (Plotkin bound):</strong>


If <math> 2d > n </math>, then i) If <math>d</math> is even and <math> 2d > n </math>, then


:<math> M \leq 2 \left\lfloor\frac{d}{2d-n}\right\rfloor </math> :<math> A_{2}(n,d) \leq 2 \left\lfloor\frac{d}{2d-n}\right\rfloor </math>

ii) If <math>d</math> is odd and <math> 2d+1 > n </math>, then

:<math> A_{2}(n,d) \leq 2 \left\lfloor\frac{d+1}{2d+1-n}\right\rfloor </math>

iii) If <math>d</math> is even, then

:<math> A_{2}(2d,d) \leq 4d </math>

iv) If <math>d</math> is odd, then

:<math> A_{2}(2d+1,d) \leq 4d+4 </math>


where <math> \left\lfloor ~ \right\rfloor</math> denotes the ], and <math>M</math> is the number of code words. where <math> \left\lfloor ~ \right\rfloor</math> denotes the ].


== Proof == == Proof ==

Revision as of 19:25, 12 February 2008

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} . Let M {\displaystyle M} be the number of elements in C {\displaystyle C} .

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

Let d ( x , y ) {\displaystyle d(x,y)} be the Hamming distance of x {\displaystyle x} and y {\displaystyle y} . 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 d ( x , y ) M ( M 1 ) d {\displaystyle \sum _{x,y\in C}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 when s i = M / 2 {\displaystyle s_{i}=M/2} and 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: Difference between revisions Add topic