Defining Randomness: Is It Based on Algorithms or Physics?

  • Thread starter SW VandeCarr
  • Start date
  • Tags
    Randomness
In summary, the concept of randomness is difficult to define and there is still debate on whether true randomness exists. Computer generated numbers are considered to be pseudo-random, and it is not possible to prove that a generator is truly random. Probability theory relies on the abstraction of randomness, which may not have a fundamental definition. The only way a sequence can be truly random is if it is part of an infinite set, as there is no such thing as random in a finite universe. Quantum level physical processes are considered to be the best example of true randomness. The size of the universe is not relevant to the discussion of randomness.
  • #1
SW VandeCarr
2,199
81
If I use a simple algorithm to generate all the numbers from 000,000,000 to 999,999,999, is there a rule for determining how many of these digit sequences are "random"? Slightly more complex algorithms generate the irrational numbers. Are these digit sequences random? For any finite length of the digit sequence of an irrational number, the next digit is determined, not random.

It would appear that a true random number generator must be based on something that can be safely said to be not determined by any algorithm, such as a quantum level physical process. Does this take the notion of a "random variable" from mathematics to physics?
 
Physics news on Phys.org
  • #2
It's my understanding that randomness is a pretty hard concept to nail down, and I believe there is still debate as to whether there even exists true randomness - it depends on your definition, which bring us back to your question.

I believe computers can only generate pseudo-randomness, and for the reasons you mention. You might take a que from MATLAB as to how to possibly quantify randomness, as the uniformity of the distribution of the numbers output from some function.

Pretty interesting stuff.
 
  • #3
There is no such thing as a "random sequence". The fact that you have a specific set of numbers in a specific order means it is NOT random. You can have "randomly generated" sequences depending on how the order is generated. But it is quite possible that such a "randomly generated" sequence might turn out to be 1, 2, 3, 4, ...!
 
  • #4
HallsofIvy said:
There is no such thing as a "random sequence". The fact that you have a specific set of numbers in a specific order means it is NOT random. You can have "randomly generated" sequences depending on how the order is generated. But it is quite possible that such a "randomly generated" sequence might turn out to be 1, 2, 3, 4, ...!

I agree. But how do you know a generator is truly a random generator? Is this a question of mathematics or physical theory (referring to my OP)? In other words, is there any way to mathematically prove a generator is truly a random generator?
 
Last edited:
  • #5
Hey, that wasn't part of the question! It's not my department!
 
  • #6
HallsofIvy said:
Hey, that wasn't part of the question! It's not my department!

You responded just as I was editing my last post. Can there be any mathematical proof that a given number sequence generator is a random number generator? Based on your response it appears the answer is 'no' and random number generators can only be defined in terms of physical theory. Is this correct?
 
  • #7
There are definitions of randomness -- see http://en.wikipedia.org/wiki/Algorithmically_random_sequence" . However, that's not really "true" randomness. You can also test statistically whether a sequence follows any particular random distribution. But you can't really define true randomness mathematically
 
Last edited by a moderator:
  • #8
gel said:
There are definitions of randomness -- see http://en.wikipedia.org/wiki/Algorithmically_random_sequence" . However, that's not really "true" randomness. You can also test statistically whether a sequence follows any particular random distribution. But you can't really define true randomness mathematically

I agree. I'm aware of algorithmic (Kolmogorov) randomness regarding non-compressible algorithms and statistical randomness based on probability distributions. If a physical process such as quantum process is needed to define a truly random (non-algorithmic) generator, how does this relate to the notion of a random variable? We can define a random variable in terms of a mapping from a probability space into an event space, but can we define how this function actually works?

I can specify the required parameters of a distribution and a random generator will output a series of 'n' values which will converge to these parameters as 'n' grows large. However, computer based random generators are really pseudo-random. I cannot know if each unit of output is statistically independent of any other unit of output.

To me this introduces an unusual feature to Probability Theory and other theories which utilize probability, in that it ultimately seems to depend on the undefined notion of randomness, or have missed something here?
 
Last edited by a moderator:
  • #9
I agree that ultimately you can't define what randomness is. You can mathematically define the notion of a probability space, and apply it to real-world problems. However, you can't prove at a fundamental level that it really does apply -- although you can perform statistical tests.

I don't think that this is an unusual feature of probability theory though. Maths deals with abstractions, and any applications rely on ultimately undefinable concepts as to what it actually means. But it does correspond with what we experience (hopefully).
 
  • #10
The only way a sequence could possibly be random is if it were part of an infinite set.
There is no such thing as random in a finite universe.
 
  • #11
netometry said:
The only way a sequence could possibly be random is if it were part of an infinite set.
There is no such thing as random in a finite universe.

That's pretty radical. For one thing the digit sequences of the irrational numbers are infinite and some think they are random. I disagree since they are produced by an algorithm which will always repeat the exact same sequence up to any n every time it is invoked. In my view quantum level physical processes are our best, probably only, example of true (non- algorithmic) random number generators.

I don't know what this has to do with the size of the universe.
 

Related to Defining Randomness: Is It Based on Algorithms or Physics?

1. What is randomness?

Randomness refers to the quality or state of lacking pattern or predictability. In other words, it is the absence of a discernible sequence or order in a set of data.

2. Is randomness based on algorithms or physics?

The concept of randomness can be approached from both algorithmic and physical perspectives. From an algorithmic point of view, randomness can be generated using mathematical algorithms that produce seemingly unpredictable results. On the other hand, from a physical perspective, randomness can be seen as a fundamental property of the universe, where certain events occur without any apparent cause or pattern.

3. How is randomness measured?

There are several ways to measure randomness, depending on the context. In statistics, randomness is often measured using metrics such as entropy or variance. In computer science, randomness can be evaluated using statistical tests to determine how well a sequence of numbers conforms to a random distribution. In physics, randomness can be assessed by observing the behavior of particles at the quantum level.

4. Is anything truly random?

This is a philosophical question that has sparked much debate among scientists. Some argue that true randomness does not exist and that everything follows a set of deterministic laws. Others believe that certain events, such as the decay of radioactive particles, are truly random and cannot be predicted. Ultimately, the answer may depend on one's definition of randomness and the context in which it is being discussed.

5. How is randomness used in science and technology?

Randomness is a crucial concept in many fields, including science and technology. It is used in statistics to analyze and interpret data, in cryptography to generate secure codes, and in simulations to model complex systems. In quantum computing, randomness is harnessed to perform calculations and generate truly random numbers. Randomness is also used in games and entertainment, such as in casino games or randomized algorithms used in video games.

Similar threads

  • Set Theory, Logic, Probability, Statistics
Replies
2
Views
1K
  • General Math
Replies
2
Views
469
Replies
25
Views
3K
  • Programming and Computer Science
Replies
17
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
8
Views
2K
  • Set Theory, Logic, Probability, Statistics
Replies
7
Views
2K
  • Set Theory, Logic, Probability, Statistics
Replies
4
Views
1K
Replies
6
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
4
Views
4K
  • Set Theory, Logic, Probability, Statistics
Replies
4
Views
1K
Back
Top