Question

In: Computer Science

Draw a connected, simple graph with 6 vertices and 12 edges. Verify the Handshaking Lemma for...

Draw a connected, simple graph with 6 vertices and 12 edges. Verify the Handshaking Lemma for your graph.

Solutions

Expert Solution

Handshaking lemma states that: The sum of degrees of all the vertices in a graph G defined as G(V,E) is equal to twice the number of edges in that graph.

i.e,

Now, let’s draw a simple connected undirected graph with 6 vertices and 12 edges to verify the lemma

Here, in the graph shown above, we have the number of edges E = 12 and Vertices V = 6

Now, let’s add the degrees of all the vertices,

We can observe that the degree of each red coloured vertex is 4 and that of yellow coloured vertex is 5 and blue coloured vertex is 3 so for 6(4red + 1yellow + 1blue) vertices we have,

…(1)

Also, We have twice of the number of edges E = = 2 * 12 = 24          …(2)

So, from (1) and (2), it can be seen that Handshaking Lemma holds for the given example hence verified.


Related Solutions

Prove a connected simple graph G with 16 vertices and 117 edges is not Eulerian.
Prove a connected simple graph G with 16 vertices and 117 edges is not Eulerian.
Is it possible for a planar graph to have 6 vertices, 10 edges and 5 faces?...
Is it possible for a planar graph to have 6 vertices, 10 edges and 5 faces? Explain.
Prove or disprove the following statements. (a) There is a simple graph with 6 vertices with...
Prove or disprove the following statements. (a) There is a simple graph with 6 vertices with degree sequence (3, 3, 5, 5, 5, 5)? (b) There is a simple graph with 6 vertices with degree sequence (2, 3, 3, 4, 5, 5)?
Show that a graph with at least 2k vertices is k-connected if and only if for...
Show that a graph with at least 2k vertices is k-connected if and only if for any two unrelated subsets X, Y of V, such that | X | = k = | Y |, there are k foreign paths between X and Y.
Given an undirected graph G = (V,E), consisting of n vertices and m edges, with each...
Given an undirected graph G = (V,E), consisting of n vertices and m edges, with each edge labeled from the set {0,1}. Describe and analyze the worst-case time complexity of an efficient algorithm to find any cycle consisting of edges whose labels alternate 0,1.
Graph Theory: Let S be a set of three pairwise-nonadjacent edges in a 3-connected graph G....
Graph Theory: Let S be a set of three pairwise-nonadjacent edges in a 3-connected graph G. Show that there is a cycle in G containing all three edges of S unless S is an edge-cut of G
(a) What is the maximum degree of a vertex in a simple graph with n vertices?...
(a) What is the maximum degree of a vertex in a simple graph with n vertices? (b) What is the maximum number of edges in a simple graph of n vertices? (c) Given a natural number n, does there exist a simple graph with n vertices and the maximum number of edges?
If graph G has n edges and k component and m vertices, so m ≥ n-k....
If graph G has n edges and k component and m vertices, so m ≥ n-k. Prove it!
You are given a directed graph G(V,E) with n vertices and m edges. Let S be...
You are given a directed graph G(V,E) with n vertices and m edges. Let S be the subset of vertices in G that are able to reach some cycle in G. Design an O(n + m) time algorithm to compute the set S. You can assume that G is given to you in the adjacency-list representation.
If graph g has n vertices and k component and m edges, so m ≥ n-k....
If graph g has n vertices and k component and m edges, so m ≥ n-k. Prove it ! Thank you...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT