Unit-2 Imp Questions With Answers
Unit-2 Imp Questions With Answers
Ans: Let MR be the zero–one matrix of the relation R on a set with n elements. Then
the zero–one matrix of the transitive closure R∗ is MR∗ = MR ∨M[2]R∨M[3]R∨ ・ ・ ・
∨M[n]R .
MR∗ = MR ∨M[2]R∨M[3]R.
Because M[2]R= 1 1 1
010
011
And M[3]R= 1 1 1
010
011
it follows that
MR∗ =1 0 1
010
011
∨
111
010
011
∨
111
010
011
= 111
010
011
4. Obtain Hasse diagram for the relation xRy iff x divides y for the set A={2,4,6,8,12,24,32}
Ans: For A={2,4,6,8,12,24,32}, draw a diagram where:
Lower elements divide higher elements.
Edges indicate direct division without intermediates.
5. Draw the Hasse Diagram representing the partial ordering relation {(a,b) │a divides b} on
{1, 2, 3, 4, 6, 8, 12} also find maximal and minimal elements (or) Construct Hasse
diagram for {(1,2,3,4,6,8,12), |}
Ans: Begin with the digraph for this partial order.
10. Prove that (Q+,*), where * is a binary operation defined by a*b = ab/5 is a group?
Ans: We need to prove that the set (Q+,∗) (the set of positive rational numbers with the binary
operation *) forms a group. The binary operation * is defined by a∗b=ab/5 for a,b∈Q+.
To show that (Q+,*) is a group, we need to verify the following four group properties:
1. Closure: ∀a,b∈Q+, a∗b∈Q+.
2. Associativity: ∀a,b,c∈Q+, a∗(b∗c)=(a∗b)∗c.
3. Identity Element: There exists an identity element e∈Q+ such that a∗e=e∗a=a for all
a∈Q+.
4. Inverse Element: For each a∈Q+, there exists an inverse a−1∈Q+ such that
a∗a−1=a−1∗a=e, where e is the identity element.
Closure: a∗b=ab/5.
Since a,b∈Q+ and the product of two positive rational numbers is a positive rational
number, ab/5 is also a positive rational number. Therefore, a∗b∈Q+, which shows that * is
closed on Q+.
Associativity:We need to show that a∗(b∗c)=(a∗b)∗c for all a,b,c∈Q+.
First, compute a∗(b∗c):
b∗c=bc/5, so a∗(b∗c)=a∗bc/5=(a⋅bc/5)/5=abc/25.
Now compute (a∗b)∗c:
a∗b=ab/5, so(a∗b)∗c=((ab/5)⋅c)/5=abc/25.
Since a∗(b∗c)=(a∗b)∗c=abc/25, the operation * is associative.
Identity Element: We need to find an element e∈Q+ such that a∗e=e∗a=a for all a∈Q+.
Using the definition of *, we require: a∗e=ae/5=a.
Solving for e, we get: ae/5=a ⟹ e=5.
Thus, the identity element is e=5
Inverse Element: For each a∈Q+, we need to find an inverse a−1∈Q such that a∗a−1=5.
−1 −1
Using the definition of ∗, we require: a∗a =a⋅a /5=5.
−1 −1 −1 −1
Solving for a , we get: a(a )5=5 ⟹ a⋅a =25 ⟹ a =25/a.
−1
Thus, the inverse of a is a =25/a , and we can verify that:
a∗a−1=(a⋅25/a)/5=25/5=5.
Therefore, a−1=25/a is the inverse of a.
As it satisfies all four properties it is a group.