Skip to main content

Short note: Error detection and correction capability

Short answer

Error detection capability is up to d_min-1 errors; error correction capability is up to floor((d_min-1)/2) errors. d_min is the minimum Hamming distance of the code.

Write a short note on error detection and correction capability of a codeword.

The error detection and correction capability of a block code depends on its minimum Hamming distance dmind_{min}, the smallest number of bit positions in which any two codewords differ. For a linear code, dmind_{min} equals the smallest weight of a non-zero codeword.

Detection

If fewer than dmind_{min} bits are changed, a codeword cannot turn into another valid codeword, so the error is noticed:

s≤dmin−1s\le d_{min}-1

Correction

The decoder chooses the nearest codeword. This is always right if the received word is closer to the sent codeword than to any other, which needs

t≤⌊dmin−12⌋(dmin≥2t+1)t\le\left\lfloor\frac{d_{min}-1}{2}\right\rfloor\quad(d_{min}\ge 2t+1)

To correct tt and also detect s>ts>t errors: dmin≥t+s+1d_{min}\ge t+s+1.

  c1 o----x----x----o c2     d_min = 3
       radius t = 1 spheres do not overlap
Codedmind_{min}DetectsCorrects
Single parity210
(7,4) Hamming321
Repetition (3,1)321
Extended (8,4) Hamming431
(5,1) repetition542

Larger dmind_{min} needs more redundancy (lower code rate k/nk/n).

✓ Answer checked by Claude Opus 5.5 (high effort)

All Communication Systems chapter 8 questions →