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

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
2 replies · 1K views
MidgetDwarf
Messages
1,630
Reaction score
735
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.
 
Physics 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.