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?
View worked solution
Answer: B
To determine the correct statement, let us analyze the definitions of NP-completeness, NP-hardness, and the properties of polynomial-time reductions ():
-
Analyze problem :
Since is NP-complete, it satisfies two conditions:
- is NP-hard, meaning for every problem , .
-
Analyze the reduction :
We are given that . Since polynomial-time reduction is transitive:
By definition, any problem to which all problems in NP can be reduced in polynomial time is NP-hard. Therefore, is NP-hard.
Since is not known to be in NP, we cannot conclude that is NP-complete (which requires being in NP).
-
Analyze the reduction :
Reducing a problem to an NP-complete problem only tells us that is no harder than . It does not show that is NP-hard or NP-complete. For example, could be a simple problem in (since any problem in can be reduced to any non-trivial problem in ).
Thus, the only statement we can definitively assert is that is NP-hard.
Free practice · Your answers on this page are not saved.
