How does the minimum distance related to the
number of errors which can be corrected? This section
addresses this and similar questions.
Proposition 3.4.11
Let
be a code which is defined by
where is some matrix with entries in
. The is -error correcting if and only if
all the columns of are distinct.
The matrix in the above proposition is called a
parity check matrix of .
We have yet to show that a given linear code has
a parity check matrix (see Proposition 3.4.31).
proof: (sketch)
Generalizing suitably example 3.3.2 shows that
if all the columns of are not distinct then
is not -error correcting.
Conversely, suppose that contains exactly one error and that
all the columns of are distinct. Then
, for some and some ,
where and where
To correct , we need to determine .
Note
, where denotes the
column of . Since all the columns are are distinct,
uniquely determines .
Proposition 3.4.12
Let
be a code which is of minimum
distance . Then is
error-correcting.
proof:
Suppose that a code word
is
sent and a vector
is
received with errors, where
.
We must show that the receiver, who does not know
(though he does know ), can
recover from .
We claim that the code word closest to
is . Suppose not, say
,
,
is closer to than . Then
so, by the triangle inequality,
. This is a
contradiction, which proves the claim is true.
To recover from ,
the receiver can apply the nearest neighbor
algorithm.
Definition 3.4.13
Let be a finite field. A code
is
called an -code if it is length ,
cardinality , and minimum distance .
A linear code
is
called an -code if it is length ,
dimension , and minimum distance .
If is unknown then we call a linear code
of dimension a -code.
If
is a basis
for an -code , where
then the matrix
is called a generating matrix for .
To compute a generating matrix of a code
, first determine a basis for the code
then put these basis vectors into a
matrix.
The encoding matrix of a linear code
of dinension is an
matrix
whose image is .
To compute the encoding matrix from the
generator matrix is easy.
Example 3.4.15
Consider the binary code with
generating matrix
Then
and the vector
gets encoded as
.
Many general properties about a linear code may
be reduced to a corresponding property
of its generating matrix. Can one determine
the minimum distance of a code from its
generating matrix? The following result answers this.
Theorem 3.4.16
Let be a linear -code with parity check matrix
. Then any subset of columns
of are linearly independent but there
are columns of which are linearly
dependent.
proof:
By definition of , there is a code word
in having exactly non-zero
entries. Thus by definition of ,
there are columns of which are linearly
dependent. If there were
columns of which are linearly
independent then there would be (by definition
of ) a code word
in having exactly non-zero
entries. This would contradict the definition
of . Next:The binary Hamming code Up:The Hamming metric Previous:The Hamming metric
  Contents
  Index
David Joyner
2002-08-23