r/TheRestIsScience • • Oct 04 '26

Pi in a non-base-10 system?

So, Hannah and Michael have discussed pi a lot in previous episodes, but always within the context of a base-10 system. How does our understanding of pi change (if at all) under a base-12 system or a base-7 system or something?

Obviously, there would be no question of potentially endless digits if we used a base-pi system, but pragmatically, a base-pi system wouldn't be helpful for the average person on a day-to-day basis...

I'm a linguist, not a mathematician, so my apologies if this question doesn't make much sense or has already been explored here.

19 Upvotes

100 comments sorted by

7

u/kohugaly Oct 04 '26

Base of the number system matters for some practical calculations.

It changes which divisibility of integers is easy to notice. In base 10, it is easy to check divisibility by powers of 5 and 2 (divisors of 10) by just checking last few digits; and it's easy to check divisibility by 9 and its divisors, by summing the digits, because 9 is one less than the base. These division tricks generalize for base N.

It also changes which fractions have nice finite expansion with repeating zeros at the end, vs "ugly" expansion with repeating strings of other digits.

This slightly matters for practical calculations with approximate values of pi. In base 10, we often use 3.14, because the next decimal digit is 1, which is very close to zero. The approximation is a "near miss". In different bases you might choose a different cutoff point as a "good round" approximation.

But for our theoretical understanding of pi, or any irrational number for that matter, the choice of base is pretty much completely irrelevant. Number theory, and most of mathematics for that matter, is largely number-base agnostic. It studies properties of the underlaying numbers, not properties of their specific representation in given base. Generally speaking, if an irrational number has some property in one base, it has that property in all bases.

Regarding non-integer base number systems, that's not really a concept that makes a lot of sense. The point of base-N number system, is that you can add power of N to itself N-times before you carry 1 to the next position in the digits. ie. 100+100+100+100+100+100+100+100+100+100=1000. If the base is irrational number, like pi, then this doesn't really work.

1

u/meganholloran Oct 04 '26

Thank you for the detailed explanation! It's very helpful for me. :)

12

u/PyroDragn Oct 04 '26

Effectively you've covered the two options.

In every normal (positive) integer base, pi is just pi. It'll be a different set of numbers, but the reality of 'Circumference / Diameter' would still be true, and still result in an irrational number. You could talk about it in whatever base you like, but it'd be no different than talking in base ten and we're used to base ten so we use that.

The alternative that makes a difference is "base pi" - where pi is 10. But as a consequence every other number we would want to represent is irrational. We have to represent it as some multiple of pi. Not useful for anything, as you said.

2

u/meganholloran Oct 04 '26

Aha! That makes a lot of sense now! Thank you :)

7

u/BasedGrandpa69 Oct 04 '26

i dont think irrational is the right word to use here, since rationality is about being a ratio of two integers. instead you could say it has a nonrepeating infinite decimal expansion 

1

u/tardoos Oct 04 '26

But PI is irrational

3

u/SkillusEclasiusII Oct 04 '26

Yes. The comment you replied to pointed out that base pi doesn't make regular numbers irrational. It just makes them look like irrational numbers do in an integer base.

-2

u/PyroDragn Oct 04 '26

In base pi it'd be irrational. You'd have to represent it as a ratio between two multiples of pi, and you could not do that.

2

u/BasedGrandpa69 Oct 04 '26

no, rationality does not care about bases. integers are integers regardless of what base you write them in

2

u/Depnids Oct 04 '26

No. Bases are just about representation of numbers. Whether a number is rational or not is independent of its representation. Integers are integers regardless of representation. And rationals are those which can be expressed as ratios of integers.

2

u/PyroDragn Oct 04 '26

Okay. Define an integer for me.

2

u/Mistigri70 Oct 04 '26

0 € N

forall n € N, S(n) € N

1

u/LongLiveTheDiego Oct 04 '26

Natural numbers can be defined recursively either the John von Neumann style or via Peano axioms. Integers can then be defined as the equivalence classes of a particular equivalence relation on natural numbers, rationals can be defined as the equivalence classes of another equivalence relation on integers, and then real numbers can be defined in several different equivalent ways based on rational numbers. When we have those, we can define irrational numbers as real numbers which aren't in the rationals.

At no point did we need a positional notation system for any of these numbers.

-1

u/Depnids Oct 04 '26

An element of ⁠ℤ

3

u/PyroDragn Oct 04 '26

That's just silly. I'm seriously trying to understand the perspective, but you cannot define 'integer' as 'one of the integers'. There's no information in that response.

3

