GATE / CS ARCHIVE

GATE CSE 2003 / QUESTION 12

Two directions of an NP-completeness proof

Theory of Computation · Complexity & Reductions · Full GATE CSE 2003 paper

GATE 2003, Q12 1 mark · MCQ
Not in GATE 2027 syllabusReport issue

Complexity & Reductions

Question 12, GATE 2003: Ram gives a polynomial-time reduction from 3-SAT to decision problem Π. Shyam gives a polynomial-time reduction from Π to 3-SAT. What follows? A. Π is NP-hard but not NP-complete; B. Π is in NP but not NP-complete; C. Π is NP-complete; D. Π is neither NP-hard nor in NP.
Tap to enlarge
Your answer
Answer & solution

Answer: C (no official key was published)

1. Reduction direction matters: 3-SAT≤pΠ means a solver for Π could solve an NP-complete problem, proving hardness. For membership, compute the other reduction and use a satisfying assignment to the resulting 3-CNF as a polynomial certificate. Combining membership and hardness is precisely NP-completeness.

2. The reduction 3-SAT≤pΠ proves Π is NP-hard. The reduction Π≤p 3-SAT supplies a polynomial verifier/NP algorithm because 3-SAT is in NP, so Π is in NP. Together these establish NP-completeness, C, for the standard decision-problem reductions.

Original paper, page 2