Coding Theory, Finding Dual Code

Click For Summary
The discussion revolves around finding a basis for the dual code C orthogonal from the set S = {0101, 1010, 1100}. The user constructed a matrix from the codes in S and attempted to reduce it to Row Echelon Form, but struggled to achieve the form shown in the reference material. They ultimately derived a generating matrix G but were unsure if it was correct and how to derive the parity-check matrix H. Another participant provided a solution indicating that the orthogonal code consists of {0000, 1111}, confirming the dimensions of the dual code space. The conversation highlights the challenges in achieving the correct matrix forms and understanding the relationships between the original code and its dual.
Chadlee88
Messages
40
Reaction score
0

Homework Statement



Let S = {0101, 1010, 1100}. From first principles, find a basis B for the dual code C orthogonal (couldn't find symbol)

Homework Equations



http://www.maths.uq.edu.au/courses/MATH3302/files/codingnotes.pdf

i'm using page 19,20 and 21

The Attempt at a Solution



so i did my matrix using the codes of S

1. 0101
A = 1010
1100


2. then i used REF on this getting

1100 1100
0110 => 0110 = G
0101 0011

So is this my generating matrix G? like shown on page 20
The problem is the example on page 20 is in Reduced Row Echelon Form and not
not just Row Echelon Form like above. So i don't get G = (I X) like the example.
This is where i get stuck because I'm not getting the same form for G and so i can't
get H which i need as the columns of H form a basis for C orthogonal.

The solution to this problem i have i don't get either but maybe it might help you,
It's a different approach to what I'm taking but i don't get it.

Could someone please tell me if i got the correct G and how to get H because
that's where I'm really stuck.



Notes solution:

4. Let x1x2x3x4 2 C?. Then by the defnition of C? we have
(x1x2x3x4) x (0101) = 0 so x2 + x4 = 0
(x1x2x3x4) x (1010) = 0 so x1 + x3 = 0
(x1x2x3x4) x (1100) = 0 so x1 + x2 = 0

Thus we have x1 = x2 = x3 = x4. Thus
C orthogonal = {0000, 1111}

Thanx for helping,

Cheerz
 
Last edited by a moderator:
Physics news on Phys.org
Chadlee88 said:

Homework Statement



Let S = {0101, 1010, 1100}. From first principles, find a basis B for the dual code C orthogonal (couldn't find symbol)

Homework Equations



http://www.maths.uq.edu.au/courses/MATH3302/files/codingnotes.pdf

i'm using page 19,20 and 21

The Attempt at a Solution



so i did my matrix using the codes of S

1. 0101
A = 1010
1100


2. then i used REF on this getting

1100 1100
0110 => 0110 = G
0101 0011
I followed Ex. 2.14 to do this work. I got a different matrix G, but then I reduced A to completely reduced row echelon form (using paper and pen, BTW).

My G looks like this:
Code:
[1 0 0 1]
[0 1 0 1]
[0 0 1 1]

From this I have [I3 X], where X is [1 1 1] (but as a column vector). From this I see that k = 3, and X is as above.

My matrix H' is
Code:
[1]
[1]
[1]
[1]
Note that the bottom entry is the 1 x 1 identity matrix. The columns in H' (all one of them) are the basis for Cperp.

This makes at least some sense because the original code had three elements that are linearly independent, and the dimension of the code space is 4. So the space for the dual code has to be of dimension 1.

The check on my work, which I didn't do, is to convince yourself that the original three codes plus the one I found are linearly independent.
Chadlee88 said:
So is this my generating matrix G? like shown on page 20
The problem is the example on page 20 is in Reduced Row Echelon Form and not
not just Row Echelon Form like above. So i don't get G = (I X) like the example.
This is where i get stuck because I'm not getting the same form for G and so i can't
get H which i need as the columns of H form a basis for C orthogonal.

The solution to this problem i have i don't get either but maybe it might help you,
It's a different approach to what I'm taking but i don't get it.

Could someone please tell me if i got the correct G and how to get H because
that's where I'm really stuck.



Notes solution:

4. Let x1x2x3x4 2 C?. Then by the defnition of C? we have
(x1x2x3x4) x (0101) = 0 so x2 + x4 = 0
(x1x2x3x4) x (1010) = 0 so x1 + x3 = 0
(x1x2x3x4) x (1100) = 0 so x1 + x2 = 0

Thus we have x1 = x2 = x3 = x4. Thus
C orthogonal = {0000, 1111}

Thanx for helping,

Cheerz
 
Last edited by a moderator:
Question: A clock's minute hand has length 4 and its hour hand has length 3. What is the distance between the tips at the moment when it is increasing most rapidly?(Putnam Exam Question) Answer: Making assumption that both the hands moves at constant angular velocities, the answer is ## \sqrt{7} .## But don't you think this assumption is somewhat doubtful and wrong?

Similar threads

  • · Replies 5 ·
Replies
5
Views
3K
Replies
1
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 2 ·
Replies
2
Views
623
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 1 ·
Replies
1
Views
793
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
7
Views
2K