

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


University of Illinois Fall 2005
f (x) = a 1 , 2 x 1 x 2 + a 1 , 3 x 1 x 3 + a 1 , 4 x 1 x 4 + a 2 , 3 x 2 x 3 + a 2 , 4 x 2 x 4 + a 3 , 4 x 3 x 4 +a 1 x 1 + a 2 x 2 + a 3 x 3 + a 4 x 4 + a 0
denote the polynomial whose truth table is the transmitted codeword c = [c 0 , c 1 ,... , c 15 ]. We are given that r = [r 0 , r 1 ,... , r 15 ] = [0001011001100011] is the received codeword.
(a) To decode a 1 , 2 , we consider the polynomial f (x)x 3 x 4 = a 1 , 2 x 1 x 2 x 3 x 4 +... and note that this polynomial contains the term x 1 x 2 x 3 x 4 if and only if a 1 , 2 = 1. Now, the truth table of a polynomial has odd weight if and only if the polynomial contains the term x 1 x 2 x 3 x 4 , and thus we can determine the value of a 1 , 2 by looking at the weight of the truth table of f (x)x 3 x 4. It is easy to see that the truth table of f (x)x 3 x 4 is just [0000 0000 0000 c 12 , c 13 , c 14 , c 15 ], and thus we have that a 1 , 2 = c 12 + c 13 + c 14 + c 15. Of course, we don’t know the ci’s, but we do know the ri’s and thus we get an estimate of a 1 , 2 as ˆa 1 , 2 = r 12 + r 13 + r 14 + r 15. Note that the estimate itself is correct if there have been an even number of errors in these four bits. Using the same argument with f (x)x 3 x 4 , f (x)x 3 x 4 , and f (x)x 3 x 4 , we get four estimates of a 1 , 2 as shown below. To decode a 1 , 3 , we look at f (x)x 2 x 4 and its variants, etc. Thus, we have
ˆa 1 , 2 =
r 12 + r 13 + r 14 + r 15 r 8 + r 9 + r 10 + r 11 r 4 + r 5 + r 6 + r 7 r 0 + r 1 + r 2 + r 3
ˆa 1 , 3 =
r 10 + r 11 + r 14 + r 15 r 8 + r 9 + r 12 + r 13 r 2 + r 3 + r 6 + r 7 r 0 + r 1 + r 4 + r 5
and so on. Since we have four estimates, a majority are correct if at most one error has occurred. With 2 errors, some sets of estimates will still have a strict majority, but at least one set of estimates will have a tie vote. For the given r, we easily get ˆa 1 , 2 = 0, ˆa 1 , 2 = 0,ˆa 1 , 3 = 1, ˆa 1 , 4 = 1, ˆa 2 , 3 = 0, ˆa 2 , 4 = 0, ˆa 3 , 4 = 0. Having decoded the second-degree terms, we can subtract off the truth table of the polynomial ˆa 1 , 2 x 1 x 2 + ˆa 1 , 3 x 1 x 3 + ˆa 1 , 4 x 1 x 4 + ˆa 2 , 3 x 2 x 3 + ˆa 2 , 4 x 2 x 4 + ˆa 3 , 4 x 3 x 4 = x 1 x 3 + x 1 x 4 from r leaving the truth table (with some errors) of a degree one polynomial g(x). We can now look at g(x)x 2 x 3 x 4 x 5 to get eight estimates of a 1 with each estimate being the sum of two bits. Once again, majority decoding gives ˆa 1 = 0, ˆa 2 = 1, ˆa 3 = ˆa 4 = 0. Subtracting off the truth table of the linear terms leaves [0010 0000 0000 0000] which gives 16 estimates of a 0. The final result is that the most likely transmitted codeword is [0011011001100011], the truth table of x 1 x 3 + x 1 x 4 + x 2. Note that the most likely error pattern is a single bit error is in position
(b) H[0001 0110 0110 0011]T^ = [10100]T^ and thus the syndrome matches the 2-th column of H. Hence, the most likely transmitted codeword is [0011011001100011], the same as in part (a). (c) The Reed decoding algorithm creates 2m−r^ estimates of each information bit that is a coefficient of term of degree r, where each estimate is the sum of 2r^ received bits. On an erasures-only channel, if there are no more than 2m−r^ − 1 = dmin − 1 errors, at least one estimate will have no erased symbols in it, and this erasure-free estimate gives the information bit. Having determined all the degree-r coefficients, the corresponding truth table is subtracted off (erasures remain as erasures) and the process continues with the degree-(r − 1) coefficients. There are now twice as many estimates, and so more than half will be erasure-free, etc. For r = [???1 0110 0110 0011], we can use just one estimate (with no erasures in it) to estimate each data bit. Thus, ˆa 1 , 2 = r 12 + r 13 + r 14 + r 15 = 0, ˆa 1 , 3 = r 10 + r 11 + r 14 + r 15 = 1, ˆa 1 , 4 = r 6 + r 7 + r 14 + r 15 = 1, ˆa 2 , 3 = r 9 + r 11 + r 13 + r 15 = 0, ˆa 2 , 4 = r 5 + r 7 + r 13 + r 15 = 0, ˆa 3 , 4 = r 3 + r 7 + r 11 + r 15 = 0. We subtract off the second degree terms, and then use ˆa 1 = r 14 + r 15 = 0, ˆa 2 = r 13 + r 15 = 1 etc. and so on and so forth to get the same polynomial and same codeword as before.
A(1)(z) = 1 + 2z + z^2.
(b) According to the Plotkin representation of the first-order Reed-Muller code of length 2m, every codeword in the code is of one of two forms: [v, v] or [v, v ] where v is a codeword in the first-order Reed-Muller code of length 2m−^1. The weight of the first kind of codeword is twice the weight of v and the set of codewords of this type has weight enumerator A(m−1)(z^2 ). On the other hand, the second kind of codeword has weight 2m−^1 and thus the set of codewords of this type has weight enumerator A(m−1)(1)z^2
m− 1
. Since A(m−1)(1) = 2m, we get that
A(m)(z) = A(m−1)(z^2 ) + 2mz^2
m− 1 .
(c) This is a simple exercise in mathematical induction. A(m)(z) = 1 + (2m+1^ − 2)z^2
m− 1
m holds for m = 1. If the result holds for m, then we have that
A(m+1)(z) = A(m)(z^2 ) + 2m+1z^2
m ,
= 1 + (2m+1^ − 2)z^2
m
m+
m ,
= 1 + (2(m+1)+1^ − 2)z^2
(m+1)− 1
m+ ,
and so the result holds for m + 1 also.
(a) Let γ be a primitive element in GF(13). Then, (i) (α, β) = (γ, γ^11 ), (ii) (α, β) = (γ, γ^5 ), (iii) (α, β) = (γ, γ^7 ), (iv) (α, β) = (γ, γ), (v) (α, β) = (γ^5 , γ^2 ) (vi) (α, β) = (γ, γ^2 ) will work. (the answers are not unique). (b) (αβ)(q−1)/^2 = α(q−1)/^2 β(q−1)/^2 = (−1)(−1) = 1, and hence ord(αβ) = (q − 1)/2 or a divisor thereof. Hence αβ cannot be a primitive element of GF(q), q odd. (c) Take α = β where α is a primitive element of GF (2m). Then, ord(α^2 ) = ord(α)/gcd( 2 m^ − 1 , 2 ) = ( 2 m^ − 1 )/gcd( 2 m^ − 1 , 2 ) = 2 m^ − 1.
a, b, c denote elements of orders 5, 6, and 8 respectively in a finite field of characteristic p.
(a) For c to be a member of GF(p), ord(c) = 8 must divide p − 1. Hence, p = 17. Note that the smallest field containing an element of order 8 is GF(3^2 ). (b) Yes, since 5 and 6 are relatively prime to 17, GF(17m) contains elements of order 5 and 6 also, for some m. The smallest value is m = 4. (c) Since ord(b^2 ) = 3, ord(ab^2 c) = 5 × 3 × 8 = 120. The smallest prime p such that p − 1 is divisible by 120 is 241. (d) Since p must not be a multiple of 5, or 6, or 8, the smallest value of p is 7. GF(7^4 ) contains an element of order 120. (e) GF(11^2 ) contains an element of order 120.