ThinkRoost
How Everyday Things Work

Computers and software · 5 min

The Turing machine

Learn the idea behind all computers.

ReflectText size
Source reading

What the sources describe

In 1936, British mathematician Alan Turing published a paper called On Computable Numbers. He was trying to answer a question in logic: could there be a mechanical method to decide whether any mathematical statement is provable?

Turing imagined a simple machine with an endless tape divided into squares, a head that reads and writes symbols one square at a time, and a set of rules telling it what to do based on its current state and the symbol it reads. Despite its simplicity, he argued such a machine could carry out any calculation a human could perform by following rules.

He also described a universal machine that could simulate any other Turing machine by reading its rules from the tape, the idea behind stored-program computers that run different software. And he proved some problems cannot be solved by any machine, such as deciding in general whether a program will ever stop, known as the halting problem.

Around the same time, American logician Alonzo Church reached similar conclusions using a different approach. Turing later helped break German codes at Bletchley Park during the Second World War.

Our interpretation

Connecting the ideas

In 1936, Alan Turing described an imaginary machine that follows simple rules on a tape, laying the foundation of computer science.

The idea, in plain language

The big idea

Simple rules can compute anything computable, and complex systems can rest on simple ideas.

Use it in real life

Use it in real life

Write step-by-step rules for a simple chore, such as making tea, as if instructing a machine that does exactly what you say. Then follow them literally and notice where your rules are unclear or missing a step.

Practice scenario (made up for this lesson)

Try it

Made-up example: Why did Turing describe an imaginary machine rather than build one?

A good answer: it was a thought experiment to explore what can and cannot be computed in principle, not a practical device.

Quick quiz

1. What does a Turing machine consist of?

2. What is a universal Turing machine?

3. What did Turing prove about the halting problem?

Finished reading?

Make this the next Doom video?

Vote for the lessons you'd most like to see turned into a short animated story.

How was this lesson?

No ratings yet — be the first.

Sign in to rate

Sources

Limitations

Checked against the original paper (the publisher blocks automated reads); Wikipedia kept as a second source.

Voice: Debby — Soft and soothing (tap to change)

Debby narration · part 1 of 15