Log in Sign up
Back to Discover
🔢

Random walk

math Maturity 5-7

Imagine you take a step. Then you take another step. You do not know where you will go next. You might go left or right. This is like a path that wanders.

Eight-step random walks.png
Eight-step random walks.png
It can happen in many ways. Can you guess where you will end up?

49 words

Imagine you are walking on a line.

Eight-step random walks.png
Eight-step random walks.png
At every step, you flip a coin. Heads means you move right. Tails means you move left. This is called a random walk.
Flips.svg
Flips.svg

It is hard to guess your path. You might go back and forth. You might end up far away. You could even end up back at the start.

Small bits of dust move like this in air. Animals also use these paths to find food. It can even help us study money. Math helps us see these patterns.

92 words

Imagine you are walking on a line. At each step, you flip a coin. Heads means you move one step right. Tails means you move one step left. This path is called a random walk.

Eight-step random walks.png
Eight-step random walks.png

Karl Pearson first used this term in 1905. It describes paths made of random steps. You can see this in nature. Tiny molecules move through gas this way.

Brownian hierarchical.png
Brownian hierarchical.png
Animals also use these paths to find food. Even the price of stocks moves like a random walk.

If you flip a coin five times, you can track your path.

Flips.svg
Flips.svg
You might land on 1 or 5. You might even land on -5. There are ten different ways to land on 1. There is only one way to land on 5.

Math also looks at walks in more space. In a flat city, you might walk on a grid. A man walking randomly will likely find his way home.

Random walk 2000000.png
Random walk 2000000.png
But a bird flying in 3D space might get lost. In 3D, the chance of returning home is only about 34 percent.

183 words

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.png
Eight-step random walks.png
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.png
Brownian hierarchical.png

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.svg
Flips.svg
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.JPG
PascalTriangleRandomWalk.JPG

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.png
Random walk 2000000.png

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.png
Walk3d 0.png
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.png
Brownian hierarchical.png
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.

493 words

A random walk is a mathematical concept known as a stochastic process. It describes a path made of a sequence of random steps through a mathematical space.

Eight-step random walks.png
Eight-step random walks.png
This concept helps us model systems where movement is unpredictable. It can describe the path of a molecule in a gas or the way a foraging animal searches for food. It also applies to the fluctuating prices of stocks or the changing money of a gambler. Because of this, random walks are useful in many fields like physics, biology, economics, and computer science.

To understand the mechanism, consider a simple random walk on a one-dimensional integer number line. The walk starts at zero. At each step, the walker moves either +1 or -1 with an equal probability of 50 percent. You can imagine this using a fair coin. If the coin lands on heads, the marker moves one unit to the right. If it lands on tails, it moves one unit to the left.

Flips.svg
Flips.svg
After several steps, the net distance is the sum of all these individual moves. The expected value of this position is zero, meaning the average position stays at the start as the number of steps increases.

There are different types of random walks based on the space they inhabit. A lattice random walk occurs on a regular grid. In a simple symmetric random walk on a locally finite lattice, the walker jumps to immediate neighbors with equal probability. If the space is limited by boundaries, it is called a simple bordered symmetric random walk. In these cases, the movement is limited when the walker hits a corner or a margin. In higher dimensions, the paths become more complex. A two-dimensional walk might look like a person choosing random sidewalks at city intersections.

Random walk 2000000.png
Random walk 2000000.png

History shows how our understanding of these paths has grown. The term "random walk" was first introduced by Karl Pearson in 1905. Later, mathematicians used these models to explore complex probability. One famous example is the gambler's ruin. This describes a gambler with a finite amount of money playing against a bank with infinite money. Because the gambler's money performs a random walk, they will eventually hit zero and lose everything. This is also known as the level-crossing phenomenon or recurrence.

Mathematical patterns emerge from these random movements. For example, the number of different possible walks after $n$ steps is $2^n$. The probabilities of landing on specific numbers are related to Pascal's triangle.

PascalTriangleRandomWalk.JPG
PascalTriangleRandomWalk.JPG
For a walk of five flips, there is only 1 way to land on 5, but 10 ways to land on 1. As the number of steps increases, the distribution of these probabilities approaches a normal distribution. This connection is explained by the central limit theorem. This theorem helps scientists predict how large groups of random steps will behave over time.

Dimensions change the fundamental nature of the walk. In 1921, George Pólya proved that a person walking randomly in a two-dimensional plane will almost surely return to their starting point. However, this changes in three dimensions or higher. In 3D, the probability of returning to the origin drops to approximately 34 percent.

Walk3d 0.png
Walk3d 0.png
The mathematician Shizuo Kakutani described this by saying a drunk man will find his way home, but a drunk bird may get lost forever. This happens because there are more directions to move, making it harder to stumble back to the start.

Random walks are deeply connected to other scientific ideas. When the steps become extremely small and frequent, the walk becomes a Wiener process. This process is a scaling limit of the random walk. It is also used to model Brownian motion, which is the physical movement of minute particles in a fluid.

Brownian hierarchical.png
Brownian hierarchical.png
Scientists also use Monte Carlo simulations to realize these walks on computers. These simulations allow researchers to study complex biological or engineering systems by mimicking the randomness found in nature.

655 words
🖼️ 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
Up Next
🔢
Stochastic process
Math
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.