Math 2.0

Real functions Proof

Proof of the density of the rationals

Builds on There is a natural number n with 1/n below any positive epsilonFloor functionCharacterization of the floorRational numbersThe reals form an ordered field

Proof

  1. Let xx and yy be real numbers with x<yx < y. Then y−x>0y - x > 0.
  2. By the Archimedean property, there is a natural number n≥1n \ge 1 with 1/n<y−x1/n < y - x.
  3. Let k=⌊nx⌋k = \floor{n x} be the floor of nxn x, and let m=k+1m = k + 1. Then mm is an integer.
  4. By the characterization of the floor, k≤nx<k+1k \le n x < k + 1. That is, m−1≤nx<mm - 1 \le n x < m.
  5. Divide by n>0n > 0, which keeps the order in the ordered field ℝ\R. This gives m/n−1/n≤x<m/nm/n - 1/n \le x < m/n.
  6. So x<m/nx < m/n. Also m/n≤x+1/n<x+(y−x)=ym/n \le x + 1/n < x + (y - x) = y, by steps 2 and 5.
  7. Let q=m/nq = m/n. It is a rational number, since mm and nn are integers and n≠0n \ne 0. By step 6, x<q<yx < q < y.

Idea

Choose a step size 1/n1/n smaller than the gap y−xy - x. The grid of fractions m/nm/n cannot jump over the gap, so the first grid point to the right of xx is still below yy.

Reading path

To understand this page from the ground up, read these 42 pages in order. The foundations come first. The path takes the proofs Proof of the approximation property of the supremum, Proof that there is a natural number n with 1/n below any positive epsilon, Proof that the reals form an ordered field, with the Cauchy sequence construction, Proof that the reals are Archimedean from the completeness axiom, Proof of the characterization of the floor.

  1. Construction of the reals from Cauchy sequences concept
  2. Element definition
  3. Integers object
  4. Ordered field definition
  5. Proposition concept
  6. Rational numbers object
  7. Real numbers object
  8. Set bounded above definition
  9. Set definition
  10. Ring of integers statement
  11. Archimedean ordered field definition
  12. Implication definition
  13. Predicate definition
  14. The reals form a field statement
  15. Supremum definition
  16. Ordered pair definition
  17. The rationals form a field statement
  18. Universal quantifier definition
  19. Completeness axiom statement
  20. Cartesian product definition
  21. Subset definition
  22. The rationals form an ordered field statement
  23. Binary relation definition
  24. Order on the reals definition
  25. Antisymmetric relation definition
  26. Reflexive relation definition
  27. Transitive relation definition
  28. Preorder definition
  29. Partial order definition
  30. Total order definition
  31. Proof that the reals form an ordered field, with the Cauchy sequence construction proof
  32. The reals form an ordered field statement
  33. Proof of the approximation property of the supremum proof
  34. Approximation property of the supremum statement
  35. Proof that the reals are Archimedean from the completeness axiom proof
  36. The reals are Archimedean statement
  37. Floor function definition
  38. Proof that there is a natural number n with 1/n below any positive epsilon proof
  39. There is a natural number n with 1/n below any positive epsilon statement
  40. Proof of the characterization of the floor proof
  41. Characterization of the floor statement
  42. Proof of the density of the rationals proof

Where this leads

9 pages build on this one.

Further reading

  1. Web https://proofwiki.org/wiki/Between_two_Real_Numbers_exists_Rational_Number
About this page
TagCR6NC0BN36
URIm2://CR6NC0BN36
Kindproof
WritingW0 stub
MSC26A03
ProvesDensity of the rationals
UsesThere is a natural number n with 1/n below any positive epsilon, Floor function, Characterization of the floor, Rational numbers, The reals form an ordered field
Changed4 November 2026

Markdown · JSON · Edit on GitHub

What this page needs for W1

  • an inventory row: the row of the inventory that the node accounts for (0 of 1)
  • a source with a locator (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

No page links to this page yet.