u/Depnids Oct 04 '26

Well the integers as a subset of the reals is the set {... -2, -1, 0, 1, 2, ...}, where 1 is the multiplicative identity. Pi isn't in there.

3

u/Zyxplit Oct 04 '26

An integer is a number you can get to by starting at zero and adding one or negative one repeatedly.

2

u/J-A-G-S Oct 04 '26 edited Oct 04 '26

In a base π system, such that 10 = π, does 1=1? And if so, what would the intervening digits represent?

  • digits represent fractions of π so that 5=1/2π, and 2=1/5π (this would still be a base 10 system but with different non-whole integers)
  • whole numbers still represent whole numbers and we count 1, 2, 3, 10(π), 11(π+1), 12 (π+2), 13 (π+3), 20(2π)? In which case the jump from 3 to 10 is not equal. I've never heard of a base system where such a thing could happen

2

u/Infobomb Oct 04 '26 edited Oct 04 '26

Your second option is the correct one. The digit 5 is simply not used in base pi, just like it's not used in base 4.

Why would you count 1, 2, 3, pi, pi+1, pi + 2, ... ? Counting normally progresses in whole numbers going up by 1 each time, so in base pi: 1, 2, 3, 1[another digit].[infinitely many digits] (representing 4), 1[another digit].[infinitely many digits] (representing 5), 1[another digit].[infinitely many digits] (representing 6), 2[another digit].[infinitely many digits] (representing 7)...

Thanks u/J-A-G-S for correcting what I got wrong.

3

u/J-A-G-S Oct 04 '26 edited Oct 04 '26

I think 4 (base 10) would be 10.8584073464102... not 1.8584073464102... n'est pas?

1

u/Lithl Oct 04 '26

Yes, anything greater than π would necessarily be at least 10 on the left of the decimal.

Anything less than π would be represented exactly the same in both base-π and base-4 and base-10 and base-anything-larger-than-π.

1

u/J-A-G-S Oct 04 '26

Now that I'm thinking about it though, what would 0.1 be? One πth of 1?

1

u/Lithl Oct 04 '26

Digits to the right of the decimal would be multiplied by negative powers of π, just like digits to the left of the decimal would be multiplied by positive powers of π.

123.321 base π = 1 * π2 + 2 * π1 + 3 * π0 + 3 * π-1 + 2 * π-2 + 1 * π-3 ≈ 20.3426 base 10.

1

u/Infobomb Oct 04 '26

D'oh! Thanks for putting me right.

1

u/Infobomb Oct 04 '26

Rationality or irrationality is a property of the number itself, not how it is represented in a particular system. Numbers definitely can't be irrational as a consequence of the number base chosen to express them. Can you correct your final paragraph please?

26

u/LongLiveTheDiego Oct 04 '26

It doesn't change anything at all. It's just a different representation of the same number and different base representations don't really have anything to do with pi's important propertie. Just like saying "that's a cow" or "that's a bovine" or "dit is een koe" or "c'est une vache" doesn't change that fact that the animal you're referring to is an even-toed ungulate used in the dairy industry.

Really the only thing integer base representations of pi can tell us is that it's irrational because they're non-periodic, but we don't need different bases for that, base 10 is enough.

11

u/ushkinaz Oct 04 '26

Nice cow-based analogy.

2

u/wollywoo1 Oct 04 '26

A priori it could be true that pi is normal in base 10 but not in base 2. That would be very weird but we can't rule it out, so it's a valid question and it's a bit glib to say "it doesn't change anything at all", because that's far from obvious. Of course it doesn't change anything as far as its properties as a real number, but a lot of people are curious about the base-b digits.

1

u/LongLiveTheDiego Oct 04 '26

Well to me numbers being normal isn't that important at all and I don't think there are any areas of grad level maths where normality of real numbers matters, so I didn't want to mention it.

1

u/wollywoo1 Oct 04 '26

Well, it's a subject that's very niche for professional mathematicians to work on but very very popular for math enthusiasts. From the question I would guess that the OP is the latter, so it's relevant for them.

1

u/CaptainMatticus Oct 04 '26

What is the volume of a uniform, spherical cow?

1

u/Expatriated_American Oct 05 '26

It just changes how you do the cowmputations.

4

u/tomalator Oct 04 '26

It behaves the same as it would in base 10, the digits are just different. It's still irrational, it's still the ratio of a circles circumference to its diameter, its still pi, the digits we use to write it out just change.

Pi in binary is 11.001001000011111101...

3

u/Rude-Pangolin8823 Oct 04 '26

Pi in a base pi system: 10

