MATH 433 Applied Algebra Lecture 21: Linear codes (continued). Classification of groups.

Similar documents
MATH 433 Applied Algebra Lecture 22: Review for Exam 2.

Binary Linear Codes G = = [ I 3 B ] , G 4 = None of these matrices are in standard form. Note that the matrix 1 0 0

Coset Decomposition Method for Decoding Linear Codes

MATH Examination for the Module MATH-3152 (May 2009) Coding Theory. Time allowed: 2 hours. S = q

Linear Codes and Syndrome Decoding

3. Coding theory 3.1. Basic concepts

MATH/MTHE 406 Homework Assignment 2 due date: October 17, 2016

Cyclic Redundancy Check Codes

Mathematics Department

Error-Correcting Codes

: Coding Theory. Notes by Assoc. Prof. Dr. Patanee Udomkavanich October 30, upattane

MATH3302 Coding Theory Problem Set The following ISBN was received with a smudge. What is the missing digit? x9139 9

Answers and Solutions to (Even Numbered) Suggested Exercises in Sections of Grimaldi s Discrete and Combinatorial Mathematics

Math 512 Syllabus Spring 2017, LIU Post

MATH 291T CODING THEORY

MATH 433 Applied Algebra Lecture 19: Subgroups (continued). Error-detecting and error-correcting codes.

EE512: Error Control Coding

The extended coset leader weight enumerator

Finite Mathematics. Nik Ruškuc and Colva M. Roney-Dougal

Chapter 3 Linear Block Codes

MATH 291T CODING THEORY

ELEC 519A Selected Topics in Digital Communications: Information Theory. Hamming Codes and Bounds on Codes

Solutions of Exam Coding Theory (2MMC30), 23 June (1.a) Consider the 4 4 matrices as words in F 16

Definition 2.1. Let w be a word. Then the coset C + w of w is the set {c + w : c C}.

Coding Theory: Linear-Error Correcting Codes Anna Dovzhik Math 420: Advanced Linear Algebra Spring 2014

EE 229B ERROR CONTROL CODING Spring 2005

Lecture 12. Block Diagram

Chapter 7. Error Control Coding. 7.1 Historical background. Mikael Olofsson 2005

Homework 6 Solutions to Selected Problems

Solutions to problems from Chapter 3

The BCH Bound. Background. Parity Check Matrix for BCH Code. Minimum Distance of Cyclic Codes

Vector spaces. EE 387, Notes 8, Handout #12

Know the meaning of the basic concepts: ring, field, characteristic of a ring, the ring of polynomials R[x].

Error Detection and Correction: Hamming Code; Reed-Muller Code

MATH32031: Coding Theory Part 15: Summary

16.36 Communication Systems Engineering

Lecture 3: Error Correcting Codes

Ma/CS 6b Class 25: Error Correcting Codes 2

Cyclic codes: overview

Communications II Lecture 9: Error Correction Coding. Professor Kin K. Leung EEE and Computing Departments Imperial College London Copyright reserved

Chapter 5. Cyclic Codes

ELEC 405/ELEC 511 Error Control Coding and Sequences. Hamming Codes and the Hamming Bound

5 Group theory. 5.1 Binary operations

MATH3302. Coding and Cryptography. Coding Theory

Optimum Soft Decision Decoding of Linear Block Codes

Lecture 4: Linear Codes. Copyright G. Caire 88

A Brief Encounter with Linear Codes

ELEC 405/ELEC 511 Error Control Coding. Hamming Codes and Bounds on Codes


Lecture Introduction. 2 Linear codes. CS CTT Current Topics in Theoretical CS Oct 4, 2012

ECEN 5682 Theory and Practice of Error Control Codes

channel of communication noise Each codeword has length 2, and all digits are either 0 or 1. Such codes are called Binary Codes.

Week 3: January 22-26, 2018

Information Theory. Lecture 7

Lecture 12: November 6, 2017

MAS309 Coding theory

Ma/CS 6b Class 24: Error Correcting Codes

Coding Theory and Applications. Solved Exercises and Problems of Cyclic Codes. Enes Pasalic University of Primorska Koper, 2013

B. Cyclic Codes. Primitive polynomials are the generator polynomials of cyclic codes.

MT5821 Advanced Combinatorics

Arrangements, matroids and codes

Solutions or answers to Final exam in Error Control Coding, October 24, G eqv = ( 1+D, 1+D + D 2)

ELEC-E7240 Coding Methods L (5 cr)

Can You Hear Me Now?

Chapter 2. Error Correcting Codes. 2.1 Basic Notions

Generator Matrix. Theorem 6: If the generator polynomial g(x) of C has degree n-k then C is an [n,k]-cyclic code. If g(x) = a 0. a 1 a n k 1.

The Hamming Codes and Delsarte s Linear Programming Bound

EE512: Error Control Coding

Reed Muller Error Correcting Codes

Quasi-cyclic codes. Jay A. Wood. Algebra for Secure and Reliable Communications Modeling Morelia, Michoacán, Mexico October 12, 2012

