(Valid from January 1st, 2024 – December 31st, 2024)
Which of the following statements are true and which are false? Justify your answer with a short proof or a counterexample.
i) If the weight of each element in the generating matrix of a linear code is at least rr, the mininum distance of the code is at least rr.
ii) There is no linear self orthogonal code of odd length.
iii) There is no 3-cyclotomic coset modulo 121 of size 25.
iv) There is no duadic code of length 15 over F_(2)\mathbf{F}_2.
v) There is no LDPC code with parameters n=16,c=3n=16, c=3 and r=5r=5.
a) Which of the following binary codes are linear?
i) C={(0,0,0,0),(1,0,1,0),(0,1,1,0),(1,1,1,0)}\mathscr{C}=\{(0,0,0,0),(1,0,1,0),(0,1,1,0),(1,1,1,0)\}
ii) C={(0,0,0),(1,1,0),(1,0,1),(0,1,1)}\mathscr{C}=\{(0,0,0),(1,1,0),(1,0,1),(0,1,1)\}
Justify your answer.
b) Find the minimum distance for each of the codes.
c) For each of the linear codes, find the degree, a generator matrix and a parity check matrix.(3)
3) Let C_(1)\mathscr{C}_1 and C_(2)\mathscr{C}_2 be two binary codes with generator matrices
obtained from C_(1)\mathscr{C}_1 and C_(2)\mathscr{C}_2 by (u∣u+v)(\mathbf{u} \mid \mathbf{u}+\mathbf{v}) construction. Also, find the minimum distance of C\mathscr{C}.
a) If x,yinF_(2)^(n)\mathbf{x}, \mathbf{y} \in \mathbf{F}_2^n, show that
wt(x+y)=wt(x)+wt(y)-2wt(xnny)w t(\mathbf{x}+\mathbf{y})=w t(\mathbf{x})+w t(\mathbf{y})-2 w t(\mathbf{x} \cap \mathbf{y})
where xnny\mathbf{x} \cap \mathbf{y} is the vector in F_(2)^(n)\mathbf{F}_2^n which has 1s precisely at those positions where x\mathbf{x} and y\mathbf{y} have 1s.
(Hint: Let x=(x_(1),x_(2),dots,x_(n))\mathbf{x}=\left(x_1, x_2, \ldots, x_n\right) and y=(y_(1),y_(2),dots,y_(n))\mathbf{y}=\left(y_1, y_2, \ldots, y_n\right). Suppose
Observe that wt(x)=n_(1)+n_(2)w t(\mathbf{x})=n_1+n_2 and {:wt(y)=n_(1)+n_(3).)\left.w t(\mathbf{y})=n_1+n_3.\right)
b) Let C\mathscr{C} be a binary code with a generator matrix each of whose rows has even weight. Show that, every codeword of C\mathscr{C} has even weight.
(Hint: Why is it enough to prove that sum of vectors of even weight in F_(2)^(n)\mathbf{F}_2^n is a vector of even weight? )
c) Show that, if xinF_(3)^(n)\mathbf{x} \in \mathbf{F}_3^n,
Deduce that, if C\mathscr{C} is a ternary self orthogonal code, the weight of each codeword is divisible by 3 .
(Hint: Observe that x^(2)=1x^2=1 for all x!=0inF_(3)x \neq 0 \in \mathbf{F}_3 )
d) The aim of this exercise is to show that every binary repetition code of odd length is perfect.
i) Find the value of tt and dd for a perfect code of length 2m+1,m inN2 m+1, m \in \mathbf{N}.
ii) Show that
iii) Deduce that every repetiition code of odd length is perfect.
Let alpha\alpha be a root of x^(2)+1=0x^2+1=0 in F_(9)\mathbf{F}_9.
a) Check whether alpha\alpha is a primitive element of F_(9)\mathbf{F}_9. If it is not a primitive element in F_(9)\mathbf{F}_9 find a primitive element gamma\gamma in F_(9)\mathbf{F}_9 in terms of alpha\alpha.
b) Make a table similiar to Table 5.1 on page 184 for F_(9)\mathbf{F}_9 with the primitive element gamma\gamma
c) Factorise x^(8)-1x^8-1 over F_(3)\mathbf{F}_3.
d) Find all the possible generator polynomials of a [8,6][8,6] cyclic code.
a) Let C_(1)\mathscr{C}_1 and C_(2)\mathscr{C}_2 be cyclic codes over F_(q)\mathbf{F}_q with generator polynomials g_(1)(x)g_1(x) and g_(2)(x)g_2(x), respectively. Prove that C_(1)subeC_(2)\mathscr{C}_1 \subseteq \mathscr{C}_2 if and only if g_(2)(x)∣g_(1)(x)g_2(x) \mid g_1(x).
b) Over F_(2),(1+x)∣(x^(n)-1)\mathbf{F}_2,(1+x) \mid\left(x^n-1\right). Let C\mathscr{C} be the binary cyclic code (1+x)(1+x) of length nn. Let C_(1)\mathscr{C}_1 be any binary cyclic code of length nn with generator polynomial g_(1)(x)g_1(x).
i) What is the dimension of C\mathscr{C} ?
ii) Let ww be subspace of F_(2)^(n)\mathbf{F}_2^n containing all the vectors of even weight. Prove that WW has dimension n-1n-1. (Hint: Consider the map w:F_(2)^(n)rarrF_(2)w: \mathbf{F}_2^n \rightarrow \mathbf{F}_2 given by
iii) Prove that C\mathscr{C} is the vector space of all vectors in F_(2)^(n)\mathbf{F}_2^n with even weight.
iv) If C_(1)\mathscr{C}_1 has only even weight codewords, what is the relationship between (1+x)(1+x) and g_(1)(x)?g_1(x) ?
v) If C_(1)\mathscr{C}_1 has some odd weight codewords, what is the relationship between 1+x1+x and g_(1)(x)?g_1(x) ?
7) a) Let C\mathscr{C} be the ternary [8,3][8,3] narrow-sense BCH code of designed distance delta=5\delta=5, which has defining set T={1,2,3,4,6}T=\{1,2,3,4,6\}. Use the primitive root 8 th root of unity you chose in 4a) to avoid recomputing the the table of powers. If
Find the weight enumerator W_(C)(x,y)W_{\mathscr{C}}(x, y) of C\mathscr{C}.
c) Find the generating idempotents of duadic codes of length n=23n=23 over F_(3)\mathbf{F}_3.
(Hint: Mimic example 6.1.7.)
8) a) Let
c) Find the convolutional code for the message 11011. The convolutional encoder is given in Fig. 1.
Expert Answer:
Question:-1
Which of the following statements are true and which are false? Justify your answer with a short proof or a counterexample.
i) If the weight of each element in the generating matrix of a linear code is at least rr, the minimum distance of the code is at least rr.
ii) There is no linear self-orthogonal code of odd length.
iii) There is no 3-cyclotomic coset modulo 121 of size 25.
iv) There is no duadic code of length 15 over F_(2)\mathbf{F}_2.
v) There is no LDPC code with parameters n=16,c=3n=16, c=3, and r=5r=5.
Answer:
i) If the weight of each element in the generating matrix of a linear code is at least rr, the minimum distance of the code is at least rr.
False.
Counterexample:
Consider a code over F_(2)\mathbf{F}_2 with a generating matrix
The weights of the rows are both 3, but the minimum distance of the code is 2 (since v_(1)+v_(2)=(1,0,0,1)v_1 + v_2 = (1, 0, 0, 1) has weight 2). Therefore, the weight of the rows does not guarantee that the minimum distance is at least rr.
ii) There is no linear self-orthogonal code of odd length.
True.
Proof:
A code CC is self-orthogonal if for every pair of codewords x,y in Cx, y \in C, the inner product x*y=0x \cdot y = 0. In a linear self-orthogonal code, the inner product of each codeword with itself must also be zero, i.e., x*x=0x \cdot x = 0, meaning that the weight of each codeword must be even (since over F_(2)\mathbf{F}_2, the inner product is just the sum of the components mod 2, and an even number of 1s is required to make the inner product zero).
However, if the length of the code is odd, the weight of the codewords cannot always be even (since it is impossible to have all codewords of odd length being of even weight), so no such self-orthogonal code exists.
iii) There is no 3-cyclotomic coset modulo 121 of size 25.
True.
Proof:
Cyclotomic cosets modulo nn are formed by taking powers of some integer bb modulo nn, and their size is determined by the smallest integer mm such that b^(m)-=1modnb^m \equiv 1 \mod n. For n=121=11^(2)n = 121 = 11^2, we consider the powers of 3 modulo 121.
By calculating powers of 3 modulo 121, we see that no cyclotomic coset of size 25 arises. Cyclotomic coset sizes are determined by the order of elements in the multiplicative group modulo 121, and none have size 25.
iv) There is no duadic code of length 15 over F_(2)\mathbf{F}_2.
True.
Proof:
Duadic codes exist only for lengths that are divisible by 4 or for lengths that are powers of 2. Since 15 is neither divisible by 4 nor a power of 2, there is no duadic code of length 15 over F_(2)\mathbf{F}_2.
v) There is no LDPC code with parameters n=16,c=3n=16, c=3, and r=5r=5.
True.
Proof:
For an LDPC (Low-Density Parity-Check) code with parameters n=16n = 16 (length), c=3c = 3 (column weight, i.e., the number of 1s in each column of the parity-check matrix), and r=5r = 5 (row weight, i.e., the number of 1s in each row of the parity-check matrix), we need to satisfy the condition n xx c=m xx rn \times c = m \times r, where mm is the number of rows in the parity-check matrix. Here n=16n = 16, c=3c = 3, and r=5r = 5, so we would need 16 xx3=m xx516 \times 3 = m \times 5, which simplifies to m=48//5=9.6m = 48 / 5 = 9.6, which is not an integer. Hence, no such LDPC code exists.