Correcting One Flip with Three Repeated Bits
A three-bit repetition code can decode by majority, giving the original bit when no more than one of the three positions flips.
- Source
- Anbloq
- Language
- English
- Created
- Updated
- Chapters
- 4
- Reading time
- 1 min
In this article4 chapters
Trace a received word
If encoded one is 111 and received bits are 101, two positions still hold one. Majority recovers one. See classification by votes.
Check a stronger disturbance
If two bits change, majority can choose the wrong source bit. State the promised error model and compare with code distance.[1][2]
Use majority to recover a single transmitted bit
A repetition code sends zero as 000 and one as 111. Suppose one was sent and the receiver sees 101. Two positions still contain one, so majority returns one and recovers the transmitted bit under the one-flip assumption. See minimum distance.
Sent 111
Receive 101 after one flip → majority 1
Receive 100 after two flips → majority 0, a wrong correction
Keep limits and costs visible
This scheme uses three transmitted bits per source bit. Closely correlated errors can violate its assumption. Verify all three single-flip positions for each possible input.