![](http://image.absoluteastronomy.com/images//topicimages/noimage.gif)
Johnson bound
Encyclopedia
The Johnson bound is a bound on the size of error-correcting codes.
Let
be a q-ary code
of length
, i.e. a subset of
. Let
be the minimum distance of
, i.e.
![](http://image.absoluteastronomy.com/images/formulas/5/7/2579070-6.gif)
where
is the Hamming distance
between
and
.
Let
be the set of all q-ary codes with length
and minimum distance
and let
denote the set of codes in
such that every element has exactly
nonzero entries.
Denote by
the number of elements in
. Then, we define
to be the largest size of a code with length
and minimum distance
:
![](http://image.absoluteastronomy.com/images/formulas/5/7/2579070-21.gif)
Similarly, we define
to be the largest size of a code in
:
![](http://image.absoluteastronomy.com/images/formulas/5/7/2579070-24.gif)
Theorem 1 (Johnson bound for
):
If
,
![](http://image.absoluteastronomy.com/images/formulas/5/7/2579070-27.gif)
If
,
![](http://image.absoluteastronomy.com/images/formulas/5/7/2579070-29.gif)
Theorem 2 (Johnson bound for
):
(i) If
,
![](http://image.absoluteastronomy.com/images/formulas/5/7/2579070-32.gif)
(ii) If
, then define the variable
as follows. If
is even, then define
through the relation
; if
is odd, define
through the relation
. Let
. Then,
![](http://image.absoluteastronomy.com/images/formulas/5/7/2579070-42.gif)
where
is the floor function
.
Remark: Plugging the bound of Theorem 2 into the bound of Theorem 1 produces a numerical upper bound on
.
Let
![](http://image.absoluteastronomy.com/images/formulas/5/7/2579070-1.gif)
Code
A code is a rule for converting a piece of information into another form or representation , not necessarily of the same type....
of length
![](http://image.absoluteastronomy.com/images/formulas/5/7/2579070-2.gif)
![](http://image.absoluteastronomy.com/images/formulas/5/7/2579070-3.gif)
![](http://image.absoluteastronomy.com/images/formulas/5/7/2579070-4.gif)
![](http://image.absoluteastronomy.com/images/formulas/5/7/2579070-5.gif)
![](http://image.absoluteastronomy.com/images/formulas/5/7/2579070-6.gif)
where
![](http://image.absoluteastronomy.com/images/formulas/5/7/2579070-7.gif)
Hamming distance
In information theory, the Hamming distance between two strings of equal length is the number of positions at which the corresponding symbols are different...
between
![](http://image.absoluteastronomy.com/images/formulas/5/7/2579070-8.gif)
![](http://image.absoluteastronomy.com/images/formulas/5/7/2579070-9.gif)
Let
![](http://image.absoluteastronomy.com/images/formulas/5/7/2579070-10.gif)
![](http://image.absoluteastronomy.com/images/formulas/5/7/2579070-11.gif)
![](http://image.absoluteastronomy.com/images/formulas/5/7/2579070-12.gif)
![](http://image.absoluteastronomy.com/images/formulas/5/7/2579070-13.gif)
![](http://image.absoluteastronomy.com/images/formulas/5/7/2579070-14.gif)
![](http://image.absoluteastronomy.com/images/formulas/5/7/2579070-15.gif)
Denote by
![](http://image.absoluteastronomy.com/images/formulas/5/7/2579070-16.gif)
![](http://image.absoluteastronomy.com/images/formulas/5/7/2579070-17.gif)
![](http://image.absoluteastronomy.com/images/formulas/5/7/2579070-18.gif)
![](http://image.absoluteastronomy.com/images/formulas/5/7/2579070-19.gif)
![](http://image.absoluteastronomy.com/images/formulas/5/7/2579070-20.gif)
![](http://image.absoluteastronomy.com/images/formulas/5/7/2579070-21.gif)
Similarly, we define
![](http://image.absoluteastronomy.com/images/formulas/5/7/2579070-22.gif)
![](http://image.absoluteastronomy.com/images/formulas/5/7/2579070-23.gif)
![](http://image.absoluteastronomy.com/images/formulas/5/7/2579070-24.gif)
Theorem 1 (Johnson bound for
![](http://image.absoluteastronomy.com/images/formulas/5/7/2579070-25.gif)
If
![](http://image.absoluteastronomy.com/images/formulas/5/7/2579070-26.gif)
![](http://image.absoluteastronomy.com/images/formulas/5/7/2579070-27.gif)
If
![](http://image.absoluteastronomy.com/images/formulas/5/7/2579070-28.gif)
![](http://image.absoluteastronomy.com/images/formulas/5/7/2579070-29.gif)
Theorem 2 (Johnson bound for
![](http://image.absoluteastronomy.com/images/formulas/5/7/2579070-30.gif)
(i) If
![](http://image.absoluteastronomy.com/images/formulas/5/7/2579070-31.gif)
![](http://image.absoluteastronomy.com/images/formulas/5/7/2579070-32.gif)
(ii) If
![](http://image.absoluteastronomy.com/images/formulas/5/7/2579070-33.gif)
![](http://image.absoluteastronomy.com/images/formulas/5/7/2579070-34.gif)
![](http://image.absoluteastronomy.com/images/formulas/5/7/2579070-35.gif)
![](http://image.absoluteastronomy.com/images/formulas/5/7/2579070-36.gif)
![](http://image.absoluteastronomy.com/images/formulas/5/7/2579070-37.gif)
![](http://image.absoluteastronomy.com/images/formulas/5/7/2579070-38.gif)
![](http://image.absoluteastronomy.com/images/formulas/5/7/2579070-39.gif)
![](http://image.absoluteastronomy.com/images/formulas/5/7/2579070-40.gif)
![](http://image.absoluteastronomy.com/images/formulas/5/7/2579070-41.gif)
![](http://image.absoluteastronomy.com/images/formulas/5/7/2579070-42.gif)
where
![](http://image.absoluteastronomy.com/images/formulas/5/7/2579070-43.gif)
Floor function
In mathematics and computer science, the floor and ceiling functions map a real number to the largest previous or the smallest following integer, respectively...
.
Remark: Plugging the bound of Theorem 2 into the bound of Theorem 1 produces a numerical upper bound on
![](http://image.absoluteastronomy.com/images/formulas/5/7/2579070-44.gif)
See also
- Singleton boundSingleton boundIn coding theory, the Singleton bound, named after Richard Collom Singleton, is a relatively crude bound on the size of a block code C with block length n, size r and minimum distance d.-Statement of the Bound:...
- Hamming boundHamming boundIn mathematics and computer science, in the field of coding theory, the Hamming bound is a limit on the parameters of an arbitrary block code: it is also known as the sphere-packing bound or the volume bound from an interpretation in terms of packing balls in the Hamming metric into the space of...
- Plotkin boundPlotkin boundIn the mathematics of coding theory, the Plotkin bound, named after Morris Plotkin, is a bound on the maximum possible number of codewords in binary codes of given length n and given minimum distance d.- Statement of the bound :...
- Gilbert-Varshamov boundGilbert-Varshamov boundIn coding theory, the Gilbert–Varshamov bound is a bound on the parameters of a code . It is occasionally known as the Gilbert–Shannon–Varshamov bound , but the Gilbert–Varshamov bound is by far the most popular name...
- Griesmer boundGriesmer boundIn the mathematics of coding theory, the Griesmer bound, named after James Hugo Griesmer, is a bound on the length of binary codes of dimension k and minimum distance d.There is also a very similar version for non-binary codes....