Cs6702 QB Cse
Cs6702 QB Cse
Cs6702 QB Cse
UNIT I INTRODUCTION 9
Graphs – Introduction – Isomorphism – Sub graphs – Walks, Paths, Circuits –Connectedness –
Components – Euler graphs – Hamiltonian paths and circuits – Trees – Properties of trees – Distance and
centers in tree – Rooted and binary trees.
TOTAL: 45 PERIODS
OUTCOMES:
Upon Completion of the course, the students should be able to:
Write precise and accurate mathematical definitions of objects in graph theory.
Use mathematical definitions to identify and construct examples and to distinguish examples from
non-examples.
Validate and critically assess a mathematical proof.
Use a combination of theoretical knowledge and independent mathematical thinking in creative
investigation of questions in graph theory.
Reason from definitions to construct mathematical proofs.
TEXT BOOKS:
1. Narsingh Deo, “Graph Theory: With Application to Engineering and Computer Science”, Prentice
Hall of India, 2003.
2. Grimaldi R.P. “Discrete and Combinatorial Mathematics: An Applied Introduction”, Addison
Wesley, 1994.
REFERENCES:
1. Clark J. and Holton D.A, “A First Look at Graph Theory”, Allied Publishers, 1995.
2. Mott J.L., Kandel A. and Baker T.P. “Discrete Mathematics for Computer Scientists and
Mathematicians”, Prentice Hall of India, 1996.
3. Liu C.L., “Elements of Discrete Mathematics”, Mc Graw Hill, 1985.
4. Rosen K.H., “Discrete Mathematics and Its Applications”, Mc Graw Hill, 2007.
COURSE OUTCOME
Able to explain graph isomorphism and connectivity and describe the difference between
C402.1
Eulerian and Hamiltonian graphs
Able to analyze spanning trees, connectivity and network flow problems and understand
C402.2
the concept of planar graph
C402.3 Able to identify chromatic number and understand the concept of colorings and theory
Able to understand the problems of permutation and combination and to describe the
C402.4
concepts of arrangements with forbidden
C402.5 Able to solve recurrence relations using generating functions
CS6702 - GRAPH THEORY AND APPLICATIONS
UNIT – I INTRODUCTION
1. Show that the sum of the degrees of all vertices in G is twice the number of edges in G. (U)
Proof:
Let G be a graph. Each edge of G is incident with two vertices and hence contributors 2
to the sum of degree of all the vertices of the graph G. Therefore the sum of degrees of the
vertices of a graph G is twice number of edges in G.
n
deg(v ) 2 E .
i1
i
2. Prove that the sum of the degrees of the vertices of any finite graph is even. (U)
Proof:
Each edge ends at two vertices. If we begin with just the vertices and no edges, every
vertex has degree zero, so the sum of those degrees is zero, an even number. Now add edges
one at a time, each of which connects one vertex to another, or connects a vertex to itself (if
you allow that). Either the degree of two vertices is increased by one (for a total of two) or
one vertex's degree is increased by two. In either case, the sum of the degrees is increased by
two, so the sum remains even.
3. Explain subgraphs with suitable example. (R)
Ans: A graph g is said to be subgraph of the graph G if all the vertices and all the edges
of g are in G, and each edge of g has tha same end vertex in g as in G.
Paths: Let W= e1e2 . . . ek and (ei= uiui+1) be a walk. W is a path, if ui6= uj for all i 6= j.
Circuits: W is a cycle, if it is closed, and ui6= ujfor i 6= j except that u1 = uk+1.
5. Define complement of a simple graph. (R)
Ans: The complement or inverse of a graph G is a graph H on the same vertices such
that two distinct vertices of H are adjacent if and only if they are not adjacent in G.
Ex:
6. Draw a complete bipartite graph of K3,2 and K3,4 . (U)
Ans.
9. Prove that a complete graph with n vertices contains n(n -1) /2 edges. (U)
Proof:
This is easy to prove by induction. If n = 1, zero edges are required, and 1(1 – 0)/2 = 0. Assume
that a complete graph with k vertices has k(k -1)/2. When we add the (k + 1)st vertex, we need to
connect it to the k original vertices, requiring k additional edges. We will then have k(k -1) /2 + k
= (k + 1)((k + 1) -1)=2 vertices, and we are done.
10. Give an example for which a graph is neither Eulerian nor Hamiltonian. (U)
Example:
11. How many vertices will the graph contain 16 edges and all vertices of degree 4? (U)
Ans: We know that
n
deg(v ) 2 E
i1
i
Given 4n 216
n8
12. Find the number of connected simple graph with four vertices. (U)
Ans: There are exactly six simple connected graphs with only four vertices.
13. Define strongly connected graph. (U)
Defn:
A digraph is said to be a strongly connected graph if and only if every pair of vertices of it is
reachable from one another.
14. Give the comparison between Euler and Hamiltonian graph. (R)
Defn:
A closed walk in a graph G containing all the edges of G is called an Euler line in G. Agraph
containing an Euler line is called an Euler graph. A cycle passing through all the vertices of a
graph is called a Hamiltonian cycle. A graph containing a Hamiltonian cycle is called a
Hamiltonian graph.
15. Define isomorphism. (U)
Ans: Two graphs G1 = (V1, E1) and G2 = = (V2, E2) are said to be isomorphic if there exists a
bijective map f :V1 V2 such that (u, v) E1 iff f (u), f (v) E2 .
17. State whether the following graphs are isomorphic or not. (R)
Ans: Yes the graphs are isomorphic.
18. When is a vertex of a graph said to be cut-vertex? Find all the cut-vertices of the graph G
given (U)
b
c
a
G:
d
f
e
Ans:
A vertex u is called cut vertex if deletion of the vertex makes the graph disconnected that
is G-u is disconnected. In the above graph the vertices a and e are cut vertices.
31. Determine the number of vertices for a graph G, which has 15 edges and each vertex has
degree 6. Is the graph G be a simple graph? (Nov./Dec. 2017) (U)
Solution:
n
6 2e n5
i1
Part – B
1. Prove that a tree with n vertices has exactly n-1 edges. (U)
2. Prove that any non-trivial tree has atleast one vertex of degree one. (U)
3. Prove that every non-trivial tree has atleast two vertices of degree 1. (U)
4. If a tree T has four vertices of degree 2, one vertex of degree 3, two vertices of degree 4 and
one vertex of degree 5, find the number of leaves in T. (R)
5. Prove that in every tree T = (V, E), │E│= │V│- 1. (or) Prove that a graph G is a tree iff G has no cycles
and │E│= │V│- 1. (U)
6. Find all the non-isomorphic spanning trees of the graph. (R)
7. If u and v are two vertices of a tree, show that there is a unique path connecting them. (U)
8. Prove that a finite graph is bipartite if and only if it contains no cycles of odd length. (U)
9. Draw the complete graph K5 with vertices A , B , C , D , E . Draw all complete sub graph
of K5 with 4 vertices. (R)
10. Prove the following. (R)
(a) If a graph has exactly two vertices of odd degree, there must be a path joining these
two vertices.
(b) A connected graph is an Euler graph if and only if every vertex has even degree.
11. A connected graph is an Euler graph if and only if it can be decomposed into circuits. Prove
the following. (U)
a. Every tree has either one or two centers.
b. A graph is a tree if and only if it is minimally connected.
c. Number of vertices in a binary tree is always odd.
d. Number of pendent vertices in a binary tree is (n + l) / 2.
12. Prove that a graph is non-planar if and only if it contains a subgraph homeomorphic to K5 or
K3,3. (U)
13. If the distance d(x,y) between two vertices x and y in a graph is defined to be the length of
the shortest path connecting them, then prove that the distance function is a metric. (R)
14. In a complete graph having odd number of vertices, how many edge disjoint Hamiltonian
circuits exist? Prove. (R)
15. If all the vertices of an undirected graph are each of odd degree K , show that the number of
edges of the graph is a multiple of K . (U)
16. Draw the graph with 5 vertices A , B , C , D , E such that deg A 3, B is an odd
18. Let G be a simple graph with minimum degree of atleast two. Prove that there exists a cycle
in G . (R)
19. When is a graph said to be self-complementary? Prove that if G is self-complementary then
it has 4 n or 4 n 1 vertices. (U)
20. Define complement of a graph. Find the complement G of the following graph G . Is it true
that G is isomorphic to G (U)
29. Determine which of the following graphs are bipartite and which are not. If a graph is
bipartite, state if it is completely bipartite. (A)
30. Define bipartite graph. Show that if G is bipartite simple graph with p vertices and q edges
p 2
then q . (U)
4
31. Let G be a simple undirected graph with adjacency matrix A with respect to the ordering
v1 , v2 , v3 , ........ , vn . Show that number of different paths of length r from vi to v j , where
r is a positive integer, equal to the i , j th entry of Ar . (U)
1 0 0 0 0 0 1
1 1 0 1 0 1 0
32. Draw the graph G whose incidence matrix is given below 0 1 1 0 0 0 0 . (A)
0 0 1 1 1 0 0
0 0 0 0 1 1 1
0 0 1 1
0 1 0
33. Draw the graph whose adjacency matrix is given below 0 . (A)
1 1 0 1
1 1 1 0
34. The adjacency matrices of two pairs of graphs are as follows, draw those graphs G1 and G2 .
0 0 1 0 1 1
AG 0 0 1 ; AG 1 0 0 . (A)
1 2
1 1 0 1 0 0
35. Find the adjacency matrix of the following graph G. (A)
36. Find A2 and A3 . What are your observations regarding the entries in A2 ? (A)
37. The adjacency matrices of two pairs of graph as given below. Examine the isomorphism of
0 0 1 0 1 1
G and H by finding a permutation matrix AG 0 0 1 ; AH 1 0 0. (A)
1 1 0 1 0 0
38. Examine whether the following pair of graphs are isomorphic. If not isomorphic, give the
reasons (A)
39. Using circuits, examine whether the following pairs of graphs G1 , G2 given below are
isomorphic or not? (U)
40. Determine whether the following graphs G and H are isomorphic. If the graphs are not
isomorphic explain an invariant that the graphs do not share (A)
G: H:
41. Show that the following two graphs are isomorphic. (U)
G: H:
42. Establish an isomorphism between the graphs G1 and G2 given below (A)
G1 : G2 :
G: H:
G: H:
45. Examine whether the following pairs of graphs are isomorphic. Justify your answer. (U)
46. Are the two graphs given below isomorphic? Why? (A)
47. Define graph isomorphism and give an example of isomorphic and non-isomorphic graphs.
(U)
48. Draw two isomorphic graphs having five vertices. (R)
49. Prove that the maximum number of edges in a simple disconnected graph G with n vertices
and k components is
n k n k 1 . (U)
2
n(n 1)
50. Show that the maximum number of edges in a simple graph with n vertices is . (U)
2
(Nov./Dec. 2016)
51. Prove that a graph G is connected if and only if for any partition of V into subsets V1 and V2
, there exists an edge joining a vertex of V1 to a vertex of V2 . (U)
52. Show that in a simple digraph every node of the digraph lies in exactly one strong
component. (U)
n
53. If G is a simple graph with n vertices with minimum degree G 2,show that G is
connected.(U)
54. Let G be a simple indirected graph with n vertices. Let u and v be two non adjacent vertices
in G such that deg u deg v n in G. Show that G is Hamiltonian if and only if G uv
is Hamiltonian. (U)
55. Find an Euler path or an Euler circuit, if it exists in each of the three graphs below. If it does
not exist, explain why? (A)
G1 G2 G3
56. Prove that a given connected graph is Eulerian if and only if all the vertices of G are of even
degree. (U)
57. Prove that the following statements are equivalent for a simple connected graph (1) G is
Eulerian (2) Every vertex of G has even degree (3) the set of edges of G can be partitioned
into cycles. (U)
58. Show that K n has a Hamiltonian cycle, for n 3 . What is the maximum number of edge-
disjoint Hamilton cycles possible in Kn . Obtain all the edge-disjoint Hamilton cycles in K7 .
(U)
59. Define Eulerian graph and Hamiltonian graph. Give an example of a graph which is Eulerian
but not Hamiltonian and vice-versa. (R)
60. Show that the complete bipartite graph K n , n has a Hamiltonian cycle. When K n , n has
Eulerian circuit? Justify your answer. (U)
61. Define the degree of a vertex and prove that the number of vertices of odd degree is always
even. (U)
62. Define an Euler path and show that if a graph G has more than two vertices of odd degrees,
then there can be no Euler path in G . (R)
63. If G is a connected graph with n vertices n 3 and if the degree of each vertex is atleast
n
, then show that G is Hamiltonian. (U)
2
64. Prove that if a graph G has not more than two vertices of odd degree, then there can be
Euler path in G . (U)
65. Prove that if a graph has exactly two vertices of odd degree, there must be path joining these
two vertices. (U) (Nov./Dec. 2016)
66. Prove that any two simple connected graphs with n vertices, all of degree two, are
isomorphic. (U) (Nov./Dec. 2016)
67. Show that K7 has Hamiltonian graph. How many edge disjoint Hamiltonian cycles are there
in K7 ? List all the edge disjoint Hamiltonian cycles. Is it Eulerian graph? (U)
68. Give an example of a graph which contains (1) An Eulerian circuit, but not a Hamiltonian
circuit. (2) An Eulerian circuit that is also a Hamiltonian circuit. (R)
69. Draw a graph which contains an Eulerian circuit that is also a Hamiltonian circuit. (A)
70. Give an example of a graph which contains (R)
(i) an Eulerian circuit that is also a Hamiltonian circuit
(ii) an Eulerian circuit and a Hamiltonian circuit that are distinct
(iii) an Eulerian circuit but not a Hamiltonian circuit
(iv) not an Eulerian circuit but a Hamiltonian circuit
(v) neither Eulerian circuit nor a Hamiltonian circuit
71. Mention some properties of trees. (U) (Nov./Dec. 2016)
72. Prove that in any tree, there are atleast two pendant vertices. (U)(Nov./Dec. 2016)
73. Show that a Hamiltonian path is a spanning tree. (U) (Nov./Dec. 2016)
74. The Figure represents a floor plan with doors between the rooms and the outside indicated.
The real estate agent would like to tour the house, starting and ending outside, by going
through each door exactly once. What is the fewest number of doors that should be added,
and where should be they be placed in order to make this tour possible? Give reasons for
your answer. (Nov./Dec. 2017) (R)
75. Define closed walk, open walk, path, and circuit. Take a graph of your choice and give an
example to each one. (Nov./Dec. 2017)
76. Nine members of committee have their dinner in round table. If no member sits near to the
same neighbour more than once, how many days can this arrangement possible? Write all
possible arrangements. (Nov./Dec. 2017)
77. State four properties of a tree graph and prove them. (Nov./Dec. 2017)
78. Draw a graph isomorphic to the graph G shown in the following figure such that no edge is
crossing each other. (Nov./Dec. 2018) (A)
79. Define walk, circuit, path and subgraph. From the graph shown in figure, draw a walk of any
length, a path of length 5, a circuit of length 4 and subgraph of 4 vertices and 5 edges. N/D
2018 (A) e1 B E
e2 e7 e10
e1 e5
e4 e9
A H
e3 e6 D e8 e11
11. What is minimal spanning tree? (shortest distance spanning tree) (R)
Ans:
A spanning tree with the smallest weight in the weighted graph is called as minimal
spanning tree.
12. What is connectivity and separability? (R)
Ans:
A graph G is connected, if dG(u, v) < ¥ for all u, v ∈ G; otherwise, it is disconnected. The
maximal connected subgraphs of G are its connected components. Denote c(G) = the number
of connected components of G . If c(G) = 1, then G is connected.
A connected graph is said to be seperable if its vertex connectivity is one.
13. Define 1-isomorphism and 2-isomorphic. (R) (Nov./Dec. 2016)
Defn.
Two graphs G1 and G2 are said to be 1-isomorphic if they become isomorphic to each
other under repeated application that split a cutvertex to produce two disjoint sugraphs.
Defn.
Two graphs G1 and G2 are said to be 2-isomorphic if there is a one-to-one corresponding
between the set of branches B1of G1 and that B2 of G2 under this correspondence, every
loop in G1 corresponds to a loop in G2, and viceversa. It is evident that 2-isomorphism is
an equivalence relation.
14. Draw two graphs on six vertices that are 1-isomorphic but are not isomorphic. (U)
Solution: The graphs given below are clearly 1-isomorphic. However, G1has a vertex of
degree 5 while G2does not. Therefore, the graphs are not isomorphic.
16. What are the applications of planar graph? (R) (Nov./Dec. 2016)
24. In a tree, every vertex is a cut-vertex. Justify the claim. (Nov./Dec. 2017) (U)
Solution:
In a tree, every vertex of degree greater than 1 is a cut vertex. If there is no cut vertex in a
graph, then the graph has a cycle and it is not a tree.
25. A simple planar graph to which no edge can be added without destroying its planarity (while
keeping the planar simple) is a maximal planar graph. Prove that every region in a maximal
planar graph is a triangle. (Nov./Dec. 2017) (U)
Solution:
In any embedding of a planar graph G with n 3 , every region is bounded by 3 edges.
Then the boundary of every region is a triangle.
26. Calculate the maximum flow between the nodes A and F in the following graph. (Nov./Dec.
2018) (U)
B
6
F
5 5 6
1 1
A D
6 4 1
C E
3
27. Define homeomorphic graphs and give example graphs. (Nov./Dec. 2018) (U)
Solution:
Two graphs G and G1 are homeomorphic if there is a graph isomorphism from some
subdivision of “G” to some subdivision of “G1”.
(or)
Two graphs are said to be homeomorphic if one graph can be obtained from the other by
creation of edge in series (i.e, insertion of vertex and edges)
Part – B
1. Define a spanning tree of a graph. Find all the spanning trees of the following graph shown in the
following figures. (R)
2. Prove that every connected graph has atleast one spanning tree. (U)
3. Prove that a connected graph G is a tree if and only if adding an edge between two vertices in
G creates exactly one circuit. (U)
4. Prove that a spanning tree T of a weighted graph G is a shortest spanning tree if and only if
there exists no other spanning tree at a distance of one from T whose weight is smaller than
that of T. (U)
5. Write an algorithm for finding shortest spanning tree. (A)
6. Let v be a vertex in a connected graph G. Prove that there exists a spanning tree T in G such
that the distance of every vertex from v is the same both in G and in T. (U)
7. Prove that every cutset in a connected graph G must contain atleast one branch of every
spanning tree of G. (U)
8. Prove that every connected graph has atleast one spanning tree. (U) (Nov./Dec. 2016)
9. Prove that every circuit has an even number of edges in common with any cutset. (U)
10. Prove that two graphs are 2-isomorphic if and only if they have circuit correspondence. (U)
11. Prove that in a tree, every vertex of degree greater than one is a cutvertex. (U)
12. Prove that a connected planar graph G with n vertices and m edges has exactly m – n + 2
regions in every one of its diagrams. (U)
13. Show that every simple connected planar graph G with less than 12 vertices must have a
vertex of degree ≤ 4. (U)
14. Show that in any connected planar graph with n vertices e edges and f faces, e – n- 2 = f. (U)
15. Prove that Peterson graph is non-planar. (U)
16. Prove the graphs K5 and K3,3 are non planar. (Nov./Dec. 2016) (U)
17. Using Prim’s algorithm, find a minimal spanning tree for the weighted graph shown in the
following figure (A)
18. State Kruskal 's algorithm. Apply Kruskal ' s algorithm to find a minimal spanning tree for
the following weighted graph as shown in figure (A)
19. Find the chromatic number of the complete bipartite graph Km,n and a cycle, Cn on n
vertices, n ≥ 3. (U)
20. State Krushkal's alg6rithm. Using Krushkal's algorithm find a minimal spanning tree for the
weighted graph shown in figure (A)
21. Apply Dijkstra's algorithm the diagram shown in figure and determine the shortest distance
from vertex at each of the other vertices in the directed graph. (A)
29. State minimum cut maximum flow theorem. Using it calculate the maximum flow between
the nodes D and E in the following graph. The number on a line represents the capacity.
(Nov./Dec. 2017)
30. Prove that the distance between any two spanning trees is a metric. Find two different
minimum spanning trees of a graph with V = {1, 2, 3, 4} is described by
a b c d e f
2, 3 3, 4 3, 4
. It has weights on its edges given by
1, 2 1, 2 1,4
a b c d e f
.
3 2 1 2 4 2
31. Prove that an Euler graph cannot have a cut-set with an odd number of edges. (N/D 2018)
(A)
32. Construct a graph G with the following properties: Edge connectivity of G = 4, vertex
connectivity of G = 3, and degree of every vertex of G 5. (Nov./Dec. 2018) (A)
33. Derive the formula for the number of regions in a planar graph. G with n vertices and e
edges. Also prove that the planar graph with triangle region can have at most (3n-6) edges.
(Nov./Dec. 2018) (A)
UNIT III MATRICES, COLOURING AND DIRECTED GRAPH
Part A
1. Define chromatic number of a graph. (R)
Defn.
The smallest number of colors needed to color a graph G is called its chromatic
number, and is often denoted χ(G).
Part B
1. Find the chromatic polynomial for the cycle of length 4 as shown in the following figures.
Hence find the chromatic number. (A)
2. Determine the chromatic polynomial tor the graph G in figure (A)
3. Find the chromatic polynomial for the graph shown below and also find the chromatic
number for the same. (A)
4. Prove that a graph of order (n ≥ 2) consisting of a single circuit is 2 – chromatic if n is even,
and 3 – chromatic if n is odd.(R)
5. Prove that every tree with two or more vertices is 2-chromatic. (R) (Nov./Dec. 2016)
6. Prove that a graph with atleast one edge is 2-chromatic if and only if it has no circuits of odd
length. (R)
7. Find the chromatic number of the complete bipartite graph Km,n and a cycle, Cn on n vertices,
n ≥ 3. (A)
8. Find the chromatic polynomial for the cycle of length 4. Hence find its chromatic number.
(A)
9. Prove that in a bipartite graph a complete matching of V1 and V2 exists there is a positive
integer m for which the following condition is satisfied: degree of every vertex in V1m
degree of every vertex in V2. (R)
10. Prove that a covering g of a graph is minimal if and only if g contains no paths of length
three or more. (R)
11. Prove that the vertices of every planar graph can be properly colored with five colors. (R)
12. Prove that every connected simple planar graph G is 6 colorable. (R)
13. Prove that the determinant of every square matrix of A, the incident matrix of a digraph, is 1,
-1or 0. (R)
14. Define the following with respect to a graph: i) matching ii) a cut-set. Show that the graph in
figure has a complete matching from V 1 to V 2• Obtain two complete matching. (R)
15. Define chromatic number. Prove that a graph of order consisting of a single circuit is
2 - chromatic if n is even and 3 - chromatic if n is odd.
16. Find the chromatic polynomial for the cycle of length 4 as shown in figure below. Hence find
the chromatic number. (U)
17. Prove that a graph of n vertices is a complete graph iff its chromatic polynomial is
Pn() ( 1)( 2) ...... ( n 1) . (U) (Nov./Dec. 2016)
18. Prove that a covering g of a graph is minimal iff g contains no paths of length three or more.
(U) (Nov./Dec. 2016)
19. Explain Euler digraph. (Nov./Dec. 2016) (A)
20. Discuss about some types of digraph with suitable example. (A) (Nov./Dec. 2016)
21. Obtain the chromatic polynomial of the following graph using the theorem,
Pn () of G Pn () of G Pn () of G . (Nov./Dec. 2017)
nCi xni yi
i0
4. In how many ways they can be arranged two letters at a time from the letters a, b, c? (A)
Ans:
The arrangements of the letters a, b, c taken two at a time are ab, ba, ac, ca, bc, cb.
The number of permutation of 3 letters taken two at a time =3P2 = P(3, 2) = 6 Therefore
the number of 2-arrangements are 6.
5. In how many different ways can the letters of the word “LEADING” be arranged in such a
way that the vowels always come together. (A) (Nov./Dec 2016)
6. Define Sum rule and product rule? (R)
Sum rule: Suppose a certain operation (or process) can be done in m ways and another
operation (or process) can be done in n ways and both cannot be done
simultaneously. Then either of them can be done in m+n ways.
Product rule: Suppose a certain operation (or process) can be done in m ways and another
independent of the former can be done in n ways. Then both of them can be
done in mn ways.
7. Find the total number of 9 digit numbers which have all different digits. (U)
Ans: The digits used forming the numbers are 0,1,2,3,4,5,6,7,8,9.
The highest place can be filled only with the 9 digits 1, 2, 3, 4, 5, 6, 7, 8, 9 in 9 ways. The
remaining 8 places can be filled with the remaining 9 digits including 0 in 9! Ways. So total
number of 9 digits numbers = 9.9! = 3265920.
8. A committee including 3 boys and 4 girls is to be formed from a group of 10 boys and 12
girls. How many different committees can be formed from the group? (A) (Nov./Dec 2016)
9. How many bit strings of length 10 contain exactly four 1’s? (A)
Ans: Total number of 10 bit strings with four 1’s = 10C4 = 210.
10. How many different bit strings are there of length seven? (A)
Ans: In a bit string each place can be filled by 0 or 1 (2 choices). To have a bit string of
length 7, all the 7 places can be filled independently by 0 or 1. So 27 = 128 different bit
strings will be there.
11. Find the number of arrangements of the letters in MAPPANASSRR. Also find how many of
these arrangements have no adjacent A’s? (A)
Ans: There are total 11 alphabets of which 3 A’s, 2 P’s, 2 S’s and 2 R’s.
11!
Number of different arrangements = 831600
3!2!2!2!
If we tie up the 2A’s as a single unit then we have 10 units
10!
Number of arrangements that have 2A’s adjacent = 453600
2!2!2!
Number of arrangements that have no 2 A’s adjacent = 836100-453600=382500
12. Find the number of arrangements of the letters in DISCRETE. How many of these
arrangements have no adjacent E’s? (A)
8!
Ans: Number of different arrangements = 20160
2!
If we tie up 2 E’s as a single unit then we have 7 units
Number of distinct arrangements that have adjacent E’s = 7! =5040
Number of arrangements that don’t have adjacent E’s = 20160-5040 =15120.
13. How many ways can the letters in ENGINEERING be arranged so that all three e’s together? (R)
(Nov/Dec 2018)
18. How many different bit strings are there of length seven? (A)
Soln. In a bit string each place can be filled by 0 or 1 (2 choices).
To have a bit string of length 7, all the 7 places can be filled independently by 0 or 1. So
27 = 128 different bit strings will be there.
19. How many permutations are there in the word MISSISSIPPI? (A)
11!
Ans. The permutations of the given word are 34650
1!4!4!2!
20. Define combination. (R)
Defn: A combination of n objects taken r at a time is an unordered selection of r of the n
objects (r ≤ n).
21. How many ways are there to select five players from 10-membr tennis team to make a trip to
a match at another school? (U)
10!
Ans. C(10,5) 252 .
5!5!
22. Show that C n , r C n 1, r 1 C n 1, r . (U)
Ans:
C n 1 , r 1 C n 1 , r n 1! n 1!
r 1!n r ! r!n 1 r!
n 1! n 1!
r 1 ! n r n r 1! r r 1!n 1 r!
n 1! 1 1
r 1!n 1 r ! n r r
n 1! n
r 1!n 1 r ! rn r
Cn, r
n!
r! n r !
23. Find the number of unordered samples of size five (repetition allowed) from
a , b , c , d , e , f . (U)
n r 1 10 10!
Ans: n=6 r=5 r 5 5!5! 252
24. In how many ways a football team of eleven players can be chosen out of 18 players when
(a) four particular players are to be always included (b) three particular players are to be
always excluded. (U)
Ans:
(a) 4 particular players are selected remaining 7 players need to be selected from
11 11!
remaining 11 players in 7 7!4! 330
(b) Three particular players are excluded. So 11 players are selected from 15 available
15 15!
players in 11 11!4! 1365
25. How many teams of six with a captain can be selected from 12 persons? (U)
Ans: Captain is selected in 12 ways. Remaining 5 people can be selected from remaining 11
11 11!
persons in 5 5!6! 462 .
26. There are 6 multiple choice questions is an examination. If the first 3 questions have 4
choices each and the next three questions have 5 choices, how many sequences of answers
are possible? (U)
Ans: The first 3 questions can be answered in 4 x 4 x 4 = 43 ways (Product rule). Similarly,
the next 3 questions can be answered in 5 x 5 x 5 = 53 ways (Product rule). Therefore
total number of ways answering all the 6 questions = 43 x 53 = 800.
12 13 25
27. What is the coefficient of x y in the expansion of ( x y) ? (U)
Ans. Using Binomial theorem it follows that this coefficient is
25!
25C13 5200300
13!12!
28. Find the coefficient of x60 in (x8 x9 x10 )7 . (U)
7
8 9 10 7 8 7 2 7 56 1 56 7
(
Ans. xxx ....) (x ) (1 x x ......) x x 1 x
1 x
Then the coefficient of x60 in (x8 x9 x10 ....)7 is the coefficient of x4 in 1 x7 ,
which is 7C4 (1)4 (1)4 (7 4 1C4 )(1)4 10C4
n
29. Prove that nck 2n , where n be a nonnegative integer. (U)
k 0
Proof. Using Binomial theorem, with x 1, y 1 , we write
2 ( )n
n
n nc k nk
n nc
1 1 k11 k
k0 k0
Hence proved.
.
33. How many positive integers not exceeding 1000 are divisible by 7 or 11? (U)
Soln. Let A and B be sets of positive integers divisible by 7and 11respectively.
No. of integers divisible by 7 or 11 is |A ∪B| = |A| + |B| – |A∩B|
1000 1000 1000
7 11
7 11
142 90 12 220
34. Determine the number of positive integers n,1 n 500 , that are not divisible by 5 or 5.
(Nov/Dec 2018) (U)
38. There are four balls of different colors and four boxes of colors same as those of the balls.
Find the number of ways in which the balls, one in each box, could be placed such that a ball
does not go into a box of its own color. (U)
Ans.
The number of ways
1 1 1 1
D4 4!1
1! 2! 3! 4!
D4 9 ways
39. THALASSEMIA is a genetic blood order. How many ways can the letters in THALASSEMIA be
arranged so that all three A’s together? (Nov/Dec .2017)
Solution:
11!
Number of ways of arranging all 3 A’s together .
2!3!
40. Determine the number of positive numbers n,1 n 100 , that are not divisible by 3 or 7. (Nov/Dec
.2017) (U)
Solution:
Given C1: n divisible by 3, C2: n divisible by 7,
N (C1 C2 ) S0 S1 S2
S0 N 100, S1 N (C1 ) N (C2 ) 33 14 47
S2 N (C1C2 ) 4
N (C1 C2 ) 57
PART B
1. How many positive integers n can be formed using the digits 3, 4, 4,5,5, 6, 7 if n has to
exceed 5000000? (A)
2. A box contains six white balls and five red balls. Find the number of ways four balls can be
drawn from the box if (1) they can be any colour (2) two must be white and two red (3) they
must all be the same colour. (U)
3. How many arrangements are there of all the vowels adjacent in SOCIOLOGICAL?
(U) (Nov./Dec 2016)
4. Find the value of n for the following 2P(n, 2) 50 P(2n, 2) . (R) (Nov./Dec 2016)
5. How many distinct four-digit integers can one make from the digits 1, 3, 3, 7, 7 and 8?
(A) (Nov./Dec
2016)
6. In how many possible ways could a student answer a 10-question true-false test?
(A)
(Nov./Dec 2016)
7. A bit is either 0 or 1. A byte is a sequence of 8 bits. Find the number of bytes. Among these
how many are (1) starting with 11 and ending with 00 (2) starting with 11 but not ending
with 00 or not starting with 11 but ending with 00?
8. How many arrangements of the letters in MISSISSIPPI has no consecutive S’s?
(U)
(Nov./Dec 2016)
9. A gym coach must select 11 seniors to play on a football team. If he can make his selection
in 12,376 ways, how many seniors are eligible to play? (A) (Nov./Dec 2016)
10. How many permutations of size 3 can one produce with the letters m, r, a, f and t?
(A) (Nov./Dec
2016)
11. Rama has two dozen each of n different colored beads. If she can select 20 beads (with
repetitions of colors allowed), in 230,230 ways, what is the value of n? (A) (Nov./Dec 2016)
12. A question paper has 3 parts, Part A , Part B and Part C having12 , 4 and 4 questions
respectively. A student has to answer 10 questions from Part A and 5 questions from Part B
and Part C put together selecting atleast 2 from each one of these two parts. In how many
ways the selection of questions can be done? (A)
13. A computer password consists of a letter of English alphabet followed by 2 or 3 digits. Find
the following (1) the total number of passwords that can be formed (2) the number of
passwords in which no digit repeats. (A)
14. How many bit strings of length 12 contain (i) exactly three ones? (ii) atmost three ones? (iii)
at least three ones? (iv)An equal number of zeros and ones? (A)
15. Five boys and five girls are to be seated in row. In how many ways can be they be seated if
(i) the boys are together and the girls are together (ii) no two girls are together (iii) The boys
and girls alternate. (A)
16. In how many ways can 6 students and 4 teachers be arranged in a row for a photograph if (i)
no two teachers are together (ii) the teachers are all together? (A)
n 1 n
17. Show that if n and k are positive integers then (n 1) / k . (U)
k k 1
18. Let n and k be positive integers with n ≥ k. Prove that c(n+1, k) = c(n, k-1) + c(n, k) . (U)
19. Prove that the number of different permutations of n objects, where there are n1
indistinguishable objects of type 1, n2indistinguishable objects of type 2,…., and nk
n!
indistinguishable objects of type k, is . (U)
n1 !n2 ! ..... nk !
20. Determine the number of positive integers n, 1 n 1000 that are not divisible by 2, 3 or 5.
(A)
21. Determine the number of integers between 1 and 200 that are divisible by any of the integers
2, 3, 5 and 7. (A)
22. Show that if any 11 numbers are chosen from the set {1, 2,….., 20} then one of them will be
a multiple of another. (U)
23. Find the number of positive integers between 1 and 250 that are not divisible by any one of
the integers 2, 3, 5 and 6. (A)
24. Show that in any set of eleven integers, there are two integers whose difference is divisible
by 10. (U)
25. How many solutions does the equations x1 x2 x3 11 have, where x1 , x2 and x3 0 such
that x1 3 , x2 4 and x3 6 ? Use the principle of inclusion-exclusion. (A)
26. There are 2500 students in a college, of these 1700 have taken a course in C , 1000 have
taken a course Pascal and 550 have taken a course in Networking. Further 750 have taken
courses in both C and Pascal, 400 have taken courses in both C and Networking and 275
have taken courses in both Pascal and Networking. If 200 of these students have taken
courses in C , Pascal and Networking. (A)
(1) How many of these 2500 students have taken a course in any of these three courses C ,
Pascal and Networking?
(2) How many of these 2500 students have not taken a course in any of these three courses
C , Pascal and Networking?
27. There are 2500 students in an engineering college. Of these 188 have taken a course in
FORTRAN, 100 have taken a course in C and 35 have taken a course in Java. Further 88
have taken a course in both FORTRAN and C , 23 have taken a course in both C and Java
and 29 have taken a course in both FORTRAN and Java. If 19 of these students have taken
all of these three courses, how many of these 2500students have not taken a course in any of
these three courses? (A)
28. How many derangements of 1, 2, 3, 4, 5, 6 begin with 1, 2, and 3 in some order? and end
with 1, 2, and 3 in some order. (A)
29. In how many ways we can arrange the numbers 1, 2, 3,…… 10 so that 1 is not in the 1stplace,
2 is not in the 2nd place and so on, and 10 is not in the 10th place? (A)
30. Show that the number of derangements of a set with n n elements is (U)
Dn n! 1 1 1 ...... (1)
1 1
1! 2! 3!
n! .
31. There are five students in a group and their roll numbers are, S1, S2, S3, S4, S5 and S6. They
are given with five assignments numbered 1 to 6. Each has to solve one assignment. How
many ways the arrangements can be distributed such that a student is not getting assignment
number same as his roll number? (Nov/Dec .2017)
32. Determine the coefficient of x9 y6 in the expansion of (4 y x)15 . (Nov/Dec .2017)
33. How many integer solutions for x1 x2 x3 x4 x5 40 where xi 3, 1 i 5 . (Nov/Dec
.2017)
34. In a survey of chewing gum tastes of a group of baseball players, it was found that 22 liked juicy
fruit, 25 liked spearmint, 39 liked bubble gum, 9 liked both spearmint and juicy fruit, 17 liked juicy
fruit and bubble gum, 20 liked spearmint and bubble gum, 6 liked all three and 4 liked none of these.
(Nov/Dec .2017) (A)
35. Determine the numbr of six integers (no leading zeros) in which
(i) No digit may be repeated (ii) Digits may be repeated. Answer parts
(i) and (ii) with extra condition that the six digit number even: Also do the same with the
condition that the number is divisible by 5. (Nov/Dec .2018) (R)
At a nursery, Reshmi wants to arrange 15 different plants on five shelves for a window
display. In how many ways can she arrange them so that each shelf has at least one, but no
more than four plants? (Nov/Dec .2018) (A)
UNIT V GENERATING FUNCTIONS
Part - A
1. Define partition of integer. (R)
Defn. A partition of a positive integer n is a multiset of positive integers that sum to n.
We denote the number of partitions of n by pn.
a0 a1x a2 a3 n0 n!
2! 3!
3. Find the generating function for the sequence 8, 26, 54, 92,…… (U)
4. Define recurrence relation.(R) (Nov./Dec 2016)
5. Define generating function. Give an example to a polynomial and a power series.
(R) (Nov./Dec 2016,
2018)
6. Write a homogeneous and non- homogeneous recurrence relation. (R) (Nov./Dec 2018)
7. Find the coefficient of x6 in (3 5x)8 . (Nov./Dec 2017)
Solution: r
8
5
(3 5x) (3) (7 r)Cr xr
8 8
r 0 3 6
5 1
8
Coefficient of x (3) (7 6)C6 14 13C6 56
6
3 3
8. The number of virus affected files in a system is 500 (approximately) and this doubles every
four hours. Using a recurrence relation, determine the number of virus affected files in the
system after one day. (Nov./Dec 2017)
Part - B
1. Show that the number of partitions of a positive integer n, where no summand appears more
than twice equals the number of partitions of n, where no summand is divisible by 3. (U)
1
2. Determine the coefficient of x8 in . (A)
(x 3)(x 2)2
3. Determine the generating function for the numeric function ar 2 r if r is even
r
2
if r is odd
(A)
4. Using generating function, find the number of partitions of n = 6. (A)
5. Find the exponential generating function for each of the following sequences. (A)
(i) 1, -1, 1, -1, 1, -1,….
(ii) 1, 2, 22, 23, 24,….
(iii) a, a3, a5, a7,….. a € R.
6. Using exponential generating function, find the number of ways in which 4 of the letters in
the words given below be arranged: (i) ENGINE (ii) HAWAII (A)
7. Determine the sequences generated by each of the following exponential generating
functions. (A)
x 2 x
(i) f (x) 3e3x , (ii) f (x) e x (iii) f (x) 3/(1 2x) e
8. A ship carries 48 flags, 12 each of the colors red, white, blue and black. Twelve of these flags
are placed on a vertical pole in order to communicate a signal to other ships. (A)
(i) How many of these signals use an even number of blue flags and an odd number of
black flags?
(ii) How many of the signals have atleast three white flags or no white flags at all?
9. Find the formula to express: 02 + 12 + 22 + .......... +n2 as a function of n using summation on
operator. (A)
10. Find the recurrence relation and the initial condition for the sequence 2, 10, 50, 250,…..
Hence find the general term of the sequence. (A)
16. Write the recurrence relation for Fibonacci numbers and hence solve it. (U)
18. Solve Y n 7Y n 1 10Y n 2 6 8n with Y 0 1,Y 1 2 . (A)
(A)
20. Find a formula for the general term Fn of the Fibonacci sequence 0,1,1, 2,3,5,8,13, ...... (U)
23. Use generating function to determine how many four element subjects of
S = {1, 2, 3, ….,15} contain no consecutive numbers? (A)
y1 1, y0 2 .
26. Use the method of generating function to solve the recurrence relation
an 4 a n 1 4 an 2 4n ; n 2 given that a0 2 , a1 8 . (A)