Question

Long paths in undirected graphs In this question m is the number of edges in an...

Long paths in undirected graphs In this question m is the number of edges in an undirected graph.

1. Show that if the degree of every vertex is at least k, then the graph has a simple path of length at least k. Hint: consider the longest simple path in the graph say from x to y. Show that the endpoints x and y do not have edges to vertices outside the path. Thus all the neighbors of x, y are in the path. And recall that all degrees are at least k.

2. Show that every graph has a subgraph with minimum degree m/n. Hint: iteratively remove all vertex of degree strictly smaller than m/n

3. Show that any graph has a path of length at least m/n. Use the two claims proven in the previous questions.

please do not code, explain the algorithm with time complexity

0 0
Add a comment Improve this question Transcribed image text
Answer #1

1. The N vertices are numbered from 1 to N. As there is no self loops or multiple edges, the edge must be present between two different vertices. So the number of ways we can choose two different vertices are NC2 which is equal to (N * (N – 1)) / 2. Assume it P.
Now M edges must be used with these pair of vertices, so the number of ways to choose M pairs of vertices between P pairs will be PCM.
If P < M then the answer will be 0 as the extra edges can not be left alone.

Add a comment
Know the answer?
Add Answer to:
Long paths in undirected graphs In this question m is the number of edges in an...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Let's say that m is the number of edges in an undirected graph. 1. Show that...

    Let's say that m is the number of edges in an undirected graph. 1. Show that if the degree of every vertex is at least k, then the graph has a simple path of length at least k. 2. Show that every graph has a subgraph with minimum degree m/n. Hint: iteratively remove all vertex of degree strictly smaller than m/n. 3. Show that any graph has a path of length at least m/n. Use the two claims proven in...

  • Assume that the graphs in this problem are simple undirected graphs A. The minimum possible vertex...

    Assume that the graphs in this problem are simple undirected graphs A. The minimum possible vertex degree in a connected undirected graph of N vertices is: B. The maximum possible vertex degree in a connected undirected graph of N vertices is: C. The minimum possible vertex degree in a connected undirected graph of N vertices with all vertex degree being equal is: D. The number of edges in a completely connected undirected graph of N vertices is: E. Minimum possible...

  • 3. Let G be an undirected graph in which the degree of every vertex is at least k. Show that ther...

    3. Let G be an undirected graph in which the degree of every vertex is at least k. Show that there exist two vertices s and t with at least k edge-disjoint paths between them. 3. Let G be an undirected graph in which the degree of every vertex is at least k. Show that there exist two vertices s and t with at least k edge-disjoint paths between them.

  • Bounds on the number of edges in a graph. (a) Let G be an undirected graph...

    Bounds on the number of edges in a graph. (a) Let G be an undirected graph with n vertices. Let Δ(G) be the maximum degree of any vertex in G, δ(G) be the minimum degree of any vertex in G, and m be the number of edges in G. Prove that δ(G)n2≤m≤Δ(G)n2

  • Question 1: Given an undirected connected graph so that every edge belongs to at least one...

    Question 1: Given an undirected connected graph so that every edge belongs to at least one simple cycle (a cycle is simple if be vertex appears more than once). Show that we can give a direction to every edge so that the graph will be strongly connected. Question 2: Given a graph G(V, E) a set I is an independent set if for every uv el, u #v, uv & E. A Matching is a collection of edges {ei} so...

  • Long paths we show that for every n ≥ 3 if deg(v) ≥ n/2 for every...

    Long paths we show that for every n ≥ 3 if deg(v) ≥ n/2 for every v ∈ V then the graph contains a simple cycle (no vertex appears twice) that contains all vertices. Such a path is called an Hamiltonian path. From now on we assume that deg(v) ≥ n/2 for every v. 1. Show that the graph is connected (namely the distance between every two vertices is finite) 2. Consider the longest simple path x0, x1, . ....

  • An undirected bipartite graph has n vertices and m edges. a) If the graph is connected,...

    An undirected bipartite graph has n vertices and m edges. a) If the graph is connected, what is the minimum number of edges? b) If the graph is disconnected, what is the maximum number of edges? c) What is the longest single path? d) If the path can pass through a vertex and not any edges more than once, What is the longest path? Kindly provide me with an example for me to relate

  • Write down true (T) or false (F) for each statement. Statements are shown below If a...

    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...

  • 8. For each of the following, either draw a undirected graph satisfying the given criteria or explain why it cannot be done. Your graphs should be simple, i.e. not having any multiple edges (more tha...

    8. For each of the following, either draw a undirected graph satisfying the given criteria or explain why it cannot be done. Your graphs should be simple, i.e. not having any multiple edges (more than one edge between the same pair of vertices) or self-loops (edges with both ends at the same vertex). [10 points] a. A graph with 3 connected components, 11 vertices, and 10 edges. b. A graph with 4 connected components, 10 vertices, and 30 edges. c....

  • We now consider undirected graphs. Recall that such a graph is • connected iff for all...

    We now consider undirected graphs. Recall that such a graph is • connected iff for all pairs of nodes u, w, there is a path of edges between u and w; • acyclic iff for all pairs of nodes u, w, whenever there is an edge between u and w then there is no path Given an acyclic undirected graph G with n nodes (where n ≥ 1) and a edges, your task is to prove that a ≤ n...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT