Skip to content

8. dyadic rationals

problem

Let Q2β„šβ‚‚ be the set of all dyadic rationals, i.e., rational numbers whose denominator in lowest terms is a power of 22. Prove that (0,1)βˆ–Q2(0,1)βˆ–β„šβ‚‚ is homeomorphic to the set of all sequences xβˆˆπ’žxβˆˆπ’ž with infinitely many 00s and 11s.

Let XβŠ†π’žXβŠ†π’ž be the set of strings with infinitely many 00s and 11s each. Define a map ϕ ⁣:π’žβ†’[0,1]Ο•\colon π’žβ†’[0,1] as follows:

Ο•(x)=βˆ‘i=0∞x(i)2i+1, Ο•(x) = βˆ‘_{i=0}^∞ \frac {x(i)} {2ⁱ⁺¹},

i.e., interpret xx as a binary-digit expansion in the reals.

We claim that ϕϕ restricted to XX is a homeomorphism to (0,1)βˆ–Q2(0,1)βˆ–β„šβ‚‚. To show this we need to check that:

  • ϕϕ is well-defined
  • ϕϕ is bijective
  • ϕϕ is continuous
  • Ο•βˆ’1ϕ⁻¹ is continuous
claim

Ο•(X)=(0,1)βˆ–Q2Ο•(X)=(0,1)βˆ–β„šβ‚‚, i.e. for all x∈Xx∈X we actually have Ο•(x)∈(0,1)βˆ–Q2Ο•(x)∈(0,1)βˆ–β„šβ‚‚.

proof

Fix x∈Xx∈X. It is straightforward to see that Ο•(x)∈(0,1)Ο•(x)∈(0,1). To see that Ο•(x)βˆ‰Q2Ο•(x)βˆ‰β„šβ‚‚, suppose otherwise. Note that all elements of Q2β„šβ‚‚ have finite binary-digit expansions, so let y∈{0,1}βˆ—y∈\{0,1\}^* be a finite sequence with Ο•(y)=Ο•(x)Ο•(y)=Ο•(x) (treating yy as having infinite trailing zeros). But xβ‰ yxβ‰ y because xx has infinitely many 11s; this can only occur if xx ends in all 11s (do algebra to see this), again a contradiction because xx has infinitely many 00s.