Turing machines and computability
An abstract machine that defines what can be computed; some problems, such as the halting problem, are undecidable.
Edited by Alex C, EduAlx · Sources cited below
Explanation
Turing (1936) described a tape, a head and a finite table of rules, and proved no algorithm can decide whether any program halts. Church's lambda calculus is equivalent (Church–Turing thesis). Every modern computer is, in principle, a universal Turing machine with finite memory.
Example
How it works, step by step
- Machine reads a symbol on the tape
- Looks up state and symbol in its table
- Writes, moves left or right, changes state
- Halts when it reaches an accept/reject state
Open the interactive page with diagrams →
People behind it
- Alan Turing (1912–1954), Computer science, UK: Defined the Turing machine (1936), led codebreaking at Bletchley Park, proposed the Turing test and studied morphogenesis. The Turing Award is named after him.
- Alonzo Church
References
- A. M. Turing, Proc. Lond. Math. Soc. 1937, s2-42, 230–265.
- A. Church, Am. J. Math. 1936, 58, 345–363.
Textbooks
- Introduction to the Theory of Computation, Michael Sipser (Cengage, 3rd ed. 2012). Automata, computability and complexity.
Related topics
Automata and formal languagesP versus NPDynamic programmingBoolean logic and digital circuitsGraph algorithms: BFS, DFS and Dijkstra's shortest pathVon Neumann architectureTrees and binary search treesOperating systems: processes, scheduling and memoryHash tablesConcurrency: deadlock and synchronisation