DM Assignment Unit-4
DM Assignment Unit-4
Assignment unit=4
DISCRETE MATHEMATICS
Subject code cs-1831
Submitted To SUBMITTED
ASST.PROF.USHA TIGGA NAME:- Krishna Mandil
Enroll.no.0108cs211069
Batch : CSE(A)
INDEX
Solution
Solve-1. Show Semigroup when (A,*) Where set A=(1,3,5,7,9,….)
Solution:- semigroup follows two properties
Closure-(a*b) ∈A i.e a,b also ∈A
So,1*3=3∈A
Hence satisfy closure property
Associativity property-a*(b*c)=(a*b)*c
So let take a=1b=3c=5
1*(3*5)=15=(1*3)*5
Hence satisfy Associativity property
Solve 2:-given , (I,+) is an abelian group,where I is an set of
integer.
abelian group follows closure,associativity, Commutative
properties
Closure:- -(a+b) ∈A i.e a,b also ∈A
So,1+3=4∈A
Hence satisfy closure property
Associativity property-a+(b+c)=(a+b)+c
So let take a=1b=3c=5
1+(3+5)=8=(1+3)+5∈A
Hence satisfy Associativity property
Commutative property-a+b=b+a
So let take a=1b=3
1+3=4=3+1∈A
Hence satisfy Commutative property
.
c.269= 413(mod 7)
here a=269,b=413
269-413=-144
-144/7=-20.5(is not an integer)
So it is false
d.473= 369(mod 7)
here a=473,b=369
473-369=110
110/7=15.7(is not an integer)
So it is false
e.445= 536(mod 7)
here a=445,b=536
445-536=-91
-91/7=-13(is an integer)
So it is true
f.383= 126(mod 7)
here a=383,b=126
383-126=257
257/7=36.7(is not an integer)
So it is false