Warning: foreach() argument must be of type array|object, bool given in /var/www/html/web/app/themes/studypress-core-theme/template-parts/header/mobile-offcanvas.php on line 20

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

Short Answer

Expert verified

The assume language L is undecidable.

Step by step solution

01

Undecidability

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

02

Defining Language L according to question

Let’s define a language L such that:

L=M,w|MisaturingmachinethattakeswasinputstringWritesanon-blanksymbolonsecondtape

Let there be two taped Turing machine M1.

It takes input pairM,w here,w=anystring and M=Turingmachine.

M'runs M by the use of first tape on input w.

There are following two situations:

  • If M accepts w, thenM1 writes a non-blank character from the alphabets on second tape.
  • If the M halts or rejects, then we need to stop here only.
03

Proving L is undecidable

Now prove L is undecidable by reducing ATM.

ATMis undecidable as there exist no Turing Machine which halts in any input of a language A.

Let us assume that Tdecides L. In this case, T'constructT' which decides ATM. On input (M,w), it runs the machineM1 as stated above manner. Then we run T on M1, and accept if T accepts or reject if Trejects.

Thus T' accepts if and only if T acceptsM1,M,w ifM1 writes on second tape if and only if M accepts string w.

Thus T' will decide ATM.

But,ATM cannot have decider as it itself is not decidable so, there is no T exist that decides L.

Thus, L is undesidable.

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 Vaia!

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: A two-dimensional finite automaton (2DIM-DFA) is defined as follows. The input is anm×n rectangle, for any m,n2. The squares along the boundary of the rectangle contain the symbol # and the internal squares contain symbols over the input alphabet Σ. The transition functionδ:Q×(Σ#)Q×{L,R,U,D} indicates the next state and the new head position (Left, Right, Up, Down). The machine accepts when it enters one of the designated accept states. It rejects if it tries to move off the input rectangle or if it never halts. Two such machines are equivalent if they accept the same rectangles. Consider the problem of determining whether two of these machines are equivalent. 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:NNas 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.

Show that both conditions in Problem 5.28 are necessary for proving that P is undecidable.

Show that ATM is not mapping reducible to ETM. In other words, show that no computable function reduces ATM to ETM. (Hint: Use a proof by contradiction, and facts you already know about ATM and ETM.)

If AmB and B is a regular language, does that imply that A is a regular language? Why or why not?

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.

Sign-up for free