An introduction to coding theory
Adrish Banerjee
Department of Electrical Engineering Indian Institute of Technology Kanpur Kanpur, Uttar Pradesh India
Feb. 6, 2017
Lecture #6A: Some simple linear block codes -I
Adrish Banerjee Department of Electrical Engineering Indian Institute of Technology Kanpur Kanpur, Uttar Pradesh India An introduction to coding theory Outline of the lecture
Dual code.
Adrish Banerjee Department of Electrical Engineering Indian Institute of Technology Kanpur Kanpur, Uttar Pradesh India An introduction to coding theory
Outline of the lecture
Dual code. Examples of linear block codes
Adrish Banerjee Department of Electrical Engineering Indian Institute of Technology Kanpur Kanpur, Uttar Pradesh India An introduction to coding theory Outline of the lecture
Dual code. Examples of linear block codes Repetition code
Adrish Banerjee Department of Electrical Engineering Indian Institute of Technology Kanpur Kanpur, Uttar Pradesh India An introduction to coding theory
Outline of the lecture
Dual code. Examples of linear block codes Repetition code Single parity check code
Adrish Banerjee Department of Electrical Engineering Indian Institute of Technology Kanpur Kanpur, Uttar Pradesh India An introduction to coding theory Outline of the lecture
Dual code. Examples of linear block codes Repetition code Single parity check code Hamming code
Adrish Banerjee Department of Electrical Engineering Indian Institute of Technology Kanpur Kanpur, Uttar Pradesh India An introduction to coding theory
Dual code
Two n-tuples u and v are orthogonal if their inner product (u, v)is zero, i.e., n (u, v)= (ui · vi )=0 i=1
Adrish Banerjee Department of Electrical Engineering Indian Institute of Technology Kanpur Kanpur, Uttar Pradesh India An introduction to coding theory Dual code
Two n-tuples u and v are orthogonal if their inner product (u, v)is zero, i.e., n (u, v)= (ui · vi )=0 i=1
For a binary linear (n, k) block code C,the(n, n − k) dual code, Cd is defined as set of all codewords, v that are orthogonal to all the codewords u ∈ C.
Adrish Banerjee Department of Electrical Engineering Indian Institute of Technology Kanpur Kanpur, Uttar Pradesh India An introduction to coding theory
Dual code
Two n-tuples u and v are orthogonal if their inner product (u, v)is zero, i.e., n (u, v)= (ui · vi )=0 i=1
For a binary linear (n, k) block code C,the(n, n − k) dual code, Cd is defined as set of all codewords, v that are orthogonal to all the codewords u ∈ C. (n, n − k) dual code, Cd is also a linear code.
Adrish Banerjee Department of Electrical Engineering Indian Institute of Technology Kanpur Kanpur, Uttar Pradesh India An introduction to coding theory Dual code
Two n-tuples u and v are orthogonal if their inner product (u, v)is zero, i.e., n (u, v)= (ui · vi )=0 i=1
For a binary linear (n, k) block code C,the(n, n − k) dual code, Cd is defined as set of all codewords, v that are orthogonal to all the codewords u ∈ C. (n, n − k) dual code, Cd is also a linear code. Proof: Let x, y ∈ Cd ,thenx · u = y · u =0foreveryu ∈ C
Adrish Banerjee Department of Electrical Engineering Indian Institute of Technology Kanpur Kanpur, Uttar Pradesh India An introduction to coding theory
Dual code
Two n-tuples u and v are orthogonal if their inner product (u, v)is zero, i.e., n (u, v)= (ui · vi )=0 i=1
For a binary linear (n, k) block code C,the(n, n − k) dual code, Cd is defined as set of all codewords, v that are orthogonal to all the codewords u ∈ C. (n, n − k) dual code, Cd is also a linear code. Proof: Let x, y ∈ Cd ,thenx · u = y · u =0foreveryu ∈ C Thus,
(λx + μy) · u = λ(x · u)+μ(y · u)=0
for every u ∈ C
Adrish Banerjee Department of Electrical Engineering Indian Institute of Technology Kanpur Kanpur, Uttar Pradesh India An introduction to coding theory Dual code
Two n-tuples u and v are orthogonal if their inner product (u, v)is zero, i.e., n (u, v)= (ui · vi )=0 i=1
For a binary linear (n, k) block code C,the(n, n − k) dual code, Cd is defined as set of all codewords, v that are orthogonal to all the codewords u ∈ C. (n, n − k) dual code, Cd is also a linear code. Proof: Let x, y ∈ Cd ,thenx · u = y · u =0foreveryu ∈ C Thus,
(λx + μy) · u = λ(x · u)+μ(y · u)=0
for every u ∈ C This implies λx + μy ∈ Cd
Adrish Banerjee Department of Electrical Engineering Indian Institute of Technology Kanpur Kanpur, Uttar Pradesh India An introduction to coding theory
Dual code
Let C be a linear code with generator matrix G.Thenx ∈ Cd if and only if xGT =0
Adrish Banerjee Department of Electrical Engineering Indian Institute of Technology Kanpur Kanpur, Uttar Pradesh India An introduction to coding theory Dual code
Let C be a linear code with generator matrix G.Thenx ∈ Cd if and only if xGT =0 Let G be given by ⎡ ⎤ g0 ⎢ ⎥ ⎢ g1 ⎥ G = ⎣ ··· ⎦
gk−1
where {g0} is some basis of G.
Adrish Banerjee Department of Electrical Engineering Indian Institute of Technology Kanpur Kanpur, Uttar Pradesh India An introduction to coding theory
Dual code
Let C be a linear code with generator matrix G.Thenx ∈ Cd if and only if xGT =0 Let G be given by ⎡ ⎤ g0 ⎢ ⎥ ⎢ g1 ⎥ G = ⎣ ··· ⎦
gk−1
where {g0} is some basis of G. T · , ··· , · Also, xG =(x g0 x gk−1).
Adrish Banerjee Department of Electrical Engineering Indian Institute of Technology Kanpur Kanpur, Uttar Pradesh India An introduction to coding theory Dual code
Let C be a linear code with generator matrix G.Thenx ∈ Cd if and only if xGT =0 Let G be given by ⎡ ⎤ g0 ⎢ ⎥ ⎢ g1 ⎥ G = ⎣ ··· ⎦
gk−1
where {g0} is some basis of G. T · , ··· , · Also, xG =(x g0 x gk−1). T If x ∈ Cd ,thenx · gi =0foreveryi,soxG =0.
Adrish Banerjee Department of Electrical Engineering Indian Institute of Technology Kanpur Kanpur, Uttar Pradesh India An introduction to coding theory
Dual code
T If xG =0,thenx · gi =0foreveryi.Ifc ∈ C,thenc = i λi gi for some binary λi ,so