Communication Chapter 6 Flashcards
axioms for a subset to be a subspace
(1) C is closed under addition
(2) C is closed under scalar multiplication
(3) C contains the zero vector
What do you need to do to show is a subset is a subspace for linear codes
check the subset is closed under addition
How to show C is a linear code
Check C is a subspace of 𝔽ⁿ₂. Prove C is closed under addition.
Ways to prove C is closed under addition.
- Use dₕ(x,y)=w(x+y)
- Use dₕ(x,y) = w(x) + w(y) - 2a(x,y)
- Take all the individual elements of 2 codewords and show manually that addition is closed.
equivalent basis definition
A basis of C is a largest linearly independent set in C
dimension of C
the size of its basis
spanning property
every element of the subspace is a linear combination of the elements in the basis.
How to show B is a basis of C.
option 1: check the spanning property and linear independence.
option 2: prove dimension is the size of C. Then show B is linearly independent.
option 3: prove dimension is the size of C. Then show B has the spanning property.
How to find the dimension of a basis.
- find |C|=2ᵏ (number of codwords) (lemma 6.7)
- then k=log|C|
if a set is linearly independent the codewords don’t have…
overlapping 1s.
Equation (6.1) c as a linear combination of basis elements
c = λ₁c₁+…+λₖcₖ.
Equation (6.1) in terms of the generator matrix B
λB = c
Each ordering of a basis …
gives a different generator matrix
One generator matrix can be obtained for another by (not equivilence)….
performing row operation (changes the basis)
two equivalent codes have (4)
- the same length
- the same number of codewords
- the same dimension
- the same minimum distance
Why do equivalent codes have the same length and the same number of codewords
because the dimensions of the generator matrices are the same
Why do equivalent codes have the same dimension
same no. rows => basis is the same size.
Why do equivalent codes have the same minimum distance?
permuting columns in a generator matrix maintains all the differences between codewords => same minimum distance.
Not every code has a generator matrix in a normal form but…
there exists an equivalent code that admits a normal form.
What are parity check matrices good for?
determining if a string is in a linear code
How to tell if a string is in a linear code
If Hxᵀ = 0 then the string is in the linear code
What is the parity check matrix given B₀=(Iₖ|A)
H=(Aᵀ|Iₙ₋ₖ)
What is n in a generator matrix
number of columns
What is k in a generator matrix
number of rows
The minimum hamming distance is the smallest number of…
columns in the parity check matrix that form a linearly dependent set
linearly dependent set of size 1
0 string
linearly dependent set of size 2
2 equal strings (that are multiples of each other)
how to show x sets are linearly dependent
show that one can be written as a sum of the others.
How to show r is the smallest integer s.t. there exists r linearly dependent columns in H
- find an example for an upper bound (i.e. show a string can be written as a sum of some other strings)
- find lower bound: if all columns are unique and non-zero no set of ≤2 columns can form a linearly dependent set.
Hamming code of order r
linear code whose parity check matrix has 2ʳ-1 columns of length r that are all non-zero.