Skip to content
Official PYQ · 2003

GATE CS 2003 Q8 — Graphs: Connectivity, Matching, Colouring

Explain with AI

Let G\text{G} be an arbitrary graph with nn nodes and kk components. If a vertex is removed from G\text{G}, the number of components in the resultant graph must necessarily lie down between

Choose one option
View worked solution

Answer: C

Let GG be a graph with nn vertices and kk components. Let vv be the vertex that is removed from GG. We want to find the bounds on the number of components in the resulting graph G′=G−{v}G' = G - \{v\}.

1. Lower Bound (Minimum Components)

The number of components is minimized when the removed vertex vv is an isolated vertex (i.e., a component of size 1). Removing vv completely eliminates this component, while the remaining k−1k-1 components are left unaffected.

Since removing a single vertex can destroy at most one component, the minimum number of components in G′G' is:

Minimum components=k−1\text{Minimum components} = k - 1

2. Upper Bound (Maximum Components)

Suppose vv belongs to a component CC containing mm vertices. Removing vv can split the remaining m−1m-1 vertices of CC into at most m−1m-1 separate components (where each remaining vertex becomes isolated).

The other k−1k-1 components of GG remain unaffected. Thus, the maximum number of components in G′G' is:

(k−1)+(m−1)(k - 1) + (m - 1)

To maximize this expression, we maximize mm. Since GG has nn vertices and kk components, the largest possible component can have at most n−(k−1)n - (k - 1) vertices (which occurs when the other k−1k-1 components are isolated vertices of size 1). Substituting m≤n−k+1m \le n - k + 1 into the expression:

Maximum components≤(k−1)+(n−k+1−1)=n−1\text{Maximum components} \le (k - 1) + (n - k + 1 - 1) = n - 1

Thus, the number of components in the resultant graph must necessarily lie between k−1k-1 and n−1n-1.

Free practice · Your answers on this page are not saved.

Published
Report a correction
Keep exploringMore Graphs: Connectivity, Matching, Colouring questions