Nepedia
Back to Discover
Fluent Reader
🔢

Random walk

math Maturity 5-7 Next article →

Imagine you are walking along a long, straight line. At every step, you flip a coin to decide where to go. If the coin lands on heads, you take one step to the right. If it lands on tails, you take one step to the left. This path of random choices is called a random walk.

Eight-step random walks
Eight-step random walks

It is a way to describe paths made of many random steps. Scientists use this idea to understand many things in our world. It can describe how a tiny molecule moves through a liquid or a gas. It can also show how an animal searches for food or how stock prices change.

Brownian hierarchical
Brownian hierarchical

We can use math to see all the places a walk might go. If you flip a coin five times, you could end up at 5 or -5. There is only one way to reach 5, which is getting five heads in a row. However, there are ten different ways to land on the number 1.

Flips
Flips

You can even find patterns in these numbers using Pascal's triangle. The number of different paths you can take after $n$ steps is $2^n$. This math helps us understand the chance of landing in certain spots. It shows that even though steps are random, the results follow certain rules.

PascalTriangleRandomWalk
PascalTriangleRandomWalk

People have studied these paths for a long time. The term "random walk" was first introduced by Karl Pearson in 1905. Later, mathematicians like George Pólya looked at walks in more space. In 1921, Pólya studied what happens in a flat, two-dimensional world. He wanted to know if a person walking randomly in a city would ever return home. He proved that in a 2D grid, the person almost certainly will find their way back.

Random walk 2000000
Random walk 2000000

Things change when we move into three dimensions or higher. Imagine a bird flying randomly through the air instead of walking on a sidewalk. In 3D space, the chance of returning to the start is much lower. It is only about 34 percent.

Walk3d 0
Walk3d 0

A mathematician named Shizuo Kakutani once used a funny saying to describe this. He said a drunk man will find his way home, but a drunk bird may get lost forever. This shows how the number of dimensions changes the math of the path. As you add more directions, it becomes harder to find your way back to the start.

Random walks are linked to many other important ideas in science. When the steps become very small and very frequent, they look like Brownian motion. This is the way tiny particles move in a fluid. We can also use something called Monte Carlo simulation to see these walks happen on a computer.

Brownian hierarchical
Brownian hierarchical

These simulations help engineers and biologists study complex systems. Whether it is a gambler's money or a molecule's path, the math stays the same. The random walk helps us find order in a world of chance.

484 words

Where will your curiosity go next?

Keep exploring at your chosen reading level.

🖼️ Images & Media (7)
File:Eight-step random walks.png
Eight-step random walks.png
File:Flips.svg
Flips.svg
File:Random walk 2000000.png
Random walk 2000000.png
File:PascalTriangleRandomWalk.JPG
PascalTriangleRandomWalk.JPG
File:Walk3d 0.png
Walk3d 0.png
File:Brownian hierarchical.png
Brownian hierarchical.png
File:Antony Gormley Quantum Cloud 2000.jpg
Antony Gormley Quantum Cloud 2000.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.