• recategorized by
9,026 views
18 18 votes

Consider two decision problems $Q_1, Q_2$ such that $Q_1$ reduces in polynomial time to 3-SAT and 3-SAT reduces in polynomial time to $Q_2$. Then which one of the following is consistent with the above statement?

  1. $Q_1$ is in NP, $Q_2$ is NP hard.
  2. $Q_2$ is in NP, $Q_1$ is NP hard.
  3. Both $Q_1$ and $Q_2$ are in NP.
  4. Both $Q_1$ and $Q_2$ are in NP hard.

2 Answers

Best answer
25 25 votes
3-SAT is NP-Complete and hence in NP as well as NP-hard.

Now, any less or equally hard problem can be reduced (in polynomial time) to 3-SAT. So, Q1 reducing to 3-SAT means Q1 is less harder than 3-SAT- can be P or NP. Since P ⊆ NP. Q1 is in NP, need not be NP-Hard.

3-SAT reducing  (in polynomial time) to Q2 means Q2 is harder or as hard as 3-SAT meaning Q2 is also NP-Hard. Q2, need not be in NP.

So, A option only is always correct.
• selected by
5 5 votes

Golden rule: We only reduce problems to equivalently hard, or harder problems. Reason being that the solution to the problem-in-hand can be used to solve a harder problem.

Let A → B denote A reduces to B. Also, fact: 3-SAT is NPC.

Given that: Q1 → 3-SAT and 3-SAT → Q2.

Clearly, Q2 is at least as hard, or harder than Q1. Option B eliminated

Now, Q1 can't be NPH because Q1 is supposed to be "easier" than NPC. Option D eliminated

Option A and C can both be correct. If we choose C, then it won't be consistent because Q2 is at least as hard, or harder than NPC. Putting Q2 in NP restricts it from being NPH. Hence, A seems more correct.

Option A

 

Answer:
Position:
Show:

Related questions

9 9 votes
5 answers 5 answers
9.0k
9.0k views
go_editor asked Sep 28, 2014
8,953 views
In the context of modular software design, which one of the following combinations is desirable?High cohesion and high couplingHigh cohesion and low couplingLow cohesion ...
12 12 votes
3 answers 3 answers
5.3k
5.3k views
go_editor asked Sep 28, 2014
5,321 views
Consider the decision problem $2CNFSAT$ defined as follows:$$\left\{ \phi \mid \phi \text{ is a satisfiable propositional formula in CNF with at most two literals per cla...
16 16 votes
7 answers 7 answers
15.1k
15.1k views
Kathleen asked Sep 18, 2014
15,099 views
The problem $\text{3-SAT}$ and $\text{2-SAT}$ are both in $\text{P}$both $\text{NP}$ complete$\text{NP}$-complete and in $\text{P}$ respectivelyundecidable and $\text{NP}...
7 7 votes
1 answers 1 answer
7.2k
7.2k views
Ishrat Jahan asked Oct 31, 2014
7,247 views
A problem in NP is NP-complete ifit can be reduced to the 3-SAT problem in polynomial timethe 3-SAT problem can be reduced to it in polynomial timeit can be reduced to an...