There's a lot at play here. I'll try to explain what I can.
Is an entirely random/patternless sequence possible?
This depends on what you mean by "random" and "pattern". Certainly, there are things like random number generators. They are "random" under a suitable definition.
It is my understanding that there are an infinite number of functions/equations, so shouldn't there be one that will always generate the values you're looking for no matter how complex the pattern?
Sure. Suppose s is a sequence that's "random" (that is, the sequence s1, s2, s3, … is random in whatever sense we've selected for that term). Then we can define a function f so that f(x) = sx, the xth term of the sequence.
As an aside: this is not simply because there are infinitely many functions. You need much stronger conditions than that! However, it's true, all the same.
I've heard that irrational numbers like Pi or Euler's number have patternless sequences, but I'm not certain whether that is true or how that can be true.
The property you're talking about here is probably normality. A normal number contains any finite sequence of digits infinitely often in its decimal expansion. The mathematical community is pretty confident that pi and e are normal, but this hasn't been proved.
A number being irrational is a much weaker condition, and many irrational numbers probably wouldn't seem random at all to you. For example, the Liouville constant 0.110001… (put a 1 in every place that's a factorial number) is irrational, but I'd hardly call it patternless.
tl;dr "Random", "patternless", and "infinite" are all messy, ill-behaved concepts.
Since there's only a countably infinite number of equations you could write down and uncountably many real numbers, most real numbers are patternless in this sense.
Whether "there's only a countably infinite number of equations you could write down" depends pretty strongly on the parameters you set for how an equation is written down. Hell, with a bit of care I could probably cook up a Cantor-style diagonalization proof that there are uncountably many in any reasonable sense of it other than perhaps the polynomial algebra over the elementary functions, which is boring.
I'd really like to see such a proof since my reasonable understanding of an equation is a finite string of letters in some finite alphabet that has an interpretation in ZFC. Now you could say there's uncountably many interpretations, but I think that's unreasonable because you can't write down such 'equations', so how can they be called equations at all?
One can't construct that sentence without unrestricted comprehension, so it's forbidden in ZFC. Well-formed formulas and symbols in a formal language are countably infinite as they can each be assigned a unique natural number. See Godel numbering.
Ah, I see, I misunderstood your post. (In retrospect, I did so rather flagrantly.) So, yes, numbers specified with finite, well-formed ZFC sentences are countable, so almost all numbers aren't finitely ZFC-specifiable. Blurp.
In terms of Kolmogorov complexity, a random string cannot be represented by a shorter string. It is incompressible. However, there is no computable function which can prove that a given string is incompressible. So if you have a process which produces a sequence, it cannot be proven to be random, even if it is.
any finite sequence can be matched by many functions. for example any Set of n points can be matched by a polynomial of degree n.
also, theres ramsey theory in which people try to see what patterns are forced by any Sequence. see wiki for more info, i think its fairly close to graph theory.
Everything has/is continually affected by the quantum fluctuations that begin in first microseconds of the big bang. Without them, nothing would exist; the universe would be completely flat and plain. The Earth, stars, and humans would not exist, let alone anything to find patterns or randomness in.
The game of roulette for example. While the numbers the ball falls on are 'random'. What decides if the ball is going to fall on a certain number rather than another number is entirely determined by classical physics, i.e. the angle of the hand that drops the ball, how fast the wheel was spinning, exactly where the ball was dropped in relation to the layout of the numbers on wheel at the exact moment the ball was dropped, did the dealer apply force when dropping the ball? Was there even a slight breeze during any part of the ball dropping or wheel spinning? Even a tiny shaking of the table or ground? All of this is essentially immeasurable and even if it were, would require measurements so precise that a deviation of microscopic scales in terms of force, angle, rotation, slight breezes, etc. would cause enormous variables in the final equation.
So yes, roulette and anything utilizing the concept of 'random' is "random enough" in the sense that being able to predict outcomes for them are far far beyond any and all human technological or scientific principals at this point.
This is kind of a long answer. In short, yes, but it's complicated and you can't ever prove it rigorously
Hi, this is actually a really important question. There is a difference between random and patternless. Decimal expansions of irrational numbers may be considered to be random, but not always, and random expansions might still have patterns.
While at first it might seem that these are one in the same, they really aren't. For example, in the decimal expansion of pi, you can find patterns of repeated numbers, the most famous of which is the "Feynman point", a sequence of 9s that begins some several hundred digits in.
As far as randomness goes, it's really kind of a slippery concept. An irrational number, as others have pointed out, are composed of no infinitely repeating patterns in their decimal expansions, ie, at no point does the expansion terminate, nor at any point does the expansion repeat itself, in full, again and again into infinity. While that may make them "random" in a sense that you will never be able to predict the next number in the expansion using preceding data, that does not mean that they are "truly random" in all cases. To be "truly random", we want the following:
If we select any decimal place and guess the digit (0-9), the probability of guessing correctly is 1/10.
But this may not be the case. Numbers that behave this condition are called normal numbers, because the distribution of digits amongst them is not biased towards any particular digit (ie, there are intuitively the same amount of 1s as there are 2s, you're not more likely to find a 2 than you are a 1).
It is widely believed that many irrational numbers are normal, but it has yet to be proved that pi is normal. So, while it might be random in one sense, it might not be "truly random".
Unfortunately, to complicate matters further, there are numbers that are known to be normal, but you would probably say they are not random sequences. For example, the number 0.12345678910111213... is normal. If you were to select any given decimal place you the probability of selecting the correct digit (assuming you didn't know the pattern of this number and were guessing blindly) is 1/10.
However, this is certainly not a random sequence; it has a definite pattern.
So, it really depends on how you phrase the question. Is the decimal expansion of pi a random sequence? If it is normal, you might call it that. But philosophically, if one can calculate a random sequence to any degree of precision, is it truly random? That is, it must be patterned in some way, because we can calculate it. If I were to ask a person with infinite computing power to guess the 1,590,348th digit of pi, they could guess exactly every time. But if they were to guess blindly (and pi is a normal number), then they would have a 1/10 chance of guessing correctly.
In information theory they have a definition of random that goes something like this:
A sequence of numbers is random if it is shorter than any program that can produce it
What this means is that the sequence has no contraction; there is no way to compress it. You can't write a computer program that says "Do this rule to produce the sequence"; the only possible program that can produce the sequence is one that says "Print this sequence:..." and then gives it in full. It turns out that every sequence that matches this definition of random is normal, but not every normal number is random in this sense. For example, infinite sequences like the number Pi can be produced by finite computer programs, and are not "random" in that sense.
5
u/existentialhero Apr 30 '12
There's a lot at play here. I'll try to explain what I can.
This depends on what you mean by "random" and "pattern". Certainly, there are things like random number generators. They are "random" under a suitable definition.
Sure. Suppose s is a sequence that's "random" (that is, the sequence s1, s2, s3, … is random in whatever sense we've selected for that term). Then we can define a function f so that f(x) = sx, the xth term of the sequence.
As an aside: this is not simply because there are infinitely many functions. You need much stronger conditions than that! However, it's true, all the same.
The property you're talking about here is probably normality. A normal number contains any finite sequence of digits infinitely often in its decimal expansion. The mathematical community is pretty confident that pi and e are normal, but this hasn't been proved.
A number being irrational is a much weaker condition, and many irrational numbers probably wouldn't seem random at all to you. For example, the Liouville constant 0.110001… (put a 1 in every place that's a factorial number) is irrational, but I'd hardly call it patternless.
tl;dr "Random", "patternless", and "infinite" are all messy, ill-behaved concepts.
2
u/tom83 Apr 30 '12
any finite sequence can be matched by many functions. for example any Set of n points can be matched by a polynomial of degree n.
also, theres ramsey theory in which people try to see what patterns are forced by any Sequence. see wiki for more info, i think its fairly close to graph theory.
2
u/FastCarsShootinStars Apr 30 '12
Everything has/is continually affected by the quantum fluctuations that begin in first microseconds of the big bang. Without them, nothing would exist; the universe would be completely flat and plain. The Earth, stars, and humans would not exist, let alone anything to find patterns or randomness in.
The game of roulette for example. While the numbers the ball falls on are 'random'. What decides if the ball is going to fall on a certain number rather than another number is entirely determined by classical physics, i.e. the angle of the hand that drops the ball, how fast the wheel was spinning, exactly where the ball was dropped in relation to the layout of the numbers on wheel at the exact moment the ball was dropped, did the dealer apply force when dropping the ball? Was there even a slight breeze during any part of the ball dropping or wheel spinning? Even a tiny shaking of the table or ground? All of this is essentially immeasurable and even if it were, would require measurements so precise that a deviation of microscopic scales in terms of force, angle, rotation, slight breezes, etc. would cause enormous variables in the final equation.
So yes, roulette and anything utilizing the concept of 'random' is "random enough" in the sense that being able to predict outcomes for them are far far beyond any and all human technological or scientific principals at this point.
2
u/[deleted] Apr 30 '12
Someone please correct me if I'm wrong, but isn't pi random?
2
u/Wisepapabrofish Algebra and Topology | Commutative Ring Theory May 01 '12
This is kind of a long answer. In short, yes, but it's complicated and you can't ever prove it rigorously
Hi, this is actually a really important question. There is a difference between random and patternless. Decimal expansions of irrational numbers may be considered to be random, but not always, and random expansions might still have patterns.
While at first it might seem that these are one in the same, they really aren't. For example, in the decimal expansion of pi, you can find patterns of repeated numbers, the most famous of which is the "Feynman point", a sequence of 9s that begins some several hundred digits in.
As far as randomness goes, it's really kind of a slippery concept. An irrational number, as others have pointed out, are composed of no infinitely repeating patterns in their decimal expansions, ie, at no point does the expansion terminate, nor at any point does the expansion repeat itself, in full, again and again into infinity. While that may make them "random" in a sense that you will never be able to predict the next number in the expansion using preceding data, that does not mean that they are "truly random" in all cases. To be "truly random", we want the following:
But this may not be the case. Numbers that behave this condition are called normal numbers, because the distribution of digits amongst them is not biased towards any particular digit (ie, there are intuitively the same amount of 1s as there are 2s, you're not more likely to find a 2 than you are a 1).
It is widely believed that many irrational numbers are normal, but it has yet to be proved that pi is normal. So, while it might be random in one sense, it might not be "truly random".
Unfortunately, to complicate matters further, there are numbers that are known to be normal, but you would probably say they are not random sequences. For example, the number 0.12345678910111213... is normal. If you were to select any given decimal place you the probability of selecting the correct digit (assuming you didn't know the pattern of this number and were guessing blindly) is 1/10.
However, this is certainly not a random sequence; it has a definite pattern.
So, it really depends on how you phrase the question. Is the decimal expansion of pi a random sequence? If it is normal, you might call it that. But philosophically, if one can calculate a random sequence to any degree of precision, is it truly random? That is, it must be patterned in some way, because we can calculate it. If I were to ask a person with infinite computing power to guess the 1,590,348th digit of pi, they could guess exactly every time. But if they were to guess blindly (and pi is a normal number), then they would have a 1/10 chance of guessing correctly.
In information theory they have a definition of random that goes something like this:
What this means is that the sequence has no contraction; there is no way to compress it. You can't write a computer program that says "Do this rule to produce the sequence"; the only possible program that can produce the sequence is one that says "Print this sequence:..." and then gives it in full. It turns out that every sequence that matches this definition of random is normal, but not every normal number is random in this sense. For example, infinite sequences like the number Pi can be produced by finite computer programs, and are not "random" in that sense.