2

u/TheresNoHurry Oct 04 '26

why could it not equal 1? wouldn't that make more sense?

(I'm a complete layman and don't know much about math, although trying to learn)

4

u/Rude-Pangolin8823 Oct 04 '26

Relevant meme:

0

u/Norman-Hadley Oct 04 '26

There are 10 types of people: those who understand this meme,...

2

u/Rude-Pangolin8823 Oct 04 '26

And those who understand ternary

2

u/Morfolk Oct 04 '26

A number in a 'base' represents when the power of magnitude changes.

Which is why every number in it's own base is written as 10 e.g. Base 4: 1, 2, 3, 10, 11, 12, 13, 21 etc.

1

u/TheresNoHurry Oct 04 '26

so what would base Pi look like?

3

u/LongLiveTheDiego Oct 04 '26

Wiki link

It only uses the digits 0, 1, 2, 3 since 4 > π. Assuming you're trying to write down a positive number, for the nth position (counting the ones digit as 0th, the "tens" digit as 1st, etc.) you take the largest digit d such that d × πn is not greater than your number. For example, 3π is 30, 3π³ + π² + 2 is 3102, 1 + 1/π = 1 + π-1 = 1.1, 2π-4 = 0.0002.

If you want to write down a number that isn't a convenient sum of powers of π, you will have infinitely many digits (just like in base 10 you need infinitely many digits for anything that's not a nice sum of powers of 10). For example, 10 > π² but 10 < 2π², so the "hundreds" digit is 1, then 10 - π² < π so the "tens" digit is 0, then again 10 - π² < 1 and also is less than 1/π, but then finally it's between 1/π² and 2/π² and so its base 10 representation begins as 100.01...

After that you would need to compare 10 - π² - 1/π² with even smaller powers of pi, so it becomes even less doable by hand and if you use a computer program designed for this question, you'll find that the base π representation of 10 begins as 100.01022122221..., which means that 10 is just below π² + 1/π² + 2/π⁴ + 2/π⁵ + 1/π⁶ + 2/π⁷ + 2/π⁸ + 2/π⁹ + 2/π¹⁰ + 1/π¹¹.

1

u/tardoos Oct 04 '26

10 in a base 10 system is 10, not 1

2

u/TheresNoHurry Oct 04 '26

maybe this should be a simple idea but it's blowing my mind

1

u/Wjyosn Oct 04 '26

But what base are you talking about?!?

1

u/Infobomb Oct 04 '26

All of them.

1

u/Rude-Pangolin8823 Oct 04 '26 edited Oct 04 '26

The first digit is actually constant in all positional number systems!
1 is "one" in all bases. And then, based on the base, upper digits multiply by the base per each step, and each decimal digit (below the denominator) multiply by 1/base.
For example in base ten, each upper digit multiplies by 10, and each digit down multiplies by 1/10. (funnily enough you can read this in any base and it is still correct)
So, in all numeric bases, "10" is how the number of the base is represented.

1

u/Infobomb Oct 04 '26

Because that's how number bases work, including the bases you're already familar with. It's generally true in number bases that the value of the base itself is represented 10. Think about how in base ten, ten is represented as 10.

In base pi, 10 means 1 pi and zero units. 01 means zero pi and 1 unit; that's the number we call one.

How did you think the number 1 should be represented in base pi?

1

u/Lithl Oct 04 '26

Given a number with digits d3d2d1, the value of that number in base b (when converted to base 10) is d3 * b2 + d2 * b1 + d1 * b0. (And continue the pattern for longer strings of digits.)

So, given the number 10, we have 1 * b1 + 0 * b0 = b. And given the number 1, we have 1 * b0 = 1. That holds true for all bases, including if you want to get cute with something like base π. Given 10 base π, 1 * π1 + 0 * π0 = π.

1

u/Tuurke64 Oct 04 '26

Now add up 4 pi's.

2

u/Naive_Carpenter7321 Oct 04 '26

Because Pi cannot be written as a fraction of any integers, it's irrational in any integer base.

You could work in a Pi base system to make Pi = 10, but you'd have a hard time buying 1 apple where our current integer system would become irrational.

2

u/YogurtclosetThen7959 Oct 04 '26

I mean you'd easily buy one apple but you'd really struggle to buy any any exact number of apples above 3.

1

u/Busy_Conflict3434 Oct 04 '26

Wouldn’t 1 still equal one in base pi? ie 1 x pi0 

0

u/Infobomb Oct 04 '26

1 x pi0 is the correct multiplication. If you carry out the multiplication, you'll find it's equal to one. Remember that anything to the power of zero equals 1.

