Designed distance 2026-10-14
The designed distance of a BCH code is the value specified by requiring consecutive defining zeros of a cyclic code. The BCH bound guarantees minimum Hamming distance at least , but the actual minimum Hamming distance can be larger. To prove equality, one can exhibit a nonzero codeword of Hamming weight exactly .
Use with . The given primitive polynomial over a finite field makes have order . For a binary cyclic code, squaring a zero preserves the zero condition: for . Thus the binary cyclotomic cosets modulo an odd integer governing the four specified zeros are
The two displayed orbits are disjoint, each has size five, and together contain . Therefore specifying and already forces all four consecutive defining zeros of a cyclic code.
The minimal polynomial of an algebraic element of is . For , the orbit size shows that its algebraic minimal polynomial has degree five. The candidate vanishes there, since
For example, the five-bit representations of these terms are , whose sum is zero in . As is a monic polynomial of degree five and annihilates , it is precisely its algebraic minimal polynomial; no assumption that the provided polynomial list is exhaustive is necessary.
The narrow-sense primitive BCH code is
Both algebraic minimal polynomials divide each such , and they are coprime polynomials. Their product is a divisor of . Hence the generator polynomial is their product. Direct multiplication with field characteristic two gives
The designed distance is five, because vanishes at the four consecutive powers .
Here is an explicit BCH bound proof for these zeros. If a nonzero codeword had support of a vector of size , with distinct positions and nonzero coefficients , put . Evaluating at the first defining powers gives
The coefficient matrix has determinant , a nonzero Vandermonde determinant because the are distinct and nonzero. It therefore forces every , a contradiction. Thus the minimum Hamming distance is at least five.
For the matching upper bound, multiplication gives the actual codeword
which has Hamming weight five and degree below . Hence
This proves the actual distance without needing the optional theorem. Its numerical hypothesis is also satisfied: with and the error parameter , , whereas .
Now calculate the root-evaluation syndrome for a cyclic code from the received polynomial. Reduction modulo gives , so . Substitution followed by the same reduction gives , whose five-bit representation is . Thus
The single-error test from two binary BCH syndromes identifies coordinate , since a one-bit error has syndromes . Flip that coordinate to obtain
Both defining evaluations vanish: and . More directly,
so it is certainly a codeword of . It is at Hamming distance one from . Since the minimum Hamming distance is five, no other codeword can be within two errors of : such a word would be at distance at most three from , contradicting the proved distance. Thus this is the unique bounded-distance decoding under the linear code's two-error guarantee.
The decoded polynomial printed in the original PDF is incorrect. It instead adds to , giving a polynomial . Its defining evaluations are
Therefore it is not a codeword, and the request to verify that it belongs to is a false premise. The field table and the printed syndromes agree with correction at ; the correction at does not. The boxed corrected polynomial resolves this source error and supplies the intended decoding and membership proof.
A binary cyclic code of odd length is an ideal of . For a primitive th root , its defining set is the set of powers at which every code polynomial vanishes. A BCH code of design distance has consecutive powers
in its defining set.
If a nonzero codeword had weight , write it as . Evaluation at consecutive defining roots gives a homogeneous Vandermonde system in the nonzero values . Its determinant is nonzero because the support elements are distinct. Thus every would vanish, a contradiction. This proves the BCH bound
Let be a primitive th root of unity in an extension of , where . A BCH code of length , initial exponent , and design distance is the cyclic code whose generator polynomial is the least common multiple over of the minimal polynomials of
Thus every codeword polynomial vanishes at these consecutive powers.
Suppose a nonzero codeword has weight , with
where the positions are distinct modulo and every is nonzero. The first root conditions give
The coefficient matrix is a Vandermonde matrix in the distinct elements , followed by multiplication of its columns by the nonzero factors . Its determinant is therefore
Hence all would be zero, a contradiction. The minimum distance consequently satisfies .
A code of minimum distance detects every pattern of at most errors and uniquely corrects every pattern of at most errors, because Hamming balls of that radius are disjoint. A BCH code of design distance is therefore guaranteed to detect errors and to correct
errors; its actual capabilities may be larger if .
A monic polynomial of degree over that is an irreducible polynomial is primitive in the finite-field sense when one of its roots generates the multiplicative group of a finite field . All its roots are Frobenius conjugates and then have the same order . This notion differs from a primitive polynomial over an integral domain, which concerns the common divisor of its coefficients. Primitive finite-field polynomials provide explicit field representations and primitive cyclic Reed-Solomon codes or BCH codes.