Question 4. For n 2, let Gn be the grid graph, whose vertex set is V={(x, y) E Z × Z : 0 < x < n,0
* Exercise 1: Let G be the graph with vertex set V(G) = Zi,-{0,-, that two vertices x, y E V(G) are connected by an edge if and only if ,10) and such ryt5 mod 11 or xEy t7 mod 11 1. Draw the graph G. 2. Show that the graph G is Eulerian, i.e., it has a closed trail containing all its edges
=(V, En) 5. Let n1 be an integer and define the graph Gn as follows {0,1}", the set of all binary strings of length n. Vn = Two vertices x and y are connected by an edge emu if and only if x and y differs in exactly one position. (a) (4 points) Draw the graph Gn for n = 1,2,3 (b) (4 points) For a general n 2 1, find |Vn and |En (c) (10 points) Prove that for...
(7) Let V = {ui, U2 . . . . Un} with n > 4. In this exercise we will compute the probability that in a random graph with vertex set V we have that v and v2 have an edge between them or have an edge to a common vertex (i.e, have a common neighbour) (If you are troubled by my use of the term random we choose a graph on n vertices uniformly at random from the set...
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...
answer question 3 , imagine putting a small cube inside a larger cube and let G be the graph whose vertex set consists of the 8 corners of the small cube and the 8 corners of the larger cube (16 vertices total) and whose edge set consists of the edges in each cube (12 per cube) and the edges joinin corresponding vertices of the two cubes (8 more), for a total of 32 edges. 3. Find a Hamilton Circuit in...
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...
Let G (V, E) be a directed graph with n vertices and m edges. It is known that in dfsTrace of G the function dfs is called n times, once for each vertex It is also seen that dfs contains a loop whose body gets executed while visiting v once for each vertex w adjacent to v; that is the body gets executed once for each edge (v, w). In the worst case there are n adjacent vertices. What do...
2. Let G = (V, E) be an undirected connected graph with n vertices and with an edge-weight function w : E → Z. An edge (u, v) ∈ E is sparkling if it is contained in some minimum spanning tree (MST) of G. The computational problem is to return the set of all sparkling edges in E. Describe an efficient algorithm for this computational problem. You do not need to use pseudocode. What is the asymptotic time complexity of...
Let G -(V, E) be a graph. The complementary graph G of G has vertex set V. Two vertices are adjacent in G if and only if they are not adjacent in G. (a) For each of the following graphs, describe its complementary graph: (i) Km,.ni (i) W Are the resulting graphs connected? Justify your answers. (b) Describe the graph GUG. (c) If G is a simple graph with 15 edges and G has 13 edges, how many vertices does...
read exercise and do question 6 In problems 3 through 6, imagine putting a small cube inside a larger cube and let G be the graph whose vertex set consists of the 8 corners of the small cube and the 8 corners of the larger cube (16 vertices total) and whose edge set consists of the edges in each cube (12 per cube) and the edges joining corresponding vertices of the two cubes (8 more), for a total of 32...