10 Dual codes Flashcards
inner product
Recall the inner (or scalar) product u.v = uvᵀ of two (row) vectors.
Z₂⁴ : 1001.1101=1+0+0+1=0.
defn 10.2 dual code
Given C ⊂ F^n _q , its dual code is
C⊥
= {u ∈ F^n _q | u.v = 0 ∀ v ∈ C}
orthogonal code
Lemma 10.3 dual code
If C generated by G then v ∈ C⊥ ⇐⇒ vGᵀ = 0.
range/ image of L
If U, V are vector spaces over F_q and
L : U → V is a linear map,
L(U) = {L(x)| x ∈ U} ⊂ V ,
is a subspace of V
rank of L
If U, V are vector spaces over F_q and
L : U → V is a linear map,
dimension of the range of L
range of L is a subspace of v
kernal of L
If U, V are vector spaces over F_q and
L : U → V is a linear map,
The set of vectors
ker L = {u ∈ U | L(u) = 0} ⊂ U
is a subspace of U, called the kernel of U.
nullity of L
If U, V are vector spaces over F_q and
L : U → V is a linear map,
The dimension of the
kernel is called the nullity of L. We have
The Rank-Nullity Theorem
rank L + dim(ker L) = dim U
linear map from matrix
Let F be a field (e.g. F_q)
each n x k matrix A with entries in F defines two maps
L_A : v → vA : Fⁿ→ Fᵏ (row vectors)
Lᴬ: v → Av : Fᵏ→ Fⁿ (column vectors)
consider now in futre only L_A and row vectors
Linear because:
for α, β ∈ F we have (αv + βw)A = αvA + βwA.
If we consider the standard ordered basis for F^n then its image under L_A is the set of row vectors in A.
10.4 lemma rank dimension for linear map
The rank of LA, i.e. the dimension of
L_A(Fⁿ), is the same as the rank of A.
row rank of A is the dimension of the row span and the column rank is that of the column span
these are equal to the #leading ones/pivots in REF of A
Rank of A
ranks for transpose=
10.5. Example. Let’s try a matrix with rank 1:
(x y ) (1 1)
(1 1)
= (x+y x+y)
Clearly the image space has dim=1 (albeit embedded in a 2d
space).
(Av)^T=
v^T A^T
Thm 10.6 considering map existence of code
dual
If C an [n, k]-code over F_q
(i.e. an [n, k, d]-code for some d), then
C⊥ is an [n, n − k]-code over Fq.
thm 10.6 proof:
If C an [n, k]-code over F_q
(i.e. an [n, k, d]-code for some d), then
C⊥ is an [n, n − k]-code over Fq.
Let G be a generator matrix for C, and consider the map
L = L_{Gᵀ} : v → vGᵀ: Fⁿ_q → Fᵏ_q
(note that G has k rows and n columns, so Gᵀ has n rows and k columns).
Then C⊥ = ker L by Lemma 10.3.
Thus C⊥ is linear.
Now, by the Rank-Nullity Theorem,
dim(ker L) = dim Fⁿ_q − rank L = n − rank L
But, by the previous lemma, rank L = rank(Gᵀ ) = rank(G) = k, since a generator matrix has full rank by definition. So
dim (C⊥) = n − k.
Example 10.7
C = {000, 110, 011, 101}
dimension
over Z_2
what is dimension of C⊥
over Z_2 has dimension 2
by thm 10.6 C⊥ dimension 3-2=1