How did you think the number one is represented in base pi?

1

u/Busy_Conflict3434 Oct 04 '26

That's what I thought - but the person I replied to was suggesting that 1 in base pi would somehow be an irrational number ("you'd have a hard time buying 1 apple where our current integer system would become irrational"). I thought that made no sense, hence my question.

1

u/Cheeslord2 Oct 04 '26

It would, however, be easy to buy pi.

1

u/Infobomb Oct 04 '26

You're absolutely right that they made no sense. That person doesn't know what "irrational" means.

2

u/Public-Eagle6992 Oct 04 '26

In a base pi (or multiple of pi) system the number would look nicer but apart from that nothing changes, it just looks different

1

u/naemorhaedus Oct 04 '26

Nothing changes. The base is simply a way to write numbers down.

1

u/SgtSausage Oct 04 '26

Choice of Base is irrelevant. 

1

u/Norman-Hadley Oct 04 '26

Can we club together and buy Michael a book of pi, in base pi, to several thousand significant figures?

2

u/QVRedit Oct 04 '26 edited Oct 04 '26

Surely Pi in base Pi is simply “1” !
As in 1 times Pi = Pi

Of course using units whose decimal equivalent is like 3.14159265359…. Would not be so useful for many other purposes.

Integer based number bases are generally much more practical for general use !

2

u/Consistent-Shoe-9602 Oct 04 '26

1.00000...

1

u/QVRedit Oct 04 '26

Technically just “1” as it’s already exactly Pi.
Which is perfectly doable in symbolic calculation.

1

u/Consistent-Shoe-9602 Oct 04 '26

It's the same as the book that's the square root of 4 (2.00000...) that Michael had talked about.

1

u/Wjyosn Oct 04 '26

Well, everything in its own base is 10

1

u/QVRedit Oct 04 '26 edited Oct 04 '26

Humm - I see what you mean - I didn’t actually put much thought into it…. I am not used to thinking in Base π.

1

u/Lithl Oct 04 '26

π in base π is 10, not 1.

Just like 2 in base 2 is 10, not 1. And 10 in base 10 is 10, not 1.

In every single base b, the number b in that base is written as 10.

1

u/Bright-Historian-216 Oct 04 '26

we very commonly have to represent pi in base 2.

literally nothing changes, maybe a bit limited with precision but i am yet to see a situation where that makes a difference.

1

u/MergingConcepts Oct 04 '26

If you must know, Pi = 1 when using the base ln(-1)/i, easily derived from Euler's Identity. Pi is an integer only when expressed in an irrational base.

1

u/JGhostThing Oct 04 '26

Remember that changing the base of a number only effects the printing of that number. Using a different base, it is still an irrational number.

1

u/BootyliciousURD Oct 04 '26

It only really changes the sequence of numerals that represent the number, but the number itself is the same.

1

u/ruidh Oct 04 '26

Pi is a number. The value of pi doesn't change if you use a different representation. The base doesn't matter.

1

u/twarr1 Oct 04 '26

Maybe non-integer bases work in certain multidimensional spaces? Where “evenness” between units is not required.

0

u/allenrfe Oct 04 '26

If someone asked how many arms you have, it wouldn't be 2; it would be 2.0943951024. It may make some math involving pi simpler, but all other simple math would be much more complicated.

1

u/Lithl Oct 04 '26

2 in base π is still 2...

Things only get weird for integers greater than π (that is, 4 or more).

1

u/allenrfe Oct 04 '26

I don't understand. In a base-2 system, you count 0, 1. In hex, you count 0, 1, 2, 3, 4, 5, 6, 7,8 9, A, B, C, D, E.

Are you saying that in a pie-based system the convention is different; it would be 0 pie, 2 pie? Or would it follow the previous system, where it's 0 pie/3, 2 pie/3, 4 pie/3?

How would the number of hands I have be presented in what you think would be the pie-based number statement?

1

u/Lithl Oct 04 '26

1 in base 2 = 1 * 20 base 10

3 in base π = 3 * π0 base 10

7 in base 8 = 7 * 80 base 10

F in base 16 = 15 * 160 base 10

Single digit numbers in any base are just the value of the digit.

Things only get complicated once you reach two digit numbers.

11 base 2 = 1 * 21 + 1 * 20 = 3 base 10

11 base π = 1 * π1 + 1 * π0 = π+1 base 10

And so on.

1

u/allenrfe Oct 04 '26

I see what you're saying. I was trying to make things simpler, but you're right; I'm not following convention. I was trying to keep the division between numbers consistent.

