Assignment 1
Assignment 1
Assignment 1 : 20 points
Each of the following exercises is worth 5 points. Every nontrivial step in a proof should be accompanied by justication. 1. Prove that the Hamming distance satises the triangle inequality, i.e. d(u, v) d(u, w) + d(w, v) for all n-tuples u, v, w. 2. Calculate the crossover probability of the binary symmetric channel which is equivalent to the system below. BSC(p)
Binary Input
BSC(p)
BSC(p)
Majority function
BSC(p)
Binary Output
BSC(p)
3. Derive the optimal decoding rule for a 2n-repetition code for use over a binary symmetric channel with crossover probability p. Is the optimal decoding rule unique? Calculate the average probability of error for this code when the optimal decoding rule is used. 4. Consider a binary block code C of length n having minimum distance dmin where dmin is an odd integer. Show that when a overall parity bit is added to all the codewords in C we obtain a code of length n + 1 and minimum distance dmin + 1.