Graph 2
Prove the following statements using one example for each
(consider n > 5).
(a) A graph G is bipartite if and only if it has
no odd cycles.
(b) The number of edges in a bipartite graph with
n vertices is at most (n2 /2).
(c) Given any two vertices u and v of a graph G, every u–v walk contains a u–v path.
(d) A simple graph with n vertices and k components can have at most (n-k).(n-k+1)/2 edges.
(a). Let G(V, E) be an undirected bipartite graph,
V(G) = X U Y ; X Y = null;
Consider G has an odd cycle C with length n.
C = (v1, v2, v3, ... vn, v1)
Consider v1 X then the following shoul be true since G is bipartite.
v2 Y, v3 X, v4 Y, ....... and so on vn X since n is an odd number.
=> v1, v3, v5, ... vn X (odd nodes)
v2, v4, v6, .... Y (even nodes)
But both v1 and vn are under set X which contradicts the assumption of bipartite.
Hence, proved that a graph is bipartite if and only if it has no odd cycles.
(b). For a bipartite graph, there will not be an edge between any nodes in the same subset.
Consider a graph G(V, E) with n vertices as a bipartite. Let X and Y be the two partitioned subsets and x and y are the corresponding numbers of vertices in each set.
Then the maximum no. of edges in bipartite = x * y
This product is maximum when x = y
hence max no. of edges in bipartite = x * x
= (n/2) * (n/2) [since n = x + y and x =y , n = 2 * x => x = n/2]
= n2 / 4 > n2/2
Hence proved
(c). A path is a tree with two nodes of degree 1 and all other nodes of degree 2. A walk is a sequence of v1, e1, v2, e2, ... vk, ek. Hence if u and v are two vertices in a walk, then there are edges between each node in the walk u-v; Hence there is a tree connecting u and v. Thence there should be a path u-v in a u-v walk.
(d). Can be solved in two cases.
If the number of components, k > 1 then the maximum number of edges achieve only when only one of the component has more than one vertex. Let that component be X.
Let k be the number of components,
then, max no. of vertices in the component X = n - k + 1
then max no. of edges in this largest component X = (n-k+1)((n-k+1) - 1)/2 [max no. of edges in a graph = n*(n-1)/2]
= (n-k+1)(n-k)/2
If the number of components = 1 then the component is the graph itself. In this case also
max no. of edges is (n-k)(n-k+1)/ 2 = n(n-1)/2, whis is also true.
Hence proved
Graph 2 Prove the following statements using one example for each (consider n > 5). (a)...
please help me make this into a contradiction or a direct proof please. i put the question, my answer, and the textbook i used. thank you also please write neatly proof 2.5 Prove har a Simple sraph and 13 cdges cannot be bipartite CHint ercattne gr apn in to ertex Sets and Court tne忤of edges Claim Splitting the graph into two vertex, Sets ves you a 8 Ver ices So if we Change tne书 apn and an A bipartite graph...
Write down true (T) or false (F) for each statement. Statements are shown below If a graph with n vertices is connected, then it must have at least n − 1 edges. If a graph with n vertices has at least n − 1 edges, then it must be connected. If a simple undirected graph with n vertices has at least n edges, then it must contain a cycle. If a graph with n vertices contain a cycle, then it...
Problem 8. (2+4+4 points each) A bipartite graph G = (V. E) is a graph whose vertices can be partitioned into two (disjoint) sets V1 and V2, such that every edge joins a vertex in V1 with a vertex in V2. This means no edges are within V1 or V2 (or symbolically: Vu, v E V1. {u, u} &E and Vu, v E V2.{u,v} &E). 8(a) Show that the complete graph K, is a bipartite graph. 8(b) Prove that no...
Prove that an undirected graph is bipartite iff it contains no cycle whose length is odd (called simply an "odd cycle"). An undirected graph G = (V,E) is called "bipartite" when the vertices can be partitioned into two subsets V = V_1 u V_2 (with V_1 n V_2 = {}) such that every edge of G has one endpoint in V_1 and the other in V_2 (equivalently, no edge of G has both endpoints in V_1 or both endpoints in...
3. Given graph G = (V,E), prove that the following statements are equivalent. [Note: the following statements are equivalent definitions of a "tree graph".] 1) There exist exactly one path between any of two vertices u, v EV in the graph G 2) Graph G is connected and does not contain any cycles. 3) Graph G does not contain any cycles, and a cycle is formed if any edge (u, v) E E is added to G 3. Given graph...
COMP Discrete Structures: Please answer completely and clearly. (3). (5). x) (4 points) If k is a positive integer, a k-coloring of a graph G is an assignment of one of k possible colors to each of the vertices/edges of G so that adjacent vertices/edges have different colors. Draw pictures of each of the following (a) A 4-coloring of the edges of the Petersen graph. (b) A 3-coloring of the vertices of the Petersen graph. (e) A 2-coloring (d) A...
There are many equivalent definitions of a forest. Prove that the following conditions on a simple graph G re equivalent. A. G is acyclic. 3. Each component of G is a tree. . The number of components in G equals the number of vertices minus the number of edges. . For each u, v e V (G), there exists at most one u, v-path.
Answer the following true or false questions with a brief justification. A) There exists an undirected graph on 6 vertices whose degrees are 4, 5, 8, 9, 3, 6. B) Every undirected graph with n vertices and n − 1 edges is a tree. C) Let G be an undirected graph. Suppose u and v are the only vertices of odd degree in G. Then G contains a u-v path.
(a) Let G be a graph with order n and size m. Prove that if (n-1) (n-2) m 2 +2 2 then G is Hamiltonian. (b) Let G be a plane graph with n vertices, m edges and f faces. Using Euler's formula, prove that nmf k(G)+ 1 where k(G) is the mumber of connected components of G. (a) Let G be a graph with order n and size m. Prove that if (n-1) (n-2) m 2 +2 2 then...
3. Given graph G = (V,E), prove that the following statements are equivalent. [Note: the following statements are equivalent definitions of a tree graph" 1) There exist exactly one path between any of two vertices u,vEV in the graph G 3. Given graph G = (V,E), prove that the following statements are equivalent. [Note: the following statements are equivalent definitions of a tree graph" 1) There exist exactly one path between any of two vertices u,vEV in the graph G