Is it possible to make graphs of subsets of Rational Numbers in Mathem

AI Thread Summary
Creating subsets of rational numbers in Mathematica for graphing purposes poses challenges due to the density of rational numbers in any interval, such as [0, 1]. The discussion highlights the difficulty in graphing a set of rational numbers since they are dense, meaning that between any two rational numbers, there are infinitely many others. While the idea of graphing a segment with "holes" for irrational numbers was considered, it was concluded that this cannot be accurately represented in a traditional graphing sense. A workaround was found using a tablet and OneNote to visually illustrate the concept with open circles, but no direct solution in Mathematica was identified for this specific graphing task.
MidgetDwarf
Messages
1,572
Reaction score
694
Is it possible to make subsets of rational numbers in Mathematica using the plot command, or any other command? Ie., say I want to graph the set of rational numbers from 0 to 1.
 
Technology news on Phys.org
The rationals are dense in [0,1]. What do you mean by "make subsets"? How would you "graph" a set?
 
Thats what I was thinking. Due to the density of ℚ its not possible. By graphing, I meant if it was possible to create a segment of say length 1, with "holes" (no irrationals). Ofcourse, it would not be an exact, but something that approximated it.

Anyways, it cannot be done. I found a workaround by using a tablet and using one note to draw open circles to illustrate what I was aiming for.

Thanks.
 
Dear Peeps I have posted a few questions about programing on this sectio of the PF forum. I want to ask you veterans how you folks learn program in assembly and about computer architecture for the x86 family. In addition to finish learning C, I am also reading the book From bits to Gates to C and Beyond. In the book, it uses the mini LC3 assembly language. I also have books on assembly programming and computer architecture. The few famous ones i have are Computer Organization and...
I have a quick questions. I am going through a book on C programming on my own. Afterwards, I plan to go through something call data structures and algorithms on my own also in C. I also need to learn C++, Matlab and for personal interest Haskell. For the two topic of data structures and algorithms, I understand there are standard ones across all programming languages. After learning it through C, what would be the biggest issue when trying to implement the same data...

Similar threads

Replies
10
Views
2K
Replies
10
Views
2K
Replies
8
Views
2K
Replies
36
Views
234
Replies
13
Views
4K
Replies
5
Views
2K
Back
Top