/*! This file is auto-generated */ .wp-block-button__link{color:#fff;background-color:#32373c;border-radius:9999px;box-shadow:none;text-decoration:none;padding:calc(.667em + 2px) calc(1.333em + 2px);font-size:1.125em}.wp-block-file__button{background:#32373c;color:#fff;text-decoration:none} Q9P Question: Let T={<M>|M is... [FREE SOLUTION] | 91Ó°ÊÓ

91Ó°ÊÓ

Question: Let T={<M>|MisaTMthatacceptswRwheneveritacceptsw}. Show that T is undecidable.

Short Answer

Expert verified

T is undecidable problem

Step by step solution

01

Undecidability

A problem is undecidable if no Turing Machine exist which will halt in finite amount of time.

02

Proving T as undecidable

It’s known that L=w,M:w is accepted by M is undecidable. Here, 'w' are all the strings in L accepted by Turing Machine.

Let’s assume that T is decidable, there must be a Turing Machine TM (say A) that can decide T.

For any input w,M, construct M' as:

If we have w=wR, which run M on w and set of alphabets of M be ‘∑’ and a,b∉∑.

Let ∑∪a,b be the set of alphabets of M'. M' will reject all the possible string except ‘ab’ for input ‘ab’ that runs M on w,

  • If M accepts w then M' is rejected.
  • If M rejects then M'is accepted.

Now we going to show that Aaccepts M' if and only if M accepts w.

  • If A accepts M' thenM ' rejects 'ab' and this implies M accepts w since M' rejects all the other strings including ba.
  • If M accept w, then M0 reject ab, because M' rejects all the other strings, thus M' is accepted by A.

Since we have Turing Machine for L, then on input w,M. So we can construct M' and run A on that Turing Machine, is accepted if and only if A accepts it.

But this is against our assumption made earlier at starting, that L is undecidable.

Hence we conclude that T is undecidable.

Unlock Step-by-Step Solutions & Ace Your Exams!

  • Full Textbook Solutions

    Get detailed explanations and key concepts

  • Unlimited Al creation

    Al flashcards, explanations, exams and more...

  • Ads-free access

    To over 500 millions flashcards

  • Money-back guarantee

    We refund you if you fail your exam.

Over 30 million students worldwide already upgrade their learning with 91Ó°ÊÓ!

One App. One Place for Learning.

All the tools & learning materials you need for study success - in one app.

Get started for free

Most popular questions from this chapter

Question: Consider the problem of determining whether a two-tape Turing machine ever writes a nonblank symbol on its second tape during the course of its computation on any input string. Formulate this problem as a language and show that it is undecidable.

Question: LetΓ={0,1,⊔} be the tape alphabet for all TMs in this problem. Define the busy beaver function BB:N→Nas follows. For each value of k, consider all K-state TMs that halt when started with a blank tape. LetBB(k) be the maximum number of 1s that remain on the tape among all of these machines. Show that BB is not a computable function.

Question: Consider the problem of determining whether a PDA accepts some string of the form {ww|w∈{0,1}*}. Use the computation history method to show that this problem is undecidable.

Define a two-headed finite automaton (2DFA) to be a deterministic finite automaton that has two read-only, bidirectional heads that start at the left-hand end of the input tape and can be independently controlled to move in either direction. The tape of a 2DFA is finite and is just large enough to contain the input plus two additional blank tape cells, one on the left-hand end and one on the right-hand end, that serve as delimiters. A 2DFA accepts its input by entering a special accept state. For example, a 2DFA can recognize the languageanbncn|n≥0 .

  • a. Let A2DFA={<M,x>|Mis a 2DFA and M acceptsx} . Show that A2DFA is decidable.
  • b. Let E2DFA={<M>|Mis a 2DFA and LM=∅}. Show that E2DFA is not decidable.

Find a match in the following instance of the Post Correspondence Problem.{[ababab],[ba],[abab],[aaa]}

See all solutions

Recommended explanations on Computer Science Textbooks

View all explanations

What do you think about this solution?

We value your feedback to improve our textbook solutions.

Study anywhere. Anytime. Across all devices.