ArticleslgStudy

science

Multitape Turing machine

Multitape Turing machine is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Multitape Turing machine rather than just read about it. In short: A multi-tape Turing machine is a variant of the Turing machine that uses several tapes. Each tape has its own head for reading and writing.

Key takeaways

  • Multitape Turing machine belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Multitape Turing machine to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Multitape Turing machine from memory before moving on to harder problems.

Reference excerpt

A multi-tape Turing machine is a variant of the Turing machine that uses several tapes. Each tape has its own head for reading and writing. Initially, the input appears on tape 1, and the others start out blank. This model intuitively seems much more powerful than the single-tape model, but any multi-tape machine—no matter how many tapes—can be simulated by a single-tape machine using only quadratically more computation time. That is, any language that be decided in O(t(n)) time by a multitape TM(with t tapes) can be decided in O(t2(n)) by a single-tape TM. Thus, multi-tape machines cannot calculate any more functions than single-tape machines, and none of the robust complexity classes (such as polynomial time) are affected by a change between single-tape and multi-tape machines.

Formal definition A k {\displaystyle k} -tape Turing machine can be formally defined as a 7-tuple M = ⟨ Q , Γ , b , Σ , δ , q 0 , F ⟩ {\displaystyle M=\langle Q,\Gamma ,b,\Sigma ,\delta ,q_{0},F\rangle } , following the notation of a Turing machine:

Γ {\displaystyle \Gamma } is a finite, non-empty set of tape alphabet symbols;

b ∈ Γ {\displaystyle b\in \Gamma } is the blank symbol (the only symbol allowed to occur on the tape infinitely often at any step during the computation);

Σ ⊆ Γ ∖ { b } {\displaystyle \Sigma \subseteq \Gamma \setminus \{b\}} is the set of input symbols, that is, the set of symbols allowed to appear in the initial tape contents;

Q {\displaystyle Q} is a finite, non-empty set of states;

q 0 ∈ Q {\displaystyle q_{0}\in Q} is the initial state;

F ⊆ Q {\displaystyle F\subseteq Q} is the set of final states or accepting states. The initial tape contents is said to be accepted by M {\displaystyle M} if it eventually halts in a state from F {\displaystyle F} .

δ : ( Q ∖ F ) × Γ k → Q × Γ k × { L , R } k {\displaystyle \delta :(Q\setminus F)\times \Gamma ^{k}\to Q\times \Gamma ^{k}\times \{L,R\}^{k}} is a partial function called the transition function, where L is left shift, R is right shift. A k {\displaystyle k} -tape Turing machine M {\displaystyle M} , where k {\displaystyle k} is the number of tapes assigned, computes as follows. M {\displaystyle M} starts in its initial state q 0 {\displaystyle q_{0}} . This is defined by all tapes having one head starting at the leftmost position, along with an input w = w 1 w 2 . . . w n ∈ Σ ∗ {\displaystyle w=w_{1}w_{2}...w_{n}\in \Sigma ^{*}} on the leftmost n {\displaystyle n} positions of the first tape, all other symbols of every tape being the blank symbol defined by b {\displaystyle b} . A step for the machine is done by evaluating the transition function. This is done by taking in the current state q i ∈ Q {\displaystyle q_{i}\in Q} and the set of alphabetic symbols that the heads reside over notated as Γ k {\displaystyle \Gamma ^{k}} . The transition function takes both of these parameters and outputs the three things necessary for a transition: the new state q j ∈ Q {\displaystyle q_{j}\in Q} that M {\displaystyle M} transitions into, a new set of alphabet symbols Γ k {\displaystyle \Gamma ^{k}} that each of the k {\displaystyle k} heads will write to their respective cells, and a set of shift instructions { L , R } k {\displaystyle \{L,R\}^{k}} that will instruct each of the heads which direction to move to (left or right one cell) after the new symbols are written. The transition function iterates until M {\displaystyle M} enters a final state belonging to the set F {\displaystyle F} , at which point it halts.

Two-stack Turing machine Two-stack Turing machines have a read-only input and two storage tapes. If a head moves left on either tape a blank is printed on that tape, but one symbol from a "library" can be printed.

See also Turing machine Universal Turing machine Alternating Turing machine Probabilistic Turing machine Turing machine equivalents

References

Worked examples

Example 1 — a first encounter with Multitape Turing machine

Start with the simplest possible case. Write down what Multitape Turing machine claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Multitape Turing machine before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Multitape Turing machine ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Multitape Turing machine

In research
Multitape Turing machine appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Multitape Turing machine in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Multitape Turing machine is common in secondary-school and first-year university syllabi. It links to neighbouring topics Turing machine, so understanding it makes those chapters shorter.
In everyday life
Look for Multitape Turing machine outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study Multitape Turing machine in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Multitape Turing machine means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Multitape Turing machine out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Multitape Turing machine in simple terms?

A multi-tape Turing machine is a variant of the Turing machine that uses several tapes. Each tape has its own head for reading and writing.

Why does Multitape Turing machine matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Multitape Turing machine?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Multitape Turing machine.

Tags

  • Turing machine

Keep exploring