On this page
In 1936 Alan Turing asked a precise question: what can a person compute by following fixed rules with paper and pencil? His answer, in the paper On Computable Numbers, with an Application to the Entscheidungsproblem in the Proceedings of the London Mathematical Society, was a machine so plain you can run it by hand. Below you build one that adds 1 in binary and trace it.
What is a Turing machine?
According to the Stanford Encyclopedia of Philosophy entry on Turing machines, Turing's machine has a tape divided into squares, each carrying exactly one symbol, and it scans one square at a time. It has three parts:
A tape: a row of squares, unlimited in length, each holding a symbol such as 0, 1 or blank. Turing's tape ran one way; we use the common variant that runs both ways.
A head: it reads the square under it, writes a symbol there, then moves one square left or right.
A finite table of rules: for each pair (current state, symbol read), one rule says what to write, which way to move and which state to enter next.
The machine's behaviour is completely determined by its current state and the symbol it reads, the same entry notes. Turing called them automatic machines; Alonzo Church first called them Turing machines, in a review of the paper.
How does a Turing machine add 1 to a binary number?
Adding 1 in binary is the carry you learnt in school, in base 2: start at the rightmost digit, turn each trailing 1 into 0, and turn the first 0 you meet into 1. Our machine has two working states, Right and Carry, plus Halt. The head starts on the leftmost digit.
Right, reading 0: write 0, move right, stay in Right.
Right, reading 1: write 1, move right, stay in Right.
Right, reading blank: write blank, move left, go to Carry.
Carry, reading 1: write 0, move left, stay in Carry.
Carry, reading 0: write 1, go to Halt.
Carry, reading blank: write 1, go to Halt.
Now run it on 1011, which is 11 in decimal. The square in brackets is under the head.
State Right, tape [1] 0 1 1. Rule 2: move right.
State Right, tape 1 [0] 1 1. Rule 1: move right.
State Right, tape 1 0 [1] 1. Rule 2: move right.
State Right, tape 1 0 1 [1]. Rule 2: move right.
State Right, tape 1 0 1 1 [blank]. Rule 3: step back left, switch to Carry.
State Carry, tape 1 0 1 [1]. Rule 4: write 0, move left.
State Carry, tape 1 0 [1] 0. Rule 4: write 0, move left.
State Carry, tape 1 [0] 0 0. Rule 5: write 1, halt.
The tape now reads 1100, which is 12.
What is the Church–Turing thesis?
The Stanford Encyclopedia of Philosophy entry on the Church–Turing thesis gives a common version: every effective computation can be carried out by a Turing machine. An effective method is one a person could follow with paper and pencil, using no insight or ingenuity.
Alonzo Church, working independently in 1936, used a different idea, λ-definability. The entry records that Church and Kleene proved λ-definable and recursive functions are the same class, and Turing quickly showed λ-definability matches his computability. Many take this agreement as evidence the definitions capture something real.
The thesis links an informal idea (what a rule-follower can do) to a formal one, so it is treated as a thesis rather than a proved theorem; Emil Post called Church's version of this identification a "working hypothesis".
Why can a simple machine do what any computer can?
The answer is the universal Turing machine. The Stanford entry on Turing machines describes it as a Turing machine able to compute what any other Turing machine computes. You write another machine's rule table on the tape in a code, and the universal machine reads that code and imitates the other machine step by step.
That is the idea behind every device you own: a phone becomes a calculator or a chess player by loading a different program as data, not by rewiring. Real processors are faster and use random-access memory, but given enough memory that changes speed, not what can be computed in principle.
Some questions no machine can answer. Our post on why the halting problem is undecidable walks through Turing's diagonal argument, and elementary cellular automata such as rule 110 show how little machinery computation needs.
How should you study Turing machines?
Trace by hand, writing state, tape and head at every step.
Change one thing: make the machine subtract 1, or count the 1s.
Test edge cases: all 1s, a single digit, a blank tape.
If an idea like λ-definability is still fuzzy, the Fermi Concept Library covers concepts across mathematics and computing, and Fermi's AI tutor can notice where you are stuck and decide whether to explain, ask or show, so you trace your own machine rather than copy one.



