exercise

11.2 A new linear code

1)

Let where for Take any , for each coordinate : If , then or (If both are , then ) Let denotes the set of coordinates where , with So all , we have or Therefore, we must have (inequality for finite set)

2)

Let such that and Let such that we know that according to the definition of

We first prove that : We prove this by using contradiction. Suppose , and we have We have according to the definition of Let , we get This contradicts to our assumption. Therefore, we proved

Then, we prove that : Since is linear, must still be in We have (there is no such such that ) We now prove that By definition For each coordinate :

  • If , then
  • Conversely, If , then
  • Thus,

Conclusion: Since we proved both inequalities in opposite directions, we must have The claim is proved.

3)

Let with and with (using the result from previous question)

We first prove that

  • Take , then
    • (because concatenation just sums the weights of the two halves)
    • (using result from previous question)
    • Therefore,
  • Take , then
    • and (using result from previous question)
    • Therefore,
  • Hence

Then, we prove that Take any non zero pair Case 1

  • Then
  • Case 2
  • By using the result from question 1 we get

In all cases, Therefore (using result from previous question)

Conclusion: Since we proved both inequalities in opposite directions, we must have The claim is proved.