I remember my professor in college challenging me with this question, which I failed to answer satisfactorily: I know there exists a bijection between the rational numbers and the natural numbers, but can anyone produce an explicit formula for such a bijection?
2026-03-30 02:05:49.1774836349
Produce an explicit bijection between rationals and naturals
74.8k Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
1
There are 1 best solutions below
Related Questions in ELEMENTARY-SET-THEORY
- how is my proof on equinumerous sets
- Composition of functions - properties
- Existence of a denumerble partition.
- Why is surjectivity defined using $\exists$ rather than $\exists !$
- Show that $\omega^2+1$ is a prime number.
- A Convention of Set Builder Notation
- I cannot understand that $\mathfrak{O} := \{\{\}, \{1\}, \{1, 2\}, \{3\}, \{1, 3\}, \{1, 2, 3\}\}$ is a topology on the set $\{1, 2, 3\}$.
- Problem with Cartesian product and dimension for beginners
- Proof that a pair is injective and surjective
- Value of infinite product
Related Questions in RATIONAL-NUMBERS
- What is the smallest integer $N>2$, such that $x^5+y^5 = N$ has a rational solution?
- I don't understand why my college algebra book is picking when to multiply factors
- Non-galois real extensions of $\mathbb Q$
- A variation of the argument to prove that $\{m/n:n \text{ is odd },n,m \in \mathbb{Z}\}$ is a PID
- Almost have a group law: $(x,y)*(a,b) = (xa + yb, xb + ya)$ with rational components.
- When are $\alpha$ and $\cos\alpha$ both rational?
- What is the decimal form of 1/299,792,458
- Proving that the sequence $\{\frac{3n+5}{2n+6}\}$ is Cauchy.
- Is this a valid proof? If $a$ and $b$ are rational, $a^b$ is rational.
- What is the identity element for the subgroup $H=\{a+b\sqrt{2}:a,b\in\mathbb{Q},\text{$a$ and $b$ are not both zero}\}$ of the group $\mathbb{R}^*$?
Related Questions in NATURAL-NUMBERS
- Recursive Induction Floor Proof Help
- Countable set example
- Bound a natural by two consecutive powers
- Set theory that proves that if its consistient, is only proves true things about arithmetic
- $n$ is natural number. What is the result of $(-1)^{2n}-(-1)^{4n-1}-1^{n+1}-(-2)^3$
- Given a sufficiently large integer $N$, is it true that there are more primes than perfect squares in $[1,N]$?
- How to show that $(S\cup\{0\},\ge)$ is order-isomorphic to $(S,\ge)$?
- Some questions about the successor function
- What IS the successor function without saying $S(n) = n + 1$?
- Prove addition is commutative using axioms, definitions, and induction
Trending Questions
- Induction on the number of equations
- How to convince a math teacher of this simple and obvious fact?
- Find $E[XY|Y+Z=1 ]$
- Refuting the Anti-Cantor Cranks
- What are imaginary numbers?
- Determine the adjoint of $\tilde Q(x)$ for $\tilde Q(x)u:=(Qu)(x)$ where $Q:U→L^2(Ω,ℝ^d$ is a Hilbert-Schmidt operator and $U$ is a Hilbert space
- Why does this innovative method of subtraction from a third grader always work?
- How do we know that the number $1$ is not equal to the number $-1$?
- What are the Implications of having VΩ as a model for a theory?
- Defining a Galois Field based on primitive element versus polynomial?
- Can't find the relationship between two columns of numbers. Please Help
- Is computer science a branch of mathematics?
- Is there a bijection of $\mathbb{R}^n$ with itself such that the forward map is connected but the inverse is not?
- Identification of a quadrilateral as a trapezoid, rectangle, or square
- Generator of inertia group in function field extension
Popular # Hahtags
second-order-logic
numerical-methods
puzzle
logic
probability
number-theory
winding-number
real-analysis
integration
calculus
complex-analysis
sequences-and-series
proof-writing
set-theory
functions
homotopy-theory
elementary-number-theory
ordinary-differential-equations
circles
derivatives
game-theory
definite-integrals
elementary-set-theory
limits
multivariable-calculus
geometry
algebraic-number-theory
proof-verification
partial-derivative
algebra-precalculus
Popular Questions
- What is the integral of 1/x?
- How many squares actually ARE in this picture? Is this a trick question with no right answer?
- Is a matrix multiplied with its transpose something special?
- What is the difference between independent and mutually exclusive events?
- Visually stunning math concepts which are easy to explain
- taylor series of $\ln(1+x)$?
- How to tell if a set of vectors spans a space?
- Calculus question taking derivative to find horizontal tangent line
- How to determine if a function is one-to-one?
- Determine if vectors are linearly independent
- What does it mean to have a determinant equal to zero?
- Is this Batman equation for real?
- How to find perpendicular vector to another vector?
- How to find mean and median from histogram
- How many sides does a circle have?
I would like to make two comments, both in the direction of dynamics.
Thinking of nonnegative rational numbers as (slopes of rays from the origin through) integer points in $\mathbb{R}^2_{\geq0}$, successive iterates of $L$ and $R$ count $\mathbb{Q}_{\geq0}$:
(A rigorous way of saying/proving this is that $L$ and $R$ freely generate the monoid $\operatorname{SL}(2,\mathbb{Z}_{\geq0})$ of $2\times 2$ matrices with nonnegative integer entries and determinant $1$.)
Choosing an ordering on binary words now produces a bijection $\mathbb{Z}_{\geq0}\to\mathbb{Q}_{\geq0}$. Alternatively one can use some geometric ordering on the "visible points" (e.g. according to polar coordinates).
I have taken the above screenshots from D. Davis' talk "Periodic paths on the pentagon: Swarthmore College Math/Stat Colloquium" (https://youtu.be/5kyundHawJ8; other recordings of the talk seems to be also available); the associated paper is "Periodic paths on the pentagon, double pentagon and golden L" (https://arxiv.org/abs/1810.11310) by Davis & Lellièvre. (They adapt this counting procedure to enumerate closed orbits of billiards on the double pentagon; from the dynamical point of view the above procedure counts the periodic translation trajectories on the square torus or square billiard table.)
Of course this is nothing but the (...-Kepler-...-) Calkin-Wilf tree mentioned above in disguise; indeed, $L(z)$ and $R(z)$ are the two offsprings of $z$.
$$N:[0,\infty]\to[0,\infty],\,\, x\mapsto \begin{cases}0 &\text{, if }x=\infty\\ \dfrac{1}{1-\{x\}+\lfloor x\rfloor}&\text{, otherwise}\end{cases},$$
where $\lfloor x\rfloor$ is the floor of $x$ and $\{x\}=x-\lfloor x\rfloor$ is the fractional part of $x$.
$N$ is a bimeasurable bijection that preserves $\mathbb{Q}_{>0}$. As mentioned above, the orbit of $0$ under $N$ is in one-to-one correspondence with nonnegative rational numbers. Bonanno & Isola, in their paper "Orderings of the rationals and dynamical systems" (https://arxiv.org/abs/0805.2178, Thm.2.3 on p.176), proved that up to a change of coordinates $N$ is the dyadic odometer ( = Von Neumann-Kakutani adding machine) (see e.g. What are the applications of dynamical odometers? or Unclear construction in a paper of Ornstein and Weiss):
Theorem (Bonanno-Isola): Put $\Phi: [0,\infty]\to [0,1], x\mapsto\begin{cases}1&\text{, if }x=\infty\\ \dfrac{x}{x+1}&\text{ otherwise}\end{cases}$, $S=\Phi\circ N\circ \Phi^{-1}$, $?:[0,1]\to[0,1]$ be the (restriction of the) Minkowski question mark function (which is a homeomorphism that is not absolutely continuous) (see e.g. Intuition in understanding Minkowski question mark ?(x) function, Academic reference concerning Minkowski's question mark function), $T$ be the odometer. Then:
(The coordinate change $\Phi$ is also not accidental; it transforms the Stern-Brocot tree into the Farey tree.)
Here is a humble graph (https://www.desmos.com/calculator/rg6xwg5qj1), where $N$ is red, $S$ is blue and (an approximation of) $T$ is green:
Thus we have another geometric way of enumerating the rational numbers using the odometer ($0$ is sent to $0$ by $?\circ \Phi$). Arguably it's easier to iterate $T$ than $N$.