Professional Documents
Culture Documents
DSGTChap 5 Algebraic Systems
DSGTChap 5 Algebraic Systems
DSGTChap 5 Algebraic Systems
ALGEBRAIC STRUCTURES
By Prof. Mitrakshi Patil
INTRODUCTION
• These discrete structures are called Alg. Systems as they obey a set of
rules which are similar to rules of addition, multi in elementary algebra.
• Binary Operations-
a*b.
• i. e. if a & b are elts in A, then a*b ∈A, is said like ‘A is closed under the
operation ’*’.
• Ex:
1. The set N is closed with respect to addition and multiplication but not
w.r.t subtraction and division.
2. 9-7 ≠7-9
(a * b) * c = a *( b * c) for all a, b, c in A.
e.g.1. a binary operation of addition on Z is associative.
2. 2-(3-5) ≠ (2-3)-5
Solution-
Given aob=ab where a & b are natural numbers.
Let, boa=ba, where a & b are natural numbers.
Here, aob ≠ boa
ab ≠ ba.
So, given relation o is not an associative operation.
ALGEBRAIC STRUCTURES WITH ONE BINARY OPERATION
SEM I GROUP
1. * is closed operation on A.
• Sub-semigroup-
e*x =x.
x*e =x.
1. * is a closed operation
2. * is an Associative operation
3. There is an Identity.
1. B is a closed operation *
1. * is a closed operation
2. * is an Associative operation
3. There is an Identity.
• Definition-
Solution-
* Is a bi. Oprn & for any a,b ∈A, a*b also belong to A.
a*(a*b)=(a*a)*b
a*(b)=a*b
b=b
b*(a*b)=(b*a)*b
b*(b)=a*b
a≠b
Bi. Oprn * is not associative. So, its neither a Semigroup nor a monoid.
ADDITIVE MODULO M
• Here, we define a new type of addition called Additive Modulo m &
written as
a+mb or (a+b)(mod m)
Means
a+mb =r, 0≤r<m
e.g. 14+68=22%6=4
5+63=8%6=2
-23+63=-20%3=(-3)*7+1=1
Example-
Prove that the set G={0,1,2,3,4,5} is an abelian group of order 6 with
respect to addition modulo 6.
Solution-
i. All entries in composition Table are elements of the set G. So, G is
closed with resp. to addition modulo 6(+6).
vi. The no. of elts in set G=6. So, (G, +6) is a finite Abelian group of order
6.
MULTIPLICATION MODULO P
axpb
where a & b are integers & p is a positive integer defined as
e.g. 8x53=24%5=4
Example-
Prove that the set G={1,2,3,4,5,6} is a finite abelian group of order 6 with
respect to multiplication modulo 7.
Solution-
i. All entries in compo. Table are elements of the set G. So, G is closed
with resp. to multiplication
modulo 7(x7).
vi. The no. of elts in set G=7. So, (G, x7 ) is a finite Abelian group of order
7.
CYCLIC GROUP
• A cyclic group is always an abelian group but not every abelian group is
a cyclic group.
SUBGROUP
• An Alge. Sys. (B,*) is isomorphic to alge. Sys. (A,*) if we can obtain (B,*)
from (A,*) by renaming the elements and/or the oprn in (A,*).
• So, we can say that the alge. Sys. (A,*) is isomorphic to (B,*)
RING
• Let, (A, ★,*) be an Alge. System with 2 binary oprns. The oprn * is said to be
distributive over the oprn ★, if for any a,b,c in A,
a*(b ★c)=(a*b) ★(a*c) & (b ★c)*a=(b*a) ★(c*a).
Example-
4. Finite & infinite ring- If the no. of elts in ring R is finite- finite ring,
otherwise –infinite ring.
BASIC PROPERTIES OF RINGS
1. a .0 = 0 . a= 0
2. a .(-b) = (-a) .b = -(a . b)
3. (-a) . (-b) = a . b
4. a . (b-c) = a . b –a . c
5. (b-c) . a = b . a – c . a
6. (-1) . a= -a
7. (-1) . (-1) = 1
• Example-
R={0,2,4,6,8}. Show that R is commutative ring under addition &
multiplication modulo 10.
Solution-Abelian, semigrp, distri.
CODING THEORY
• Basic problem with transmission of data is that of not receiving the data
as sent & receiving a distorted piece of data.
• Any code which is a grp under the oprn ⊕ is called a grp code.
Word x ∈Bm Word xt∈ Bm
Transmission channel
transmitted received
Noise is
added
• Example-
• Find the wt of each of foll. Words in B5.
•-
a. x=01000 |x|= 1
b. x=00000 |x|=0
c. x=11100 |x|= 3
d. x=11111 |x|=5
• Hamming Distance-
• Let, x & y be words in Bm. The ha. Dist. δ (x,y) between x & y is the
weight, |x ⊕ y| of x⊕y. (⊕ - if same-0, otherwise 1)
• Example-
Find the ha. Dist. Between x & y.
a. x=110110 y=000101
x⊕y=110011 So, |x⊕y|=4
b. x=001100 y=010110
x⊕y=011010 So, |x⊕y|=3
c. x=1100010 y=1010011
x⊕y=0110001 So, |x⊕y|=3
d. x=010010 y=0011010
x⊕y=0111110 So, |x⊕y|=5
Theorems-
1. The min weight of nonzero code words in grp code is equal to its min
dist.
2. A code can detect all combinations of k or fewer errors if & only if the
min dist betwn any 2 code words is at least k+1.
3. A code can correct all combinations of k or fewer errors if & only if the
min dist betwn any 2 code words is at least 2k+1.
Example-
Consider (2,4) encoding function. How many errors will e detect?
e(00)=0000
e(10)=0110
e(01)=1011
e(11)=1100
Solution- The Distances betwn pairs of code are-
d(0000, 0110)=2
d(0000, 1011)=3
d(0000, 1100)=2
d(0110, 1011)=3
d(0110, 1100)=2
d(1011, 1100)=3
The code will detect k or fewer errors if & only if the min dist betwn any 2 code words is at
least k+1.Since min dist is 2, 2>=k+1 or k<=1. Code will detect 1 or fewer errors.
GROUP CODES
is a subgrp of Bn
Example-
Show that the (2,5) encoding function defined by
e(00)=00000 e(10)=10100
e(01)=01110 e(11)=11011
is a group code.
Solution- Let N ={00000,01110,10101,11011) be set of all code words.
1. For a,b ∈ N,a ⊕ b ∈ N. So, N is closed under ⊕ operation.
2. Identity element of B5 is 00000.
3. ⊕ is asso. Operation.
e.g. 01110 ⊕ (00000 ⊕ 10101)=(01110 ⊕00000) ⊕10101
01110 ⊕10101 = 01110 ⊕10101
11011 =11011
• 2. If we recv the word 10011, its in 4th col(red). Word at top is 11011.
Since e(11)= 11011, we will decode 10011 as 11.