GATE 2026 CS (CS1) – Question 47
Let $G(V, E)$ be a simple, undirected graph. A vertex cover of $G$ is a subset $V' \subseteq V$ such that for every $(u, v) \in E$, $u \in V'$ or $v \in V'$. Let the size of the smallest vertex cover in $G$ be $k$. Let $S$ be any vertex cover of size $k$. For a vertex $v \in V$, which of the following constraints will always ensure that $v \in S$?
Practise this question in The GATE Grind →
Show answer and explanation
Correct answer: (A) The degree of $v$ is at least $k + 1$
Explanation
Let $S$ be a vertex cover of size $k$. By definition, $S$ covers all edges in $E$.
- Suppose for contradiction that $v \notin S$.
- Then for every neighbor $u$ of $v$, the edge $(v, u)$ MUST be covered by $S$. Since $v \notin S$, this requires $u \in S$ for every neighbor $u$ of $v$.
- Therefore, all neighbors of $v$ must be in $S$, which implies $|S| \ge \text{degree}(v)$.
- If $\text{degree}(v) \ge k + 1$, then $|S| \ge k + 1$, which directly contradicts the fact that $|S| = k$.
- Hence, if $\text{degree}(v) \ge k + 1$, it is mathematically impossible for $v$ to be excluded from $S$; $v$ MUST belong to every vertex cover of size $k$.
Therefore, option (A) is correct.