# Edges and graphs

The solution below got cut off. Please let me know what is the total solution:

<b>problem:</b>

The number of strongly connected components in a graph G is k. By how much can this number change if we add a new edge?

<b>solution:</b>

If we add an edge to a biconnected graph with k strongly connected components, then there are three scenarios: the endpoints of the edge lie in different strongly connected component and there is no path between the two in the original graph, the endpoints of the edge lie in different strongly connected component and there is a path between the two in the original graph, and the endpoints of the edge lie in the same strongly connected component. In the former, the edge becomes a bridge, and thus the strongly connected components remain separate. In the middle case, the edge completes a simple cycle that includes the path between the two stongly connected components and thus the number of strongly connected components decreaseby n − 1, where n is the number of strongly connected components on that path (including the two in which the endpoints

© BrainMass Inc. brainmass.com October 9, 2019, 5:59 pm ad1c9bdddfhttps://brainmass.com/computer-science/data/edges-graphs-cut-offs-74502

#### Solution Summary

Edges and graphs are emphasized.