← RGPV CD-501 Theory of Computation December 2024 Solved Question Paper
Question
Prove that no algorithm decides whether an arbitrary Turing machine halts on input 101.
Asked in: CD-501 | December 2024 | 5(a)
Answer
Assume a total algorithm H₁₀₁ exists that takes the description of a Turing machine N and answers yes exactly when N halts on input 101. We reduce the general halting problem to this hypothetical algorithm.
Given any machine M and input w, effectively construct a new machine N that ignores its input, initializes its simulated tape with w, and simulates M on w. N halts exactly when M halts on w. The description of N can be generated mechanically from M and w; no knowledge of whether M halts is needed.
Now run H₁₀₁ on the description of N. Its answer would decide whether M halts on w, because N on 101 halts if and only if M on w halts. This yields a total decider for the general halting problem, which is undecidable. Therefore H₁₀₁ cannot exist.
Fixing the input does not remove undecidability because arbitrary information can be encoded into the machine description itself. The reduction concerns halting, whether by acceptance or rejection, rather than acceptance alone.
← RGPV CD-501 Theory of Computation December 2024 Solved Question Paper
Discussion
Ask a question, share your thoughts or report an error.
Sign in to participate in the discussion.
Join the discussion