Question
Consider two decision problems such that reduces in polynomial time to 3-SAT and 3-SAT reduces in polynomial time to . Then which one of the following is consistent with the above statement?
Official answer and solution
- Official answer
- A
- From
- Official GATE 2015 answer key
Solution
Apply the definitions of polynomial-time reductions () and NP-completeness.
We are given:
- .
Since 3-SAT is in NP, any problem that polynomial-time reduces to a problem in NP is also in NP. Hence, .
- .
Since 3-SAT is an NP-complete problem, any problem to which 3-SAT polynomial-time reduces is at least as hard as 3-SAT. Thus, is NP-hard.
Combining both conclusions:
' is in NP, and is NP-hard.'
This matches option A.
A
Reversing the direction of reduction (e.g., claiming is in NP or is NP-hard).
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2015 Computer Science and Information Technology (CS) Session 2
- Question
- 12 of 65, printed as CS Q.2
- Section
- Computer Science and Information Technology
Report an error in this question
GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.