Math 2.0

Computer science Definition

Multitape Turing machine

Builds on Turing machine

Definition

Let k≥1k \ge 1 be an integer. A kk-tape Turing machine is a tuple M=(Q,Γ,⊔,Σ,δ,q0,F)M = (Q, \Gamma, \sqcup, \Sigma, \delta, q_0, F) with the following parts.

  1. QQ is a finite nonempty set of states, q0∈Qq_0 \in Q is the initial state, and F⊆QF \subseteq Q is the set of halting states.
  2. Γ\Gamma is a finite set of tape symbols, ⊔∈Γ\sqcup \in \Gamma is the blank, and Σ⊆Γ∖{⊔}\Sigma \subseteq \Gamma \setminus \set{\sqcup} is the input alphabet.
  3. δ\delta is a partial function from (Q∖F)×Γk(Q \setminus F) \times \Gamma^k to Q×Γk×{L,R,S}kQ \times \Gamma^k \times \set{L, R, S}^k.

A configuration consists of a state and, for each tape i=1,…,ki = 1, \dots, k, a tape content ti ⁣:ℤ→Γt_i \colon \Z \to \Gamma and a head position pi∈ℤp_i \in \Z. Each tit_i has only finitely many non-blank cells. Suppose δ(q,t1(p1),…,tk(pk))=(q′,s1,…,sk,D1,…,Dk)\delta(q, t_1(p_1), \dots, t_k(p_k)) = (q', s_1, \dots, s_k, D_1, \dots, D_k). Then the next configuration has state q′q'. On each tape ii it has sis_i written at cell pip_i, and head position pi−1p_i - 1, pi+1p_i + 1 or pip_i when DiD_i is LL, RR or SS. On input w∈Σ∗w \in \Sigma^*, the run starts in state q0q_0 with all heads at cell 00. Tape 11 holds ww from cell 00 onward, and all other cells are blank.

Remarks

For k=1k = 1 this is a Turing machine whose head may also stay in place. Example: a 22-tape machine decides whether w∈{0,1}∗w \in \set{0,1}^* is a palindrome. It copies ww to tape 22, moves head 11 back to the start, and then compares tape 11 read forward with tape 22 read backward. Each phase takes O(∣w∣)O(\abs{w}) steps, so the running time is linear. Non-example: a machine whose number of tapes grows with the input is not a kk-tape machine, because kk is fixed in advance. A one-tape machine can simulate a kk-tape machine that runs in time t(n)≥nt(n) \ge n within O(t(n)2)O(t(n)^2) steps, by storing the kk tapes on kk tracks of one tape. For palindromes this quadratic bound cannot be improved on one tape.

Reading path

To understand this page from the ground up, read these 4 pages in order. The foundations come first.

Show the path as a graph
Each page uses the pages above it. The colour of the bar on a box shows how strong the evidence is, and the box also gives it as text. The list has the same pages.
  • no evidence level
  1. Function concept
  2. Set concept
  3. Turing machine definition
  4. Multitape Turing machine definition

Further reading

  1. Web https://en.wikipedia.org/wiki/Multitape_Turing_machine
About this page
TagF26GMR20Y2
URIm2://F26GMR20Y2
Kinddefinition
WritingW0 stub
MSC68Q04, 03D10
DefinesMultitape Turing machine
UsesTuring machine
Changed3 November 2026

Markdown · JSON · Edit on GitHub

What this page needs for W1

  • a source with a locator (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

No page links to this page yet.