Let G = (V, E) be a graph, and let v be a node in G with an odd number of neighbors. Prove that there is a node v' ≠ v in G such that v' also has an odd number of neighbors.
Let us prove this be contradiction method.
Assume there exists no v' such that number of neighbors of v' is odd. i.e. all other vertices except v have even number of neighbors(degree).
We know , any un-directed graph G with e number of edges, then sum of degrees of each vertex is 2e(a even number).
Now, our graph, has one odd degree vertex v and all other even degree vertices. degree sum of even degree vertices is even so adding this to degree of v will be a odd number.
i.e. degree sum of gigen graph is odd, which is not true.
Hence there must exist another vertex v', whose degree(number of neighbors) is odd, so that total sum of degrees would be even.
2) Let G ME) be an undirected Graph. A node cover of G is a subset U of the vertex set V such that every edge in E is incident to at least one vertex in U. A minimum node cover MNC) is one with the lowest number of vertices. For example {1,3,5,6is a node cover for the following graph, but 2,3,5} is a min node cover Consider the following Greedy algorithm for this problem: Algorithm NodeCover (V,E) Uempty While...
Let G= (V, E) be a connected undirected graph and let v be a vertex in G. Let T be the depth-first search tree of G starting from v, and let U be the breadth-first search tree of G starting from v. Prove that the height of T is at least as great as the height of U
Let G = (V;E) be an undirected and unweighted graph. Let S be a subset of the vertices. The graph induced on S, denoted G[S] is a graph that has vertex set S and an edge between two vertices u, v that is an element of S provided that {u,v} is an edge of G. A subset K of V is called a killer set of G if the deletion of K kills all the edges of G, that is...
Let G = (V, E) be a weighted undirected connected graph that contains a cycle. Let k ∈ E be the edge with maximum weight among all edges in the cycle. Prove that G has a minimum spanning tree NOT including k.
Consider an unweighted, undirected graph G = 〈V, E). The neighbourhood of a node u E V in the graph is the set of all nodes that are adjacent (or directly connected) to v. Subsequently, we can define the neighbourhood degree of the node v as the sum of the degrees of all its neighbours (those nodes that are directly connects to v) (a) Design an algorithm that returns a list containing the neighbourhood degree for each node v V,...
This question needs to be done using pseudocode (not any
particular programming language). Thanks
Consider an unweighted, undirected graph G = 〈V, E). The neighbourhood of a node u E V in the graph is the set of all nodes that are adjacent (or directly connected) to v. Subsequently, we can define the neighbourhood degree of the node v as the sum of the degrees of all its neighbours (those nodes that are directly connects to v) (a) Design an...
Let G = (V, E) be an undirected graph, with no parallel edges or self-loops. Let |vl = n and IEI = m. Prove by induction that 2m S n -n for all n 2 1 5.
Problem 4 Let G = (V. E) be an undirected, connected graph with weight function w : E → R. Furthermore, suppose that E 2 |V and that all edge weights are distinct. Prove that the MST of G is unique (that is, that there is only one minimum spanning tree of G).
Let k ≥ 2 and let G be a graph of chromatic number k such that χ(G − {v}) < k for every v ∈ V (G). a) if k = 2, 3, describe the graph G. b) Prove that δ(G) ≥ k − 1. c) Show that G is a block
e hese seqd 7. Prove the handshaking theorem. Let G- (V,E) be an undirected graph with m edges. Then 2m Evev(degv)).