Back to the 2022 paper

Module 4: Tractable and Intractable Problems

20222m

Which one of the following statement is correct?
(i) If A≤pBA \le_p B and B∈PB \in P then A∈PA \in P
(ii) If A≤pBA \le_p B and $A
otin Pthen then B
otin P$
(iii) If A≤pBA \le_p B and B≤pCB \le_p C then A≤pCA \le_p C
(iv) All of these

Worked SolutionAI Assisted

Answer: (iv) All of these

Explanation:

Let A≤pBA \le_p B denote polynomial-time many-one (Karp) reduction.

  • (i) If A≤pBA \le_p B and B∈PB \in P then A∈PA \in P: True. Compose reduction ff (poly-time) with poly-time decider for BB → poly-time decider for AA. Hence PP is closed under ≤p\le_p.

  • **(ii) If A≤pBA \le_p B and $A
    otin Pthen then B
    otin P∗∗:True—contrapositiveof(i).If**: True — contrapositive of (i). If Bwerein were in P,(i)wouldput, (i) would put Ain in P$, contradiction.

  • (iii) If A≤pBA \le_p B and B≤pCB \le_p C then A≤pCA \le_p C: True — ≤p\le_p is transitive; compose the two poly-time reduction functions (polynomial of polynomial is polynomial).

All three are fundamental lemmas used in NP-completeness proofs.

Correct choice: (iv) All of these

Similar questions

Official AppAndroid App

PYQDeck for Android

Solve BEU previous-year exam papers anywhere, anytime. Fast search, offline paper viewing, and step-by-step solutions designed specifically for your phone.