What is a Multi-track Turing machine?

A multi-track Turing machine is a variant of the simple Turing machine. It consists of multiple tapes with a single head pointer. They are beneficial in solving complex problems and limit the amount of work, unlike a simple Turing machine.

As there is a single head, the direction of all the tapes changes together. The input is placed in the first tape and is transferred to the other tapes as per convenience.

Note: To learn more about the multi-tape Turing machine, click here.

Formal theorem

The Turing machine is a 6 tuple machine:

(Q,Σ,q0,Γ,δ,F)(Q, Σ, q_0, \Gamma, δ, F)

QQ - set of states

ΣΣ - set of input alphabets

q0q_0- initial state

Γ\Gamma - set of tape alphabets

δδ - transition function that is: Q ΓiQ Γi (Left,right,stationary)iQ \space * \Gamma^i \to Q \space * \Gamma^i \space * (Left, right, stationary)^i

FF - set of final states

Formation of the tapes

Initial multi-track tapes look like the following:

Representation of a multi-track tapes having a single head

All the tapes involved are filled with the delta (Δ) symbols and grow infinitely to the right side. The first tape contains the input initially.

Note: The head shows the movement of all the tapes.

Example

Let's develop a multi-track Turing machine for a system that doubles the amount of the given input such that:

The input set consists of 1's only, and we are to double the number of 1's by this Turing machine.

The initial state of this Turing machine is:

Initial multi-track tapes

The strategy used in this case is that for every 1 we find in the input tape, we place a 1 in the second tape at the same place and then move towards the end of the tape and place the second 1. In simple words, for every 1 in the input, we have to output two 1's.

Step1: 1st 1 is copied below
1 of 4

The Turing machine will be of the sort:

g ENTRY q0 q0 ENTRY->q0 Ha Ha q1 q1 q0->q1 (Δ,Δ)/(Δ,Δ),R q1->Ha (Δ,1)/(Δ,1),S (Δ,Δ)/(Δ,Δ),S q2 q2 q1->q2 (1,Δ)/(1,1),R q2->q2 (1,Δ)/(1,Δ),R (Δ,1),(Δ,1),R q3 q3 q2->q3 (Δ,Δ)/(Δ,1),L q3->q1 (1,1)/(1,1),R q3->q3 (1,Δ)/(1,Δ),L (Δ,1)/(Δ,1),L
TM of x ->2x

Transitions explanation

The transitions of the above Turing machine are explained below:

  • q0q1q_0 \to q_1: The first delta in both tapes is skipped, and the heads move to the right.
  • q1q2q_1 \to q_2 : When a 1 is found on the input tape, a 1 is also placed on the second/output tape. The head moves rightward.
  • q2q2q_2\to q_2: The pointer keeps skipping elements and moves to the end of the input tape.
  • q2q3q_2\to q_3: When it reaches a delta, 1 is placed on the second/output tape. The head moves leftwards.
  • q3q3q_3\to q_3: Here, the pointer skips elements until the second 1 in the input tape is found that has a corresponding 1 in its output tape.
  • q3q1q_3 \to q_1: It loops back to repeat the above process for further 1's.
  • q1Haq_1\to H_a: The Turing machine halts when the number of 1's is greater in the output machine.

Free Resources

Copyright ©2025 Educative, Inc. All rights reserved