Discrete Maths
Discrete Maths
function f : L M is a lattice homomorphism if for all x, y L . Suppose f is a lattice isomorphism. Then for any elements x,y in L:
2. f-1 is the inverse function of f, which means that for any elements
3. x y implies f ( x ) f ( y ) u, v in M : a.u v in M implies f 1( u ) f 1( v ) in L (by the definition
of a function inverse). b. f-1 is a bijection, which means that for any
Here are two examples of lattice homeomorphisms:- Let elements x, y in L: i. f-1(f(x)) = x ii. f-1(f(y)) = y c. Combining the
( P( S ), , , ) be the power set lattice of a set S where denotes above results, we get that if f 1( u ) f 1( v ) in L, then u v in M.
the subset relation, denotes set intersection and denotes set union.
Let f : P( S ) { 0 ,1 } be the function that maps every subset to 1 if it Therefore, both f and f-1 are isotones.
contains an element in a fixed subset A of S, and 0 otherwise. This is a Next, we will prove that if both f and f-1 are isotones, then f is a
lattice homomorphism because it preserves the lattice structure of P(S) lattice isomorphism.
and the lattice structure of {0, 1}.
2
Course - 03 : Discrete Mathematical Structures Course - 03 : Discrete Mathematical Structures
Suppose both f and f-1 are isotones. We need to prove that f There is no third option, and this is always true regardless of the truth
preserves the lattice structure of L and M. That is, for any elements x, y value of P.
in L:
(ii) ( P Q ) (( P ) Q ) P :- This formula is also a
f(x y) = f(x) f(y) a. We know that x y is the greatest lower
tautology. We can use a truth table to show this:
bound of x and y in L. b. Since f is an isotope, f(x y) is the greatest
lower bound of f(x) and f(y) in M. c. Therefore, f(x y) = f(x) f(y).
P Q P⋁ Q ¬(P ⋁ Q) (¬P) ⋀ Q ((¬P) ⋀ Q) ⋁ P ¬(P ⋁ Q) ⋁ ((¬P) ⋀ Q) ⋁ P
f(x y) = f(x) f(y) a. We know that x y is the least upper T T T F F T T
T F T F F T T
bound of x and y in L. b. Since f is an isotope, f(x y) is the least upper F T T F T F F
bound of f(x) and f(y) in M. c. Therefore, f(x y) = f(x) f(y). F F F T F F T
2. (a) Construct the truth table for the following statement II. Answer any one of the following: (5 Marks)
formulae: 3. Define an atom. Prove that a non zero element p in a Boolean
(i) ( P Q ) (( P ) R )) algebra B is an atom if and only if, for any a B either p a 0
or p a .
Ans: Refer Unit - VI, Question No. 17.
Ans: Atom :- Refer Unit - IV, Question No. 15.
(ii) ( P ( Q R ) ( P Q ) ( P R )
To prove that a non-zero element p in a Boolean algebra B is an
Ans: Refer Unit - VI, Question No. 18. atom if and only if for any a in B either p a 0 or p a , we need to
(b) Define the tautology. Determine whether the following show two things:
statements formulae are tautologies or contradictions. 1. If p is an atom, then for any a in B, either p a 0 or p a .
(i) P ( P ) (ii) ( P Q ) (( P ) Q ) P 2. If for any a in B, either p a 0 or p a , then p is an atom.
Ans : Tautology : Refer Unit-VII, Question No. 22. Proof of (1) :- Assume that p is an atom in B. Let a be an arbitrary
element of B. We need to show that either p a 0 or p a .
(i) P ( P ) :- This formula is a tautology, also known as the law
of excluded middle. It states that either P is true or P is true. Case 1: p a 0 . Since p is an atom, p a p . Therefore, p a .
3 4
Course - 03 : Discrete Mathematical Structures Dr. B.R. AMBEDKAR
Course OPEN UNIVERSITY
- 03 : Discrete Mathematical Structures
5 6
Course - 03 : Discrete Mathematical Structures Course - 03 : Discrete Mathematical Structures
2. (a) Design a TM which accepts all strings of the form a nb n a5 = a4–2 = –8 ...
for n 1 . We can observe that the sequence {an} is decreasing by 2 at each
step, and that an = –2(n–1).
Ans: Refer Unit - XV, Question No. 14.
Therefore, the solution to the recurrence relation is: an = –2(n–1)
(b) State and prove pumping lemma for regular languages.
To verify this solution, we can substitute it into the recurrence relation:
Ans: Refer Unit - XVI, Question No. 10.
SECTION - B an = an-2 –2
II. Answer any one of the following: (5 Marks) –2(n–1) = –2(n–2)–2
3. (a) Show that every connected graph has a spanning tree.
–2n + 2 = –2n + 4
Ans: Refer Unit - XI, Question No. 31.
2=2
(b) Discuss Konigsberg Bridge problem.
Ans: Refer Unit - XII, Question No. 8. The equation is satisfied, so the solution is correct. Therefore,
the sequence {an} is given by an= –2(n–1).
4. (a) Define a string and the length of a string with the usual
notation. Let u and v be any two strings of * . Then
show that uv u v .
7 8