Skip to Content
CSE5313CSE5313 Coding and information theory for data science (Lecture 5)

CSE5313 Coding and information theory for data science (Lecture 5)

Recap

Group

  1. Closure: a,bG,abG\forall a,b\in G, a\cdot b\in G.
  2. Associativity: a,b,cG,(ab)c=a(bc)\forall a,b,c\in G, (a\cdot b)\cdot c=a\cdot (b\cdot c).
  3. Identity: eG,aG,ae=ea=a\exists e\in G, \forall a\in G, a\cdot e=e\cdot a=a.
  4. Inverses: aG,a1G,aa1=a1a=e\forall a\in G, \exists a^{-1}\in G, a\cdot a^{-1}=a^{-1}\cdot a=e.

May not be commutative (group of invertible matrices).

Order of element in group

aGa\in G is of order kk if ak=ea^k=e and kk is the smallest positive integer such that ak=ea^k=e.

If an=ea^n=e, then O(a)nO(a)\mid n.

Generator of group

aGa\in G is a generator of GG if O(a)=G\mathcal{O}(a)=|G|. (for finite groups)

For infinite groups, a=G\langle a\rangle=G.

Example

(Zn,+)(\mathbb{Z}_n,+) has generator 11.

(Z8,)(\mathbb{Z}_8^*,\cdot) has generator 33. (Recall Z8={xZ8:gcd(x,8)=1}\mathbb{Z}_8^*=\{x\in\mathbb{Z}_8:gcd(x,8)=1\}. for multiplicative inverse.)

New content

Subgroups

A subgroup HH of GG is a nonempty subset of GG that is itself a group under the operation of GG.

Denoted as HGH\leq G.

Example

(Z6,+)(\mathbb{Z}_6,+) has subgroups H=({0,2,4},+)H=(\{0,2,4\},+).

Only need to check three:

  • non-empty
  • closure
  • finite

Theorem for finite subgroups

If HH is finite, non-empty, and closed under the operation of GG, then HH is a subgroup of GG.

Equivalence relations

An equivalence relation \sim on a set XX is a relation that is

  • reflexive: xX,xx\forall x\in X, x\sim x
  • symmetric: x,yX,xy    yx\forall x,y\in X, x\sim y\implies y\sim x
  • transitive: x,y,zX,xy and yz    xz\forall x,y,z\in X, x\sim y\text{ and } y\sim z\implies x\sim z

Example

Let SS be points on land, and aba\sim b if aa and bb are connected by land.

Equivalence classes

An equivalence relation on SS partitions SS into equivalence classes.

Equivalence classes are:

  • Disjoint
  • Cover SS

Cosets

Let GG be a group and HH its subgroup.

The coset of HH in GG is the equivalence class under congruence modulo HH.

Alternatively, (more convenient)

{h+ahH,aG}\{h+a|h\in H,a\in G\}

Example

Let G=(Z6,+)G=(\mathbb{Z}_6,+) and H=({0,2,4},+)H=(\{0,2,4\},+).

Define the equivalence relation on GG as:

aba\sim b if a+b1Ha+b^{-1}\in H (congruence modulo HH)

To find the equivalence classes of this relation for G=(Z6,+)G=(\mathbb{Z}_6,+) and H=({0,2,4},+)H=(\{0,2,4\},+), we have:

  • 00,02,040\sim 0, 0\sim 2, 0\sim 4
  • 11,13,151\sim 1, 1\sim 3, 1\sim 5

Lagrange’s theorem

For every finite group GG, the order of every subgroup HH of GG divides the order of GG.

Corollary of Lagrange’s theorem

If G|G| is prime, then GG is cyclic.

Proof

Let A={a0=e,a,a2,,aG1}A=\{a^0=e,a,a^2,\cdots,a^{|G|-1}\}.

AA is a cyclic subgroup of GG. of order at least two.

Then AG|A|||G|.

So A=G|A|=|G|.

So A=GA=G.

So GG is cyclic.

Additive group of a field

Any finite field has two types groups:

  • Additive group: (F,+)(\mathbb{F},+)
  • Multiplicative group: (F,)(\mathbb{F}^*,\cdot)

The “integer” of FF is:

