GUJARAT TECHNOLOGICAL UNIVERSITY
BE - SEMESTER–IV (NEW) EXAMINATION – SUMMER 2021
Subject Code: 3140708 Date: 07/09/2021
Subject Name: Discrete Mathematics
Time: 02:30 PM TO 05:00 PM Total Marks: 70
Q-1.(b). Prove that: (A U B)' = A' ∩ B'.
⇒ y ∈ (A U B)'
⇒ y ∉ (A U B)
⇒ y ∉ A and y ∉ B
⇒ y ∈ A' and y ∈ B'
⇒ y ∈ A' ∩ B'
⇒ y ∈ S
Thus, we conclude that R ⊂ S (R is a subset of S) ...(1)
Now suppose we have an arbitrary element z that belongs to set S. Then z ∈ S
⇒ z ∈ A' ∩ B'
⇒ z ∈ A' and z ∈ B'
⇒ z ∉ A and z ∉ B
⇒ z ∉ (A U B)
⇒ z ∈ (A U B)'
⇒ z ∈ R
Hence, S ⊂ R ...(2)
From (1) and (2) we infer that S = R or (A ∪ B)’ = A’ ∩ B’. Thus, this theorem is proved.
1. * is closed on A.2. * is Associative of A3. There exits an identity element with respect to *.
R is reflexive, i.e., xRx for every x ∈ S.R is antisymmetric, i.e., if xRy and yRx, then x = y.R is transitive, i.e., xRy and yRz, then xRz.

