Non-Integral Bases in Computer Science | CompSci Forum Discussion

  • Context: Undergrad 
  • Thread starter Thread starter abhishek
  • Start date Start date
  • Tags Tags
    Bases
Click For Summary

Discussion Overview

The discussion revolves around the concept of non-integral bases in number systems, particularly in the context of computer science and mathematics. Participants explore the validity, implications, and potential applications of using bases that are not integers, such as irrational numbers like π.

Discussion Character

  • Exploratory
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant questions the validity of non-integral bases, suggesting that using a base like π leads to complications, particularly regarding the choice of digits in expansions.
  • Another participant argues that non-integral bases can be used, stating that any positive real number except one can serve as a base, while noting issues of accuracy and non-uniqueness in representations.
  • Concerns are raised about the implications of periodic developments in non-integral bases, with one participant suggesting that such numbers might resemble p-adic numbers or elements of a Hilbert space.
  • There is a discussion about the representation of specific numbers in base π, with examples provided to illustrate how certain values can be expressed.
  • One participant proposes the idea of "rationals in base π" and questions the operations (addition, multiplication) that can be defined for these numbers.

Areas of Agreement / Disagreement

Participants express differing views on the feasibility and implications of using non-integral bases. Some believe it is problematic, while others argue for its validity and explore its mathematical properties. The discussion remains unresolved regarding the overall utility and consistency of non-integral bases.

Contextual Notes

Limitations include the lack of consensus on the definitions and properties of numbers represented in non-integral bases, as well as unresolved questions about the operations that can be performed with these numbers.

abhishek
Messages
36
Reaction score
0
Apologies if this is in the wrong forum. :smile:

In a discussion we're having on our compsci forums at uni, about binary numbers, someone brought up the notion of non-integral bases. I take it to mean numbers with bases that aren't integers. Is this right?

I've never encountered such a thing before, so I'm curious about it. I've only seen bases defined as integers - is it valid to think of non-integral bases? Do the same processes for understanding and converting integer bases apply to non-integers?

I have no specific questions, really. How does it work? How is it meaningful? What are some applications of it? Links to further information would be nice.

Searching the web turns up almost no information about this, so I wonder if it goes by any other names too.

Thanks to anyone who can shed some light on the matter. :smile:
 
Physics news on Phys.org
No, I believe it's problematic. Imagine taking base [itex]\pi[/itex]. Then [itex]\pi[/itex] would have a finite [itex]\pi[/itex]-ary expansion. What's worse is that it doesn't make sense to use decimals in this case. When you have a base n, then the digits in your expansion can take values from {0, 1, .., n-1}. What if you have base [itex]\pi[/itex]? There's no reasonable choice.
 
This can be done.
call our base b
1234(base b)=1*b^3+2*b^2+3*b+a
as usual digits are chosen as integers such that 0<=digit<=b
any positive real except one can be used as a base.
The two main problems that arise are
1) accuracy can become an issue and rational numbers have not reapeating decimal expansions.
2) non uniqueness. This has to do with algebraic bases.
2=10=1.01010101010101010101... (base sqrt(2))
4=10000=100=11.010000010010... (base sqrt(2))
here are some things in base pi
pi=10 (base pi)
e=2.2021201002111122001 (base pi)
17=120.2200211010202300
 
AKG said:
No, I believe it's problematic. Imagine taking base [itex]\pi[/itex]. Then [itex]\pi[/itex] would have a finite [itex]\pi[/itex]-ary expansion. What's worse is that it doesn't make sense to use decimals in this case. When you have a base n, then the digits in your expansion can take values from {0, 1, .., n-1}. What if you have base [itex]\pi[/itex]? There's no reasonable choice.
pi=10 (base pi) is not a problem
Even though the base is nonintegral the digits are still integers.
 
but the concept raises an interesting question : what can you say about a number which has a periodic development in base pi ?
such as a = 1.0101010101(base pi) = pi+pi^3+pi^5+...
it is tempting to name those numbers "rationals in base pi"
However, they look like p-adic numbers, because of the infinite right part.
They also look like elements of an hilbert space, or infinite polynomials in pi

what about addition, multiplication, ... of those numbers ? is there a closed operation ?
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 25 ·
Replies
25
Views
4K
  • · Replies 32 ·
2
Replies
32
Views
6K
Replies
1
Views
3K
Replies
10
Views
6K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
2
Views
5K
  • · Replies 2 ·
Replies
2
Views
4K