In a recent conversation, someone posed the following argument:
The cardinality of the natural numbers and the rational numbers is the same, since they're both countable. So the probability of randomly selecting a natural number from the rational numbers is the same as selecting a non-natural number.
This is obviously false for any finite interval (there are a finite number of natural numbers but an infinite number of rational numbers in that interval, after all), but it wasn't immediately clear to me how to properly extend to the entire real line.
Cardinality is, of course, not a good way to think about probability on infinite sets, and ordinarily I would go to measure theory as the way to compare the sets' relative sizes (where, for the improper analogue of a uniform distribution, relative size is proportional to relative probability of selection). But the problem is that both sets are countable, and therefore both have measure zero using the usual measure on the real line. So I tried constructing something like a measure on the rationals, but a quick search of the literature suggested that such a thing wasn't possible, or at least wasn't likely to be at all well-behaved if it was.
So, the solution I came upon was the following procedure: for any countable set $X$, construct the "fat" version of $X$, which we will call $X_d$, by replacing each element of $x$ with an open* ball of some (small) radius $d$, centered at $x$; then, $X_d$ is the union of all such open balls. In other words, we define:
$$X_d=\bigcup_{x\in X}B(x,d)$$
where $B(x,d)$ is the open ball centered at $x$ of radius $d$.
This allows us to measure-theoretically compare the densities of countable subsets of an uncountable set. The set $\mathbb{Z}_d$, or indeed the set $\mathbb{N}_d$, has gaps for all $d<1$. On the other hand, since the rationals are dense in the reals, we have that $\mathbb{Q}_d=\mathbb{R}$ for any $d$. So the ratio of the sizes of $\mathbb{Z}_d$ and $\mathbb{Q}_d$ is roughly $d$ ("roughly" because you could choose endpoints within a distance $d$ of an integer), regardless of the size of the interval. Sending $d$ to zero essentially recovers the original sets, along with the result that you will randomly select an integer from among the rationals with probability zero (thus, the same result holds for the natural numbers).
Is this a reasonable way to get around the problems inherent in working with probability on the rationals? More generally, is it a reasonable way to compare the relative densities of countable subsets of uncountable sets?
*As far as I can tell, the choice of open or closed ball doesn't matter for this procedure; I could be wrong on this, though.