Using Lyapunov Exponents to Differentiate Between Randomness and Pseudorandomness
Overview
The ability to tell between truly random numbers and pseudorandom numbers generated by computers is important in many scientific fields and real life applications. Pseudorandom number generators are based on chaotic functions, functions where two very close inputs give wildly different outputs. The largest Lyapunov exponent (LLE) is a measure of the rate at which two points in the domain of a function separate in the range, called divergence. A positive LLE means the data is diverging and is an indicator of chaos. A positive LLE could show that a function is not truly random by showing that it is based on a chaotic function. This idea was used in an experiment. It was hypothesized that random data would output a negative LLE, and pseudorandom data would output a positive LLE. Rosenstein’s algorithm was used to estimate the LLE. Inputting single digits from random digits of pi and pseudorandom numbers both gave positive LLEs. In a second experiment, large decimal numbers from random atmospheric noise were compared to numbers from a chaotic function called the logistic map. These gave negative LLEs for random data and positive LLEs for chaotic data, supporting the hypothesis. The reason the first experiment didn’t support the hypothesis is most likely because single digits were inputted instead of large decimal numbers, resulting in a small sample size. It can be concluded that this system could be used to distinguish between random and pseudorandom numbers when large amounts of data are available.
Competition history
- ISEF 2018
Resources
Related projects
CSEF · 2007
Pseudo-Random Numbers
ISEF · 2014
Comparison of Common Linear Pseudorandom Number Generators
CSEF · 2013
The Randomness of Humans and Computers
CSEF · 2005
Looking Out for Number One: Do Random Number Generators Follow Benford's Law?
ISEF · 2015
Radiation Randomness: The Entropy of Thin Air
CSEF · 2011
Plotting Muon Pathways as a Source of Randomness
ISEF · 2022
Exploration of Chaotic Orbits Using the Lyapunov Exponent in the Restricted Three-Body Problem
CSEF · 2002
Can People Choose Truly Random Numbers?
Closest projects by meaning, across every fair and year in the corpus.
Browse more like this
Source: Regeneron International Science and Engineering Fair