GATE / CS ARCHIVE

GATE CSE 2009 / QUESTION 14

NP-hardness within NP

Algorithms · Computational Complexity · Full GATE CSE 2009 paper

GATE 2009, Q14 1 mark · MCQ
Not in GATE 2027 syllabusReport issue

Computational Complexity

Question 14, GATE 2009: Problem π belongs to NP. Which assertion follows? A no polynomial algorithm exists; B a deterministic polynomial algorithm for π would imply P=NP; C if π is NP-hard then it is NP-complete; D π may be undecidable.
Tap to enlarge
Your answer
Answer & solution

Answer: C (no official key was published)

A problem already in NP is NP-complete exactly when it is also NP-hard, so C. Membership in NP does not exclude membership in P, and solving an arbitrary NP problem efficiently would not by itself prove P=NP. Every NP decision problem is decidable.

NP-complete means both membership in NP and NP-hardness. Since membership is given, adding NP-hardness proves C directly. NP also contains easy problems in P, so a polynomial algorithm for an arbitrary member does not settle P versus NP. All NP languages are decidable by finite exhaustive certificate search, ruling out D, and A is not generally true.

Original paper, page 3