Let S be an NP-complete problem and Q and R be two other problems not known to…

2006

Let S be an NP-complete problem and Q and R be two other problems not known to be in NP. Q is polynomial time reducible to S and S is polynomial-time reducible to R. Which one of the following statements is true?

  1. A.

    R is NP-complete

  2. B.

    R is NP-hard

  3. C.

    Q is NP-complete

  4. D.

    Q is NP-hard

Attempted by 19 students.

Show answer & explanation

Correct answer: B

Answer: R is NP-hard.

  • Key facts: S is NP-complete, so S is in NP and every problem in NP reduces to S.

  • Transitivity of reductions: because S polynomial-time reduces to R, any NP problem reduces to S and then to R; therefore every NP problem reduces to R, which means R is NP-hard.

  • Why not NP-complete: NP-complete also requires the problem to be in NP. The statement does not tell us whether R is in NP, so we cannot conclude R is NP-complete.

  • About Q: Q reduces to S (Q ≤p S). This only shows Q is at most as hard as S; it does not show Q is NP-hard or NP-complete. To prove Q is NP-hard one would need reductions from every NP problem to Q (for example S ≤p Q), and to prove NP-complete Q would also need to be shown to be in NP.

A video solution is available for this question — log in and enroll to watch it.

Explore the full course: Gate Guidance By Sanchit Sir