11.07.2015 Views

Abstract Algebra Theory and Applications - Computer Science ...

Abstract Algebra Theory and Applications - Computer Science ...

Abstract Algebra Theory and Applications - Computer Science ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

EXERCISES 135In other words, a metric is simply a generalization of the notion of distance.Prove that Hamming distance is a metric on Z n 2 . Decoding a message actuallyreduces to deciding which is the closest codeword in terms of distance.18. Let C be a linear code. Show that either the ith coordinates in the codewordsof C are all zeros or exactly half of them are zeros.19. Let C be a linear code. Show that either every codeword has even weight orexactly half of the codewords have even weight.20. Show that the codewords of even weight in a linear code C are also a linearcode.21. If we are to use an error-correcting linear code to transmit the 128 ASCIIcharacters, what size matrix must be used? What size matrix must be usedto transmit the extended ASCII character set of 256 characters? What if werequire only error detection in both cases?22. Find the canonical parity-check matrix that gives the even parity check bitcode with three information positions. What is the matrix for seven informationpositions? What are the corresponding st<strong>and</strong>ard generator matrices?23. How many check positions are needed for a single error-correcting code with20 information positions? With 32 information positions?24. Let e i be the binary n-tuple with a 1 in the ith coordinate <strong>and</strong> 0’s elsewhere<strong>and</strong> suppose that H ∈ M m×n (Z 2 ). Show that He i is the ith column of thematrix H.25. Let C be an (n, k)-linear code. Define the dual or orthogonal code of Cto beC ⊥ = {x ∈ Z n 2 : x · y = 0 for all y ∈ C}.(a) Find the dual code of the linear code C where C is given by the matrix⎛1 1 1 0⎞0⎝ 0 0 1 0 1 ⎠ .1 0 0 1 0(b) Show that C ⊥ is an (n, n − k)-linear code.(c) Find the st<strong>and</strong>ard generator <strong>and</strong> parity-check matrices of C <strong>and</strong> C ⊥ .What happens in general? Prove your conjecture.26. Let H be an m × n matrix over Z 2 , where the ith column is the number iwritten in binary with m bits. The null space of such a matrix is called aHamming code.(a) Show that the matrix⎛H = ⎝0 0 0 1 1 10 1 1 0 0 11 0 1 0 1 0⎞⎠

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!