Nepedia
Back to Discover
Fluent Reader
🔢

Turing machine

math Maturity 7-9 Next article →

Imagine a machine that can solve any puzzle. This is not a real machine made of metal. Instead, it is a mathematical model called a Turing machine.

Turing machine 2a
Turing machine 2a

It helps us understand how computers work. A computer uses a central processing unit to control data. This unit is like the brain of the machine. The Turing machine acts as an idealized version of that brain. It shows us how simple steps can lead to big results.

Model of a Turing machine
Model of a Turing machine

How does this abstract machine work? It uses a long strip of paper called a tape.

Turing machine 2b
Turing machine 2b

This tape is divided into small, separate cells. Each cell holds one symbol from a set called an alphabet. A part called the head sits over one cell at a time. The head can read the symbol in the cell. It can also write a new symbol there. Then, the head moves one step left or one step right.

Lego Turing Machine
Lego Turing Machine

The machine also has a "state." This is like a state of mind that tells the machine what to do. It follows a finite table of rules to make decisions. For example, a rule might say: "In state 42, if you see a 0, write a 1." The rules tell the machine which symbol to write and which way to move. It can even stop working once it reaches a certain goal. This is called halting.

Busy Beaver 3 State
Busy Beaver 3 State

Alan Turing invented this idea in 1936.

Turing machine 2a
Turing machine 2a

He originally called it an "a-machine," which stands for automatic machine. His teacher, Alonzo Church, later gave it the name we use today. Turing used this model to answer very hard math questions. He wanted to know if a machine could solve any problem. He proved that some problems are actually beyond the limits of math. These are called uncomputable problems.

Even though it is simple, the Turing machine is incredibly powerful. It can do anything a modern computer can do. This ability is called being Turing complete. Most programming languages are Turing complete today. However, the machine is very slow in real life. Real computers use something called random-access memory to work faster. The Turing machine is a way to study the rules of logic. It helps us see the limits of what machines can ever know.

373 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

🖼️ Images & Media (8)
File:Turing Machine Model Davey 2012.jpg
Turing Machine Model Davey 2012.jpg
File:Turing machine 2a.svg
Turing machine 2a.svg
File:Turing machine 2b.svg
Turing machine 2b.svg
File:Busy Beaver 3 State.png
Busy Beaver 3 State.png
File:State diagram 3 state busy beaver 2B.svg
State diagram 3 state busy beaver 2B.svg
File:Moves of a 3-state Busy Beaver.jpg
Moves of a 3-state Busy Beaver.jpg
File:Model of a Turing machine.jpg
Model of a Turing machine.jpg
File:Lego Turing Machine.jpg
Lego Turing Machine.jpg
More to explore

What is Nepedia?

A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.