Nepedia
Back to Discover
Independent Reader
🔢

Hamiltonian path

math Maturity 11-13 Next article →

Imagine a map made of dots and lines.

Hamiltonian
Hamiltonian

You want to draw a single path through the dots. This path must visit every dot exactly once. We call this a Hamiltonian path. If the path ends at the start, it is a Hamiltonian cycle. A cycle is like a loop that visits every dot.

Натурализация гамильтоновых циклов
Натурализация гамильтоновых циклов

These ideas have a long history. In the 9th century, people in India and the Islamic world studied them. They looked at how a knight moves on a chessboard. This is called a knight's tour. Later, a man named William Rowan Hamilton made a puzzle. He used a shape called a dodecahedron.

Not every map has these paths. Some maps are very tricky. The Herschel graph is a small example. It has no Hamiltonian cycle.

Herschel Hamiltonian path
Herschel Hamiltonian path

Finding these paths can be a hard task. Computers find it difficult to solve them for big maps. This is because the number of ways to move grows very fast. It is a big puzzle for math experts to solve.

170 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

🖼️ Images & Media (3)
File:Hamiltonian.png
Hamiltonian.png
File:Натурализация гамильтоновых циклов.jpg
Натурализация гамильтоновых циклов.jpg
File:Herschel Hamiltonian path.svg
Herschel Hamiltonian path.svg
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.