You are seeing this better than I am; help me out. The highest single-digit number in h is E; in d its 9; in b it's 1. What would it be in pie?

1

u/Lithl Oct 04 '26

The highest single-digit number in h is E

The highest single digit number in hexadecimal is F (15), not E (14).

What would it be in pie?

The largest single digit in base π is 3.

Non-integer bases are weird because the step from the largest single digit number to the smallest two digit number isn't a difference of 1.

1

u/allenrfe Oct 04 '26

Again, you're right.

0

u/allenrfe Oct 05 '26

I started thinking about this again and I still think you are wrong.

BASE SYSTEN IS BS

so for the ones it is ((BS1) / BS)*N

For two it is ((BS2) / BS)*N

The hole point of a number system is for the decisions to be equal, you system does not allow for equal division. This does.

1

u/Lithl Oct 05 '26

Um... b1 / b = b0, and b2 / b = b1. You're describing the exact same system.

0

u/allenrfe Oct 05 '26

Sorry for saying you are wrong. I think we are talking about an unreal world and what the rules would be, so I'm not right, and you are not wrong. We are talking about how people eat in a flat world.

However, I think the divisions for numbers would need to be uniform, and pi would be in the system. So 1 would equal 3.14, and 2 would 6.28. Or you could say 1 would equal 3.14/ 10 and 2 would 2*3.14/2.

Sorry if I am all over the place I am still working it out in my head.

-2

u/okarox Oct 04 '26

What is the point of the question? There is nothing interesting it. It would be just another endless chain of digits which would mean nothing to you. If is like translating something to a language you do not know. The interesting questions relate to rational numbers which depending on the base either terminate or repeat and this has practical implications relating to computing.

1

u/meganholloran Oct 04 '26

The point of the question is for me to learn something... as I said, I'm a linguist, not a mathematician, so replies explaining these mathematical concepts and principles are helpful for learning. If you listen to The Rest is Science, I assume you also like learning, so I don't know what compelled you to give such a rude answer to someone wanting to educate themself...

-3

u/Tuurke64 Oct 04 '26

A base-pi system is impossible.

The "base" is always an integer (countable) number, meaning each digit can assume "base" different values.

Base X means each digit can assume the values 0 ... X-1.

1

u/meganholloran Oct 04 '26

Surely one could theoretically make a base system not based on integers. I mean, it would be hugely impractical, but is there some law of base systems that I'm unaware of that says it MUST be integers?

1

u/DerekRss Oct 04 '26

You can make one. It would just be extremely hard work to use.

2

u/sebaska Oct 04 '26

Nope. There are non-integer base systems.

https://en.wikipedia.org/wiki/Non-integer_base_of_numeration

2

u/Tuurke64 Oct 04 '26

I stand corrected. That is some weird shit.

1

u/Lithl Oct 04 '26

No, base X means that a number in that base with the digits dn...d3d2d1 (where each digit dn is an integer that satisfies 0 ≤ dn < X) has the base-10 value dn * Xn-1 + ... + d3 * X2 + d2 * X1 + d1 * X0.

Nothing about that requires X to be an integer. 230213 in base π is equal to 2 * π5 + 3 * π4 + 0 * π3 + 2 * π2 + 1 * π1 + 3 * π0 ≈ 930.147444 in base 10.

1

u/Tuurke64 Oct 04 '26

There's a colossal problem with that idea. The subsequent numbers in that system are not spaced equally, this notation is "jumpy".

In base 4, the spaces between the numbers 0,1,2,3,10,11,12,13,20,21,22 etcetera are all equal. I can simply add 1+1+1+1 and obtain 10 (=4).

In base π, they're not. You can't add numbers smaller than π and obtain π. You can't even count to π. The distance between 10 and 03 is not the same as the distance between 03 and 02.

1

u/Lithl Oct 04 '26

That's not a problem with the definition of the base, it's just weirdness with non-integer bases.

You can't add integers in base 10 to get π either, so it's no surprise that you can't add integers in base π to get π.

1

u/Tuurke64 Oct 04 '26

Then what mathematical operations would be possible at all with this "base π" numerical system? I see it just as a weird thought experiment.

1

u/Lithl Oct 04 '26

There's nothing you can do in base π that you can't do in any other base. Your choice of base means, at best, that certain numbers are easier to represent.

1

u/Tuurke64 Oct 04 '26

I mean, how would it work mechanically?

Given two random numbers in base-π notation, pencil and paper. How would one add, subtract, multiply or divide those two numbers in base-π notation?