9 THEORY OF CODES. 9.0 Introduction. 9.1 Noise

ECEN 604: Channel Coding for Communications

11 Minimal Distance and the Parity Check Matrix

x n k m(x) ) Codewords can be characterized by (and errors detected by): c(x) mod g(x) = 0 c(x)h(x) = 0 mod (x n 1)

} has dimension = k rank A > 0 over F. For any vector b!

Berlekamp-Massey decoding of RS code

exercise in the previous class (1)

Coding Theory and Applications. Linear Codes. Enes Pasalic University of Primorska Koper, 2013

ERROR CORRECTING CODES

Complex Reflection Group Coding

MA441: Algebraic Structures I. Lecture 18

New algebraic decoding method for the (41, 21,9) quadratic residue code

7.1 Definitions and Generator Polynomials

FUNDAMENTALS OF ERROR-CORRECTING CODES - NOTES. Presenting: Wednesday, June 8. Section 1.6 Problem Set: 35, 40, 41, 43

Lecture 14: Hamming and Hadamard Codes

G Solution (10 points) Using elementary row operations, we transform the original generator matrix as follows.

Exam I, MTH 320: Abstract Algebra I, Spring 2012

D-MATH Algebra II FS18 Prof. Marc Burger. Solution 21. Solvability by Radicals

Math 210A: Algebra, Homework 5

MATH 101: ALGEBRA I WORKSHEET, DAY #3. Fill in the blanks as we finish our first pass on prerequisites of group theory.

Linear Block Codes. Saravanan Vijayakumaran Department of Electrical Engineering Indian Institute of Technology Bombay

And for polynomials with coefficients in F 2 = Z/2 Euclidean algorithm for gcd s Concept of equality mod M(x) Extended Euclid for inverses mod M(x)

ABSTRACT ALGEBRA 1, LECTURE NOTES 5: HOMOMORPHISMS, ISOMORPHISMS, SUBGROUPS, QUOTIENT ( FACTOR ) GROUPS. ANDREW SALCH

Combinatória e Teoria de Códigos Exercises from the notes. Chapter 1

Group. Orders. Review. Orders: example. Subgroups. Theorem: Let x be an element of G. The order of x divides the order of G

Fault Tolerance & Reliability CDA Chapter 2 Cyclic Polynomial Codes

On Compression Encrypted Data part 2. Prof. Ja-Ling Wu The Graduate Institute of Networking and Multimedia National Taiwan University

EXAM 3 MAT 423 Modern Algebra I Fall c d a + c (b + d) d c ad + bc ac bd

Plotkin s Bound in Codes Equipped with the Euclidean Weight Function

Digital Communications III (ECE 154C) Introduction to Coding and Information Theory

Transcription:

MATH 433 Applied Algebra Lecture 21: Linear codes (continued). Classification of groups.

Binary codes Let us assume that a message to be transmitted is in binary form. That is, it is a word in the alphabet B = {0, 1}. For any integer k 1, the set of all words of length k is identified with B k. A binary code (or a binary coding function) is an injective function f : B m B n. For any w B m, the word f (w) is called the codeword associated to w. The code f is systematic if f (w) = wu for any w B m (that is, w is the beginning of the associated codeword). This condition clearly implies injectivity of the function f.

Encoding / decoding The code f : B m B n is used as follows. Encoding: The sender splits the message into words of length m: w 1, w 2,...,w s. Then he applies f to each of these words and produces a sequence of codewords f (w 1 ), f (w 2 ),...,f (w s ), which is to be transmitted. Decoding: The receiver obtains a sequence of words of length n: w 1, w 2,...,w s, where w i is supposed to be f (w i ) but it may be different due to errors during transmission. Each w i is checked for being a codeword. If it is, w i = f (w), then w i is decoded to w. Otherwise an error (or errors) is detected. In the case of an error-correcting code, the receiver attempts to correct w i by applying a correction function c : B n B n, then decodes the word c(w i ).

The distance d(w 1, w 2 ) between binary words w 1, w 2 of the same length is the number of positions in which they differ. The weight of a word w is the number of nonzero digits, which is the distance to the zero word. The distance between the sent codeword and the received word is equal to the number of errors during transmission. Theorem Let f : B m B n be a coding function. Then (i) f allows detection of k or fewer errors if and only if the minimum distance between distinct codewords is at least k + 1; (ii) f allows correction of k or fewer errors if and only if the minimum distance between distinct codewords is at least 2k + 1. The correction function c is usually chosen so that c(w) is the codeword closest to w.

Linear codes The binary alphabet B = {0, 1} is naturally identified with Z 2, the field of 2 elements. Then B n can be regarded as the n-dimensional vector space over the field Z 2. A binary code f : B m B n is linear if f is a linear transformation of vector spaces. Any linear code is given by a generator matrix G, which is an m n matrix with entries from Z 2 such that f (w) = wg (here w is regarded as a row vector). For a systematic code, G is of the form (I m A). Theorem If f : B m B n is a linear code, then the set W of all codewords forms a subspace (and a subgroup) of B n ; the zero word is a codeword; the minimum distance between distinct codewords is equal to the minimum weight of nonzero codewords.

