Skip to content

Turing machine

Also called: Turing machines, universal Turing machine

Published:

How does a Turing machine work?

NIST describes a Turing machine as a model of computation consisting of a finite state machine controller, a read-write head and an unbounded sequential tape [1]. Depending on its current state and the symbol it reads, the machine changes state and moves its head left or right; unless stated otherwise, it is deterministic [1].

The Stanford Encyclopedia of Philosophy fills in the detail. The tape is divided into squares holding one symbol each, the machine scans one square at a time, and each step prints a symbol, moves and changes state. The program is a finite transition table [2]. A rule such as "in state A, reading 1, write 0, move right, go to state B" is a single row of that table.

Why does the Turing machine matter?

Turing introduced these machines in his 1936-37 work [2]. He wanted to formalise the idea of an effective procedure and to show that the Entscheidungsproblem has no general solution: there is no effective procedure that decides whether any statement of first-order logic is derivable [2].

He also built a universal machine. It can interpret the program of any other machine and mimic its behaviour, with both program and behaviour encoded on the same tape [2]. That construction is a key tool for proving that some problems are uncomputable [2].

What does the Church-Turing thesis say?

Most computer scientists read the thesis as saying that any computable problem can be computed by some Turing machine [2]. It concerns what can be computed, not how. Because it identifies an intuitive notion with a formal one, it cannot strictly be proven [2].

Frequently asked questions

Is a Turing machine a real computer?

No. It is an abstract model with an unbounded tape, used to study what can be computed.

What is a universal Turing machine?

A machine that reads another Turing machine's program from its tape and mimics that machine's behaviour.

Sources

  1. Turing machine — NIST Dictionary of Algorithms and Data Structures
  2. Turing Machines — Stanford Encyclopedia of Philosophy