Approximation by Rationals

This Demonstration illustrates that any real number can be approximated by a rational number to within an error equal to half its denominator. In symbols, for any real and natural number , there is a natural number such that .
This can be seen by partitioning the real line into the half-open intervals of length , . The number must fall into such an interval.


  • [Snapshot]
  • [Snapshot]
  • [Snapshot]
    • Share:

Embed Interactive Demonstration New!

Just copy and paste this snippet of JavaScript code into your website or blog to put the live Demonstration on your site. More details »

Files require Wolfram CDF Player or Mathematica.