recategorized by
1,008 views
4 votes
4 votes

In a directed graph $\mathrm{G}=(\mathrm{V}, \mathrm{E})$, two nodes $u$ and $v$ are strongly connected if and only if they are mutually reachable i.e. there is a path from u to $v$ and a path from $v$ to $u$.

A strongly connected component (SCC) of a directed graph $\mathrm{G}=(\mathrm{V}, \mathrm{E})$ is a maximal set of vertices such that any two vertices in the set are strongly connected(mutually reachable).

On adding one extra edge (an edge which previously did not exist in the graph) to a directed graph $\mathrm{G}$, the number of strongly connected components $\dots?$

  1. can not increase
  2. can not decrease by more than $1$
  3. can not decrease by more than $2$
  4. may remain unchanged
recategorized by

1 Answer

4 votes
4 votes

Adding edges is never going to increase the number of strongly connected components. The added edge can be between nodes of an existing SCC, thereby not changing the number of SCCs in the graph OR can connect two SCCs such that they are 'fuzed' into one.  

Consider a directed path graph, so each strongly-connected component is reduced to a single vertex. Then adding an edge to complete a cycle from the last component on the path to the first will make all those components into one strongly-connected component, meaning that an added edge can reduce the number of strongly-connected components by any amount.

Suppose the graph is a direct chain, adding an edge to make it a cycle can make it reduce a lot of strongly connected components.

$1 \rightarrow 2 \rightarrow 3 \rightarrow 4 (4$ strongly connected components)

Adding $4 \rightarrow 1$ will result in just $1$ strongly connected components.

On the other hand adding one more edge, say $1 \rightarrow 3$, does not decrease it any more.

Detailed Video Solution:

https://youtu.be/tqjuxfutFHg?t=4700

edited by
Answer:

Related questions

4 votes
4 votes
1 answer
3