{aF1k=a,kN}\{a\in F|1^k=a,k\in\mathbb{N}\}

The “characteristic” of FF is:

  • The order of 11 in additive group
  • Number of times that 11 is added to itself to get 00
  • Denoted by c(F)\operatorname{c}(F).

Example

c(Z7)=7\operatorname{c}(\mathbb{Z}_7)=7.

c(R)=0\operatorname{c}(\mathbb{R})=0.

c(Z2[x]modx2+x+1)=2\operatorname{c}(\mathbb{Z}_2[x] \mod x^2+x+1)=2.

Theorem field characteristic is prime

If c(F)>0\operatorname{c}(F)>0, then c(F)\operatorname{c}(F) is prime.

Proof

Suppose c(F)=mn\operatorname{c}(F)=mn, then 0=i=0m11j=0n11=00=\sum_{i=0}^{m-1}1\cdot\sum_{j=0}^{n-1}1=0.

So mm or nn must be 00.

So c(F)\operatorname{c}(F) is prime.

Theorem of linear power over additive group with prime characteristic

Let FF be a field with characteristic p>0p>0, then operation p^p is linear.

That is, (a+b)p=ap+bp(a+b)^p=a^p+b^p.

Proof

(a+b)p=i=0p(pi)aibpi(a+b)^p=\sum_{i=0}^p \binom{p}{i} a^i b^{p-i} (pi)=p!i!(pi)!=p(p1)(pi+1)i(i1)1\begin{aligned} \binom{p}{i}&=\frac{p!}{i!(p-i)!}\\ &=\frac{p(p-1)\cdots(p-i+1)}{i(i-1)\cdots 1} \end{aligned}

Informally, pp divides the numerator but not the denominator. So the whole fraction is an integer.

Since (pi)\binom{p}{i} is an integer of FF except for i=0i=0 and i=pi=p, we have (pi)=0\binom{p}{i}=0 for i=1,,p1i=1,\cdots,p-1.

So (a+b)p=ap+bp(a+b)^p=a^p+b^p.

Multiplicative group of a field

Every element in a multiplicative group of a field is cyclic.

Corollary:

  • Every finite field has a generator, called a primitive element.
  • This is an element γ\gamma such that F=γ\mathbb{F}^*=\langle \gamma\rangle.
  • Every element of F\mathbb{F}^* is a power of γ\gamma.

Example

Build F16=Z2[ζ]modζ4+ζ+1F_{16}=\mathbb{Z}_2[\zeta] \mod \zeta^4+\zeta+1.

The elements are:

Power of ζ\zetaElementAs vector in Z24\mathbb{Z}_2^4
00(0,0,0,0)
11(1,0,0,0)
2ζ\zeta(0,1,0,0)
3ζ2\zeta^2(0,0,1,0)
4ζ3\zeta^3(0,0,0,1)
5ζ+1\zeta+1(1,1,0,0)
6ζ2+ζ\zeta^2+\zeta(0,1,1,0)
7ζ3+ζ2\zeta^3+\zeta^2(0,0,1,1)
8ζ3+ζ2+1\zeta^3+\zeta^2+1(1,1,1,0)

The primitive element is ζ\zeta.

Vector spaces and subspaces over finite fields

Fn\mathbb{F}^n is a vector space over F\mathbb{F}.

With point-wise vector addition and scalar multiplication.

Example

F24\mathbb{F}_2^4 is a vector space over F2\mathbb{F}_2.

Let v=(1111)v=\begin{pmatrix} 1 & 1 & 1 & 1 \end{pmatrix}

Then vv is a vector in F24\mathbb{F}_2^4 that’s “orthogonal” to itself.

vv=1+1+1+1=4=0v\cdot v=1+1+1+1=4=0 in F2\mathbb{F}_2.

In general field, the dual space and space may intersect non-trivially.

Let VV be a subspace of Fn\mathbb{F}^n.

VV is a subgroup of Fn\mathbb{F}^n under vector addition.

  • Apply the theorem: If HH is finite, non-empty, and closed under the operation of GG, then HH is a subgroup of GG.

Is every subgroup of Fn\mathbb{F}^n a subspace?

Cosets in this definition are called Affine subspaces.

Last updated on