Coset leaders A received word w is represented as w 0 + w 1, where w 0 is the codeword that was sent and w 1 is an error pattern (namely, w 1 has 1s in those positions where transmission errors occured). The set of words received with a particular error pattern w 1 is a coset w 1 + W of the subgroup W of codewords in the group B n of all words of length n. Error-correction is based on the following assumption. For every coset C of W, we assume that all words from C are received with the same error pattern w C. Note that w C C so that C = w C + W. Given a word w C, the corrected codeword is w w C (= w + w C ). The word w C is a coset leader. It is chosen as the most likely error pattern, namely, the word of smallest weight in the coset C (the choice may not be unique).

Coset decoding table Using coset leaders, the error correction can be done via the coset decoding table, which is a 2 n m 2 m table containing all words of length m. The table has the following properties: the first row consists of codewords, the first entry in the first row is the zero word, each row is a coset, the first column consists of the coset leaders, any word is the sum of the first word in its row and the first word in its column. Once the coset decoding table is build, each word is corrected to the codeword on top of its column. The coset decoding table can be build simultaneously with choosing coset leaders using a procedure similar to the sieve of Eratosthenes.

Example. Generator matrix: G = Coding function: 00 00000 01 01011 10 10110 11 11101 Coset decoding table: 00000 01011 10110 11101 00001 01010 10111 11100 00010 01001 10100 11111 00100 01111 10010 11001 01000 00011 11110 10101 10000 11011 00110 01101 10001 11010 00111 01100 00101 01110 10011 11000 ( ) 1 0 1 1 0 0 1 0 1 1 detects 2 errors corrects 1 error

Coset decoding table: 00000 01011 10110 11101 00001 01010 10111 11100 00010 01001 10100 11111 00100 01111 10010 11001 01000 00011 11110 10101 10000 11011 00110 01101 10001 11010 00111 01100 00101 01110 10011 11000 Message: 00 01 01 00 10 11 11 01 00 After encoding: 00000 01011 01011 00000 10110 11101 11101 01011 00000 After transmission: 00000 00011 01011 00000 11100 11101 10101 11101 01000 After correction: 00000 01011 01011 00000 11101 11101 11101 11101 00000 After decoding: 00 01 01 00 11 11 11 11 00

Parity-check matrix An alternative way to do error correction is to use the parity-check matrix and syndromes. Let G be the generator matrix of a linear code f : B m B n. We assume the code to be systematic so that G has the form (I m A). ( The ) parity-check matrix of the code is the matrix A P =. Given a word w I B m, the syndrome of w n m is the product w P, which is a word of length n m. Theorem (i) The syndrome of a word w is the zero word if and only if w is a codeword. (ii) The syndromes of two words w and w coincide if and only if these words are in the same coset. Given a transmitted word w, we compute its syndrome and find a coset leader w C with the same syndrome. Then the corrected word is w w C (= w + w C ).

To perform the error correction, we need a two-column table where one column consists of coset leaders and the other consists of the corresponding syndromes. ( ) 1 0 1 1 0 Example. Generator matrix: G =. 0 1 0 1 1 ( ) 1 0 1 1 0 0 1 0 1 1 Coset leaders Syndromes 00000 000 00001 001 00010 010 00100 100 01000 011 10000 110 10001 111 00101 101 ( ) 1 1 0 0 1 1 1 1 0 0 1 1 1 0 0 0 1 0 0 0 1

Classification of groups Definition. Let G and H be groups. A function f : G H is called an isomorphism of the groups if it is bijective and f (g 1 g 2 ) = f (g 1 )f (g 2 ) for all g 1, g 2 G. Theorem Isomorphism is an equivalence relation on the set of all groups. Classification of groups consists of describing all equivalence classes of this relation and placing every known group into an appropriate class. Theorem The following properties of groups are preserved under isomorphisms: the number of elements, being Abelian, being cyclic, having a subgroup of a particular order, having an element of a particular order.

Classification of finite Abelian groups Given two groups G and H, the direct product G H is the set of all ordered pairs (g, h), where g G, h H, with an operation defined by (g 1, h 1 )(g 2, h 2 ) = (g 1 g 2, h 1 h 2 ). The set G H is a group under this operation. The identity element is (e G, e H ), where e G is the identity element in G and e H is the identity element in H. The inverse of (g, h) is (g 1, h 1 ), where g 1 is computed in G and h 1 is computed in H. Similarly, we can define the direct product G 1 G 2 G n of any finite collection of groups G 1, G 2,...,G n. Theorem Any finite Abelian group is isomorphic to a direct product of cyclic groups Z n1 Z n2 Z nk. Moreover, we can assume that the orders n 1, n 2,...,n k of the cyclic groups are prime powers, in which case this direct product is unique (up to rearrangement of the factors).