Generation of Numbers with the Distribution Close to Uniform with the
Use of Chaotic Maps
Marcin Lawnik
Faculty of Applied Mathematics, Silesian University of Technology, Gliwice, Poland
Keywords:
Chaos, Pseudo-random Numbers, Uniform Distribution.
Abstract:
The method discussed in the paper enables the generation of values from the distribution close to uniform by
means of “flattening” continuous distributions of (pseudo–) random sequences of numbers. The method makes
use of chaotic maps with uniform distribution. The set of initial conditions for such recursive functions consists
of any sequences of numbers derived in a (pseudo–) random manner. Thanks to an appropriate quantity of
the iterations of such chaotic maps, the initial conditions set is reduced to the sequence of numbers with the
distribution close to uniform. The method may be employed for the derivation of (pseudo–) random values
using for example: sets of physical measurements, values of stock exchange indices or biometrics data like
EEG signals. Consequently, the obtained values may be applied in simulations or in cryptography.
1 INTRODUCTION
Sequences of numbers derived from uniform distribu-
tion are of fundamental importance in many fields of
science, for example: in cryptography or in simula-
tions.
In cryptography, the sequences derived in a
(pseudo–) random manner give grounds for many ci-
phers, called stream ciphers. Such ciphers use binary
(pseudo–) random sequences for encryption of each
bit of a given message by means of, i.e. XOR func-
tion. When such binary sequences are obtained in
a random manner and additionally other conditions
are fulfilled, the ciphering method is proven to be un-
breakable (Stallings, 2011). An easy way to obtain
truly random numbers is through physical measure-
ments, i.e. atmospheric noise (Random.org, 2014)
or chaotic oscillator (Erg
¨
un and
¨
Ozog
˜
uz, 2007), al-
though those generators not always have uniform dis-
tribution (Erg
¨
un and
¨
Ozog
˜
uz, 2007).
In simulations, the sequences of numbers from
the uniform distribution are used, for example, in the
Monte–Carlo method (Metropolis and Ulam, 1949),
which enables the modelling of very complex physi-
cal processes (Binder and Heerman, 2010), financial
processes (Boyle, 1977) and others.
The sequences of numbers derived from the uni-
form distribution are also used as basic tools for the
generation of numbers from other types of distribu-
tion, for example – from the normal distribution. Such
sequences may be derived by means of inverse cumu-
lative distribution function (Devroye, 1986) or trans-
formations, for example, the Box–Muller transforma-
tion (Box and Muller, 1958) for the normal distribu-
tion.
To derive pseudo–random numbers from the uni-
form distribution algorithms called Pseudo–Random
Numbers Generators (PRNGs) are used (Blum at al.,
1986; Matsumoto and Nishimura, 1998; Ziff, 1998).
Implementations of such algorithms may be encoun-
tered in any programming language in the form of
ready-made functions (modules) which facilitate easy
generation, for example: rand() in C language or ran-
dom() from the random module in python.
The method presented within the scope of this pa-
per makes it possible to obtain numbers with the uni-
form distribution by means of chaotic maps. The dis-
tribution of the iterative variable of such maps must
be uniform. The set of the initial conditions for such
recursive function consists of any sequences of num-
bers derived in a (pseudo–) random manner, for ex-
ample, stock exchange indices data or biometric data
like EEG signals (Chen, 2014). By means of an ap-
propriate number of iterations the set shall be reduced
to a sequence of numbers with the distribution close
to uniform.
On the other hand an easy method of reducing the
sequence with any distribution to the sequence of uni-
form distribution is the transformation of the output
sequence with the use of its cumulative distribution
451
Lawnik M..
Generation of Numbers with the Distribution Close to Uniform with the Use of Chaotic Maps.
DOI: 10.5220/0005090304510455
In Proceedings of the 4th International Conference on Simulation and Modeling Methodologies, Technologies and Applications (SIMULTECH-2014),
pages 451-455
ISBN: 978-989-758-038-3
Copyright
c
2014 SCITEPRESS (Science and Technology Publications, Lda.)