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. 
Imagine you are walking on a line. 
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.
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. 
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. 
If you flip a coin five times, you can track your path.
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. 
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. 

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.
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. 
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. 
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. 
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. 
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.
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. 
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.
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. 
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. 
🖼️ Images & Media (7)
More to explore
✨ What else?
Related topics you might enjoy
🔬 Go deeper
More advanced topics to explore
🪜 Step back
Simpler topics to build understanding
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.