Meant by “The set of rational numbers is not closed when taking limits”

real-analysis

The set of rational numbers:

$$\mathbb{Q} = \bigg \{ \frac{m}{n} | \hspace{.2cm} m \in \mathbb{Z}, n \in \mathbb{N} \bigg \}$$

is described as being not closed when taking limits. I don't really understand this. What is meant by this statement?

The set of real numbers is presented and described with contains all limits of sequences of rational numbers. Again, I am really confused and don't understand what is meant here.

Can you please explain these two confusions of mine?

Best Answer

The first statement means that you might have a sequence of rational numbers which converge to a limit, but the limit is not rational. E.g., here's a sequence of rational numbers:

$3, 3.1, 3.14, 3.141, 3.1415, 3.14159, ....$

in which each term is the first few digits of $\pi.$ The limit of this sequence is $\pi$, which is not rational.

The second statement says that the real numbers don't have this "flaw." Every convergent sequence of rational numbers (or for that matter, real numbers) converges to a real number. So the reals ARE closed under limits.