GateAI
Turing Machines and Undecidability

GATE CSE 2015 Set 3 · Q53

MCQ2 marksMedium

Time

Language L1L_1 is polynomial time reducible to language L2L_2. Language L3L_3 is polynomial time reducible to L2L_2, which in turn is polynomial time reducible to language L4L_4. Which of the following is/are true? I. if L4∈PL_4 \in P, then L2∈PL_2 \in P II. if L1∈PL_1 \in P or L3∈PL_3 \in P, then L2∈PL_2 \in P III. L1∈PL_1 \in P, if and only if L3∈PL_3 \in P IV. if L4∈PL_4 \in P, then L1∈PL_1 \in P and L3∈PL_3 \in P

Select one answerSingle correct

Pick an option to check

Solution

Step-by-step verified solution

Official answer: C) I and IV only

Turing Machines and Undecidability

We are given the following polynomial-time reductions:

  • L1≤pL2L_1 \le_p L_2

  • L3≤pL2L_3 \le_p L_2

  • L2≤pL4L_2 \le_p L_4

By the transitivity of polynomial-time reductions:

  • Since L1≤pL2L_1 \le_p L_2 and L2≤pL4L_2 \le_p L_4, we have L1≤pL4L_1 \le_p L_4.

  • Since L3≤pL2L_3 \le_p L_2 and L2≤pL4L_2 \le_p L_4, we have L3≤pL4L_3 \le_p L_4.

A fundamental property of polynomial-time reducibility (A≤pBA \le_p B) is that if B∈PB \in \text{P}, then A∈PA \in \text{P}.

Now, evaluate each statement:

  • Statement I: If L4∈PL_4 \in \text{P}, since L2≤pL4L_2 \le_p L_4, it follows that L2∈PL_2 \in \text{P}. Thus, statement I is true.

  • Statement II: If L1∈PL_1 \in \text{P} or L3∈PL_3 \in \text{P}, it does not imply L2∈PL_2 \in \text{P}, because a hard problem can reduce to an easier one, but not necessarily vice versa. Thus, statement II is false.

  • Statement III: L1L_1 and L3L_3 both reduce to L2L_2, but they are not necessarily reducible to each other. One can be in P\text{P} while the other is not. Thus, statement III is false.

  • Statement IV: If L4∈PL_4 \in \text{P}, then since L1≤pL4L_1 \le_p L_4 and L3≤pL4L_3 \le_p L_4, both L1∈PL_1 \in \text{P} and L3∈PL_3 \in \text{P}. Thus, statement IV is true.

Therefore, statements I and IV only are true, corresponding to option (C).

Try the question first, then check your work.

Think the official key or this write-up is wrong?

Report error or challenge

Examiner trap

The misconception this question tests

This Turing Machines and Undecidability previous year question is Q53 of the GATE CSE 2015 Set 3 paper. Find more GATE CSE PYQs on Turing Machines and Undecidability in Theory of Computation, or browse all GATE CSE PYQs.

Free diagnostic

Where do you stand for GATE?

Take the 20-minute diagnostic: the 3 topics that cost you the most marks, and a rank range. Or sit 5 related Turing Machines and Undecidability PYQs now with no account.

One GATE CSE PYQ every morning

An official question by email at 7 AM IST, with a link to its verified solution. Unsubscribe in one click.

Turing Machines and Undecidability in GATE CSE

Turing Machines and Undecidability has 30 GATE CSE PYQs across 20 papers from 2012 to 2026. 13 of them are 2-mark MCQs like this one, and it is the only one in GATE CSE 2015 Set 3.

How GATE tests Turing Machines and Undecidability

More from GATE CSE 2015 Set 3

Share this solution

A plain-text card for WhatsApp or Telegram study groups.

GateAI solution cardGATE CSE 2015 Set 3 · Q53 · MCQ

Language L1 is polynomial time reducible to language L2. Language L3 is polynomial time reducible to L2, which in turn is polynomial time reducible to language L4. Which of the following is/are true? I. if L4 ∈ P, then L2 ∈ P II. if L1 ∈ P or L3 ∈ P, then L2 ∈ P III. L1 ∈ P, if and only if L3 ∈ P IV. if L4 ∈ P, then L1 ∈ P and L3 ∈ P

Topic-wise GATE CS PYQs with verified steps

Independent practice explanation verified by the GateAI team. GATE is conducted by the IITs; question text follows the official paper.