2.11 An Application to Binary Linear Codes

1. (a) 5 (c) 6
2. (a) 3 (c) 7
3. By (1) of Theorem 1,

img

5. a. It suffices to look at individual digits:

img

6. The table lists the codewords across the top and the distances of img from them.

img

a. The unique nearest neighbor of 0110101 is 0100101 (so it corrects the single error).
c. 1011001 has both 1010101 and 1011010 at distance 2, so the 2 errors are detected but not corrected.
7. a. The minimum weight of C is 4. Detects 3 errors, corrects 1 error.
9.
a. We can have k = 4, n = 7 for the code, and (Example 9), the minimum weight for the code is 3. Thus it corrects t = 1 errors. Hence img shows the code is perfect.
c. If the minimum distance is 5 = 2 · 2 + 1, it corrects t = 2 errors. We have img while 27−2 = 25 = 32. So no such code exists.
10. a. If k = 2, t = 1, the Hamming bound is img, that is 1 + n ≤ 2n−2. The first n ≥ 1 for which this holds n = 5. The img-code img has minimum distance 3 = 2 · 1 + 1, so it corrects 1 error by Theorem 2.
11. a. Here k = 3 and t = 2, so n must be such that img If n = 3, 4, . . ., 8 this would read respectively>

img

Hence n ≥ 9. [Note: img.]
13. Suppose img is the coset leader in img, and write it as img. Then coset decoding decodes img as img, and this is correct. Conversely, assume coset decoding decodes img correctly as c. If e is the coset leader in img, this means img. Hence img is the coset leader in img.
15. a. If a (4, 2)-code C corrects 1 error, the weight of C must be at least 3. Thus the nonzero words of C are all contained in {1111, 1110, 1101, 1011, 0111}. But the sum of two distinct words here is no longer in the set.
16.
a. If a (6, 3)-code C corrects 2 errors, the weight of C must be at least 5. Proceed as in (a) of the preceding exercise.
c. If a (7, 3)-code C has minimum distance 5, the nonzero words in C have weight 7, 6 or 5. The table gives the possible weights of img for various choices of img and img (nonzero) in C. For example, if img and img both have weight 5, we may take img. The weight of img depends upon how many 0-digits match. The three cases are illustrated as follows:

img

The weight of img is 0, 2, 4 respectively The table shows that img is not in C (unless img), so no such group C can exist.
img img img
7 7 0
7 6 1
7 5 2
6 6 0 2
6 5 1 3
5 5 0 2 4
17.
a. Write img and img, so img and img. Then

img

so img. Similarly

img

so img. Then (a) follows because

img

c. Using (a), equality holds in (b) if and only if wt(vw) = 0, that is if and only if VW = . If this holds, then img which is the condition in (c). Conversely, if img, then i img VW is impossible (it means img), so VW = . Thus wt(vw) = 0 and (a) implies equality in (b).
19. We have img Hence it suffices to show that D is a subgroup of Bn. Clearly 0 img D and, if x img D, then −x = x img D. Finally, if x, y img D consider the following cases: If x, y img C then x + y img C because C is a subgroup. If x img C and img then img because x img C. If img and y img C then img as in the preceding case. If img and img then img because img Hence img in every case.
20.
a. img
c. img
1.
a.{0000, 1011, 0100, 1111}
c. {000000, 100101, 010110, 001001, 110011, 101100, 011111, 111010}
23. Write img. We have CD as before (by the Lemma). If img, write img, u img Bk, img. Then

img

Thus img (because −x = x in Bnk). Now

img

so img. Hence DC.
24. a. We have C = {uG img u img Bk} and C′ = {uGimg u img Bk}, so it is clear that G = G′ ⇒ C = C′. If C = C′, write G = {Ik, A] and G′ = {Ik, A′]. Given u img Bk, [u, uA] = uG img C, so there exists uimg Bk such that [u, uA] = UG′ = [u′, uA′]. This gives u = u′ and uA = uA′, so uA = uA′ for all u img Bk. If u = bi is row i of Ik, then biA = row i of A and biA′ = row i of A′. Thus A = A′, whence G = G′.
25.
a. Let img is even}. Define img by img where img is digit i of img. Then ϕ is onto and (if img is digit i of img)

img

shows ϕ is a group homomorphism. Since

img

the fact that img shows that D is a subgroup of Bn of index 2. If CD, then each word in C has even weight. Otherwise, choose c img CD and define σ : CDC  (CD) by σ(x) = x + c. [Clearly x + c img C; if x + c img D, then c img D (as x img D), a contradiction. So x + c img C  (CD). Since σ is clearly 1:1, it remains to show that σ is onto. If y img C  (CD), we want y = x + c, x img CD. Try x = yc. Clearly x img C. Since yD and cD, we know ϕ(y) = 1 = ϕ(c), so ϕ(yc) = 1 − 1 = 0. Thus x = yc img D too.
c. Let D be any subgroup of Bn of index 2. Then CD or [C : CD] = 2. The proof is in (a) where img has img
27. If img where {b1, . . ., bk} is a img-basis of C, and if BR by the gaussian algorithm, let ci be row i of R, 1 ≤ ik. There exists an invertible k × k matrix U (the product of the elementary matrices used to carry BR) such that UB = R. If U = [uij], then row i of R is

img

Since B = U−1R, we have bi img span{c1, . . ., cn} for each i, so C = span{c1, . . ., ck}. It follows that {c1, . . ., ck} is a basis of C. Since rank R = rankB = k, and since R is a reduced row-echelon matrix, the proof is complete.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.217.190.58