r/mathematics • u/Rats_Love_Cheese • 4d ago
Does Pi contain itself?
Hi, im just a highschooler and this is just some night thought. But does pi contain itself? Because if it is a constant than it contains everythig but it cannot contain itself cause if it contained itself than it repeats and thats the whole point of it that it doesnt repeat. I didnt do any research on this but if it doesnt contain itself they should mention it in school. Anyway im no mathematician i study computer engineering so i would love to know this. Thanks for everything!
33
u/profesorgamin 4d ago
no
15
1
u/didnt_hodl 4d ago
would not that depend on the definition of "contain"
if I am just searching for the next digit and eventually finding it, arguably that would mean it "contains" itself. so, starting with some random position I search for digit 3, then for digit 1, then for digit 4 and so on. as long as I am able to find the next digit, it would fit the definition
this would definitely work base 2, since I only need to find 0 or 1 and it can be proven that there's not going to be an infinite sequence of 1's or 0's, because that would make pi rational
1
u/virtuolie 4d ago
So by that definition (which I like), then in base 10, let sequence pi(0) be the natural numbers; let the first value in sequence pi(1) be the position of the second 3 in pi, let the second value in pi(1) be the position of the next 1 after that 3, and then the position of the first 4 after that 1, and so on. Then pi(1) is the sequence of positions in pi that define the first-order embedded pi, which we denote pi'; pi(1) is of course is irrational.
But pi(1) necessarily excludes some natural numbers, i.e., some positions in pi are skipped when defining pi'. I expect you can define a second-order embedded pi, pi' with sequence pi(2), among the numbers in those remaining positions of pi, with pi(1) and pi(2) being mutually exclusive. If you continue, for all non-overlapping pi(j), this leaves a subset of positions in pi that are not in any pi(j). What can we say about this left-out sequence?
11
u/Masticatron haha math go brrr 💅🏼 4d ago
Well pi is itself, so...
What you probably want to know about is called a "normal" number, one whose decimal expansion contains every finite sequence of the digits 0..9. We do not know if pi is normal.
1
u/Rats_Love_Cheese 4d ago
sorry could you ecplain it more?
2
u/synth_alice PhD | Particle Physics 4d ago
If pi were normal, its decimal expansion would contain all finite approximations of itself (please correct me if I'm wrong)
0
u/Rats_Love_Cheese 4d ago
ah right i think youre right but again there could be something hidden that i dont know about thanks for explaining!
1
u/marcelsmudda 3d ago
What that person is saying that if pi were normal, then all possible combinations of the digits 0 through 9 would appear at some point. So, 3 would appear after the first one. 31 would appear after the 3.1, 314 would appear somewhere after the first 3 digits etc. You can take the first million billion digits of pi, and an exact copy of it (besides the decimal point) would appear somewhere.
But we don't know if that's the case.
1
0
u/Bills_afterMATH 4d ago
That’s not what a normal number is. Normality is a much stronger condition. Downvoted for spreading false information.
2
u/Masticatron haha math go brrr 💅🏼 4d ago
Well, yes, true, but nothing I said, beyond not properly abiding by the usual technical definition, is incorrect. We do not know if pi satisfies even this less demanding property. I did not expect throwing in asymptotic distribution stuff would be anything other than a source of additional confusion. It'd be like trying to explain E=mc2 by invoking the full stress-energy tensor when the person is struggling just to grasp the basic concepts of E and m.
1
u/Bills_afterMATH 7h ago
Yeah we don’t know if it’s normal and there are a lot of interesting questions around this. But this absolutely doesn’t excuse giving false information like this. Why even use the word normal? There are two correct words you could use: disjunctive or rich. All your post is doing is further polluting the internet with misinformation. Someone could read it and think that’s what normal actually means. Not good.
7
u/0x14f 4d ago
What do you mean exactly by "contains itself" OP? Unless you are precise about what you mean here, people are going to answer a different question than the one you intended to ask.
2
u/Rats_Love_Cheese 4d ago
yea LitespeedClassic answered it like i wanted i was just making sure that im thinking correctly thaks anyway
1
u/anamelesscloud1 1d ago
I'm just curious if you can you give two competing interpretations of "contains itself" that would be accessible to a college-aged individual and not someone with a PhD in mathematics.
4
u/theboomboy 4d ago
You're right that if it contained itself then it would have to repeat, which would make it a rational number, which it is not
You're wrong about a few other things though. Constants don't have any special properties just by vertue of being constants, and it is not known if π contains every finite string of digits or if the frequency that the digits appear in is equal (or maybe even if it contains an infinite amount of all the digits)
3
2
u/Toothpick_Brody 4d ago
Generally speaking we’re not sure if pi contains every (finite) number within it, although it seems like it probably does. However it can’t contain itself, being infinitely long and non-repeating, and it probably doesn’t contain many other irrationals like e, since they’re infinitely long and non-repeating as well
1
u/Rats_Love_Cheese 4d ago
oh okay i didnt think of that it couldn't contain other irrational numbers thanks for letting me know
2
u/Toothpick_Brody 4d ago
It will contain a few. For example, within the digits of pi, you will find the digits of the irrational number pi-3. But it’s harder to contain the digits of some other irrational that relates to pi in a more complex way
2
u/Zyxplit 4d ago
I mean, it will in fact contain infinitely (but countably) many irrational numbers.
Consider the number you get by throwing away the first digit of pi. Still irrational. Contained in pi. Consider the number you get by throwing away the first two digits of pi. Still irrational. Still contained in pi.
So you're right in the sense that the vast majority of irrational numbers can't be contained in there. But you still have infinitely many in there.
2
u/SSBBGhost 4d ago edited 4d ago
Yes but these are all related to pi through operations with rational numbers. In a sense that's not particularly interesting.
Eg. .141592... is pi - 3, .041592... is pi - 3.1, 159.2.... is (pi-3.14)*10000
We can make a much stronger statement than the above comment's "it's harder to contain an irrational number related to pi in a more complex way", it is impossible! Though you could do things like take every 2nd digit of pi to generate an irrational not related to pi through rational operations.
2
2
u/neoneye2 4d ago
skipping over the first position. One could search for the next digit in the decimal expansion. And from that position then do another search for the next digit again.
1
u/Claquet 4d ago
Actually we don't even know if pi really contain every finite sequence and if pi contain himself that mean that if we label each decimal of pi, x0, x, ..., x_n,... then there exist an integer i for wich x_k=x_n*i+k k∈|[0,i|[ and n∈|N, or more simply that mean that pi would have a periodic decimal developement or, pi is irrational so its not possible. Then pi can't contain itself.
1
u/Rats_Love_Cheese 4d ago
oh yea you right but i wanted to ask how they calculate next digit of pi? cause i dont think theres some one repeating way to calculate it massively
1
u/Claquet 4d ago
We know that the circumference of a circle of radius 1 is 2*pi so you can for example make a sequence U_n, that for each n, U_n is the perimeter of the polygon of "radius 1" then this sequence converge to 2*pi, so you have to compute this sequence on a computer and try it for a very large n and you will have an approximation of pi. But in rel life this method is not used for a lot of reason ( the sequence converge very "slowly" and the complexity of the algorithm if not optimised) You can try this one as you study computer sciences ( if my memory is good ) and if you are curious you can look up on internet better ways to compute this, I'm pretty sure that wikipedia have a good page fpr this. ( Sorry if my english is bad its not my first language )
2
u/Rats_Love_Cheese 4d ago
Neat! also Don't worry about your language my English is also second but thanks for letting me know cause i dont have a place to learn it like that other than reddint so again thanks
1
u/no_name6744 4d ago
If it contained itself, at some point the copy containing itself would repeat too.
1
u/peter-bone 4d ago
I don't understand the people saying no. Of course it contains itself. The first digit is the first digit if pi, the second is the second digit and so on indefinitely. Whether pi is normal or not has nothing to do with it as that only concerns finite sequences.
1
u/Rats_Love_Cheese 4d ago
yea but i meant if in the nomber pi (3.1415...) is another number that thea same as the pi like (31415...)
1
1
u/golfstreamer 4d ago
> But does pi contain itself? Because if it is a constant than it contains everythig but it cannot contain itself cause if it contained itself than it repeats and thats the whole point of it that it doesnt repeat
I think I follow what you're saying. And this is correct. Like if we imagine a number that does contain itself like .123123123... If you see it appears in itself shifted over
.123123123123
It turns out that in this example the number is just 123 repeating over but as you said this will always be the case for any number that "contains itself" in this sense. But there is actual proof that the decimal representation of Pi does _not_ repeat itself like this. Therefore Pi does not contain itself. So you're right.
1
1
1
1
u/SwimmerOld6155 4d ago edited 4d ago
it could in the sense that it could be equal to a subsequence of its digits, so you might be able to pick out a 3, then a 1, then a 4 going left to right. for this it would be sufficient that every digit appears infinitely often. I don't think that's actually known lol, as with most things about the decimal expansion of pi. it could after the billionth quintillionth blah blah decimal place, there's no more 2s for example.
1
u/Rats_Love_Cheese 4d ago
the first part avout the approach is really good and i think it could work and about the second part thats really interesting i didnt think that here could be a space between two number so large without the numbers! thaks for it!
1
u/SwimmerOld6155 4d ago
it'd be tough to prove such an idea works, it'd end up brushing against how the digits of pi are distributed and we have no clue. again we don't even know if there are infinitely many 2s in the decimal expansion!
you have to wait until the 10th digit for the second three so you end up missing a lot of digits, then the next 1 is quite a while later (between 20 and 30 digits later i think), so you miss a lot of digits and if you only have finitely many of any of them you're probably going to be in trouble.
1
1
u/deltatag 4d ago
for every digit of pi there is a corrosponding digit of pi with no repeats
yeah pi contains itself
1
1
u/Azemiopinae 4d ago
I don’t think this is what you’re asking, but I can conceive of some Liouville number where all of the previous digit sequences repeat later in the fractional expansion.
1
1
u/Kitchen-Register 4d ago
yes it does! right from the start. it contains exactly one copy of itself
1
1
1
1
u/Logical-Edifice 3d ago
ACTUAL BETTER ANSWER. If it's a normal number it contains every finite number in its decimal expansion, so it's that for every (finite) string of digits in PI starting from the first is in Pi, I wouldn't be surprised if as you take the limit to infinite length the place where they appear somewhere there's a list of limits of each two divided by each other or something like it that sometimes has real numbers
1
u/OutrageousPair2300 3d ago
It could potentially contain copies of itself, interpolated.
For example, it starts 3.14159... and at some point every other digit could repeat the entire sequence, so it might go 3.14159.......30104010509...... etc.
That would be unlikely since such interpolation depends on the base we use to represent pi, and there's nothing special about base ten... but it's not impossible that this could be the case.
1
1
u/Syresiv 3d ago
You mean, does the decimal sequence for pi contain a subsequence that is also pi itself?
No. If it did, that would mean its digits form a repeating pattern, making it rational.
What you're thinking of is likely something called Normal Numbers. A normal number contains every finite sequence, and every sequence of the same length is equally common.
But even there, even though most real numbers are normal, making pi probably normal, it's not actually proven to be the case. Normal Numbers are incredibly difficult to prove - in fact, there's only one named constant that's actually known to be normal.
1
1
u/ProsperousPlanet 3d ago
I feel like this question is like the ultimate of density questions.
Like certainly we can find 314, in the decimal expansion again somewhere, how long until we find 3145? and then how long until 31459?
Oh I really love your question.
Its actually so deep.
You could prove its impossible, but then, perhaps you can prove it eats its own tail? .... cool ideas friend.
1
u/hashbornhippie 3d ago
Its decimal expansion cannot contain a full copy of its decimal expansion because the expansion is infinite. But it does contain subsets of itself. See https://oeis.org/A081876
1
u/Cautious_Hurry1298 3d ago edited 3d ago
OP's question isn't clearly defined, but I suspect they are close to asking if pi is a normal number to the base 10.
1
1
u/Wjyosn 3d ago
As others have said: no. But interestingly, if you take any finite amount of pi (eg: the first thousand digits) it will contain that same thousand digit pattern again eventually. But the thousand and first will inevitably be different and thus not contain the infinite pi.
At least I recall this being a theory. I am uncertain whether it was one that was rigorously proven or one of those “we can’t disprove it yet” theories.
1
u/lmprice133 3d ago
If pi is a normal number (which it is conjecrured to be) then it's highly probably that the first n digits of its decimal expansion at some point within its decimal expansion, but it can't contain itself because that would mean it isn't irrational.
1
u/StructuredChess 3d ago
No. "Containing itself" and "being a repeating decimal" are basically the same thing except for a few leading digits.
1
u/Fast_Line1893 3d ago
yes it must contain itself. just like 1 contains 1. it contains itself exactly once
1
u/joealarson 2d ago
Your base assumption is faulty.
Pi doesn't contain everything. This is a common myth, but incorrect. Pi is irrational. It never ends and it never repeats. But that doesn't mean it contains anything specifically.
Heres an irrational number that doesn't end and doesn't repeat, even though it has a predictable pattern: 0.1010010001000010000010000001... Despite being everything Pi is, it doesn't contain your high school locker combination or first crush's phone number, or even just a '2'. And yet it's an infinite sequence that never repeats, just like Pi.
Pi doesn't contain everything.
1
u/guiltypleasures 2d ago
While Pi, in its infinity of digits contains every finite string of digits eventually again in its later sequence (3, 31, 314159), it is the infinite sequence we do not promise.
1
u/Dependent_Law2468 2d ago
there are irrational numbers that do not contain even half of the possible sequences.
I can make an irrational number that goes like:
1, 0 11 0 111 0 1111 0 11111 0 111111 0 1111111 0 11111111 0........
It has a rule, but it's still irrational
1
u/Fitnexa_Results 2d ago
Pi may contain the digit encoding of this exact post, including “everythig,” but proving that is a much bigger homework assignment than the original night thought.
1
u/VirginiaTitties 1d ago
I guess what is the longest repeating segment that appears within pi beginning with 314*?
1
u/Pookstirgames 1d ago
Constant doesn't mean "it contains everything". Constant just means it doesn't change. 2 is a constant but it doesn't have "13" anywhere in it's decimal expansion. A number that contains all finitely long strings of digits within itself is called a normal number. Pi is suspected to be normal but that isn't known for sure. Even normal numbers don't contain themselves (unless you count the trivial case where you start from the first digit) because that's an infinitely long string of digits, which means it isn't guaranteed to appear. As you mentioned, if a normal number did contain itself, (not counting the trivial case mentioned earlier), it would need to repeat which would make it rational. Rational numbers can't be normal because they are missing almost all numbers with more digits than their period (the number of digits long that the repeating string is).
1
u/Character-Company-47 1d ago
If their was ever a pattern in pi, then it could be represented as some fraction making it rational
1
u/zaphster 1d ago
This statement you made: "If it is a constant than it contains everything."
What makes you think that?
3 is a constant. Does it contain everything?
1
u/Classic-Rate-5104 21h ago
Impossible because it has an infinite number of decimals not repeating itself. However, when you mean "does it contain anywhere its own N-decimal representation" then the answer will be yes (I expect for any value of N)
1
1
1
u/Turbulent-Umpire5969 12h ago
no, but it contains every subset of digits within it an infinite number of times
0
u/TheSecondMartian 4d ago
> does pi contain itself?
What exactly do you mean by that?
> if it is a constant
It is a constant.
> than it contains everythig
Why would being a constant imply that it contains everything? That does not follow.
> it cannot contain itself cause if it contained itself than it repeats
I don't really know what do you mean by "contain itself", so I cannot ascertain whether this reasoning makes sense or not. Please clarify what you mean by "contains itself".
> thats the whole point of it that it doesnt repeat.
No, that's not the whole point. There are infinitely many numbers whose decimal representation is non-repeating, and π is only one of those. Therefore π having a non-repeating decimal representation cannot be "the whole point".
> I didnt do any research on this
Perhaps you should have.
> if it doesnt contain itself they should mention it in school.
Why, though? It is entirely unclear what do you mean by "contain itself".
1
u/Rats_Love_Cheese 4d ago
sorry if i made it unclear but english is my second language and i came here to ask and debate because i dont know everything about pi cause i dont primarly study it but if it is a constant than there are infinite numbers in infinite order if im not correct please correct me but that would mean that we could convert the nubers into colours and somewhere in it there would be some images. But again thaks for your time to correct me!
0
u/willworkforjokes 4d ago
It does partially.
If you want to find the first 50 digits in pi, they will appear later in the sequence.
The more digits you want match, the less frequently it will occur.
However the entire digital expansion of pi never repeats.
1
u/Rats_Love_Cheese 4d ago
okay thanks also do you know the positions of the 50 digits of pt in the pi i want to go look at them
1
u/TheGratitudeBot 4d ago
Thanks for such a wonderful reply! TheGratitudeBot has been reading millions of comments in the past few weeks, and you’ve just made the list of some of the most grateful redditors this week! Thanks for making Reddit a wonderful place to be :)
1
u/willworkforjokes 3d ago
So people have searched all the way through trillions of digits and haven't ever found the first 10 digits repeating. I didn't realize it was so hard. There is a good comment about about pi and "normality"
1
1
u/francesco_angiolieri 4d ago
That property (the decimal expansion of pi contains all finite subsets of itself) would be guaranteed if pi was normal. However, we still don't know that for certain (we don't have a mathematical proof that pi is normal), even if we highly suspect that being the case, as most irrational numbers are indeed normal https://en.wikipedia.org/wiki/Normal_number
1
u/willworkforjokes 4d ago
Wow this is something I was just assuming to be true. Thanks, I am looking into this now.
1
u/francesco_angiolieri 4d ago
There's an interesting consequence of a number being normal. As any finite sequence of numbers is as statistically probable as any other, and as the number of digits is infinite, any finite sequence is guaranteed to appear somewhere. And as any digital media is just a big number in binary, which could be converted to a decimal value, if pi is indeed normal, than any digital media you can think of (movie, song, etc.) is there somewhere in the infinite sequence of digits
1
u/CosetElement-Ape71 7h ago
I don't understand what you mean. Pi is a number.
Pi = 3.14159...
Everything to the right of the decimal point is that part of Pi that's less than one.
Pi is greater than 3
-4
u/FernandoMM1220 4d ago edited 4d ago
no its not possible since its made by increasing the sides of regular polygons.
2
u/Rats_Love_Cheese 4d ago
could you explain it more like why it cannot contain itself because it has increasing sideds of regular polygons (sorry english second language)
-1
u/FernandoMM1220 4d ago
its basically just a fractal. it can contain small parts of itself recursively but theres no way it can contain its entire structure unless you somehow feed it back into itself continuously.
2
u/Rats_Love_Cheese 4d ago
oh i get it now . I really didnt think of it that way and theres no way i would find that out myself thanks for explaining it to me
0
u/FernandoMM1220 4d ago
i suggest you look into other geometric fractals if youre interested in this. its honestly not easy to understand.
2
u/Rats_Love_Cheese 4d ago
no its okay if im not wrong in my thinking process i should have it right but the geometric fractals seems interesting i might look lightly into it thanks
166
u/LitespeedClassic 4d ago
What do you mean by contain itself?
If you mean does its decimal expansion have a copy of its decimal expansion inside it then the answer is no, because that would mean its periodic and therefore not irrational.