∀ x [B(x) → F(x)]
∃ x [W(x) ^ G(x)]
∃ x [D(x) ^ ~P(x)]
∀ x [E(x) v O(x)]
p | q | r | q → r | p → (q → r) | p → q | p → r | (p → q)→(p → r) | R |
T | T | T | T | T | T | T | T | T |
T | T | F | F | F | T | F | F | T |
T | F | T | T | T | F | T | T | T |
T | F | F | T | T | F | F | T | T |
F | T | T | T | T | T | T | T | T |
F | T | F | F | T | T | T | T | T |
F | F | T | T | T | T | T | T | T |
F | F | F | T | T | T | T | T | T |
Infinite lattice (Z,<=) is not complete lattice.
Bounded Lattices: A lattice L is called a bounded lattice if it has greatest element(1) and a least element (0).
![]() |
Fig : Bounded Lattices |
![]() |
Complemented Lattices |
Here, Complement of 'a' is 'b' because, 'a' and 'b' has a least element 0 and greatest element 1.
X = {1, 2, 3, 4, 5, 6, 7}
R = (x-y ; = 3 k, k ∈ I}
2) Identity: There is an element e, called the identity, in G, such that a*e=e*a=a, ∀ a ∈ G
3) Inverse: For each element a in G, there is an element b in G, called an inverse of a such that a*b=b*a=e, ∀ a, b ∈ G
Since set is finite, we prepare the following multiplication table to examine the group axioms.
All the entries in the table are elements of G. Therefore G is closed with respect to multiplication modulo 7.
Multiplication modulo 7 is associative.
Since first row of the is identical to the row of elements of G in the horizontal border, the element to the left of first row in vertical border is identity element i.e., 1 is identity element in G with respect to multiplication mod 7.
From the table it is obvious that inverses of 1,2,3,4,5,6 are 1,4,5,2,3 and 6 respectively. Hence inverse of each element in G exists.
The composition is commutative because the elements equidistant from principal diagonal are equal each to each.
The set G has six element. Hence, is a finite abelian group of order 6.
Q.4 (a) Define subgroup and group Homomorphism.
In group theory, a branch of mathematics, given a group G under a binary operation ∗, a subset H of G is called a subgroup of G if H also forms a group under the operation ∗.
OR
A subgroup of a group G is a subset of G that forms a group with the same law of composition. For example, the even numbers form a subgroup of the group of integers with group law of addition.
A group homomorphism is a map between two groups such that the group operation is preserved: for all , where the product on the left-hand side is in and on the right-hand side in .
If (R,+) is a group of all real numbers under the operation ‘+’ & (R -{0},*) is another group of non-zero real numbers under the operation ‘*’ (Multiplication) & f is a mapping from (R,+) to (R -{0},*), defined as : f(a) = 2a ; ∀ a ∈ R
Then f is a homomorphism like – f(a+b) = 2a+b = 2a * 2b = f(a).f(b) .
So the rule of homomorphism is satisfied & hence f is a homomorphism.
Q.4 (b) Is addition a binary operation on {-1,0,1}? Justify.
The sum of elements is (-1) + (-1) = -2 and 1+1=2 does not belong to A. Hence A is not closed under addition.
It forms group under condition of addition. Let G={-1,0,1} be non empty set with binary composition + from a group or satisfy addition operation on holding following conditions : 1+0=1€G,
-1+1=0€G,
-1+0=-1€G.
So G is closed under binary composition +
Q.4 (c) Explain Cosets and Lagrange’s theorem.
Cosets : Let (G,) be a group and H be any subgroup of G. Let 'a' be any element of G.
Then the set
H * a = (h * a ; h E H} is called a right coset of H in G generated by a.
Similarly the set a H = (a * h ; h E H} is called a left coset of H in G.
H*a and a * H are subsets of G.
Note: If G is an abelian group then H * a = a * H i.e. each right coset of H in G is also a left coset of H in G.
Lagrange theorem is one of the central theorems of abstract algebra. It states that in group theory, for any finite group say G, the order of subgroup H of group G divides the order of G. The order of the group represents the number of elements.
As per the statement, the order of the subgroup H divides the order of the group G. This can be represented as;
|G| = |H|
Proof of Lagrange Statement:
Let H be any subgroup of the order n of a finite group G of order m. Let us consider the cost breakdown of G related to H.
Now let us consider each coset of aH comprises n different elements.
Let H = {h1,h2,…,hn}, then ah1,ah2,…,ahn are the n distinct members of aH.
Suppose, ahi=ahj⇒hi=hj be the cancellation law of G.
Since G is a finite group, the number of discrete left cosets will also be finite, say p. So, the total number of elements of all cosets is np which is equal to the total number of elements of G. Hence, m=np
p = m/n
This shows that n, the order of H, is a divisor of m, the order of the finite group G. We also see that the index p is also a divisor of the order of the group.
Hence, proved, |G| = |H|
2 x n = 2 x 8n = 8
Follow the steps below to find the shortest path between all the pairs of vertices.
- Create a matrix
A0
of dimensionn*n
where n is the number of vertices. The row and the column are indexed as i and j respectively. i and j are the vertices of the graph.
Each cell A[i][j] is filled with the distance from theith
vertex to thejth
vertex. If there is no path fromith
vertex tojth
vertex, the cell is left as infinity.
- Now, create a matrix
A1
using matrixA0
. The elements in the first column and the first row are left as they are. The remaining cells are filled in the following way.
Let k be the intermediate vertex in the shortest path from source to destination. In this step, k is the first vertex.A[i][j]
is filled with(A[i][k] + A[k][j]) if (A[i][j] > A[i][k] + A[k][j])
.
That is, if the direct distance from the source to the destination is greater than the path through the vertex k, then the cell is filled withA[i][k] + A[k][j]
.
In this step, k is vertex 1. We calculate the distance from source vertex to destination vertex through this vertex k.
For example: ForA1[2, 4]
, the direct distance from vertex 2 to 4 is 4 and the sum of the distance from vertex 2 to 4 through vertex (ie. from vertex 2 to 1 and from vertex 1 to 4) is 7. Since4 < 7
,A0[2, 4]
is filled with 4. - Similarly,
A2
is created usingA1
. The elements in the second column and the second row are left as they are.
In this step, k is the second vertex (i.e. vertex 2). The remaining steps are the same as in step 2. - Similarly,
A3
andA4
is also created. A4
gives the shortest path between each pair of vertices.
- Number of vertices in both the graphs must be same.
- Number of edges in both the graphs must be same.
- Degree sequence of both the graphs must be same.
- If a cycle of length k is formed by the vertices { v1 , v2 , ….. , vk } in one graph, then a cycle of same length k must be formed by the vertices { f(v1) , f(v2) , ….. , f(vk) } in the other graph as well.
- Two graphs are isomorphic if and only if their complement graphs are isomorphic.
- Two graphs are isomorphic if their adjacency matrices are same.
- Two graphs are isomorphic if their corresponding sub-graphs obtained by deleting some vertices of one graph and their corresponding images in the other graph are isomorphic.
Are the following two graphs isomorphic?
Solution-
Checking Necessary Conditions-
Condition-01:
- Number of vertices in graph G1 = 8
- Number of vertices in graph G2 = 8
Here,
- Both the graphs G1 and G2 have same number of vertices.
- So, Condition-01 satisfies.
Condition-02:
- Number of edges in graph G1 = 10
- Number of edges in graph G2 = 10