A 1D Random Walk with Fractal Dimension 2.0

This Demonstration shows a 1D random walk with fractal dimension 2 retrieved from a numerical experiment. You can get an intuitive insight into how a fractal function of dimension 2 behaves with varying resolution. These functions are extremely important, as they have been shown to be the geometrical foundation of quantum behavior[1].

Details

This Demonstration illustrates the random walk property
σ(N,ϵ)=ϵ
N
where
σ
is the dispersion,
N
is the number of steps, and
ϵ
is the size of a step. The relation
N
2
ϵ
=c
,
c
a constant, is here shown to be the signature of a fractal dimension equal to 2.
The fractal dimension of an object is the power that links the number
N
of smaller objects used to measure it and their typical length
ϵ
, which is called the resolution.
When
N(ϵ)
is known, then the fractal dimension
D
f
is by definition
N(ϵ)
N(
ϵ
0
)
=
D
f
ϵ
0
ϵ
, where
ϵ
0
is an arbitrary resolution of reference. It can be written
N(ϵ)
D
f
ϵ
=c'
(the constant
c'
is fixed by the arbitrary chosen reference
ϵ
0
). The object of reference might be chosen to be the whole main object itself, so that
ϵ
0
=1
,
N(
ϵ
0
)=1
, and the definition becomes
N(ϵ)=
D
f
1
ϵ
.
Once this law is known, any dimensional measure of the object can be computed: length in
m
, surface in
2
m
, volume in
3
m
, "Koch-measure" in
1.26
m
, or any
D
r
measure in
D
r
m
, where
D
r
is a dimension of reference (the fractal dimension of the measuring object). In general, the
D
r
measure is only finite when
D
f
=
D
r
; it tends to 0 when
D
f
<
D
r
and to
∞
when
D
f
>
D
r
(e.g., a Koch curve has infinite length, null surface, and constant "Koch-measure" measured in
1.26
m
). The general law is given by
M
D
r
(ϵ)=
M
D
r
(
ϵ
0
)
D
f
-
D
r
ϵ
0
ϵ
, where
M
D
is the
D
measure. As
ϵ0
, it is clear that the sign of
D
f
-
D
r
gives the limit of the
D
measure (0, constant, or infinite). In other words, at infinite resolution, an object has a finite, non-null measure only when measured in its own (fractal) dimension.
In the case of the usual self-similar fractals, the relation
N(ϵ)
is given recursively by the generator of the fractal, for instance
N
ϵ
3
=4N(ϵ)
for the Koch curve, which, once paired with the definition of
D
f
,
N(ϵ)=
D
f
1
ϵ
, gives
D
f
3
ϵ
=4
D
f
1
ϵ
and hence
D
f
=
log(4)
log(3)
=1.26
.
But the case of a random walk is different because it is a nondeterministic process, so there is no generator and the curve is not even unique. Nevertheless, it is possible to get the needed relation
N(ϵ)
by statistical means: it is the very definition of the dispersion
σ(N,ϵ)=ϵ
N
. It then becomes possible to get the dimension of a random curve statistically. The hidden order lies in the rules used to generate the walk: equal probability for each direction and independence of each trial (Markov process).
Here, the needed relation is obtained by imposing that
σ(N,ϵ)
is constant, which amounts to fixing a reference object
σ(1,
ϵ
0
)
, for example, the distance between two fixed points. This is consistent with the meaning of the dispersion
σ(N,ϵ)
, which is the mean departure away from the mean value (here
μ=0
) and can be thought of as the mean displacement of the drunken sailor. That
N
2
ϵ
is constant can now be understood as the signature of a fractal dimension 2.
In this Demonstration, two sets of random walks with two different resolutions (step sizes)
ϵ
1
and
ϵ
2
are computed with their statistical properties
μ
and
σ
.
You can choose the number of samples, the number
N
of steps, and the two resolutions
ϵ
1
and
ϵ
2
. The "redraw" button recomputes new samples with the new chosen values. You can display all the samples (large numbers of samples or steps may be slow on some computers), the mean functions
μ
(with their theoretical value:
μ(N,ϵ)=0
), and the
σ
functions (with their theoretical values:
σ(N,ϵ)=ϵ
N
).
The 1-2 slider lets you choose to look at only one set or both and the "highlight" checkbox highlights one sample that you can select with the corresponding slider (this may help to compare individual samples with different resolutions).
When adjusting the sliders
n
1
and
n
2
so that
σ(
n
1
,
ϵ
1
)=σ(
n
1
,
ϵ
2
)
, you can check that the computed dimension
D
f
=
log(
N
2
/
N
1
)
log(
ϵ
1
/
ϵ
2
)
is around 2, with an error depending on how far the experimental
σ
's are from their theoretical values (the more samples, the smaller the error).
The intuitive meaning of all this is that when you compare two random walks at two different resolutions (between two fixed points, here
0
and
σ(n,ϵ)
), each step contains (on average)
2
k
steps
k
times smaller. You need four small steps to make one step two times larger, nine small steps to make one step three times larger, and so on. Another way to see it is to consider the displacement
σ
as a new step of size
ϵ
N
, which contains
N
steps
ϵ
, but is only
N
times larger.
If the fractal dimension of the random walk is unknown from theory, this Demonstration lets you retrieve it by numerical experiment.
Understanding fractal dimensions and fractal functions is particularly important in the light of Laurent Nottale's scale relativity[1], where the spacetime coordinates are functions of their resolutions (and hence are fractal curves). The dimension 2 is especially important, as it has been shown (first by Feynman[2]) that each (fractal) spacetime coordinate acquires dimension 2 at the quantum scale.

References

[1] L. Nottale, Scale Relativity and Fractal Space-Time, London: Imperial College Press, 2011.
[2] R. Feynman and A. Hibbs, Quantum Mechanics and Path Integrals, New York: McGraw–Hill, 1965.

Permanent Citation

Cedric Voisin
​
​"A 1D Random Walk with Fractal Dimension 2.0" from the Wolfram Demonstrations Project http://demonstrations.wolfram.com/A1DRandomWalkWithFractalDimension20/​
​Published: July 2, 2012
© Wolfram Demonstrations Project & Contributors |Terms of Use