Agni College of Technology
1
DEPARTMENT OF CSE
Subject Name: DISCRETE MATHEMATICS
Subject code :MA 6566 Important Question and Answers PART-A
1. Define a rule of Universal specification. Ans: If a statement of the form (๐ฅ)๐ด(๐ฅ) is assumed to be True then the universal quantifier may be dropped from the statement to obtain A(x) which is true for each object in the universe, or to obtain P(x) which is true for a specific object of the universe. 2. What are the contrapositive, the converse, and inverse of the conditional statement.โ If you work hard then you will be rewarded.โ ยฌ๐: You will not work hard
Ans: P: You work hard
ยฌ๐:You will not be rewarded
Q: You will be rewarded Converse:๐ โ ๐ You will be rewarded only if you work hard. Contrapositive: ยฌ๐ โ ยฌ๐ If you will not be rewarded then you will not work hard Inverse: ยฌ๐ โ ยฌ๐
3. Using truth table, show that the proposition ๐ โจ ยฌ(๐ โง ๐) is a tautology. Solution: ยฌ(๐ โง ๐)
๐โง๐
๐ โจ ยฌ(๐ โง ๐)
P
q
T
T
T
F
T
T
F
F
T
T
F
T
F
T
T
F
F
F
T
T
โด ๐ โจ ยฌ(๐ โง ๐)is a tautology 4. Write the negation of the statement โ๐ฅ โ๐ฆ ๐ ๐ฅ, ๐ฆ . Solution: Given โ๐ฅ โ๐ฆ ๐ ๐ฅ, ๐ฆ . Negation: โ๐ฅ โ๐ฆ ๐ ๐ฅ, ๐ฆ .
5. In how many ways can all the letters in MATHEMATICAL be arranged. Ans: In the word MATHEMATICAL has 12 letters. M,T appears 2 times &A appears 3 times โด The required number of permutations =
12! 2!3!2!
= 19958400
6. Twelve students want to place order of different ice-creams in a ice-cream parlour,which has six type of icecreams. Find the number of orders that the twelve students can place. Ans: Here n=12,r=6 The number of possible selection is,
17! 12 + 6 โ 1 = 6!11! 6
7. State Pigeonhole principle. If (n+1) pigeon occupies โnโ holes than atleast one hole has more than 1 pigeon. 8. Solve: ๐๐ = 3๐๐โ1 , for kโฅ 1, ๐ค๐๐ก๐ ๐๐ = 2. Ans: The characterisitics equation is ๐ โ 3 = 0 ๐ = 3 โ ๐๐ = A3๐
Agni College of Technology DEPARTMENT OF CSE
Subject Name: DISCRETE MATHEMATICS
Subject code :MA 6566 Important Question and Answers PART-A
Given ๐๐ = ๐ โน ๐0 = A30 โน2=A 1 โน2=A โด ๐๐ = 2 3๐ 9. Define a regular graph.Can a complete graph can be a regular graph? If every vertex of a simple graph has the same degree, then the graph is called a regular graph.If every vertex in a regular graph has degree k, then the graph is called K-regular. Every complete graph is regular. 10. State the handshaking theorem. Ans: Let ๐บ = (๐, ๐ธ) be an undirected graph with e edges then ๐ฃโ๐ deg ๐ฃ = 2๐.The sum of degrees of all the vertices of an undirected graph is twice the number of degrees of the graph and hence even. 11. Obtain the adjancey of the following graph.
Solution: ๐ฃ1 ๐ฃ2 ๐ฃ3 ๐ฃ4 ๐ฃ5 ๐ฃ1 ๐ฃ2 ๐ด ๐บ = ๐ฃ3 ๐ฃ4 ๐ฃ5
0 1 0 0 1
1 0 1 0 1
0 1 0 1 1
0 0 0 0 1
1 1 1 1 0
12. Give an example of a non-Eulerian graph which is Hamiltonian
Solution: ๐ฃ1 ๐ฃ1
๐ฃ4
๐ฃ2
๐ฃ3
deg ๐ฃ1 = 3; deg ๐ฃ2 = 3; deg ๐ฃ3 = 3; deg ๐ฃ4 = 3 Here the vertices are not even degree. โด The given graph is non-Eulerian graph
Deg ๐ฃ1 + deg ๐ฃ2 โฅ ๐ โ 1 Deg ๐ฃ2 + deg ๐ฃ3 โฅ ๐ โ 1 Deg ๐ฃ3 + deg ๐ฃ4 โฅ ๐ โ 1 Deg ๐ฃ4 + deg ๐ฃ1 โฅ ๐ โ 1
2
Agni College of Technology
3
DEPARTMENT OF CSE
Subject Name: DISCRETE MATHEMATICS
Subject code :MA 6566 Important Question and Answers PART-A
โด The given graph is Hamiltonian. The Hamiltonian circuit is ๐ฃ1 ๐ฃ2 ๐ฃ3 ๐ฃ4 ๐ฃ1 . 13. Define Isomorphism of two graphs.
Solution: Two graphs G and ๐บ โฒ are isomorphic. If there is a function ๐: ๐(๐บ) โ ๐(๐บ โฒ ) from the vertices of G (i) f is one-one (ii) f is onto and (iii) f preserves adjacency (iv) 14. Prove or disprove,โEvery subgroup of an abelian group is normalโ Solution: If G is abelian,then every subgroup of G is normal in G,(as ๐ป๐ = ๐๐/๐ โ ๐ป = {๐๐/๐ โ ๐ป} since ๐๐ = ๐๐ = ๐๐ป, ๐๐๐ ๐๐๐ ๐ โ ๐บ) 15. Define a Semi group. Solution: If S is nonempty set s together with the binary operation * satisfying the following properties(๐)๐ โ ๐ = ๐ โ ๐ (๐๐) (๐ โ ๐) โ ๐ = ๐ โ (๐ โ ๐) ๐, ๐, ๐ โ ๐ is called semigroup it is denoted by (S,*).
16. Give an example of a ring which is not a field. Solution:
The ring Z of all integers in an integral domain but not a field.
17. In Lattices (๐ณ, โค) ,prove that ๐ โง (๐ โจ ๐) = ๐๐๐๐๐๐๐๐, ๐ โ ๐ณ. Solution: since ๐ โง ๐ is the GLB of {๐, ๐} ๐โง๐ โค๐ โฆโฆโฆโฆโฆโฆโฆโฆ. 1 obviously๐ โค ๐ โฆโฆโฆโฆโฆโฆโฆโฆ. 2 from (1) and (2) we have ๐ โจ (๐ โง ๐) โค ๐ by the definition of LUB we have ๐ โค (๐ โง ๐) = ๐ Similarly we can prove that ๐ โง (๐ โจ ๐) = ๐.
18. When is a lattice said to be bounded? Ans: Let (๐ฟ,โง,โจ) be a given lattice. If it has both 0 element and 1 element then it is said to be bounded lattice. It is denoted by (๐ฟ,โง,โจ ,0,1) 19. When is a lattice said to be a Boolean Algebra? Ans: A lattice which is complemented and distributive is called a Boolean algebra. 20. Give an example of a distributive lattice but not complemented. Solution:
No complement exist for 0,b,c,d,1 The element โaโ is a complement of d and vice versa. โด The above graph is not complemented. 21. Define Semigroup and monoid. Give an example of a semigroup which is not a monoid. Sol. Semigroup: A non empty set S together with a binary operation ๏ชis called a semigroup if the following conditions are satisfied. a. a ๏ชb ๏ S ๏ขa,b๏S ( Closure) b. a ๏ช(b ๏ชc) = (a ๏ชb) ๏ชc ๏ขa,b,c๏S ( Associative )
Agni College of Technology DEPARTMENT OF CSE
Subject Name: DISCRETE MATHEMATICS
Subject code :MA 6566 Important Question and Answers PART-A
Monoid : A non empty set M together with a binary operation ๏ชis called a monoid if the following conditions are satisfied. a ๏ชb ๏ M ๏ขa,b๏M ( Closure) a ๏ช(b ๏ชc) = (a ๏ชb) ๏ชc ๏ขa,b,c๏M ( Associative ) There exists an element e๏M such that a ๏ช e = e ๏ช a = a ๏ขa๏M ( Identity ) Example : (N, +) is a semigroup but not monoid For, we know that N is the set of all positive integers
i) ii) iii)
(i.e.) N = {1,2,3,โฆโฆ.}
4
Agni College of Technology DEPARTMENT OF CSE
Subject Name: DISCRETE MATHEMATICS Subject code :MA 6566 Important Question and Answers PART-A
The additive identity is zero because a +0 = 0 +a = a ๏ขa๏N. But 0๏N (i.e.) 0 is not an element of N
๏(N , +) is not a monoid. 22. Show that the intersection of two subgroups is a subgroup. Sol. Let H and K are subgroups of G. Then atleast the identity element e๏H and e๏K.
๏e๏H ๏K Thus H ๏K is a non empty subset of G. Let a,b๏H ๏K ๏a,b๏H and a,b๏K ๏a๏ชb-1๏H and a๏ชb-1๏K ๏a๏ชb-1๏H ๏K
๏H ๏K
is a subgroup of G.
23. Define distributive lattice. Sol.
A lattice (L, ๏ช,๏
) is said to be distributive lattice if for any a,b,c๏L a ๏ช (b ๏
c) ๏ฝ (a ๏ช b) ๏
(a ๏ช c) a ๏
(b ๏ช c) ๏ฝ (a ๏
b) ๏ช (a ๏
c)
24 . If B is a Boolean algebra, then for a๏B, a + 1 = 1, a.0 = 0 Sol.
a + 1 = (a + 1).1
a.0 = a.0 + 0
= (a + 1).(a + aโ)
= a.0 + (a.aโ)
= a + (1.aโ)
= a. (0 + aโ)
= a + (aโ.1)
= a. (aโ + 0)
= a + aโ
= a. aโ
=1
= 0
Agni College of Technology DEPARTMENT OF CSE
Subject Name: DISCRETE MATHEMATICS Subject code :MA 6566 Important Question and Answers PART-A
PART-B 1.(i) Verify the validity of the following argument. Every living thing is a plant or an animal. Johnโs gold fish is alive and it is not a plant. All animals have hearts. Therefore Johnโs gold fish has a heart. Sol. Let P(x) : x is a plant A(x) : x is an animal H(x) : x has a heart, g : Johnโs gold fish We need to show ( ๏ข๏ x)[P(x) ๏๏ A(x)] , 7P(g) ,( ๏ข๏ x)[A(x) ๏ฎH(x)] ๏๏ H(g) Argument 1. ( ๏ข๏ x)[P(x) ๏๏ A(x)] Rule P 2. P(g) ๏๏ A(g) Rule US 3. 7P(g) Rule P 4. A(g) Rule T [ From 2,3 i.e. 7P, P ๏๏ Q๏๏ Q] 5. ( ๏ข๏ x)[A(x) ๏ฎH(x)] Rule P 6. A(g) ๏ฎH(g) Rule US 7. H(g) Rule T ๏The argument is valid. ii) Prove that ( ๏ข๏ x)[P(x) ๏ฎQ(x)], ( ๏ค๐ฆ๏ )P(y) ๏๏ ( ๏ค๏ x)Q(x) . Sol. 1. 7( ๏ค๏ x)Q(x) Rule P (assumed premise) 2. ( ๏ข๏ x)7Q(x) Rule T 3. 7Q(a) Rule US 4. ( ๏ค๏ ๐ฆ)P(y) Rule P 5. P(a) Rule ES 6. ( ๏ข๏ x)[P(x) ๏ฎQ(x)] Rule P 7. P(a) ๏ฎQ(a) Rule US 8. Q(a) Rule T [ From 5,7] 9. Q(a) ๏๏ 7Q(a) Rule T [ From 8,3] which is a contradiction 2.(i) Prove that 2 is irrarational by giving a proof by contradiction. Solution: Assume the contrary that 2 is rational number. ๐
โด 2 = ๐ for some integer p&q such that p &q have no common factors. โด
๐2 = 2 โน ๐2 = 2๐ 2 ๐2
Since ๐2 is an even integer, p is an even integer.
Agni College of Technology DEPARTMENT OF CSE
Subject Name: DISCRETE MATHEMATICS Subject code :MA 6566 Important Question and Answers PART-A โด ๐ = 2๐for some integer m โด (2๐)2 = 2๐ 2 โน 2๐2 Since ๐ 2 is an even integer, q is an even integer. โด ๐ = 2๐for some integer k Thus p and q are even. Hence they have a common factor 2. This contradicts the assumption p and q have no common factors. Thus our assumption 2 Is rational is wrong. Hence 2 is irrational. (ii) Prove by mathematical induction that 6๐+2 + 72๐ +1 is divisible by 43 for each positive integer n. Solution: ๐ ๐ : 6๐+2 + 72๐ +1 is divisible by 43 Step 1: To prove ๐ 1 is true ๐ 1 : 61+2 + 72+1 is divisible by 43 ๐ 1 : 63 + 73 is divisible by 43 โด ๐ 1 is true Sep 2: Assume that ๐(๐) is true Ie., ๐ ๐ : 6๐+2 + 72๐+1 is divisible by 43 6๐+2 + 72๐+1 = ๐ 43 Step 3: prove that ๐(๐ + 1) is true Ie., ๐ ๐ + 1 : 6๐+3 + 72๐+3 is divisible by 43 6๐+3 + 72๐+3 = 6๐+2 6 + 72๐+1 72 = 6 ๐ 43 โ 72๐+1 + 72๐+1 72 258๐ โ (6)72๐+1 + 72๐+1 72
Agni College of Technology DEPARTMENT OF CSE
Subject Name: DISCRETE MATHEMATICS Subject code :MA 6566 Important Question and Answers PART-A = 258๐ + 72๐+1 49 โ 6 258๐ + 72๐+1 . 43 = 43(6๐ + 72๐+1 ) which is divisible by 43 Hence the proof. 3.(i) Determine the number of positive integers n, 1 โค ๐ โค 2000 that are not divisible by 2,3 or 5 but are divisible by 7. Solution:
Let A denote the number of integers not divisible by 2
Let B denote the number of integers not divisible by 3 Let C denote the number of integers not divisible by 5 Let D denote the number of integers divisible by 7 Therefore, ๐ด =
2000 2
= 1000 , ๐ต =
2000 3
= 666
2000 2000 = 400, ๐ท = = 285. 5 7 ๐ดโฉ๐ตโฉ๐ถโฉD = ๐ดโช๐ตโช๐ถโฉD |๐ถ| =
= |๐ท โฉ ๐ด โช ๐ต โช ๐ถ | = ๐ท โ ๐ทโฉ ๐ดโช๐ตโช๐ถ = ๐ท โ| ๐ทโฉ๐ด โช ๐ทโฉ๐ต โช ๐ทโฉ๐ถ | = ๐ท โ[ ๐ทโฉ๐ด + ๐ทโฉ๐ต + ๐ทโฉ๐ถ โ ๐ดโฉ๐ตโฉ๐ท โ ๐ดโฉ๐ถโฉ๐ท โ ๐ตโฉ๐ถโฉ๐ท + ๐ด โฉ ๐ต โฉ ๐ถ โฉ ๐ท ]โฆโฆโฆ.(1) 2000 ๐ป๐๐๐๐, | ๐ท โฉ ๐ด | = = 142 2ร7 2000 |๐ทโฉ๐ต| = = 95 3ร7 2000 |๐ทโฉ๐ถ|= = 57 5ร7 2000 |๐ด โฉ ๐ต โฉ ๐ท| = = 47 2ร3ร7 2000 |๐ด โฉ ๐ถ โฉ ๐ท| = = 28 2ร5ร7 2000 |๐ต โฉ ๐ถ โฉ ๐ท| = = 19 3ร5ร7
Agni College of Technology DEPARTMENT OF CSE
Subject Name: DISCRETE MATHEMATICS Subject code :MA 6566 Important Question and Answers PART-A 2000 =9 2ร3ร5ร7
|๐ด โฉ ๐ต โฉ ๐ถ โฉ ๐ท| =
(1)โ ๐ด โฉ ๐ต โฉ ๐ถ โฉ D = 285 โ 142 + 95 + 57 โ 47 โ 28 โ 19 + 9 = 76 (ii) Solve the recurrence relation relation ๐(๐) = ๐(๐ โ 1) + 2(๐ โ 1)with ๐ 0 = 3, ๐ 1 = 1, ๐๐ฆ ๐ก๐๐ ๐๐๐ก๐๐๐ ๐๐ ๐๐๐๐๐๐๐ก๐๐๐ ๐๐ข๐๐๐ก๐๐๐๐ . Solution: ๐ Let ๐บ ๐ฅ = โ ๐=0 ๐๐ ๐ฅ โฆโฆโฆโฆ.(1) Where ๐บ ๐ฅ is the G.F for the sequence ๐๐ . Given ๐๐ = ๐๐โ1 + 2๐ โ 2, ๐ โฅ 1โฆโฆโฆโฆ(2) โ
โ
โ
๐
๐
๐๐ ๐ฅ = ๐=1 ๐ =1 โ ๐ ๐=1 ๐๐ฅ โ 2
๐บ ๐ฅ โ ๐0 = ๐ฅ๐บ ๐ฅ + 2 Since ๐ฅ๐บ ๐ฅ =
โ ๐ +1 ๐=0 ๐๐ ๐ฅ
(2๐ โ 2)๐ฅ ๐
๐ฅ ๐๐โ1 +
๐ =1 โ ๐ ๐=1 ๐ฅ [by (1)]
โ ๐ ๐ =1 ๐๐โ1 ๐ฅ
=
2 +2 1โ๐ฅ 2 ๐บ ๐ฅ (1 โ ๐ฅ) = 3 + 2๐ฅ 1 โ ๐ฅ 2 โ +2 1โ๐ฅ 2๐ฅ 2๐ฅ =5+ โ 2 (1 โ ๐ฅ) 1โ๐ฅ
๐บ ๐ฅ โ ๐ฅ๐บ ๐ฅ = 3 + 2๐ฅ 1 โ ๐ฅ
โ๐บ ๐ฅ = โ
โ ๐
โด ๐ =0
โ
โ
โ2 ๐
๐ฅ โ2 ๐=0
โ
5 2 2๐ฅ โ โ (1 โ ๐ฅ) (1 โ ๐ฅ)2 (1 โ ๐ฅ)3
๐
๐๐ ๐ฅ = 5
2
(1 โ ๐ฅ)โ3 ๐ฅ ๐
(1 โ ๐ฅ) ๐ฅ โ 2๐ง ๐=0
๐ =0
Hence๐๐ = 5 1๐ โ 2 ๐ + 1 + 2๐(๐ + 1) which is the required solution. = 2๐2 + 3 4.(i) Prove that a given connected graph G is an Euler graph if and only if all the vertices of G are of even degree. Proof: Let G be an Eulerian graph. We have to prove all vertices are of even degree. Since G is Eulerian, G contains an Euler circuit, say,๐ฃ0 , ๐1 , ๐ฃ1 , ๐2 โฆ , ๐ฃ๐ โ1 , ๐๐ , ๐ฃ0 . Both the edges ๐1 and ๐๐ contributes one to the degree of ๐ฃ0 and so deg๐ฃ0 is at least two. In tracing this circuit we find an edge enters a vertex and another edge leaves the vertex contributing 2 to the degree of the vertex.
Agni College of Technology DEPARTMENT OF CSE
Subject Name: DISCRETE MATHEMATICS Subject code :MA 6566 Important Question and Answers PART-A This is true for all vertices and so each vertex is of degree 2, an even integer. Conversely, Let the graph G be such that all its vertices are of even degrees. We have to prove: G is an Eulerian graph We shall construct an Euler circuit and prove. Let ๐ฃ be an arbitrary vertex in G. Beginning with ๐ฃ form a circuit ๐ถ: ๐ฃ, ๐ฃ1 , ๐ฃ2 , ๐ฃ3 โฆ . ๐ฃ๐ โ1 , ๐ฃ This is possible because every vertex of even degree. We can leave a vertex (โ ๐ฃ) along an edge not used to enter it.This tracing clearly stops only at the vertex ๐ฃ because ๐ฃ is also of even degree and we started from ๐ฃ.Thus we get a circuit or cycle ๐ถ. If ๐ถ includes all the edges of G, then ๐ถ is an Euler circuit and so G is Eulerian. If ๐ถ does not contain all the edges of G,consider the subgraph H of G obtain by deleting all the edges of ๐ถ from ๐บ and vertices not incident with the remaining edges. Note that all vertices of H have even degree. Since G is connected, H and C must have a common vertex ๐ข. Beginning with ๐ข construct a circuit ๐ถ1 for H. Now combine ๐ถand ๐ถ1 to form a larger circuit ๐ถ2 .If it is Eulerian. ie., if it contains all the edges of ๐บ,then ๐บ is Eulerian. Otherwise continue this process until we get an Eulerian circuit. Since ๐บ is finite this procedure must come to an end with a Eulerian circuit. Hence ๐บ is Eulerian. (ii)
Let ๐: ๐บ โ ๐บ โฒ be a homomorphism of groups with kernel K. Then prove that K is a
normal subgroup of G and ๐บ/๐ is isomorphic to the image of f. Proof: Given ๐: ๐บ โ ๐บ โฒ be a homomorphism from the group ๐บ,โ to the group ๐บ โฒ , โ . Then ๐ = ker ๐ = ๐ฅ โ ๐บ/๐(๐ฅ) = ๐ โฒ is a normal sub-group of ๐บ,โ Also we know that the quotient set (๐บ/๐, โจ) is a group ๐บ
Define ๐: ๐บ/๐ โ ๐บ โฒ by ๐ ๐๐ = ๐ ๐ โ ๐๐ โ ๐ , ๐ โ ๐บ ๐is well-defined: Let ๐๐ = ๐๐ โ๐, ๐ โ ๐บ
Agni College of Technology DEPARTMENT OF CSE
Subject Name: DISCRETE MATHEMATICS Subject code :MA 6566 Important Question and Answers PART-A ๐๐ = ๐๐ โน ๐ โ ๐๐, ๐๐๐ ๐ ๐๐๐ ๐ โ ๐พ[โต ๐ป ๐๐ ๐ ๐ ๐ข๐๐๐๐๐ข๐ ๐๐ ๐ ๐๐๐๐ข๐ ๐บ &๐, ๐ โ ๐บ ๐ก๐๐๐ ๐ โ ๐ป โบ ๐ป๐ = ๐ป] โน ๐ ๐ = ๐ ๐๐ = ๐ ๐ .๐ ๐ = ๐ โฒ . ๐(๐)[โต ๐ = ๐ ๐ โ ๐บ&๐ ๐ = ๐ โฒ ] โด๐ ๐ =๐ ๐ Thus ๐๐ = ๐๐ โน ๐ ๐๐ = ๐ ๐๐ โด ๐is well defined. ๐ ๐๐ ๐ โ ๐: Let ๐ ๐๐ = ๐ ๐๐ โ๐ ๐ =๐ ๐ โ ๐ ๐ . [๐ ๐ ]โ1 = ๐ ๐ . [๐ ๐ ]โ1 โ ๐ ๐ . ๐(๐ โ1 ) = ๐ โฒ โ ๐(๐๐ โ1 ) = ๐ โฒ โ ๐๐ โ1 โ ker ๐ = ๐ โ ๐๐ โ1 โ ๐ โน ๐ โ ๐๐ โน ๐๐ = ๐๐ Thus ๐ ๐๐ = ๐ ๐๐ โน ๐๐ = ๐๐ โด ๐ is 1-1 ๐ is onto: Let ๐โฒ โ ๐บ โฒ & ๐: ๐บ โ ๐บ โฒ is an epimorphism โน โ an element ๐ โ ๐บ โ: ๐ ๐ = ๐โฒ Hence ๐ ๐๐ = ๐ ๐ = ๐โฒ ๐โฒ โ ๐บ โฒ โน โan element ๐๐ โ ๐บ/๐ โ: ๐ ๐๐ = ๐โฒ
Agni College of Technology DEPARTMENT OF CSE
Subject Name: DISCRETE MATHEMATICS Subject code :MA 6566 Important Question and Answers PART-A โด ๐ is onto. ๐ is homomorphism: Let ๐๐, ๐๐ โ ๐บ
๐, ๐, ๐ โ ๐บ ๐ ๐๐๐๐ = ๐ ๐๐๐ = ๐ ๐๐ =๐ ๐ ๐ ๐ = ๐ ๐๐ ๐ ๐๐
โด ๐ is homomorphism โด ๐ is well defined,1-1,onto&homomorphism. โด ๐ is an isomorphism Thus ๐บ/๐ โ
๐บโฒ. 5.(i) State and prove the Lagrangeโs theorem . Statement : Lagrangeโs theorem The order of a subgroup H of a finite group G divides the order of the group. ie) ๐(๐ป)/ ๐(๐บ). Proof:Given G is a finite group of order n . H is a subgroup of G, Let ๐ ๐บ = ๐ & ๐ ๐ป = ๐ ie |๐บ| = ๐ & |๐ป| = ๐ To prove: ๐(๐ป)/๐(๐บ). ie ) to prove :๐/๐ G is finite โ There are only a finite number of distinct left cosets of H in G, let it be ๐1 ๐ป, ๐2 ๐ป,โฆโฆโฆ, ๐๐ ๐ป. These cosets are pairwise disjoint and ๐บ = ๐1 ๐ป โช ๐2 ๐ป โช โฆ โฆ โช ๐๐ ๐ป Then ๐ = ๐ ๐บ = ๐ ๐1 ๐ป + ๐ ๐2 ๐ป + โฏ + ๐ ๐๐ ๐ป = ๐ ๐ป + ๐ ๐ป + โฏ + ๐ ๐ป ๐ ๐ก๐๐๐๐ = ๐๐ ๐ป =๐โ๐ โน ๐/๐ie) ๐(๐ป)/๐(๐บ). (ii) Prove that every chain is distributive lattice.
Agni College of Technology DEPARTMENT OF CSE
Subject Name: DISCRETE MATHEMATICS Subject code :MA 6566 Important Question and Answers PART-A Solution: Let ๐ฟ, โค be a chain and ๐, ๐, ๐ โ ๐ฟ It enough to verify one of the conditions say๐ โ ๐โจ๐ = ๐ โ ๐ โจ ๐ โ ๐ โฆ โฆ โฆ โฆ . (1) This is symmetric in b and c Since L is a chain either ๐ โค ๐ and ๐ โค ๐ Because of the symmetric of the roles of b and c We shall consider only of them say ๐ โค ๐ Then ๐โจ๐ = ๐ โฆ โฆ โฆ โฆ (2) We have the following cases . Case i: ๐ โค ๐ โค ๐ Then ๐ โ ๐ = ๐, ๐ โ ๐ = ๐ ๐ โ ๐โจ๐ = ๐ โ ๐ = ๐ [๐๐ฆ 2 ] ๐ โ ๐ โจ ๐ โ ๐ = ๐โจ๐ = ๐ ๐โ ๐โ๐ = ๐โ๐ โจ ๐โ๐ Case ii: ๐ โค ๐ โค ๐ Then ๐ โ ๐ = ๐, ๐ โ ๐ = ๐ ๐ โ ๐โจ๐ = ๐ โ ๐ = ๐ ๐ โ ๐ โจ ๐ โ ๐ = ๐โจ๐ = ๐ ๐ โ ๐โจ๐ = ๐ โ ๐ โจ ๐ โ ๐ Case iii: ๐ โค ๐ โค ๐ Then ๐ โ ๐ = ๐, ๐ โ ๐ = ๐ ๐ โ ๐โจ๐ = ๐ โ ๐ = ๐ ๐ โ ๐ โจ ๐ โ ๐ = ๐โจ๐ = ๐[โต ๐ โค ๐] ๐ โ ๐โจ๐ = ๐ โ ๐ โจ ๐ โ ๐ So, the distributive law hold in all the cases. Hence the result.
Agni College of Technology DEPARTMENT OF CSE
Subject Name: DISCRETE MATHEMATICS Subject code :MA 6566 Important Question and Answers PART-A 6.(i) In any Boolean algebra, show that ๐ + ๐ โฒ ๐ + ๐ โฒ ๐ + ๐โฒ = (๐โฒ + ๐)(๐ โฒ + ๐)(๐ โฒ + ๐) Solution: LHS= ๐ + ๐ โฒ + 0 ๐ + ๐ โฒ + 0 ๐ + ๐โฒ + 0 = ๐ + ๐ โฒ + ๐. ๐โฒ ๐ + ๐ โฒ + ๐. ๐โฒ ๐ + ๐โฒ + ๐. ๐โฒ โฒ = ๐ + ๐ + ๐ . ๐ + ๐ โฒ + ๐โฒ . ๐ + ๐ โฒ + ๐ . ๐ + ๐ โฒ + ๐โฒ . ๐ + ๐โฒ + ๐ . ๐ + ๐โฒ + ๐โฒ = ๐โฒ + ๐ + ๐ . ๐โฒ + ๐ + ๐ โฒ . ๐โฒ + ๐ + ๐ . ๐โฒ + ๐ + ๐โฒ . { ๐โฒ + ๐ + ๐ . ๐โฒ + ๐ + ๐ โฒ } = ๐โฒ + ๐ + ๐๐โฒ . ๐โฒ + ๐ + ๐๐โฒ . ๐โฒ + ๐ + ๐๐โฒ = ๐โฒ + ๐ + 0 . ๐โฒ + ๐ + 0 . ๐โฒ + ๐ + 0 = (๐โฒ + ๐)(๐ โฒ + ๐)(๐ โฒ + ๐) = ๐
. ๐ป. ๐ (ii)
Show that in a distributive and complemented lattice satisfied DeMorganโs laws.
Proof: Let (L, ๏
๏ช) be a Boolean lattice . Ie., L is complemented and distributive lattice. The De-Morganโs laws are (i) ๐โจ๐ = ๐ โ ๐ ;(ii)๐ โ ๐ = ๐โจ๐ โ๐, ๐, ๐ โ ๐ฟ Assume that ๐, ๐ โ ๐ฟ. There exists elements ๐, ๐ โ ๐ฟ such that ๐โจ๐ = 1; ๐ โ ๐ = 0; ๐โจ๐ = 1; ๐ โ ๐ = 0. Claim:๐โจ๐ = ๐ โ ๐ Now ๐ โ ๐ โ ๐ โ ๐ = ๐ โ ๐ โ ๐ โ ๐ โ ๐ โ ๐ = ๐โจ๐ โ ๐ โ [๐ โ ๐ โ ๐ ] = 1โ๐ โ ๐โ1 =1โ1=1 ๐โ๐ โ ๐โ๐ = ๐โ๐ โ๐ โ ๐โ๐ โ๐ = (๐ โ ๐) โ (๐ โ ๐) โ [(๐ โ ๐ ) โ (๐ โ ๐) ] = 0 โ (๐ โ ๐) โ [(๐ โ ๐ ) โ 0 ] = ๐ โ ๐ โ (๐ โ ๐ ) = ๐โ ๐โ๐ โ๐ = ๐โ 0 โ๐ =0 Hence (i) is proved (ii)Claim:๐ โ ๐ = ๐โจ๐ Now ๐ โ ๐ โ ๐โจ๐ = ๐ โ ๐ โ ๐ โ ๐ โ ๐ โ ๐ = ๐โจ๐ โ (๐ โ ๐) โ [(๐ โ ๐) โ (๐ โ ๐) ] = 1 โ (๐ โ ๐) โ ๐ โ ๐ โ 1 = (๐ โ ๐) โ (๐ โ ๐) =๐โ ๐โ๐ โ๐ = ๐โ1โ๐ = 1 ๐ โ ๐ โ ๐โจ๐ = ๐ โ ๐ โ ๐ โ ๐ โ ๐ โ ๐ = ๐ โ ๐ โ ๐ โ [๐ โ ๐ โ ๐) ] = 0 โ ๐ โ [๐ โ 0) ] = 0+0 =0
Agni College of Technology DEPARTMENT OF CSE
Subject Name: DISCRETE MATHEMATICS Subject code :MA 6566 Important Question and Answers PART-A
Hence (ii) proved. 7.(i) Show that every chain is a lattice. Solution:Let (๐, โค) be a chain.so any two elements of p are comparable. So far any two elements ๐, ๐ โ ๐, ๐๐๐ก๐๐๐ ๐ โค ๐ ๐๐ ๐ โค ๐. Case i: Let ๐ โค ๐.Then b is an upper bound of{a,b} If c is any other upperbound of {a,b} then ๐ โค ๐ and ๐ โค ๐ Thus ๐ โค ๐ for every upper bound c of a and b. Hence b is the LUB {a,b} โน๐โ๐ =๐ Since ๐ โค ๐, a is a lower bound of {a,b}. If d is any other lower bound of {a,b} then ๐ โค ๐ and ๐ โค ๐ Thus ๐ โค ๐ for every lower bound d. Hence a is the GLB {a,b} โน๐โ๐ =๐ Thus we have proved for any two elements a,b if ๐ โค ๐, then GLB and LUB exist for {a,b}. Caseii: Let ๐ โค ๐.proceeding as above we can prove GLB and LUB exist for {a,b}. Thus for any ๐, ๐ โ ๐ by cases (i) and (ii) ๐ โ ๐ ๐๐๐ ๐ โ ๐ exist. Hence the chain (๐, โค) is a lattice.
๏ 7(7Q ๏ 7P)] Sol. P ๏ฎ [(P ๏ฎ Q) ๏ 7(7Q ๏ 7P)] ๏ 7P ๏ [(P ๏ฎ Q) ๏ 7(7Q๏ 7P)] ๏ 7P๏ [(7P๏ Q) ๏ (Q ๏ P)] ii) Obtain PCNF and PDNF of P ๏ฎ [(P ๏ฎ Q)
๏ [7P๏ (7P๏ Q)] ๏ [7P๏ (Q ๏ P)] ๏ [(7P๏ 7P) ๏ Q] ๏ [(7P๏ Q) ๏ (7P๏ P)] ๏ (7P๏ Q) ๏ [(7P๏ Q) ๏ T]
Agni College of Technology DEPARTMENT OF CSE
Subject Name: DISCRETE MATHEMATICS Subject code :MA 6566 Important Question and Answers PART-A
๏ (7P๏ Q) ๏ (7P๏ Q) ๏ (7P๏ Q), which is PCNF. To find PDNF
Now,7A ๏ (P ๏ Q) ๏ (P ๏ 7Q) ๏ (7P ๏ 7Q) 7(7A) ๏ 7 [(P ๏ Q) ๏ (P ๏ 7Q) ๏ (7P ๏ 7Q)] A ๏ 7(P๏ Q) ๏ 7(P๏ 7Q) ๏ 7(7P๏ 7Q) A ๏ (7P ๏ 7Q) ๏ (7P ๏ Q) ๏ (P ๏ Q) which is PDNF.